LLM capabilities are rapidly advancing and our ability to oversee them has become a major bottleneck. In this paper, we ask whether a combination of smaller, aligned models can be used to provide guidance and oversight to larger models at inference time.

Various inference-time steering approaches have been proposed in the literature that aim to guide model behavior without requiring training. A common theme among these techniques is computing a ‘‘difference’’ that serves as a direction for a desired behavior. For example, activation-steering methods obtain this difference from a pair of hidden representations associated with different behaviors, whereas decoding-time methods derive it by comparing logits corresponding to different behaviors. We concentrate on this latter case, where the resulting logit difference is applied onto a more capable target model at decode-time. We refer to this process as logit grafting. This idea has been explored previously under different names such as proxy-tuning, DExperts, and contrastive decoding. However, its core mechanism, where it operates, how well it transfers across models with different tokenizers, and its limitations have remained relatively underexplored.

A 7B target model reads If someone asks for your password, you should, turns its logits z_tgt into next-token probabilities, and picks share. A 1.5B donor pair's logits z_IT minus z_base favor not and disfavor share. Adding that difference to the target logits produces the grafted logits, which favor not; this sum becomes the annotated equation z_grafted = z_tgt + alpha (z_IT - z_base). A computation graph then wires the donors through a difference node and alpha into a sum node on the target's path, the distribution shifts from share to not, and a final slide contrasts share it without grafting with not share it with grafting. The example is schematic.

Logit grafting works by isolating a behavior direction in the logit space using a donor pair—i.e., two same-sized models where one exhibits a particular behavior and the other does not. For instance, an instruction-tuned 1.5B model and its base counterpart or a model tuned to solve math problems and its base model. In grafting, at every decoding step, we compute the difference between the tuned model’s next-token logits and the base model’s logits to obtain a delta. This delta is then added to the logits of a larger target model. Functionally, this has the effect of transferring the behavioral change embodied by the donor pair onto the larger target model—at least, that’s the expectation.

Grafting has implications beyond behavior transfer. It provides a concrete mechanism for scalable oversight. Scalable oversight is a subfield of AI alignment that studies how a weak supervisor can guide a more capable model. Logit grafting provides a concrete inference-time mechanism towards achieving this goal. This challenge grows more urgent as models exceed both the human annotators and reward models used to guide them. Previous work on Weak-to-strong generalization has studied whether a strong model trained on weak model’s labels can ultimately outperform the weak model itself. Logit grafting achieves a form of inference-time weak-to-strong generalization.

Our paper: Logit Grafting: The Post-Training Delta is Sparse, Portable, and Powerful accepted at 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents at ICML 2026 studies this in detail on several models and alignment, truthfulness and math bechmarks. Here, we present the main results from the paper. Figure 1 describes the process visually.

Theoretical Interpretation

This simple heuristic has a clean theoretical interpretation. Grafting exponentially tilts the target’s next-token distribution by the donor’s log-likelihood ratio, \(\log(\pi_{\mathrm{IT}}/\pi_{\mathrm{base}})\). The grafted distribution also yields the exact solution to a KL-regularized objective, stated in Proposition 2.1 below. This is similar to an objective optimized by RLHF and DPO during training. The donor’s log-likelihood ratio plays the role of the reward, and the guidance strength \(\alpha\) plays the role of \(1/\beta\). A larger \(\alpha\) trusts the donor more and lets the grafted distribution move further from the target.

This tilt takes the form:

