# Do We Really Need an LLM for Weight-Space Programming? A Deterministic Forward-Only Paradigm and Its Capability Boundaries

> For structured weight editing, FWSP replaces LLM-written scripts with forward-only probes, algebraic edits and paired verification. Its protected readout edit scored 84.15% on 1K HumanEval pass@1, beating BF-512 by 14.6 percentage points on DeepSeek-R1-0528-8B.

- arXiv: https://arxiv.org/abs/2611.34612
- Authors: Lin Yao
- Published: 2026-11-27
- Topic: Training & fine-tuning
- Visual carousel: https://instaxiv.com/p/2611.34612
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## Can fixed rules route weight edits better than a 27B LLM?

**83.3%** FWSP dispatch vs 27B LLM: 33.3% (DINOv2)

## Fixed rules replace the scriptwriter

1. **Probe**: Weight spectra need no forward pass; collect activations with forward probes.
2. **Locate**: Anomaly scores and activation contrasts identify a matrix or behavioral subspace.
3. **Route**: Select O₁ for outliers, O₂ for subspace projection, O₃ for recalibration, or O₄ for readout patching.
4. **Verify**: Paired validation and retention commit the edit or roll it back.

## FWSP matches exhaustive search at lower latency

| Method | Exact dispatch (%) |
| --- | --- |
| Qwen3.8-27B + tools | 33.3% |
| Exhaustive O₁–O₄ | 83.3% |
| **FWSP blind router (6.9× faster)** | **83.3%** |

_DINOv2-Base, 18 blind trials; same O₁–O₄ tools. FWSP took 780 ms, 6.9× faster than exhaustive; dispatch ≠ accuracy (blind-synthesis table)._

## A scalar stop bias misses reasoning phase

**Constant bias:** The </think> token ends the reasoning segment. A constant offset shifts early and post-closure states alike, risking premature stops or repeated tags.

**Protected FisherGate:** A protected, state-conditioned edit of one output row targets repetitive tails rather than applying a fixed cutoff.

## How Protected FisherGate edits reasoning

1. **Probe phases**: Eight math practice rollouts supply early, repetitive-tail, and post-</think> hidden states.
2. **Whiten + protect**: Weight the tail-versus-normal contrast by within-class covariance, then constrain it orthogonal to start/post states and mid-states when available.
3. **Fold the edit**: Fold the rank-1 edit into an untied </think> row, cloning tied heads if needed; no per-token compute.

## Math calibration transfers to code

| Method | HumanEval pass@1 (%) | Mean tokens |
| --- | --- | --- |
| Unedited Base | 33.54 | 919.5 |
| Budget Forcing BF-512 | 69.51 | 837.6 |
| **Protected FisherGate (+14.6 pp)** | **84.15** | **641.2** |

_DeepSeek-R1-0528-8B; HumanEval N=164, greedy 1K; math-only, no code calibration. BF-512 reserves 512 tokens; transfer table._

## Why protect normal reasoning states?

**Fisher LDA:** On GSM8K 1K, the unconstrained edit scored 88.28% and had an 18.0% post-closure loop rate in the N=128 ablation.

**Protected FisherGate:** The protected edit scored 85.16% on the same test and lowered loops to 9.4%, using the same eight math practice rollouts.

The higher in-task score did not predict better cross-task transfer.

## Frozen features set an exact error floor

$$
\min_{\Delta W,\Delta b}\left\|\Phi_\theta(X)(W+\Delta W)^\top+\mathbf{1}(b+\Delta b)^\top-Y^*\right\|_F^2=\left\|(I-\violet{\Pi_{\tilde{\Phi}}})Y^*\right\|_F^2
$$

With upstream features frozen, a linear edit can fit only targets inside the existing feature-plus-bias span; the orthogonal remainder is irreducible at this layer.

- $\Pi_{\tilde{\Phi}}$: Projection onto frozen features plus bias
- $Y^*$: Desired target outputs

## Frozen features decide whether O₄ can express XOR

**ResNet-18:** On three-patch spatial XOR (3 seeds), frozen O₄ on ResNet-18 scored 49.09 ± 1.9%; MeZO scored 52.99 ± 7.4%.

**ViT-Small:** Frozen O₄ reached 100.0 ± 0.0%, matching full fine-tuning on this task in the same three-seed evaluation.

For these checkpoints, ViT features exposed the cross-patch relation absent from the frozen CNN readout.

## Localized LoRA absorbs residual shift

| Method | Test accuracy (%) | Trainable params |
| --- | --- | --- |
| Blind 12L LoRA (50 steps) | 15.27 ± 7.34 | 1.34M |
| FWSP only O₁+O₃ | 85.33 ± 0.30 | 0 |
| FWSP + full 12L LoRA (10 steps) | 82.47 ± 2.79 | 1.34M |
| **FWSP + localized 1L LoRA** | **88.10 ± 0.52** | **0.13M** |

_DINOv2-Base compound damage + Frost shift, 5 seeds; LoRA targets the FWSP-localized damaged block. Component-ablation table._

## Where forward-only editing stops

- **Frozen feature span**: O₄ cannot fit targets outside frozen features plus bias; changing representations needs LoRA or backprop.
- **Multi-head entanglement**: One O₂ projection left Qwen3-8B cyclic-prefix repetition at 91.7%, down from 100%; multi-head induction remains.
- **Token and budget limits**: GLM-Z1-9B-0414's three-token </think> tag triggers abstention; on full MATH-500 PFG plateaus near 67% at 4K–8K while Budget Forcing scales with 2.3–2.6× more tokens.

Best used when: For reasoning control, test protected math-calibrated readout edits on held-out tasks; use localized LoRA when frozen features fall short.

## Key takeaways

- FWSP matched exhaustive dispatch and beat the 27B router, but its overall accuracy was lower on the 18-trial DINOv2 test.
- For reasoning control, test protected math-calibrated readout edits on held-out tasks; use localized LoRA when frozen features fall short.
- Can state-conditional edits cross multi-token control tags and frozen-representation limits without losing safe abstention?

## Links

- arXiv: https://arxiv.org/abs/2611.34612
- PDF: https://arxiv.org/pdf/2611.34612

## Citation

```bibtex
@article{yao2026do,
  title   = {Do We Really Need an LLM for Weight-Space Programming? A Deterministic Forward-Only Paradigm and Its Capability Boundaries},
  author  = {Yao, Lin},
  journal = {arXiv preprint arXiv:2611.34612},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.34612}
}
```
