Driving Out of the Loop: Does Weight-Space Programming Add New Reasoning Ability?Steering Out of the Loop: Does Weight-Space Programming Add Reasoning Ability?
The authors propose a beyond-reach test to audit weight editing in weight-space programming: for Qwen3.5-0.8B on MATH-500, 93% of the reproduced gain can be recovered by disabling thinking, and the authors therefore argue that the gain mainly comes from releasing existing capabilities.
- An accuracy increase may come from eliciting the model's existing capability or from adding newly solvable problems; for reasoning models that often fall into repetition loops, accuracy alone cannot distinguish the two. The authors audit which of the two the weight edit in weight-space programming is.
- The authors propose the beyond-reach test: use eight decoding fixes to establish the decoding reach of the unedited model, then compare the edited model, decode-only references, own-answer fine-tuning and the distillation positive control on correct answers and solvable problem counts outside reach, matched on the number of finished samples.
- On Qwen3.5-0.8B, thinking off recovers 93% of the reproduced MATH-500 gain; on MATH-500 and GSM8K always-looping problems, 97.7% and 99.3% of the edit's correct answers respectively lie within reach. The authors consider that what it preserves is single-sample reliability.
- The authors note that the main model is only a single 0.8B model, and Qwen3.5-2B only runs flag; the edits come from one published run and one run each for each frontier agent. Testing on MATH-500 cannot detect new capabilities at the distillation scale, and some decision rules were fixed after part of the results were known.
- Metrics
- strict accuracyaccuracyanswers finisheddecoding reachbeyond-reach shareown-32 countcoverage
The researchers propose a beyond-reach test and find that a signature edit of weight-space programming yields reasoning gains on Qwen3.5-0.8B mainly by releasing existing capabilities rather than adding new ones. The edit was made by an AI agent changing 0.016% of the model's weights; the original authors report MATH-500 accuracy rising from 7.9% to 48.1%; in the reproduction, merely disabling thinking mode recovered 93% of the gain. On problems where the model always loops, 97.7% (MATH-500) and 99.3% (GSM8K) of the edit's correct answers fall within the reachable range formed by eight decoding fixes; when paired by completed samples, the unedited model with thinking disabled solves more out-of-reach problems instead. What the edit retains is single-sample reliability, but voting over thinking-disabled samples without exceeding its token usage matches or exceeds it on MATH-500 and GSM8K. The authors recommend counting the number of correct answers beyond the decoding-reachable range before accepting that weight edits bring new reasoning ability.
Why it was selectedThe authors propose a test using eight decoding fixes as a reference to distinguish released from newly added capability gains, which can be reused to audit the capability benefits of interventions such as weight edits.
Paper analysis
What problem does this paper attempt to solve?
The authors aim to distinguish whether the reasoning gain from weight editing elicits existing capability or adds newly solvable problems.
Core question: on reasoning models that fall into repetition loops, how to separate "eliciting existing capability" from "adding capability" due to weight editing.
- Problem setting: the authors point out that accuracy only counts success frequency and cannot show which problems the model newly can solve. On MATH-500, 93% of Qwen3.5-0.8B's responses exhaust the 32,768-token budget and repeat until truncated, so any change that terminates the loop may raise accuracy (Figure 1).
- Gap in existing audits: the authors state that the agent of Takehi et al. (2026) directly edits weights under gradient-free conditions with a forward-pass tool, and after changing 0.016% of the weights reports MATH-500 from 7.9% to 48.1%; although the original work mentions that fixing loops may let the model complete problems it would have done anyway, it only tests on models that loop rarely.
- Core observation: for an intervention that only elicits capability, its correct answers should fall within the unedited model's full capability range; a finite decoding reach will miss some of these problems, so out-of-reach counts must be compared with references that only change decoding and cannot be interpreted alone.
- Proposed method: the authors propose the beyond-reach test, combining eight decoding fixes to construct reach, and introduce unedited-model resampling, thinking off, own-answer fine-tuning and a 0.8B positive control distilled from Qwen3.5-9B.
- Audit subject and conclusion: the reproduced edit takes Qwen3.5-0.8B from 7.6% to 51.7% on MATH-500; the authors consider that the edit mainly elicits existing capability, preserving single-sample reliability on the full test set rather than a measured added reasoning capability.
What related research exists?
Related work covers capability elicitation, reasoning steering/editing, repetition loops and weight-space programming.
Eliciting capability or adding capability
- Yue et al. (2025), Venhoff et al. (2026): use pass@k to discuss whether reinforcement learning with verifiable rewards elicits or adds capability; the former compares the coverage of base and RL models at different k, the latter argues that RL may deploy existing capability.
- Brown et al. (2024), Snell et al. (2024): study the coverage growth from repeated sampling and the substitution of test-time compute for parameters, respectively.
- Greenblatt et al. (2024): password-locked models distinguish eliciting from teaching by construction.
Steering and editing of reasoning models
- SEAL, Manifold Steering, ThinkEdit, Steer2Edit: the authors group these works as activation steering and weight editing that shorten or recalibrate reasoning, and note that they report overall accuracy and token counts; this paper asks whether answers are elicited or added.
- Rimsky et al. (2024): provides the contrastive activation direction form used by the textbook edit.
Repetition loops and their mitigation
- Holtzman et al. (2020), Welleck et al. (2020), Xu et al. (2022): study repetition in text generation.
- Pipis et al. (2026), Xie et al. (2025), Duan et al. (2026): discuss respectively that temperature can reduce loops without fixing the cause, reasoning budget waste, and early detection of loops.
- Nguyen et al. (2026), Lazaridis et al. (2026): the former guides pruned reasoning models to terminate and counts generations that become correct, the latter studies single-neuron editing to suppress repetition; the authors state that such edits cannot supply missing facts, and this paper measures their gain with tuned decoding fixes.
Weight-space programming and this paper's positioning
- Takehi et al. (2026): a general model directly reads and writes network weights; this paper audits the headline edit in its full log; follow-up work includes experiment-feedback-driven editing, clinical small-network audits and read-side research, which the authors state do not test what reasoning edits add.
- Controls and benchmarks: experimental controls include eight decoding fixes, textbook edit, own-answer fine-tuning, STaR self-training and distillation of 0.8B; benchmarks are MATH-500, GSM8K, MMLU-Pro math/health and MedQA.
The authors summarize their differences as four points: the model loops, reach combines eight fixes, out-of-reach counts are compared with decode-only references matched on finished samples and with positive controls, and there is an additional single-model flag.
How does the paper address this problem?
The beyond-reach test establishes the capability range using eight decoding fixes, then reads the number of new questions outside the range using decode-only references and fine-tuning controls.
The overall approach is to first estimate the decoding reach that the unedited model can achieve by decoding alone, then check how many of the edited model's correct answers and solvable problems fall outside reach; only when it exceeds the decode-only references and the own-answer fine-tuning control is it read as added capability.
Experimental protocol and the audited edit
- The main model is Qwen3.5-0.8B; the edit authors' protocol is followed: thinking on, temperature 0.6, top-p 0.95, top-k 20, presence penalty 1.5, at most 32,768 tokens generated, served with vLLM.
- Responses reaching the budget are recorded as cut, otherwise finished; sample seeds are determined by problem and sample index and are consistent across settings. Four samples per problem; hyperparameters are first selected on practice problems from the training split.
- The audited agent modifies 64 columns of the MLP output matrix at layers 15 and 19 by W ← W−cu(u⊤ W:,J), with c=6 and u computed from repetitive and normal context; this represents a rank-one update to the selected columns along a per-layer unit direction.
- The textbook edit uses the same form, but u is the mean residual difference between the model's own loop segment and valid segment, and J is the 64 neurons written most along that direction.
Eight decoding fixes and decoding reach
- Thinking off: reasoning mode off, temperature 0.7, top-p 0.8, using the full budget and 8,192 tokens respectively; additionally T=1.0, repetition penalty, end-of-thinking bias, and a prompt requiring the model to stop repeating.
- Budget forcing: end thinking at 8,192 tokens, then allow 4,096 tokens to answer; loop stop performs the same operation when the loop detector triggers. Detection rules include a block of 1–200 words repeated three times consecutively, or mostly repeated four-word phrases in the last 200 words.
- If all four samples of the unedited model under the protocol are cut, the problem is called always-looping. Reach at k is the set of always-looping problems for which at least one of the k samples from the eight fixes is finished and correct; the default is k=32, i.e., four samples per fix.
- k=16 and k=4 use the unbiased pass@k estimator randomly drawn from the 32 samples; thinking-on reach combines only the six fixes that keep thinking, 24 samples in total. Cut samples are never counted as correct within reach.
Two types of out-of-reach measurement
- Per-answer share: on always-looping problems, take four samples per model and compute the proportion of its correct answers that lie outside reach; the complement is called coverage. It answers where answers fall, not directly the number of added problems.
- Own-32 count: give each model its own 32 samples and count the problems for which at least one finished sample outside reach is correct; it answers how many problems can be newly solved at the same sample size as reach.
- MMLU-Pro math has about ten options and guessing can be correct, so share uses the (c−g)/(1−g) correction, where g is the coverage of uniform guessing on the same finished samples; count subtracts the guessing-correct probability per problem.
References, controls and adjudication
- The two decode-only references are the unedited model resampled under the eight fixes, and another 32 samples of the unedited model with thinking off and full budget; comparisons match each model's retained finished sample count to the reference's count on that problem.
- Own-answer fine-tuning learns only answers within reach: 0.8B is trained on its own correct answers under end-of-thinking bias, four seeds, plus two data-alignment runs on distillation-model problems.
- The positive control is 0.8B distilled on Qwen3.5-9B's correct solutions to 3,159 training problems, three seeds; there are also Qwen3.5-2B and one round of STaR self-training reference without rationalization.
- A model is read as adds if every 95% paired interval against the two decode-only references and the combined own-answer runs is above zero; read as below if below zero against either decode-only reference; otherwise the smaller upper end of the two reference intervals gives the upper bound on added problems.
Single-model flag and full-test-set reliability
- A model is flagged when its coverage is below each fix's own coverage and this holds for every fix scored against the other seven with a 95% paired interval.
- The reach test covers only always-looping problems, so the full test set additionally compares strict sample, accuracy on samples where both finish, and thinking-off majority voting within no more than the edit's token count.
- Comparisons are paired by problem, with intervals from 10,000 bootstrap resamples over problems; the risk–coverage analysis additionally sorts by four-sample answer agreement and uses 1,000 resamples.
What experiments did the paper conduct?
The experiments show that most of the edit's gain can be recovered by decoding; out-of-reach counts do not support added capability, but detection power differs across datasets.
Experimental setup
- Subjects: the main experiments use unedited and variously edited/fine-tuned Qwen3.5-0.8B; Qwen3.5-2B, Qwen3.5-4B and DeepSeek-R1-Distill-Qwen-1.5B are also tested. Qwen3.5-9B provides distillation training solutions.
- Datasets: MATH-500, GSM8K, MMLU-Pro mathematics 1,351 problems, MMLU-Pro health 818 problems, MedQA 1,273 problems; screening of other models additionally uses 60 problems from AIME 2024–2025.
- Main controls: eight decoding fixes, textbook edit, six own-answer fine-tuning runs, three distillation runs, two STaR self-training runs, and two decode-only references.
- Metrics: authors' scoring accuracy, strict accuracy (cut counted as wrong), finished proportion, average generated tokens, beyond-reach share/coverage, own-32 count and full-test-set paired differences.
- Sampling and intervals: four samples per problem unless otherwise stated; reach defaults to 32 unedited-model samples per problem. Intervals are 95% paired/bootstrap intervals over problems; no LLM judge was used.
- Frontier agents: gpt-6.1-sol and Claude Opus 5.5 each run once, with at most 50 forward passes and 300 Python programs; test problems, answers and scorer are not visible.
Main results
According to Table 1; unless otherwise stated, Qwen3.5-0.8B, four samples per problem, intervals at 95%.
Swipe horizontally to read the table
Measurement MATH-500 GSM8K MMLU-Pro math Accuracy: base → agent's edit 7.6 → 51.7% 13.7 → 67.6% 40.7 → 62.4% Thinking off recovers gain, authors' / strict 93 / 93% 82 / 83% 56 / 77% Edit correct answers within reach 97.7% [96.3, 98.9] 99.3% [98.8, 99.6] 87.5% [83.2, 91.5], chance-corrected Edit − resampling reference, matched own-32 +1 [−9, 11] −2 [−10, 6] +5 [−11, 21], chance-corrected Edit − thinking off, matched own-32 −21 [−33, −9] −18 [−30, −7] −6 [−20, 8], chance-corrected Edit − best fix, full test set strict single-sample +3.1 [0.6, 5.6] +9.3 [7.9, 10.8] +8.6 [7.1, 10.1] Edit − thinking-off vote, 8k −4.4 [−7.4, −1.5] +0.9 [−0.9, 2.9] +5.5 [3.6, 7.4] - Authors' reading of elicitation rather than addition: on 426 MATH-500 and 934 GSM8K always-looping problems, the vast majority of the edit's correct answers are already within reach; the own-answer and distillation controls show the same distribution, so share alone cannot distinguish the controls.
- Matched count exceptions: on MATH-500 and GSM8K the edit reads as below; on MMLU-Pro math all counts can only give an upper bound for the edit, and the primary count does not rule out at most 8 of 185 newly added problems.
- Preserved reliability: the edit's full-test-set single sample is better than the best fix, but when both finish, it is not more accurate than budget forcing, loop stop or T=1.0 (Table 18); the authors attribute the lead to finishing more responses.
Positive controls, detection power and flag
- GSM8K can detect distillation: distillation runs relative to thinking off are +13 [3, 23], relative to resampling +28 [19, 39], and relative to own-answer runs +23 [16, 31], read as adds (§4.3, Table 12).
- MATH-500 can only give an upper bound: distillation runs relative to thinking off are −6 [−16, 4], not exceeding that reference; the authors state that additions at the distillation scale would also not be detected here. The edit relative to own-answer runs is +6 [−2, 15], with at most 15 problems of net excess not ruled out.
- MMLU-Pro math exception: the primary chance-corrected count can only give an upper bound even for distillation; only the secondary binomial test detects distillation. At 80% power, the primary count can detect about 20–22 more problems than the reference.
- Implantation and single-model flag: randomly implanted out-of-reach correct answers are captured for 80% of placements at added proportions of 8% for MATH-500, 2% for GSM8K and 4% for MMLU-Pro math. On trained models the flag does not mark the three MATH-500 distillation runs, marks the three GSM8K distillation runs, does not mark the MMLU-Pro math distillation runs, and never marks the edit (Table 3).
Medicine, second models and frontier agents
- MedQA: the edit transfers as-is from the math setting, +1.5 pp [−0.04, 3.2] over T=1.0; MMLU-Pro health is +0.8 pp [−0.8, 2.5]. The edit's released-answer accuracy is 42.2%, the model's own is 42.9% (Table 13, §4.5).
- Qwen3.5-2B: always-loops only on 97 MATH-500 and 115 GSM8K problems; with its textbook edit as target, all 167 GSM8K correct answers are within reach and unflagged. Qwen3.5-4B has 5.8% outside reach and is flagged (Table 5).
- Frontier agents: the edits of gpt-6.1-sol and Claude Opus 5.5 are +35.1 pp [31.8, 38.4] and +25.7 pp [22.8, 28.5] over the unedited model on MATH-500 respectively, but relative to thinking off are −5.9 [−8.5, −3.4] and −15.4 [−18.0, −12.7]; on always-looping problems reach covers 99.7% and 99.3% of their correct answers.
Other ablations and analyses
- Reach size: for each model the beyond-reach share decreases as reach grows from 4 to 32 samples; at 57 samples the share still decreases (Figure 3, Table 16).
- Token budget: on MATH-500 the edit uses 2.6 times the tokens of thinking off, and 7.8 times on GSM8K; full-budget voting differs by +0.1 pp and +0.3 pp on the two sets respectively (Table 15).
- Longer generation: the unedited model's 81,920-token first sample is 9.6% on MATH-500, and the same response truncated at 32,768 tokens is 9.4%; the authors state that the loops are real (Table 2, Appendix B).
- Near-duplicate problems: after removing 111 MATH-500 problems that are near-duplicates of MATH training problems, the edit is 48.2%, +2.9 pp [0.1, 5.6] over full-budget thinking off (Appendix B).
- Released answers: on MATH-500 the edit's released answers are 97.8% correct and the model's own 98.5%; GSM8K differs by −1.7 pp [−3.3, −0.2], MMLU-Pro math by −5.5 pp [−7.8, −3.3] (Table 14).
- R1-Distill negative result: on a second set of 200 practice problems no edit beats base, best 51.0% versus 53.0%; on the test set the edit exhausts the budget on 38 problems that base could have completed (Appendix D).
What are some points that can be further explored?
The authors list limitations including model and edit sources, reach detection power, controls, and rule-based pre-registration; the experiments also have explicit coverage boundaries.
Limitations and future directions noted by the authors
- Main model and edit sources: The main model is a single 0.8B model, and Qwen3.5-2B only runs flag; the edits come from one published run and one run each for each frontier agent (Limitations).
- Measurement boundary of reach: New capabilities are counted only as answers outside the 32-sample reach, while share still declines at 57 samples; new additions at the distillation scale cannot be detected on MATH-500 (Limitations).
- Own-answer comparison: Relies on only one answer source; on GSM8K it solves more beyond-reach questions than the resampled reference solutions, and on MMLU-Pro math it solves more than both decode-only references (Limitations).
- Rules fixed afterward: flag, share contrast, the reading of the decode-only references, and the three registered rules were fixed after the partial results they read were known (Limitations; see Table 11 for registration times).
- Intervals do not cover serving differences: The intervals resample questions rather than serving setups; the MATH-500 given to the edits by the authors, the model card, and this paper's reproduction is 48.1–51.7%, a spread larger than its +3.1-point lead over the best fix (Limitations).
- Untested results from the original work: Takehi et al.'s experiments on smaller networks and the instruction-following gains were not tested in this work (Conclusion).
Scope of experimental coverage
- The main test is Qwen3.5-0.8B; Qwen3.5-2B has reach/flag experiments, Qwen3.5-4B appears in the flag comparison, and R1-Distill-Qwen-1.5B has practice and a 55-question test analysis (§4.5, Appendix D).
- The main protocol uses four samples per question, with reach defaulting to 32 samples; MATH-500 additionally analyzes 57-sample reach, and the intervals resample by question, not repeated across serving setups (§3, Limitations).
- The medical evaluation includes MedQA and MMLU-Pro health; the ethics statement says only public models and public benchmarks were used, with no patient data, and the medical results do not support clinical use.
- Each frontier agent has one edit run per model; both used all 50 forward passes, with the gpt-6.1-sol run running 66 Python programs and Claude Opus 5.5 running 295 (Appendix E).
- The paper does not report human evaluation or agreement between human and automatic scoring; answers use the authors' protocol scorer, and Appendix B describes reproduction, near-duplicate, and budget details.
Summarize the main content of the paper
The authors audit weight editing using out-of-reach answers and question counts, arguing that it mainly terminates loops, releases capabilities and improves single-sample reliability.
This is an intervention audit targeting looping reasoning models: the authors propose the beyond-reach test and re-examine a representative result from weight-space programming in which an agent directly edits the weights of Qwen3.5-0.8B.
- Problem: An accuracy increase may merely let the model complete problems it would have done anyway, or it may add newly solvable problems; when many responses exhaust the budget due to repetition, the two cannot be distinguished by accuracy.
- Method: Eight decoding fixes constitute the decoding reach of the unedited model; the edited, own-answer fine-tuned and distilled models' proportion of answers outside reach and own-32 problem counts are compared with two decode-only references, matched on finished samples.
- Gain recovery: The reproduced edit takes MATH-500 from 7.6% to 51.7% and GSM8K from 13.7% to 67.6%; thinking off without changing weights recovers 93% and 82% of the gain respectively (Table 1).
- Answer location: On MATH-500 and GSM8K always-looping problems, 97.7% and 99.3% of the edit's correct answers respectively lie within reach; the controls also mostly lie within reach, so the authors do not treat share alone as evidence of added capability.
- Out-of-reach problem counts: After matching, the edit relative to thinking off is −21 [−33, −9] on MATH-500 and −18 [−30, −7] on GSM8K; the distillation positive control is +13 [3, 23] on GSM8K but was not detected on MATH-500, and the MMLU-Pro math primary count can only give an upper bound.
- Authors' conclusion: What the edit preserves is single-sample reliability on the full test set; on MATH-500, 8k thinking-off voting within its token budget is 56.1%, higher than the edit's 51.7%. The authors recommend that, before attributing interventions on looping models to added reasoning capability, one first compare with decoding fixes and audit out-of-reach answers.
Research lineage
1 foundations · 0 follow-ups in libraryNo later in-library follow-ups recorded yet.
Hover or focus a connected paper to inspect the citation context.