Does the Norm Matter for Agent Fine-Tuning?

Open-weight language models now roughly match proprietary systems on multiple-choice tests, but they still fall well short when asked to act: to pick the right tool, call it in strict machine-readable format, and check their own results. The usual fix is more data, in the form of fine-tuning on tens of thousands of recorded agent interactions. This proposal asks a narrower question that nobody has tested. Is part of the remaining gap caused by the optimizer, specifically by the geometry it uses to measure how big a weight update is? A recent line of theory recasts optimizers such as Lion and Muon as constrained steps inside a ball defined by a non-Euclidean norm. That theory makes concrete predictions about heavy-tailed gradient noise and about skills being learned one after another instead of together. So far those predictions have been checked only on toy tasks, on pre-training loss, or on static benchmarks.

In two sentences, the idea is this. In agent trajectories, the gradient is dominated by a few directions driven by repetitive formatting tokens such as JSON braces, tool-call templates, and role markers. We hypothesize that under element-wise optimizers like AdamW, this domination delays or prevents learning of the rare skills where open models are weakest, namely tool retrieval and result review. We test whether a spectral-norm optimizer, which caps every update direction at the same size, removes that delay. We also run the two cheap fixes that would make the geometry unnecessary: rebalancing the data, and simply masking the formatting tokens out of the loss.

Core Claim

The claim is mechanistic and can be falsified. Spectra found that LLM pre-training gradients have a "low-rank spike plus smooth tail" shape, with about 1.5% of directions carrying most of the energy. It attributes the spike to grammatical signal that drowns out knowledge-bearing directions. On How Muon Reshapes Skill Learning Dynamics proves, in a linear in-context regression model, that spectral gradient descent decouples learning across eigenmodes. It shows on synthetic sparse parity that Muon learns sub-skills in parallel, which it measures with a "Skill Acquisition Lag" (SAL).

We conjecture that agent trajectory fine-tuning is where these two findings meet with real consequences. Formatting scaffolding repeats in every example, so it plays the role of the grammatical spike. Tool retrieval and review are rare and late, so they play the role of the suppressed tail.

The prediction is specific. Take AgentBank-style trajectory tuning and track the six sub-skills that T-Eval separates: Plan, Reason, Retrieve, Understand, Instruct, and Review. Under AdamW, Instruct (formatting) and Plan should saturate early while Retrieve and Review lag. Under spectral-norm updates, that lag should shrink, and the reduction should persist even after the data are rebalanced. If masking the formatting tokens out of the loss gives the same benefit under AdamW, the claim is wrong in its interesting form, and we would report that the gap is a loss-design problem, not a geometry problem.

Research Program

The program has three parts: a measurement study, a controlled comparison, and a theory check.

Measurement study. On an open 7–8B model (Llama 3 8B, as in LoRA meets Riemannion) fine-tuned on the 51,287 trajectories released with AgentBank, we record three things at regular checkpoints.

The first is the share of gradient energy in the top singular directions of each weight matrix. We split it by computing separate gradients for the loss on formatting tokens and the loss on content tokens. This tests directly whether formatting drives the spike.

The second is the tail index of the minibatch gradient noise. The tail index measures how often extreme gradients occur; a $p$-th moment that is finite only for $p<2$ is the heavy-tailed regime analyzed in Lions and Muons. We estimate it separately for agent trajectories and for a matched static instruction set drawn from MAmmoTH's MathInstruct. The comparison tells us whether trajectory tuning is genuinely more heavy-tailed or only looks that way.

The third is the T-Eval sub-skill scores over training. We define the lag as

$$\mathrm{SAL} = \max_k t_k - \min_k t_k,$$

where $t_k$ is the first training step at which sub-skill $k$ reaches 90% of its final score. This adapts the metric from the Muon skill-dynamics paper to real sub-skills rather than synthetic parity tasks.

Controlled comparison. We then compare optimizers that differ only in the norm that defines their step:

  1. AdamW, which scales each coordinate separately.
  2. Lion, which takes steps inside a max-norm ball.
  3. Muon, which takes steps inside a spectral-norm ball.
  4. Spectra, which explicitly shrinks the spike.
  5. The clipped variants MUON+ and LION+ from Lions and Muons.

For the parameter-efficient regime we add Riemannion on LoRA adapters.

Theory check. Lions and Muons states two caveats that our data can address. First, its bounds assume Hilbert-space norms, and moving to general norms may add dimension-dependent constants. Second, clipping can slow convergence when noise is benign. We test both claims as empirical predictions rather than leaving them open. The clipped variants should help on whichever data regime has the lower measured tail index and should hurt or be neutral on the other. The gap between Lion's and Muon's convergence should grow with layer width if the dimension-dependent constants are real.

Statistics. Agent benchmark scores are noisy. T-Eval itself notes instability from live API interaction. We therefore treat each run's six-dimensional T-Eval sub-score vector as a bounded vector in Euclidean space, which is a 2-smooth space. We place anytime-valid confidence sets on seed-averaged differences using the empirical Bernstein construction of Empirical Bernstein in smooth Banach spaces. That construction has so far been validated only on simulated data. Here it plays a modest supporting role: it lets us stop adding seeds once a difference is resolved, without p-hacking.

