arXiv · 2612.05434
Weights2Fix: Training-free maintenance of infrastructure segmentation networks by an LLM agent that edits their weights
Abstract
Segmentation networks deployed to inspect civil infrastructure lose accuracy when their weights are corrupted, compressed for edge devices or exposed to new imaging conditions, and retraining is often impractical on site. This paper proposes Weights2Fix, a unified and auditable framework for maintaining such networks, in which a large language model (LLM) agent edits their weights without gradients, in a sandbox that logs and replays every edit. Weights2Fix was assessed on five tasks across eleven infrastructure, disaster and land-cover datasets. The agent restored 73% of 131 damaged networks, against 14% for a rule-based repair, retained more accuracy than training-free quantisation and pruning in most cases and, given normalisation recalibration as a tool, was the best adaptation method in 19 of 30 cases, using a small set of labelled images of the new condition. It outperformed an equal-budget random search in 181 of 225 cases, but barely improved healthy, well-trained networks.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Aisha Ajmal, Elyas Asadi Shamsabadi, Luming Shen, Daniel Dias-da-Costa. 2026-12-03. Weights2Fix: Training-free maintenance of infrastructure segmentation networks by an LLM agent that edits their weights. https://searcharxiv.org/abs/2612.05434
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.