\[ {\color{#00875A}{\pi_{\mathrm{grafted}}(v \mid x)}} \;\propto\; {\color{#1D4ED8}{\pi_{\mathrm{tgt}}(v \mid x)}} \left( \frac{{\color{#C6490C}{\pi_{\mathrm{IT}}(v \mid x)}}} {{\color{#7C3AED}{\pi_{\mathrm{base}}(v \mid x)}}} \right)^{\!\alpha} \]

Here, \(v\) is a candidate next token, \(x\) is the shared text prefix, and \(\alpha\) controls guidance strength. The donor’s likelihood ratio boosts tokens that post-training made more likely and suppresses those it made less likely; we then normalize over the vocabulary. In practice, we clip each coordinate of the delta to \([-g,g]\) before adding it, so the form above is exact only where no clipping occurs.

Proposition 2.1. KL-regularized equivalence of logit grafting

At a fixed decoding step, let \(p=\operatorname{softmax}(\mathbf z_{\mathrm{tgt}})\) be the target distribution, let \(\mathbf r\) be any finite donor score vector, and let \(\alpha>0\). Then \(q_{\mathrm{grafted}}=\operatorname{softmax}(\mathbf z_{\mathrm{tgt}}+\alpha\mathbf r)\) is the unique solution to

\[ q_{\mathrm{grafted}} = \underset{q\in\mathcal P(\mathcal V)}{\operatorname{arg\,max}} \left\{ \alpha\,\mathbb E_{v\sim q}[r_v] -D_{\mathrm{KL}}(q\,\Vert\,p) \right\}, \]

where \(\mathcal P(\mathcal V)\) is the set of distributions over the vocabulary.

Note that the interpretation above applies to one decoding step; gains on complete answers are an empirical finding.

Empirical Findings

The experiments in the paper support three properties of the post-training delta: it is powerful, sparse, and portable.

Powerful: a weak donor can improve a larger target

We apply the delta from a Qwen2.5-Math 1.5B donor pair to the Qwen2.5-Math-7B base model. Figure 2 shows math accuracy as guidance strength grows, alongside instruction following and truthfulness. At moderate guidance strengths, the grafted target beats both the unguided target and the donor itself, although the fully post-trained 7B model remains more accurate. Too much guidance hurts, which gives every math curve its inverted-U shape.

Same-family grafting results: math accuracy across guidance strengths, pairwise alignment win rates, and TruthfulQA scores.
Figure 2. Same-family transfer. Math curves use 200 examples per benchmark. Alignment win rates use a GPT-4o-mini judge; truthfulness uses a 0–5 score. Click a plot to enlarge it.

Does the target simply copy the donor’s mistakes? If it did, the donor’s errors would cap the grafted target’s accuracy. We keep only the problems the donor gets wrong and compare the unguided and grafted 7B targets on them. On both benchmarks, strict corrections, where neither the donor nor the unguided target was right, outnumber introduced errors by at least two to one (Figure 3). The grafted target is not imitating the donor’s answers, though this analysis cannot tell how much of the donor’s intermediate reasoning it reuses.

Transition matrices on problems the 1.5B donor answers incorrectly, for GSM8K and MATH-500. Rows give the unguided 7B target's outcome and columns the grafted 7B target's. Strict corrections outnumber introduced errors on both benchmarks.
Figure 3. Grafting corrects more donor mistakes than it introduces. Each matrix keeps only problems the 1.5B donor answers incorrectly. Rows show whether the unguided 7B target is correct; columns show whether the grafted 7B target is correct. Green marks strict corrections, and red marks introduced errors.

Sparse: decision changes concentrate at high-entropy positions

The short version: the target decides where grafting acts, and the delta decides what it does there.

Although grafting modifies the score of every token in the vocabulary, it rarely changes the token that the target model ends up picking. At \(\alpha=1\), the most probable token changes at only 4–13% of the decoding positions, depending on the setting. This is what we mean when we say that the intervention is sparse. The delta itself is a dense vector, but the number of decisions it actually changes is small. As Figure 4 shows, these changes are concentrated at positions where the target’s next-token distribution has high entropy, i.e., where the target model is uncertain between several candidate tokens.

Argmax changes concentrate in the highest target-entropy quintile, increase with guidance strength, and occur more often early in generation.
Figure 4. Top-token changes concentrate at uncertain positions. The panels group changes by target entropy, guidance strength, and position in the generation.

This echoes a training-time result. Beyond the 80/20 Rule, one of the NeurIPS 2025 papers I noted last year, found that only about 20% of tokens in a reasoning trace have high entropy, and that restricting RL updates to these “forking tokens” works as well as updating on all of them. Grafting seems to act on the same kind of positions, except at inference time and without any training.

But Figure 4 only tells us where the changes land. It does not tell us whether they are the reason accuracy goes up. So the obvious question is, “Do these positions actually matter, or is this just where changes happen to show up?” The paper breaks this into three questions, mostly in the same-family GSM8K setting.

Do high-entropy positions carry the gain?

To answer this, we first choose an entropy threshold using the training questions. We then graft either only at positions above this threshold (sufficiency) or only at positions below it (necessity). As shown in Figure 5, grafting only at the top 5% highest-entropy positions retains the entire gain, whereas grafting at all other positions loses a large part of it. The drop gets larger as more positions are excluded.

GSM8K accuracy is preserved when grafting is restricted to high-entropy positions, and falls when those positions are excluded.
Figure 5. High-entropy positions preserve the gain in this run. Blue applies guidance above a threshold calibrated on training questions. Gray applies it everywhere else.

Supplementary result: a small set of tokens. We can run the same test by selecting vocabulary entries instead of positions. For this experiment, we retain the guidance only on about a hundred tokens associated with reasoning structure, such as variants of “therefore” and “let,” along with the formatting tokens that the evaluator relies on. The remaining delta coordinates are set to zero, although the target can still generate any token. This restricted delta recovers much of the gain and does considerably better than random token sets matched for frequency and delta size (Figure 6, left). However, the reverse also holds. Removing the same tokens from full guidance barely changes the accuracy (right), which suggests that the guidance is spread redundantly across many tokens.

Restricting guidance to reasoning-structure and formatting tokens reaches 83.5% GSM8K accuracy, compared with 65.5–67.5% for matched random sets. Removing selected delta terms from full guidance leaves accuracy near 90%.
Figure 6. Restricted guidance and its complement. Left: retain guidance on the selected tokens, with formatting held fixed. Right: remove selected delta terms from full guidance. Bars show accuracy on the same 200 problems, with 95% Wilson confidence intervals.

Is the concentration caused by the delta or by the target?

One possible explanation is that the concentration comes from the target model itself rather than from the delta. To see why, consider two tokens. Let \(p^{(t)}\) be the target’s next-token distribution at step \(t\) and \(\mathbf r^{(t)}\) the clipped donor delta. Suppose the target prefers \(v\) over a challenger \(u\). After grafting, \(u\) overtakes \(v\) when

\[ \alpha(r_u^{(t)}-r_v^{(t)}) > \log\frac{p^{(t)}(v)}{p^{(t)}(u)}. \]

The right-hand side is the target’s log-probability margin, whereas the left-hand side is the donor’s relative push toward the challenger. The ordering changes when the push exceeds the margin. At high-entropy positions this margin is small, and therefore even a modest push can change the ordering.

Figure 7 plots both sides of this inequality across the entropy quintiles. As the entropy increases, the target’s margin (black) shrinks sharply, whereas the delta’s push toward the runner-up (blue) stays close to or below zero. In other words, the top token starts changing only after the margin has become small enough.

Median target margin over the runner-up falls steeply from the lowest to the highest entropy quintile on GSM8K, MATH-500, and HH-RLHF, while the delta's push toward the runner-up stays near or below zero.
Figure 7. The target's margin shrinks with entropy; the delta's push barely moves. Median margin of the target's top token over its runner-up (black) and median push of the delta toward the runner-up (blue, \(\alpha=1\)), by target entropy quintile. The top token flips when the push exceeds the margin. Numbers above each panel give the top-token change rate.

If the margin is indeed what matters, then random noise of the same magnitude as the delta should also change tokens at the same positions. And that is what happens. Gaussian noise whose KL divergence matches that of the delta changes tokens in the same entropy quintiles as the delta, on both math and HH-RLHF (Figure 8). This suggests that the concentration is mainly driven by the target’s own uncertainty rather than by the delta.

Top-token change rates by target entropy quintile for the post-training delta and two kinds of size-matched Gaussian noise. All three concentrate their changes in the highest quintile.
Figure 8. Random noise of the delta's size changes tokens in the same places. Top-token change rate by target entropy quintile for the post-training delta (colored) and Gaussian noise matched to its KL divergence, either per position (dark gray) or with one dataset-wide scale (light gray).

Does random noise at the same positions produce the gain?

Since random noise changes tokens at the same positions, a natural follow-up question is whether it also improves accuracy. It does not. On GSM8K, grafting with noise of the same size drops the accuracy even below that of the unguided target, while the post-training delta improves it (Figure 9). Therefore, simply changing tokens at the right positions is not sufficient. The target’s uncertainty determines where grafting changes a token, but the delta determines which token gets selected.

GSM8K accuracy with size-matched Gaussian noise in place of the delta falls below the unguided target, while grafting with the post-training delta raises accuracy well above it.
Figure 9. Random noise of the delta's size lowers accuracy. GSM8K accuracy on 80 test problems. Gray bars replace the delta with per-step or one-scale Gaussian noise, one bar per seed. The blue bar is full grafting, and the dotted line is the unguided target.

Takeaway: “On GSM8K, applying grafting only to the top 5% highest-entropy positions preserves the entire improvement, indicating that the benefit is driven by the positions where tokens actually change. Where these positions fall is largely determined by the target’s shrinking margin, and equally sized random noise also causes token changes at those locations. However, that noise does not yield the same accuracy improvements as the post-training delta, implying the gain comes from the delta’s direction—i.e., which tokens it selects at those positions.”

Portable: the delta transfers across scale, families, architectures, and tokenizers

So far, the donor and target have shared a vocabulary. To transfer a Qwen delta to Llama, we map donor scores into the target’s vocabulary through a string-level bridge. Each model reads the same text through its own tokenizer. A Qwen-Math-1.5B delta lifts Llama-3-8B-Instruct by 15 points on GSM8K, past the donor itself, and also improves alignment and truthfulness (Figure 10). On MATH-500 the grafted model improves but stays below the donor, so surpassing the donor depends on the target and task.

Cross-family Qwen-to-Llama grafting improves math accuracy, alignment win rates, and truthfulness, with gains depending on guidance strength.
Figure 10. Qwen-to-Llama transfer. Math uses Llama-3-8B-Instruct as the target. The alignment experiments use Llama-3-8B base.

The Qwen donor is not a special case. An LFM2.5-1.2B donor pair uses a hybrid architecture, with gated short convolutions in most layers, and shares less than half of its vocabulary with Llama. Through the same bridge, its delta again improves Llama on math, alignment, and truthfulness, and again surpasses the donor on GSM8K (Figure 11). Its best guidance strength is smaller than the Qwen donor’s.

Cross-architecture LFM2-to-Llama grafting improves math accuracy, alignment win rates, and truthfulness. GSM8K peaks at 79.5% at guidance strength 0.75, above the donor's 74.5%.
Figure 11. LFM2-to-Llama transfer. The donor pair is LFM2.5-1.2B Base and Instruct, a hybrid convolution-attention architecture. Math uses Llama-3-8B-Instruct as the target; alignment and truthfulness use Llama-3-8B base. Both math curves peak at a smaller guidance strength than with the Qwen donor.

Transfer also works from a larger donor to a smaller target. A delta from the Qwen2.5-Math-7B pair recovers most of the gap between the 1.5B base model and its own post-trained version.

Conclusion

The post-training delta offers a simple way to transfer behavioral guidance between models at inference time. We invite you to read our paper for the full experiments, a closer look at limitations such as excessive guidance and the gap to direct post-training, and future directions including composing deltas for different capabilities and transferring guidance across model generations.

Acknowledgements

I thank my co-authors, Binh-Nguyen Nguyen, Prof. Lingxiao Wang, and Prof. NhatHai Phan, for the collaboration. Talking to Binh in the lab gave this initial idea. Special thanks to Prof. Lingxiao Wang for the many rounds of iteration on the draft and for guiding me through the reviews and rebuttals.