Baselines

AdamW (do-nothing reference). The naive reference is AdamW fine-tuning on AgentBank trajectories with standard global-norm clipping. This is how SAMOYED was trained. The relevant reported numbers are AgentBank's held-out average of 29.5 for SAMOYED-7B and 35.5 for SAMOYED-13B, against 15.7 for Llama-2-13B-Chat. On T-Eval, the reported overall score is 71.4 for Qwen-72B against 86.4 for GPT-4.

Spectra. The strongest existing optimizer is Spectra. On LLaMA3-8B it reported a 1.62-point average downstream gain over AdamW and 0.66 over Muon, but only on static benchmarks (ARC, HellaSwag, BoolQ, PIQA, LAMBADA). It is the closest competitor because it already targets the spike explicitly. If our mechanism is right, Spectra and Muon should behave similarly on the lag. A Spectra win would confirm the spike story without requiring the Frank-Wolfe interpretation.

Riemannion (parameter-efficient regime). In the LoRA regime the strongest competitor is Riemannion. It reports 88.1% average commonsense accuracy on Llama 3 8B, against 87.1% for Adam LoRA and 83.0% for naive Muon applied to the LoRA factors. That 83.0% result is a warning that spectral updates applied in the wrong parameterization can hurt.

Fairness protocol. Every optimizer gets the same data, token budget, and hardware, and the same number of learning-rate and weight-decay sweep points (eight). Selection is on a held-out slice of AgentBank's held-in tasks, never on T-Eval or held-out tasks. We run three seeds and add more seeds as the confidence sequence dictates.

Ablations isolating the ingredient. Two ablations isolate the proposed ingredient. The first is AdamW with formatting tokens masked from the loss. The second is AdamW with training data upsampled toward retrieval- and review-heavy steps.

What counts as beating the baselines. Beating the baselines means two things together. First, a spectral optimizer must shrink SAL relative to AdamW and also beat both AdamW ablations. Second, it must raise the Retrieve and Review sub-scores, and the held-out AgentBank average, beyond the confidence set of the AdamW reference, with no regression on Instruct.

Why not just…?

Why not just rebalance the data toward the weak skills? This is the most serious threat. If the delay in learning retrieval and review comes from these skills being rare as examples, upsampling them under AdamW should close it. Our mechanism predicts that upsampling falls short, because every upsampled example still carries the same formatting scaffolding, so the spike persists. The rebalanced-AdamW arm settles this directly. If it matches Muon on both SAL and Retrieve/Review, we conclude that geometry adds nothing here.

Why not just mask the formatting tokens out of the loss? This alternative is cheaper still and directly removes the hypothesized source of the spike. It is a genuine competitor, and it may win. The measurement study predicts when it will. If the content-token gradient alone still shows a dominant spike, masking cannot help, and spectral updates should. If the spike disappears with masking, masked AdamW should match Muon. One complication is that T-Eval reports that 7B models collapse under strict JSON output. Masking may therefore damage the Instruct sub-skill, which is a cost the spectral optimizer does not pay. We report that trade-off explicitly.

Why not just add more or better trajectories? AgentBank already shows that scaling trajectories leaves a large held-out gap and causes negative transfer on embodied tasks. SmartPlay shows that prompting does not rescue open models on tasks like Crafter. Data scaling, however, is orthogonal to optimizer choice, not a rival to it. We therefore run the optimizer comparison at two data scales, 25% and 100% of AgentBank. The question is whether the optimizer gap shrinks as data grows, which would imply that geometry only buys sample efficiency, or whether it persists.

Why not just tune AdamW's clipping harder? Lions and Muons shows that clipping inside the Frank-Wolfe template is what makes the difference under heavy tails, with LION+ reaching target loss 19.18% faster than Lion on nanoGPT. Its gains for Muon were smaller, at 5.88%, and it warns that clipping slows convergence when noise is benign. We include AdamW with a swept clipping threshold. If the measured tail index of trajectory gradients is close to 2, we expect clipping to matter little for any optimizer, and we will say so.

Decisive Checks

Three outcomes would settle the question.

The first check is the formatting-token spike decomposition. If formatting tokens do not account for most of the top-direction gradient energy on AgentBank, the mechanism is wrong regardless of downstream scores.

The second check is the three-way comparison of SAL and Retrieve/Review scores across AdamW, masked AdamW, and Muon/Spectra. Here geometry must beat masking to justify itself.

The third check is transfer to interactive play. We evaluate the best checkpoints on SmartPlay's Tower of Hanoi from random intermediate states, the setting where SmartPlay found memorization traps, and on Crafter. A reduced lag that does not raise held-out agent scores would mean the effect is real but irrelevant to the open-model gap.

Regardless of the outcome, the study provides the first measurement of heavy-tailedness and spectral anisotropy in agent fine-tuning. It also provides the first test of the skill-decoupling theory on real sub-skills rather than synthetic ones.