Skip to content
AI-generated research idea🔴Hard🔬Significant ResearchRelated work found

Trajectory-Trained Open-Weight Weight-Space Editors via Tool-Use SFT and Outcome RL

Fine-tune open-weight language models on logged weight-editing trajectories with outcome reinforcement learning so smaller agents reliably diagnose and repair side effects.

Time

a couple of months

Compute level

Large cluster

Resources

Multi-GPU cluster node (e.g., 4x to 8x A100/H100 80GB GPUs) for fine-tuning and RL rollouts on a 26B-class LLM, plus pre-trained vision checkpoints and logged trajectory dataset

What the paper used

Trained 109 evaluated networks (~1,300 total networks including tuning, ablations, and seeds) taking ~385 GPU-hours (~320 on NVIDIA RTX PRO 6000 Blackwell GPUs and ~65 on NVIDIA H100 and A100 GPUs), plus 2,663 scored edit processes (76,632 tool calls, ~234.5 total editing hours, ~750M prompt tokens for open-weight editors) across Waterbirds, CIFAR-100, PACS, and Entity-30 with ResNet-18, ResNet-50, and ViT-B/16.

Prerequisites

LLM post-training (SFT, GRPO/PPO), multi-turn tool-use agent environments, and distributed GPU training

Scope

Build multi-turn RL rollout harness around WeightLab and train open-weight LLM policies

The Gap

In Section 5.1 and Appendix E (Table 9 and Figure 6), open-weight editors GLM-5.3-Flash and Gemma-4-26B perform substantially worse than Claude Opus 5.5 and GPT-6 Astra (mean net scores of 0.49 and 0.37 vs. 0.72 and 0.74 on ERT), fail to benefit reliably from ERT or ENN preparation, and show monotonic accuracy loss across edit steps (losing 4 to 18 accuracy points) rather than using later edits to repair initial side effects.

“Unlike Astra and Opus, the open-weight editors do not reach their final net score with the first edit.”
From the paper, Appendix E, page 16. Matched against the PDF text.

Limitation

Off-the-shelf open-weight LLM agents lack effective diagnostic probing and iterative side-effect-repair strategies under tight tool budgets, rendering model-preparation methods ineffective for them.

Proposed Solution

Use the paper's planned release of over 75,000 logged tool calls and full agent transcripts from frontier editors to perform behavioral cloning (SFT) on high-net-score trajectories of Opus and Astra, training an open-weight model (such as Gemma-4-26B or GLM-5.3-Flash) to compute contrast vectors via activation probes and repair reference margins. Follow SFT with multi-turn outcome-based reinforcement learning (e.g., GRPO) inside the WeightLab environment using a composite reward combining held-out validation net score and full-set accuracy retention.

Why This Matters

This could bridge the performance gap between open-weight models and proprietary frontier models on weight-space programming, enabling local, low-cost, privacy-preserving weight editing that benefits from edit-ready models.

How to Get Started

How to test it: Test whether SFT plus outcome RL on WeightLab trajectories enables an open-weight model (e.g., Gemma-4-26B) to match DeepSeek-V4.1-Flash or frontier editors and achieve positive paired gains on ERT vs. ERM across Waterbirds and CIFAR-100; stop if post-RL net score on held-out edit requests fails to improve over the base open-weight model by at least 0.15 or if accuracy loss remains worse than -8 points.

  1. Filter successful, high-net-score Opus and Astra editing trajectories from the benchmark logs (or generate synthetic trajectories with a scripted oracle policy if logs are not yet public) formatted for multi-turn tool calling.
  2. Establish baseline scores for Gemma-4-26B on the Waterbirds and CIFAR-100 WeightLab tasks across ERM and ERT checkpoints.
  3. Fine-tune Gemma-4-26B with LoRA SFT on the filtered tool-use trajectories and evaluate net score and delta accuracy on held-out concepts.
  4. Run multi-turn GRPO inside a vectorized WeightLab server using validation net score minus accuracy-drop penalty as the terminal episode reward.

Suggested by AI. Adapt it to your setup.

Has This Been Done?

Related work found

Several works discuss reinforcement learning for agentic tool use and behavior control (e.g., EvoCUA-1.5, CM2, Correctness vs Efficiency), touching on the intersection of SFT and RL. The specific application of training an editor model using large-scale logged trajectories via SFT and GRPO for weight-space operations remains distinct in its architectural scope.

We searched OpenAlex and arXiv for “multi turn reinforcement learning tool use agent weight editing trajectories” and “Trajectory-Trained Open-Weight Weight-Space Editors via Tool-Use SFT and Outcome RL” and an AI compared the idea with the top 10 results. A small search can miss relevant work.

Source Paper

Training Vision Models for LLM-Driven Weight-Space Programming

Timo Ropinski, Sebastian Kranz · 2026

This paper presents the first systematic benchmark of LLM-driven weight-space programming on vision classifiers, evaluating five LLM editors across 2,663 edit processes on relabeling, confusion-fixing, and subgroup-fixing tasks. To make classifiers easier for LLMs to edit without gradient descent, the authors propose Edit-Ready Training (ERT), which rehearses closed-form rank-one head edits during training and achieves the highest mean net edit score for both GPT-6 Astra and Claude Opus 5.5.

Related Ideas

Is this a good idea?

Share onXLinkedIn