Training Vision Models for LLM-Driven Weight-Space Programming

Timo Ropinski, Sebastian Kranz

arXiv:2611.26408 · 2026-11-22 공개 · arXiv · PDF

vision-models vision-transformers llm-driven cifar-100 error-correction weight-space-programming waterbirds convolutional-networks

Abstract

It has been demonstrated that, in certain settings, large language models can perform weight-space programming to directly modify the weights of neural networks. However, it is unknown how dedicated training of these networks can contribute to the successes of weight-space programming. We present a benchmark of LLM-driven weight-space programming on vision models, in which five LLMs edit convolutional networks and vision transformers on relabeling and error-correction tasks on Waterbirds, CIFAR-100, PACS and Entity-30. We report more than 2,600 such edit processes, whereby each edit is scored on held-out images for success, side effects and accuracy loss. We compare standard training with label smoothing, gradient-based editable training, and our Edit-Ready Training (ERT), a novel method that rehearses the direct, closed-form weight edits LLMs perform. We show that preparing networks for editing raises the success of LLM edits substantially where standard networks are hard to edit. ERT further achieves the highest mean score for GPT-6 Astra and Claude Opus 5.5 across all evaluated baselines. We will release our LLM testing framework alongside all tasks, editing trajectories and scores. Project page: https://viscom.uni-ulm.de/wsp

한국어 요약

한 줄 요약

LLM 기반의 시각 모델 가중치 편집 성능을 향상시키기 위해 Edit-Ready Training(ERT)이라는 새로운 훈련 방법을 제안하고, 4개 데이터셋에서 2,600개 이상의 편집 과정을 평가한다.

핵심 기여도

핵심 아이디어

기존 시각 모델은 정확도 최적화를 목표로 훈련되며, LLM이 가중치를 직접 편집하는 방식에 최적화되어 있지 않다. 이에, LLM이 실제로 수행하는 가중치 편집을 훈련 과정에서 시뮬레이션함으로써, 편집에 더 잘 대응하는 모델을 만들 수 있다는 아이디어를 제시한다. ERT는 훈련 중에 편집된 가중치의 오류를 역전파하여 전체 네트워크에 반영하는 방식으로, 편집에 대한 내재적 표현력을 향상시킨다.

이 접근법은 기존의 편집 방법(예: ENN)과 달리, 가중치 편집을 기울기 기반 접근이 아닌, LLM이 직접 작성하는 방식을 반복적으로 연습하도록 유도한다. 이로 인해, LLM이 작성한 편집이 네트워크에 더 효과적으로 적용될 수 있다.

기술적 접근법

주요 결과

의의 및 한계

본 연구는 LLM이 시각 모델을 직접 편집하는 방식의 성능과 훈련 방법의 영향을 체계적으로 평가한 최초의 연구이다. 특히, ERT는 LLM이 작성한 편집을 훈련 과정에서 반복적으로 연습함으로써, 편집에 대한 내재적 표현력을 향상시키는 새로운 아이디어를 제시한다. 이는 향후 모델 편집 분야에서 중요한 기초가 될 수 있다.

그러나, 훈련 방법에 따라 편집 성능이 항상 향상되지 않으며, 일부 설정에서는 기존 훈련 방법과 큰 차이가 없었다는 점에서 한계가 있다. 또한, 편집 과정은 여전히 테스트 정확도를 감소시키며, 편집 내역을 유지하면서 정확도를 보존하는 방법은 추가 연구가 필요하다.

실용적 활용

이 연구는 이미지 분류 모델의 특정 개념 재분류, 클래스 혼동 수정, 드문 서브그룹 오분류 수정 등과 같은 실용적 문제 해결에 적용 가능하다. 특히, 데이터 수집 및 미세 조정(fine-tuning)이 어려운 상황에서 LLM 기반의 가중치 편집을 통해 빠르고 정확한 수정이 가능하다. ERT는 이러한 편집 작업을 더 효과적으로 수행할 수 있는 훈련 방법으로, 산업 현장의 모델 업데이트 및 유지보수에 활용될 수 있다.