Can an LLM Fix a Language Model Without Training It?
Bharath Kumar Bolla, Raghavender Surya Upadhayula, Vishnu Surya Reddy Nandi, Ramesh Nandipalli
Key points
From the paper's conclusion- We analyzed 20 recorded sessions involving five masked and causal language models, comparing the selected edits with fixed projections, scripted and matched-budget black-box search, and low-rank adaptation.
Abstract
Although an external language model can select and test repairs to another model's weights, behavior can also be recovered through fixed numerical edits. We assessed the value of interactive selection in a controlled study of Transformer repair. After inspecting predictions, activation summaries, and weight statistics, the editor selects projection recipes to apply to the target without gradient updates. We analyzed 20 recorded sessions involving five masked and causal language models, comparing the selected edits with fixed projections, scripted and matched-budget black-box search, and low-rank adaptation. Under the core two-layer fault, live selection matches black-box search on SmolLM2 and Qwen2.5. For Pythia, live selection achieves 65.62% completion accuracy, compared with 0% for black-box search and 66.15% for a fixed projection. Under a separate compound fault affecting attention and feed-forward weights, both scripted and LLM-guided selection increase the descriptive five-checkpoint mean from 24.89% to 71.25% using the same operator family. On unmodified checkpoints, scripted projection yields small gains or losses on a separate set of framed questions. The experiments identify cases in which feedback changes an edit decision, operator coverage accounts for recovery, or supervised adaptation performs better. Combined with measurements of parameter restoration and preservation, these comparisons establish the scope of controller-guided repair for the tested faults and completion tasks.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Language Models Can Rewrite Their Own WeightsarXiv · 2026
- Where Does a Weight-Editing Agent Help? Blind Diagnosis and Repair of Deployment Faults in Vision ModelsarXiv · 2026
- Autonomous Parameter Surgery: How LLMs Implant Selective Backdoors into Language ModelsarXiv · 2026
- CrispEdit: Low-Curvature Projections for Scalable Non-Destructive LLM Editing.Proceedings of machine learning research · 2026
- Scalpel and Brush: Pruning and Targeted Weight Editing of a Small Language Model by a Single LLM AgentarXiv · 2026
- Recursive Self-Editing: LLMs Program Their Own Weight Edits for Self-ImprovementarXiv · 2026