WorksComputer Science
Fix How It Acts, Not How It Thinks: Surgical Fine-Tuning of Frontier LLMs
Abstract
Open-weight LLMs are competent software engineers, but they sometimes fail at tasks they are otherwise able to do. Often it is not a failure of reasoning. It is a few small missteps over a long trajectory (repeating a step that has already failed, or declaring the task done while a requirement is still unmet) that make the difference. Correcting this calls for a surgical weight update that steers the model toward the right actions without interfering with its reasoning. Such updates, typically learned with LoRA adapters, are often too small to survive merging into a released checkpoint. In our BF16 release, the median weight change is only 1.5% of a single rounding step, and merging loses roughly two thirds of the update's norm. When the same adapter is merged into the mixed FP8/NVFP4 release of the same model, 93% of the update disappears. Instead of increasing the size of the update, we directly train on the surviving part. We introduce merge-aware fine-tuning. Standard LoRA rounds the merged weights to the storage format only at export, so the loss never sees the rounded weights. We instead round the sum of base weights and adapter update to the release format at every training step, keeping the vendor's quantization scales, and compute the loss on these weights. The forward pass matches the serving engine numerics, and the gradient passes straight through the rounding, so the model we train is the model we ship. The loss optimizes only the model's actions and keeps its reasoning close to the base model. Applied to Nemotron-3.5, the recipe improves agentic coding in both the BF16 and the NVFP4 release, by up to 8.4 points on Terminal-Bench 2.1, and we publicly release both models.
Introduction
Large open-weight reasoning models are becoming capable of solving real-world engineering tasks by themselves, over many turns. However, benchmarks in software engineering demonstrate that failure modes of these models often lie in their actions, not in their reasoning. Even a model that reasons well may still fail if a few small mistakes occur over the course of solving a long task. This may take the form of a tool call or code patch of the wrong format [29], repeating a step that has already failed, or declaring the task complete while a requirement is still unmet [44]. These are failure modes in how a model acts, not in how it thinks.
Fixing these mistakes should not require changing what the model already knows. Fine-tuning can affect capabilities that are already working well [40], while small low-rank updates are known to result in less forgetting [8]. Thus, we require a small, surgical update that improves behavior without affecting reasoning, knowledge, or other capabilities. A surgical update is small and targeted at a single behavior, with bounded modifications everywhere else. Larger updates typically have more widespread effects on the model that cannot be easily predicted or verified. Indeed, we saw this in our own runs, where checkpoints that were further from the base model had worse scores on the benchmark. Therefore, three conditions must hold for a surgical update. Firstly, the correct tokens need to be targeted. Secondly, the model should move only as far as needed. Lastly, this update must survive in the weights of the final release.
Low rank adaptation [23] is the natural approach here. The typical steps are: train the adapter weights at high precision, merge them into the base weights, and store the merged weights in the format of the base checkpoint. The standard LoRA approach works well for the first two conditions of a surgical update. But the last merge step is critical for the small update to survive in the release. The merge is not just a packaging step, but actually introduces lossy data-independent rounding that can wipe out most of the update. In our released BF16 model, a LoRA fine-tune of NVIDIA’s 120B Nemotron-3.5, the median magnitude of an element in the update is only 1.5% of the magnitude of one rounding step on the BF16 grid. Roughly two thirds of the norm of the update is lost in the merge process and the surviving update only has a cosine similarity of about 0.26 to the direction of the update that was learned during training.
This gets worse for the quantized releases. Vendors now also offer official checkpoints in low precision [46], alongside BF16 models, because low-precision checkpoints are much cheaper to serve. The 4-bit NVFP4 weights only require a fraction of the memory of BF16 weights and can run on the 4-bit tensor cores of recent GPUs [47]. This allows for a smaller, faster checkpoint, which can be deployed on fewer GPUs and hence serve more users at a lower cost. So the quantized release is typically the one deployed, and is the one a fine-tune should improve. But the coarser quantization grid means that it is even harder for small updates to survive during merging. When the same adapter is merged into NVIDIA’s mixed FP8/NVFP4 release of the same model [46], 93% of the update is lost, and the shared-expert weights, which are stored in 4 bits, do not change at all.
Note that this loss of the update in the merge, which we call the “vanishing delta” (§ 2), is not something specific to our model. We see it elsewhere in the literature, e.g. in BF16 training [64, 74], in attempts to purge knowledge from a model [77], and when serving diffusion models [41, 60]. In our own experiments we see the same phenomenon. We trained a normal 120B LoRA adapter on the same dataset and with the same objective we used for our release, but without the merge-aware training approach. It loses most of the gains on the benchmarks after merging. Interestingly, the merge keeps the same share of the update, and the same direction, for this adapter as for our release. The difference is that our release was trained on the portion of the update that survives, and the plain adapter was not. Theoretically, if the update were larger, more of it would survive the merge. But this contradicts the whole idea of a small and targeted update. Instead of scaling the update, we directly learn the part of it that survives.
There have been a number of works looking at combinations of quantization and adapters. Some work, like QLoRA-style approaches, keeps the adapter fully separate from the quantized base model without merging [17, 34, 55], while others instead fine-tune the quantization parameters [30]. The closest to our setting are quantization-aware low-rank methods which explicitly take the merged model into account during training [9, 11, 21, 28, 69], recently also for 4-bit microscaling base models [5, 6, 33]. But here the user controls the quantization of the target model, into a single integer or microscaling format, and typically learns or refits the scales and/or zero-points. Our setting has three additional constraints: first, we start from a vendor’s mixed BF16/FP8/NVFP4 checkpoint and we can only change the adapted weights, and every other byte of it must stay identical; second, there are differences in numerical behavior between our training library and the serving engine which matter at this scale; and finally, the updates are so small that almost all single weights move by less than half a rounding step. § 8 discusses related work in detail.
We propose merge-aware fine-tuning. A release never stores the high-precision sum . It stores that sum rounded into each tensor’s number format, BF16, FP8 or NVFP4. This rounding grid is determined by the format and the vendor’s scales. We denote this stored weight as . We round not only at export time but at each training step, keeping the grid and scales fixed. We then train the model directly on , and the LoRA gradient passes straight through the rounding to the adapter factors [7]. Part of the update is still lost at the rounding, but the difference is that training sees this loss. The optimizer now learns an update whose surviving part leads to the desired change in the model’s behavior, not one that works only before rounding. Similarly, the numerics of the rest of the forward pass match the serving engine. At initialization the model matches the served base weights bit for bit and each checkpoint that we release contains exactly the used for the loss. In addition, we use an objective that operates on the model’s behavior. Each token is classified as context, thinking or action, and only the action tokens, namely the end of reasoning, the tool call and the end of turn, are given a likelihood loss. Thinking tokens are not given a likelihood loss, but are instead kept close to the frozen base model by a sequence-level KL-style drift penalty in the form [59, 61]. At the same time we keep the served weights close to the base, with a fixed target for how far they may move relative to their size. We scale learning rates based on storage format to ensure that updates can still move weights on the coarser rounding grids. Figure 1 summarizes the method, and compares the two pipelines. On the left, standard LoRA trains on the high-precision sum , only rounding at export. The rounded model never appears in the loss. The change that survives the merge depends on the size of the update compared to the rounding grid, not on the desired change in the model’s behavior. For a small update like ours, only 34% survives in BF16 and 7% in NVIDIA’s NVFP4 release, with no change at all in its 4-bit experts (Table 1). On the right, at each step of training we first construct the weights that will be stored in the release and run the forward pass using the same numerics as the serving engine. The LoRA gradient then passes straight through the rounding unchanged to the FP32 factors and , as indicated by the dashed arrow. The row of token types indicates where we apply the loss. The last two lines summarize: the model we train is the model we ship, and we control how much we move the served weights.
Figure 1. Merge-aware fine-tuning. Left: standard LoRA trains and ships , so most of a small update is rounded away (§ 2). Right: we compute the loss through the served weight and pass the ordinary LoRA gradient straight through the rounding. Only action tokens receive a likelihood term. Thinking tokens are held near the frozen base by a sequence-level KL-style () penalty, and context is masked. The shares kept on the left are for our released BF16 adapter merged by plain rounding (Table 1). The dashed arrow is the gradient, which passes the rounding unchanged. Bottom right: the released weights are exactly those the loss was computed on, and the served change is held to a small fixed target (§ 3).
| Release format | Module group (storage) | update | served change | retained | lost |
| BF16 | attention (BF16) | 0.0293 | 0.0100 | 0.340 | 66% |
| BF16 | Mamba in_proj (BF16) | 0.0937 | 0.0301 | 0.321 | 68% |
| BF16 | shared experts (BF16) | 0.0742 | 0.0274 | 0.369 | 63% |
| BF16 | all | 0.1231 | 0.0419 | 0.341 | 66% |
| NVFP4 | attention (FP8) | 0.0293 | 0.0036 | 0.124 | 88% |
| NVFP4 | Mamba in_proj (FP8) | 0.0937 | 0.0073 | 0.078 | 92% |
| NVFP4 | shared experts (NVFP4) | 0.0742 | 0.0000 | 0.000 | 100% |
| NVFP4 | all | 0.1231 | 0.0082 | 0.067 | 93% |
Table 1. Most of a small LoRA update does not survive a rounded merge. We take the adapter of our released BF16 checkpoint and merge it by plain rounding, , into the BF16 base and, for comparison, into NVIDIA’s NVFP4 release of the same model (FP8 attention and Mamba in_proj, NVFP4 shared experts; vendor scales frozen). For each module group, is the size of the update before the merge, the size of the change that lands in the shipped weights, their ratio, and “lost” is . For scale, over these modules. The “all” rows are computed over all adapted modules together, so their norms combine the group norms as a root sum of squares, not as a sum. Bold: totals over all adapted modules.
Our contributions are:
Merge-aware fine-tuning for real releases. We extend training through the merged weights to mixed BF16/FP8/NVFP4 vendor releases, with exact quantizers that keep the vendor’s scales frozen, serving-engine numerics (FP8 KV cache, the Mamba time-step clamp, W8A8 and W4A4 kernels), and format-aware learning rates so that coarse FP8 grids still learn (§ 3 and § 5).
A recipe for surgical behavior changes. We train only on action tokens, hold the model’s reasoning near the base with a sequence-level drift penalty, and keep the change to the served weights near a small target that applies across storage formats. The resulting updates change how the model acts without changing how it thinks: the model reasons about as much per step as its base, agentic benchmarks improve, and general capabilities are preserved (§ 3, § 6 and § 7).
A controlled comparison. Standard LoRA with the release’s data, order, learning rate and objective keeps the same share of its update as the release, in size and direction, but loses most of its benchmark gain once served (§ 7.1).
Public releases. We released Smaug-Nemotron-3.5 and Smaug-Nemotron-3.5-NVFP4 with weights and evaluations [1, 2]. To our knowledge, Smaug-Nemotron-3.5-NVFP4 is the first publicly released fine-tune trained through the exact served weights of a vendor’s mixed-precision release; its NVFP4 base is itself produced by quantization-aware distillation, which recovers the BF16 model’s accuracy rather than updating a released checkpoint [46, 68]. Both improve agentic coding, including Terminal-Bench 2.1 69.1 vs. 60.7 for the 120B BF16 model. These gains come without a cost to general capabilities: reasoning, code, instruction following, long context and vision are preserved (§ 6).
Why Small Updates Vanish at Release
The release is a rounded merge. A LoRA adapter [23] learns a low-rank update applied to a frozen weight . In a release, this adapter is typically merged into the base model, rather than distributed separately. As Hu et al. [23] proposed, this avoids any additional latency during inference: is computed once and stored as a normal weight. This holds in exact arithmetic. In practice, however, the merged weight needs to be represented in the same format as the base checkpoint, which is BF16 for a full-precision release and either FP8 or NVFP4 with fixed per-tensor or per-block scales for a quantized release [45, 47, 58]. The model that the user runs will thus operate on the rounded weight
rather than the high-precision sum , where rounds onto the grid of the storage format, BF16, FP8 or NVFP4, with the vendor’s scales, whereas normal fine-tuning optimizes the latter. Provided the update is large enough, this may not matter so much, but for the extremely small updates we are interested in here, a large fraction of the update is lost.
How tiny is tiny. For our released BF16 model, we find that the relative change in served weights for the adapted modules is only (§ 7). What does this mean for a single weight? Numbers are only represented on a discrete grid. For a given weight, the difference between two consecutive values is one unit in the last place, or ulp. For typical BF16 numbers, this corresponds to a relative difference of around to of the weight’s magnitude. An update must reach the midpoint to a neighboring value to avoid being rounded away, which requires a change of about 0.2–0.4% of the weight’s magnitude. This is in fact quite large: most updates are significantly smaller. The median per-element magnitude of the update is actually only about 1.5% of one ulp, and only 2.6% of elements are updated by at least half an ulp. In other words, these are the elements that move, and all the other values round back to their initial values. Note also that the ulp increases with the weight’s magnitude, so the same update can move a smaller weight but not affect a larger weight. It gets much worse for lower precisions: for example, for FP8 in the E4M3 format with four exponent bits and three mantissa bits, the grid is coarser than BF16 for similar magnitudes. And NVFP4 is much coarser, with only seven nonzero magnitudes and zero available within each scaled block.
The “vanishing delta”. We refer to this loss during merging as the “vanishing delta”. The retained fraction is defined as , where norms are taken over all adapted tensors. Note that is a ratio of norms, not an average over individual elements or tensors. This fraction is reported in Table 1 for the adapter in our released BF16 checkpoint, both merged into the BF16 base model and, for comparison, into NVIDIA’s NVFP4 release of the same model. (The table is split into two halves, but they both use the same adapter, so the update column is identical. The variations in the other columns are due only to storage format.) We group the modules by type, since NVIDIA’s release assigns the storage format by module type. In BF16, a vanishing delta of around two thirds of the norm occurs during the merging process. This increases to 93% in the mixed FP8/NVFP4 checkpoint, and the update to the 4-bit shared experts disappears completely: not a single NVFP4 code is changed. Each row represents a comparison between the norm of the learned update and the norm of the actual change after rounding. For instance, in attention projections, the update of norm 0.029 actually only changes the released BF16 weights by a norm of 0.010. The BF16 loss is consistent over all the module groups (at 63–68%), suggesting that it is a general effect of the number format and not something specific to a given layer. Coarser formats lose even more: the FP8 groups only retain 8–12% of the update norm, and the 4-bit experts do not retain any. In BF16, even though only 2.6% of the elements change, around a third of the norm is retained, because these are the ones with the biggest updates. Rounding shifts them by an entire grid step.
Because this adapter was trained merge-aware, its released model is the 34% that survives, and the loss was computed on it. Merge-aware training does not keep more of the update; it makes training optimize what is kept. A standard LoRA run with the same data and objective loses the same share (; § 7.1) without its training ever seeing it. The same merge loss has been reported for individual adapters merged into BF16 diffusion models at inference time [41, 60] and for adapters requantized into 4-bit microscaling bases [33]. Here we measure it for a 120B release in each of its storage formats.
Retention depends on update size. Smaller updates have a bigger share of their norm lost to rounding when merging. If we merge the BF16 adapter at step 5 and step 10 (when is smallest, at the beginning of training), only 7% and 9% of the update norm survive, respectively. As the adapter grows larger, a bigger share of the update survives: at the released checkpoint (step 100) 34% of the update norm is retained, and at the end of training (step 158; § 7) 38%.
However, increasing the size of the update runs counter to our intended design goal of being a minimal and targeted modification. If the update is larger, there is a risk of altering other aspects of the model’s reasoning, knowledge and style for inputs not seen in training. Such undesired effects are also hard to predict or verify. Increased rank and duration of fine-tuning increase the amount of forgetting of previous capabilities [8]. In our BF16 run, we can see this: checkpoints that moved further away from the base than our release solved fewer Terminal-Bench tasks (section C). We are rather interested in constraining the update to be small enough such that outside of the targeted behavior the model is still close to its base, and it is possible to check what the update actually looks like. By constraining the update to be small, we control its size, and by setting a target for the amount of change in served weights we can measure it (§ 3.4). This is the inherent challenge: we want a surgical update that is small by construction, and at the same time small updates are the ones that rounding tends to erase.
Why rounding is not just noise. Intuitively, we might think of the rounding behaving as unbiased noise, with the true update direction still contained within the result. However, this is not the case. Whether or not an individual element moves depends on the size of its update relative to the local grid step (which is a function of the magnitude of the base weight, not the importance of this element in the loss function). At the released checkpoint, we find cosine similarities of with the trained update of only 0.24–0.28 across the BF16 module groups, and 0.11–0.14 in the FP8 groups of the NVFP4 release (§ 7). For a standard LoRA adapter, trained on the same data with the same objective, we find similar cosine similarities (§ 7.1). This indicates that the poor directionality is not a result of the merge-aware training. The served change is thus not a scaled version of the trained update. Instead, it touches far fewer weights and points in a different direction. In the standard LoRA case, the loss has never seen this rounded model, so evaluating the unmerged adapter and evaluating the release is not evaluating the same model.
The “dormant delta”. This effect worsens with lower-precision formats. The served weights of a tensor remain completely constant until at least one update is large enough to trigger a change in the stored codes. Until then, the adapter makes zero contribution to that tensor in the served model, which is simply the base. This leads to two failure modes: in high-precision adapter training with standard LoRA, the loss can continue to improve while the released weights stay constant. In the case of training with rounded weights, keeping the same learning rate across all formats can freeze the served model at the base for many steps. In that case, the action loss, drift penalty and gradient signals stay at their base values, despite the underlying adapter increasing in size. We observed this failure in an NVFP4 run with the same modules as in our BF16 run, but with a uniform learning rate across all formats. At step 80, the served weights had only moved by , which is about a factor of ten smaller than in our best checkpoints. The 4-bit shared experts did not change a single code by the time we stopped the run at step 105. The reason for this lies in the per-element updates: at the scale of movement we used for BF16, even the 99.9th percentile of is only 0.007 of half a grid step in NVFP4. Therefore, it would take a learning-rate multiplier of two orders of magnitude before the stored codes begin to change in this run (§ 3.4).
Takeaway. Thus, for a surgical update, merging is not merely a packaging step but a lossy, data-independent projection which discards most of the update and changes its direction. In the experiment where we trained a standard LoRA adapter on the same data with the same objective, we saw most of the benchmark gain vanish once the model was merged and served (§ 7.1). For this reason, we treat the rounded merge as a part of the model for the rest of this paper.
Method: Merge-Aware Fine-Tuning
Our recipe has four parts. First, we use the exact weights that will be stored in the release for the forward pass, so the loss is computed on the served model. Second, we replicate the numerics of the serving engine for all other forward-pass operations. Together this ensures that the model we train is the same model that users run. Third, our objective learns from action tokens and keeps the model’s thinking close to the base. Fourth, we choose the checkpoint that we release based on a target for how far the served weights may drift from the base, and scale the learning rates based on the storage format to ensure that weights in every format can reach the target. An overview of the training step is given in Figure 1, and the full algorithm can be seen in Algorithm 1.
Training through the served weights
Served-weight forward with a straight-through gradient. Let us assume an adapted linear layer with a frozen weight , LoRA factors of rank , and , and a scale . We first form the rounded combined weight as per eq. (1). This is the weight that we store in our release. Given a batch of row vectors , we define
where is a stop-gradient function: it just passes when called in the forward direction and otherwise prevents any gradient from flowing back to . The first term corresponds to the regular computation of the output of the served layer via , except that no gradient flows into . The second term just subtracts a detached copy of from itself, so it has zero value in the forward pass. Thus, we obtain the exact same output as the served layer computed with the same kernel, bit for bit. However, in the backward pass, only the undetached produces gradients. This ensures that and receive the same gradient they would have if the rounding step did not exist, as in ordinary LoRA, with the upstream gradient computed through the served network. This is the application of the straight-through estimator [7] to , written in the usual detached form of quantization-aware training [19]. The term makes sure that the LoRA branch does not contribute a gradient to the input as well. All gradients to then pass through alone, and are therefore computed with the weights that are actually used in the served model.
Dynamics of the served weights. As training proceeds, the high-precision factors and continue to receive tiny updates. But each element of the served weight remains unchanged until its accumulated update reaches the rounding threshold, half a step on the local quantization grid. At that point the element is advanced to the new grid point, and the loss observes the new weight. In other words, the update that training improves is the rounded one that is actually served, not the high-precision update held in and before rounding.
Exact quantizers with frozen scales. performs the same quantization as the release export. It rounds the merged weight onto the grid of each tensor’s storage format and keeps every scale the vendor shipped. We make no attempt to refit any scales. The result is a merged checkpoint that differs from the vendor release only in the weight bytes of the adapted modules. Details of the arithmetic and byte-level validation are in section B.
Exactness at initialization. At initialization, , so the update is zero. The base weights already lie on their own quantization grid, so . Thus the policy is identical bit for bit to the reference, and all of the drift terms of the objective (§ 3.3) are exactly zero.
Serving-engine numerics
It is not sufficient to match the served weights in order to match the served model. Indeed, there is some numerical freedom when implementing the inference engine, which may differ from the training library. It may use a different precision when storing activations, use a different clamping bound, or round operations in a different order. Consequently, matching the served weights (§ 3.1) only covers part of the “train what you ship” requirement, and the training forward pass also needs to numerically match the serving engine where they differ.
Whatever the serving engine is, we follow the same process: we compare the training and serving forward passes of the base model and extract the operations for which the numerical behavior does not match. For each discrepancy, we then add to the training forward pass a specific switch which simulates this difference, with a straight-through gradient when a rounding is involved. These switches are checked against the corresponding engine kernels on real weights, element by element where the kernel allows it, and we also verify that the policy at initialization, with the adapter at zero, has the served base weights bit for bit. For our deployment, we used vLLM [31] with an FP8 KV cache, according to NVIDIA’s recipe for these models [49]. For the BF16 release, the two numerical discrepancies were the rounding of queries, keys and values in FP8 at the interface with the cache, and the lower bound that the training library imposes on the Mamba time step, which the serving kernel does not apply. For the quantized NVFP4 release, we additionally matched the base model’s FP8 and NVFP4 kernels, and the operation which combines the routed-expert outputs. The complete list can be found in section B.
Why is this fine-grained comparison important? Because our update is by construction small: the change brought by the adapter on the per-token action loss is a few nats, while a single unmatched operation can change the loss by more than that. Without the numerical matching, training would then use its limited update budget to compensate for the numerical differences between the training library and the serving engine instead of learning the desired behavior (§ 7.6).
The point is that the merged weights depend on the storage format, while the numerical switches depend on the deployment. Any engine which loads the release exactly and uses the same stored weights does not necessarily compute the forward pass in the same way. If the deployment evolves, the numerical checks must be redone, and if all the switches still match then the trained model is still the served model. Otherwise, if some operation has been modified, this equivalence does not hold anymore, and the loss was computed for a numerically different model. The corresponding switch must be modified, and the adapter retrained.
Learning from actions, anchoring thinking
Token regions. Tokens in the training set are assigned to one of three regions, which dictates how the loss for them is computed. Context includes all inputs to the model: system and user prompts, tool outputs, and previous turns. Thinking is the reasoning block of a supervised assistant turn. Action includes all points of commitment in an assistant turn: the end of its reasoning, a complete tool call, and the end-of-turn token. We supervise many assistant turns throughout each trajectory, not just the last one, while the remaining turns stay as context (§ 4). See Figure 2 for an example row with these labels.

Figure 2. A training row, trimmed. [C] context (no loss), [T] thinking (sequence-level drift penalty only), [A] action (likelihood loss). The trajectory explores, edits, tests, cleans up, checks the staged diff, re-runs the suite, and submits with the exact protocol. 18 of its 21 assistant turns are supervised; the first three stay in the context without loss. The row comes from the LB-REAL pool and has 8,461 tokens. File paths, names and some command arguments are replaced by placeholders in angle brackets. Tool-call wrappers and the end-of-turn token are shown only on the first and last action.
Objective. Action tokens get a likelihood loss, their negative log-likelihood (NLL). Thinking tokens get none; they are held near the base by a drift penalty instead. Let be the action tokens and the thinking tokens of one optimizer step, and the thinking tokens of trajectory . We minimize
Here is the network run through the served weights (eq. (2)) and is the same network with the adapter switched off, which is exactly the base. Both terms are averages over the whole optimizer step, the first per action token and the second per thinking token. is the mean log-ratio over one trajectory’s thinking
Algorithm 1 Merge-aware fine-tuning: training, checkpoint selection and export
Require: frozen base in release format; LoRA (FP32, ) and scale ; rows with region labels, in a fixed order; ; peak rate with warmup and cosine schedule , format multipliers , target
for each step (one batch of rows; a single pass over the data) do
for each adapted layer ▷ exact export arithmetic, frozen scales
forward with , STE branch (eq. (2)), serving numerics
same forward with adapters disabled, no grad ▷ bit for bit at
action NLL sequence-mean on thinking (eq. (3)), step-level normalization
clip the gradient norm; update with AdamW at rate per storage format
periodically: log over the adapted tensors and save the adapter
end for
select a saved checkpoint with near
export: write its bytes into the release shards; verify element-exact against a recompute of (section B)
tokens: how far the model’s reasoning has moved from the base on that trajectory. turns it into a penalty that is never negative and grows like near zero. It is the function of the KL estimator of Schulman [59], written here on the log-ratio rather than on the probability ratio , which GRPO [61] applies per sampled token; we apply it to the trajectory mean over fixed data tokens, so we call it a drift penalty rather than a KL estimate. The two terms pull in different directions: the first makes the trajectory’s actions more likely, the second pulls each trajectory’s reasoning back toward the base when its mean log-ratio has moved, in either direction. sets the exchange rate between them and reads as nats of action loss per unit of penalty.
Why the mean over a trajectory. We use the penalty on the mean log-ratio over the trajectory instead of one penalty for each token. In a hybrid Mamba/MoE model, even in a single optimizer step, the routing and the rounding decisions can change, and this can displace the individual thinking-token log probabilities by tenths of a nat without any real drift in behavior. A penalty for each token would turn those oscillations into gradient. Taking the mean over the trajectory gets rid of this noise and allows the penalty to focus on the net drift (comparison in section 7), but it comes at a cost: changes at each token that get compensated within the trajectory are not penalized. Hence, the mean is a constraint on the net drift but not on the spread of per-token changes.
A target for served change and format-aware learning rates
One number for how far the model moved. We want the surgical update to be small, and we also want a way of measuring just how small it is. The measure we want should be a function of the actual change in the released weights, not of the high-precision update before rounding. So we use the served change , which tells us the relative distance that the released weights have moved away from the base weights for the adapted modules. If the weights are quantized, we dequantize them first. We take the two norms over all the adapted tensors together, not an average of per-tensor ratios. Because is computed after rounding, we get only the part of the update that survives the release. We can also think of it as : the fraction that makes it through, times the norm of the update relative to the base weight norm. So if the same adapter is merged into a coarser grid, less of it makes it through and is smaller. For our releases is around . In other words, the norm of the change in released weights is only about 0.003% of the norm of the base weights for the adapted modules.
The target. We keep around the target value of but do not impose it using a penalty term. Instead we ensure a small update by a low peak learning rate, a single pass over the data, and a low-rank adapter on a small number of modules, representing less than 0.05% of the model’s parameters. We log every five training steps and release a saved checkpoint whose falls in the target range.
The target was chosen empirically based on the behavior of the model. We merge a few saved checkpoints, evaluate them on a set of development tasks, and determine the range of in which the model performs best. In the case of the BF16 run, we evaluated four checkpoints on a subset of Terminal-Bench 2.1 and found that the step-100 checkpoint (with ) solved the most tasks. The previous checkpoint had too small an update, and later ones had too big an update and solved fewer tasks (section C). We therefore used this range as the target. In the case of the NVFP4 run, we then selected the released checkpoint by alone, before any evaluation. The range is not necessarily the same for all models, and another model might need a different range to perform a surgical update.
Format-aware learning rates. In the merging operation, more of the update is lost when using a coarser grid. Therefore, in a case where the learning rate is identical across the storage formats, for the same update magnitude, the FP8 weights will move less than the BF16 weights, and the 4-bit weights will not move at all (§ 2). Thus, we set a distinct learning rate for every storage format , , with as the peak learning rate for the run and as a fixed scaling factor.
We determined the values of these multipliers prior to the start of the NVFP4 run, based only on the adapter from the BF16 run. We scaled the adapter update with various factors, merged it into the FP8 grid, and determined the movement of the served weights in the direction of the trained update. We observed that for a scaling factor of about 4, the FP8 weights moved the same distance as the BF16 weights had. Therefore, we set and . A similar analysis for the NVFP4 tensors reveals that a scaling factor of two orders of magnitude is needed before the stored codes begin to change (section D). Scaling the update this much would defeat our purpose of getting a small and targeted update. Therefore, we keep these tensors frozen. For the NVFP4 release, we still adapt the attention and Mamba input projections, which are stored in FP8, with the multiplier , and in place of the 4-bit shared experts we adapt the MoE latent projections, which NVIDIA stores in BF16.
Algorithm 1 puts the four parts together. Lines 2–6 are one training step. Lines 7 and 9 log and pick the released checkpoint by it. Line 10 writes that checkpoint’s served weights into the release and verifies them (section B).
Training Data
Data sources and selection. We use the same data for training both 120B models: 3,767 rows sampled from 1,590 multi-turn agentic-coding trajectories, across 489 unique tasks (Table 2). Each trajectory is a tool-use episode produced by a stronger teacher model, in the format expected by the respective harness. We only keep successful trajectories, where success is defined by the task. For SWE-style tasks, all fail-to-pass and pass-to-pass tests must pass, and the submission must be clean. For terminal tasks, the verifier must return a reward of 1. For repository tasks, the judgment must be correct. The 1,590 trajectories come from four data pools, which fall into two groups.
| Pool | trajectories | distinct tasks | share of the gradient |
| LB-SYN (synthetic, public repos) | 969 | 293 | 26.8% |
| LB-REAL (LiveBench 1.0, retired) | 225 | 54 | 5.1% |
| SWE (synthetic SWE-style tasks) | 188 | 33 | 51.3% |
| TERM (synthetic terminal tasks) | 208 | 109 | 16.8% |
| total | 1,590 | 489 | 100% |
Table 2. Training data. Four pools of trajectories, all of them successful, from two kinds of task. The two LB pools are set in public GitHub repositories. Trajectories: the number of complete multi-turn episodes in the pool. Distinct tasks: the number of different questions or tasks those episodes solve. Share of the gradient: the pool’s share of all action tokens. Only action tokens receive a likelihood loss, so this is also the pool’s share of the training signal.
Repository data pools. The LB-REAL data pool is composed of 54 agentic-coding questions from LiveBench 1.0 [66], 16 in Python and 38 in JavaScript or TypeScript, covering nine repositories. These questions were phased out when LiveBench 2.0 replaced them. LiveBench is developed and run by Abacus.AI. The LB-SYN data pool contains 293 synthetic questions we wrote for 13 public repositories, 126 in TypeScript, 92 in Python and 75 in JavaScript. Each question is formulated as a GitHub-style issue report on the repository, with a hidden reference fix and tests (median: four fail-to-pass tests and 1,372 pass-to-pass tests). We use the LiveBench 1.0 harness for grading these questions, as we do for LB-REAL, and we only keep a question if applying the reference fix resolves it while an empty patch does not. All 969 trajectories in the LB-SYN data pool fix the corresponding question (median number of turns in a trajectory: 64). Neither data pool intersects with our evaluation set. LiveBench 2.0 operates on a different codebase, a large production codebase frozen at a fixed snapshot. The skills taught by these two repository data pools are: exploring a large and unknown codebase, understanding its structure, finding the issue, and making a submission in the correct format.
Task-style data pools. The SWE data pool contains synthetic software-engineering tasks in the style of DeepSWE [24]. The TERM data pool contains synthetic tasks in the style of Terminal-Bench [44], executed with the Terminus-2 agent. These two data pools teach the model how the teacher deals with complex features involving multiple steps, and also how to respect the action format and submission format expected by the two harnesses.
Beyond the training tasks. Our models are not trained on any benchmark question. Several benchmarks used in § 6 are also different from the training data, either with respect to task style and evaluation harness (e.g., NL2Repo-Bench requires the model to generate an entire repository given the repository specification, using the OpenHands scaffold), the codebase (e.g., LiveBench 2.0 is scored on a codebase that none of the four training pools touch), or the submission format. We observe gains on these benchmarks while the general capabilities of the model are preserved, which suggests that the skills learned from the four pools of data, e.g., navigating a codebase, finding an issue and solving it, are transferable to tasks beyond those seen in training, including tasks that differ in the evaluation harness and the submission format.
From trajectories to rows. We generate training rows from a prefix of a trajectory up to an assistant turn. Rows are capped at 64k tokens, so we truncate the earliest turns if needed. We only supervise a subset of the assistant turns in a row, but keep the rest, including all of their reasoning, as context, analogously to the served model seeing its own previous turns when it tackles a task. This means that long trajectories yield a few overlapping rows, which tend to be long (median length about 60k tokens and 40 turns).
Only action tokens carry the likelihood loss. Most tokens in a row do not need to be imitated. Tool outputs and the model’s earlier turns make up the context (83% of all tokens), and the reasoning of the supervised turns makes up another 11%. Action tokens (fewer than 6%) are the only ones that should be imitated. This means that a standard SFT objective would mostly supervise imitating the teacher’s reasoning style, which we do not want to change. Our objective (3) only penalizes thinking tokens through the drift penalty term, and only includes the likelihood loss on the action tokens, making the update focused on imitating the actions rather than the reasoning leading to them. Actions are short (median length 79 tokens): the end of the reasoning block, one tool call and an end-of-turn token.
What the actions teach. The supervised actions are mostly shell commands, which we group into a few patterns. About 39% of them are commands that explore the codebase (cat, grep, sed, ls, etc.), 21% run tests, 13% are edits, and the rest run scripts or query the git state. The following three habits are repeated often enough in the trajectories for the model to learn them. First, explore before acting: the first command is exploratory in 99% of trajectories. Second, verify before submitting: overall 79% of submissions have a preceding test run, and almost all in the repository and SWE pools (the terminal tasks rarely expose a test runner, and so the agent typically writes its own check script instead). Third, finish with the exact protocol: in the repository and SWE pools, the harness submission command is always used for the submission, and the terminal tasks use the two-step completion handshake. Each action span ends in the end-of-turn token. Therefore, the data teaches the model both what to emit and when to stop, which addresses exactly the action-level errors we target: malformed submissions, missing stops and premature hand-offs. All three habits are demonstrated in Figure 2: the agent explores before editing, tests the edit, removes its temporary test, checks a staged file that it did not modify, and then uses the exact command for the submission.
Batching. We train for a single pass over the rows. For each step we sample a fixed number of rows from each of the four pools, proportional to their sizes, and normalize the loss over the whole step. Thus the weight on each pool is proportional to the fraction of action tokens contributed by rows in the pool (last column in Table 2). We do not use a curriculum. The order of rows is deterministic and does not change between the BF16 run, the NVFP4 run, and the plain-LoRA run from § 7.1. Therefore the same rows are seen at each step in all three runs, and we can directly compare the per-step losses.
Experimental Setup
Models. We fine-tune two models from the NVIDIA Nemotron family [48]. Both are hybrid models with Mamba-2 layers [16], mixture-of-experts (MoE) layers [62], and some attention layers. For Smaug-Nemotron-3.5, we use the BF16 checkpoint of NVIDIA Nemotron-3.5-Super-VL-120B-A12B [46]. This model has 88 layers consisting of 40 Mamba-2 layers, 40 MoE layers with 512 routed experts and top-22 routing, and 8 attention layers. For Smaug-Nemotron-3.5-NVFP4, we use the official NVFP4 release of the same model from NVIDIA [46]. This model uses a mixed storage format: the attention and Mamba projections are in FP8 and the experts are in NVFP4. We inherit those formats in our release. In both cases, we only adapt the language model weights. The vision and multi-token prediction (MTP) weights are byte-identical to the base checkpoint.
Adapted modules and hyperparameters. The full configuration is provided in Table 7 in section A. Both runs use a rank-32 LoRA adapter, the same optimizer and schedule, and . Both runs also use only a single pass over the data. We use the same settings whenever the storage format allows it. The runs differ in the choice of modules to adapt, in the peak learning rate, and in the learning-rate multiplier for the FP8 modules. In the BF16 run, we adapt the attention projections, the Mamba input projection, and the shared expert projections. However, in the NVFP4 run, the shared expert projections are stored in 4-bit format, in which updates of our size do not change the stored weights (§ 2). We therefore instead adapt the MoE latent projections, which are stored in BF16 by NVIDIA. For the FP8 modules, we use the learning-rate multiplier discussed in § 3.4.
| Smaug-Nemotron-3.5 (BF16) | Smaug-Nemotron-3.5-NVFP4 | |
| adapted modules | , , , (32), in_proj (40), shared up/down (80) | , , , (32), in_proj (40), latent fc1/fc2 (80) |
| storage of adapted modules | BF16 (152) | FP8 (72), BF16 (80) |
| trainable parameters | 59.7M (0.049%) | 48.5M (0.040%) |
| LoRA | rank 32, (scale ), dropout 0 | |
| objective | likelihood on action tokens only; sequence-level drift penalty on thinking, | |
| optimizer | AdamW, weight decay 0, gradient clipping at 1.0 | |
| peak learning rate | ; FP8 modules () | |
| schedule | linear warmup over 16 steps, then cosine decay to 0.3× the peak at step 158 | |
| steps × rows | 158 steps × 24 rows, one pass over the 3,767 rows in the same order (25 rows seen twice); rows up to 65,536 tokens, not packed | |
| serving numerics in training | FP8 , , , Mamba clamp removed | the same, plus FP8 W8A8, NVFP4 W4A4 experts, MoE combine |
| released checkpoint | step 100 () | step 100 () |
Table 7. Training configuration of the two released 120B models. Rows that span both columns are identical in the two runs. Numbers in parentheses are counts of adapted weight matrices, and for trainable parameters the share of all model parameters.
Export and verification. For each checkpoint, we export to the vendor’s original shards, using the same arithmetic as during training. We then verify the exported checkpoint (section B): every adapted weight element equals recomputed from the base checkpoint and the saved adapter, and all other tensors, as well as the scales and configuration files, are byte-identical to the vendor’s release. Thus, the weights we train on are exactly the weights we ship. Both releases are public and only differ from NVIDIA’s checkpoints in the adapted weights, so anyone can examine exactly what we have changed and validate it.
Evaluation. We serve all models using vLLM with an FP8 KV cache and thinking enabled. Following NVIDIA’s NeMo Gym reproducibility recipes, we use a temperature of 1.0 and top- of 0.95. There are two exceptions. For AA-LCR we use a top- of 1.0, following NVIDIA’s recipe. For the vision benchmark we use a temperature of 0.6, as specified in NVIDIA’s model card. Since NVIDIA does not provide a public recipe for this benchmark, we evaluate it using our own harness. We divide the benchmarks into two groups. The first covers agentic coding, which is the target of our training: Terminal-Bench 2.1 [44] with the Terminus-2 agent, SWE-bench Verified [29, 50], SWE-bench Multilingual [71], DeepSWE [24], NL2Repo-Bench [18], and the official LiveBench 2.0 leaderboard [66]. For LiveBench, we report the NVFP4 model’s scores across all seven category boards, along with the overall score. The second group covers general capabilities that we did not train for. We use these benchmarks to check whether the update remains surgical, improving the targeted behavior without affecting other capabilities. These are GPQA Diamond [56] for reasoning, LiveCodeBench v6 [27] and SciCode [65] for code, IFBench [53] for instruction following, AA-LCR [3] for long context, and V* [67] for vision.
Runs and base scores. We use NVIDIA’s officially reported base scores, as is common when comparing against a vendor’s release. The only exception is NL2Repo-Bench, for which NVIDIA does not report a score, so we evaluate the base model ourselves. We average the SWE-bench and Terminal-Bench scores over 2 to 6 runs. DeepSWE and NL2Repo-Bench use a single run, following the model cards. For general capabilities, we average scores over 2 to 5 runs, or use 8 samples per question for GPQA and IFBench. The exact run counts for each benchmark are listed in the model cards [1, 2]. Two details of the evaluation protocol are important when interpreting the results. Firstly, both our DeepSWE scores and the base score are obtained using NVIDIA’s offline NeMo Gym harness with the OpenCode agent. These scores are therefore not comparable to the official DeepSWE leaderboard, which uses a different agent. Secondly, for Terminal-Bench, we follow NVIDIA’s NeMo Gym recipe with the Terminus-2 agent on all 89 tasks, with one change: we retain the agent’s past reasoning in the conversation history. The model’s chat template removes it by default. Under this protocol, the BF16 base model scores 63.3 on average over three runs, compared to NVIDIA’s reported score of 60.7. We use NVIDIA’s figure for the headline comparisons. For the same-harness comparisons and the trajectory statistics in § 7.1 and § 7.5, we use our three base runs. In every Terminal-Bench run, each task gets one attempt, and every outcome other than a pass is counted as a failure. We rerun a task only if the harness itself crashes. We evaluate the merged plain-LoRA model in § 7.1 using the same protocol and the same vLLM engine as the release.
Results
BF16 release. In Table 3, we compare the two released models to their respective base models. Smaug-Nemotron-3.5 outperforms the base on all agentic-coding benchmarks. The biggest improvement is on Terminal-Bench 2.1, with 69.1 vs. NVIDIA’s reported 60.7. On the other benchmarks, the improvements are 2.7 points on DeepSWE, 2.0 points on NL2Repo-Bench, and 1.2 points on both variants of SWE-bench. This is achieved through a small shift in served weights with . Fewer than 3% of the adapted weights deviate from the base weights, and all others remain bit-identical. In contrast, training a standard LoRA on the same data with the same objective loses most of these improvements when merged and served (§ 7.1).
| Benchmark | 120B BF16 | 120B BF16 | 120B BF16 | 120B NVFP4 | 120B NVFP4 | 120B NVFP4 |
| Smaug | base | Smaug | base | |||
| Agentic coding | ||||||
| Terminal-Bench 2.1 | 69.1 | 60.7 | +8.4 | 64.0 | 62.8 | +1.2 |
| SWE-bench Verified | 72.3 | 71.1 | +1.2 | 71.8 | 71.1 | +0.7 |
| SWE-bench Multilingual | 68.9 | 67.7 | +1.2 | 69.0 | 67.0 | +2.0 |
| DeepSWE [offline] | 27.4 | 24.7 | +2.7 | 21.2 | 18.2 | +3.0 |
| NL2Repo-Bench | 32.2 | 30.2† | +2.0 | 30.2 | 28.3† | +1.9 |
| General capabilities | ||||||
| GPQA Diamond | 90.7 | 89.5 | +1.2 | 90.1 | 89.9 | +0.2 |
| LiveCodeBench v6 | 88.7 | 88.2 | +0.5 | 88.2 | 87.4 | +0.8 |
| SciCode | 47.7 | 47.1 | +0.6 | 48.4 | 46.6 | +1.8 |
| IFBench | 72.0 | 70.9 | +1.1 | 70.7 | 71.5 | −0.8 |
| AA-LCR | 68.8 | 68.6 | +0.2 | 69.0 | 67.7 | +1.3 |
| V* (vision) | 85.2 | 85.6 | −0.4 | 86.5 | 86.0 | +0.5 |
| served change |
Table 3. Main results. Ours vs. the base each model started from. Base numbers are NVIDIA’s official figures, except where marked † (NVIDIA reports no score; base run by us). Bold: better of the pair by more than 0.5. : ours minus base, in points. is computed over each model’s adapted tensors.
NVFP4 release. Smaug-Nemotron-3.5-NVFP4 also outperforms the NVIDIA NVFP4 base on all agentic-coding benchmarks. Furthermore, it is byte-identical to it except in the adapted weights. The improvements vary from 0.7 points on SWE-bench Verified to 3.0 points on DeepSWE. When evaluating on the official LiveBench 2.0 leaderboard (Table 4), it achieves an overall score of 50.3 vs. the 46.5 of the base. It outperforms the base on five out of seven category boards, with the biggest improvements on Coding (+10.9) and Browser (+7.6). On the other hand, the scores decrease on Data Analysis (−0.6) and Research (−3.1). Even though the served weights are shifted to a similar extent as for BF16, the improvement on the standard agentic benchmarks is smaller. § 7.3 discusses this in more detail and shows that the 4-bit format imposes additional constraints on where the update is allowed to affect the served weights.
| LiveBench 2.0 board | Smaug-Nemotron-3.5-NVFP4 | NVFP4 base | |
| Long Agentic | 8.4 | 7.3 | +1.1 |
| Reasoning | 75.1 | 71.7 | +3.4 |
| Coding | 72.2 | 61.3 | +10.9 |
| Browser | 25.6 | 18.0 | +7.6 |
| Data Analysis | 65.1 | 65.7 | −0.6 |
| Research | 67.8 | 70.9 | −3.1 |
| Design | 62.7 | 57.1 | +5.6 |
| Overall | 50.3 | 46.5 | +3.8 |
Table 4. LiveBench 2.0, NVFP4. All seven category boards and the overall score of the official LiveBench 2.0 leaderboard (https://livebench.ai, release 2026-10-25). Overall is the leaderboard’s weighted mean of the seven boards (Long Agentic ×2, Coding and Design ×1.5, others ×1). Bold: better of the pair by more than 0.5.
General capabilities stay the same. The improvement in agentic performance does not come at the expense of general abilities. For both models, no reasoning, code, instruction-following, long-context or vision score decreases by more than 0.8 points ( columns of Table 3). We only observe drops on V* in BF16 (−0.4) and on IFBench in NVFP4 (−0.8). All others are either unchanged or move up by at most 1.8 points. As we did not train for those capabilities, we read these changes as preservation rather than improvement. That is the effect that a surgical update should have: the model is better at the task it was trained to be better at, while its general capabilities stay roughly the same. However, fine-tuning on code does not necessarily keep those capabilities intact. For example, in a study on Llama-2-7B, instruction tuning on code was found to cause more forgetting on general benchmarks than any other setting considered, and more the longer training ran [8]. Our update is one training pass that changes the served weights by only about and applies no likelihood loss to thinking tokens. The agent trajectories are consistent with this reasoning/action distinction: on Terminal-Bench, we see roughly the same number of reasoning tokens per step as with the base model, but fewer wrong answers submitted (§ 7.5 and Table 6).
| base | plain LoRA | release | |
| How the 89 tasks ended (mean tasks per run) | |||
| passed (higher is better) | 56.3 | 56.5 | 61.5 |
| declared complete, scored as failed (lower is better) | 23.7 | 25.3 | 19.8 |
| ended without a completion claim (lower is better) | 1.3 | 1.0 | 0.5 |
| hit the three-hour limit (lower is better) | 7.7 | 6.3 | 7.3 |
| precision of completion claims (%, higher is better) | 69.7 | 68.5 | 75.5 |
| reasoning tokens per call (median, unchanged is desired) | 2,144 | 2,001 | 2,055 |
| Judged failure modes (% of each model’s trajectories on the 58 judged tasks) | |||
| step repetition (lower is better) | 45.4 | 37.6 | 36.8 |
| no failure mode (higher is better) | 15.5 | 17.9 | 23.0 |
Table 6. What changed on Terminal-Bench 2.1 (120B BF16) for the base, the standard LoRA adapter of § 7.1 and our release. Top: how the 89 tasks ended, as mean tasks per run over three base runs and four runs per adapter. The first four rows add up to 89 before rounding. Precision is the share of all completion claims that passed, pooled over the runs. A few tasks passed without a claim, so it is not the ratio of the rows above. Bottom: the two failure modes of the Terminal-Bench 2.0 taxonomy that differ between models, as the share of each model’s judged trajectories on the 58 judged tasks. How the trajectories were chosen and judged is explained in § 7.5; definitions and all nine modes are in section F.
Analysis
We organize our analysis in terms of the three conditions for a surgical update explained in § 1. First, the update must survive the merge into the released weights (§ 7.1). Second, it must shift the model only as much as necessary. In § 7.2, we demonstrate that the same target shift can be applied regardless of the storage format. Third, the update must only modify the desired behaviors. We inspect where the weights shift in the model, and how the 4-bit format restricts the shifts (§ 7.3), and then examine the tokens to verify that the reasoning stays in place (§ 7.4). We then look inside the evaluation trajectories to verify that the modifications stay in the model’s actions (§ 7.5). Finally, we inspect the serving numerics that the model must match during training (§ 7.6).
Standard LoRA loses most of the benchmark gain once served
Does training on the served model make a difference? We set up a control experiment, where we trained a standard LoRA adapter using the same settings as our BF16 release: the exact same rows, ordering, learning rate, schedule, seed, action-only loss and thinking penalty, but without the merge awareness. That is, its forward pass used neither the served weights nor the serving engine’s FP8 attention numerics. We trained it to the same step as our release, and merged the resulting adapter into BF16 by plain rounding (Table 5). If we look at the resulting merges at the level of weights, the two are almost identical: they preserve almost the same fraction of the update ( vs. 0.341), have the same cosine similarity with their respective trained updates (0.26 each), and move the served weights by the same amount ().
| Model | TB 2.1 | SWE-V | cos | ||
| base (NVIDIA) | 60.7 | 71.1 | – | – | 0 |
| base, our harness (3 runs) | 63.3 | – | – | – | 0 |
| plain LoRA, merged | 63.5 | 70.5 | 0.34 | 0.26 | |
| merge-aware release | 69.1 | 72.3 | 0.34 | 0.26 |
Table 5. Standard LoRA loses most of its benchmark gain once served (120B BF16). Plain LoRA is trained like the release (same data, order, learning rate and objective) without the merge-aware components (served-weight forward, FP8 attention numerics), and merged at the released step (100). Base scores are NVIDIA’s reported figures. Plain LoRA and release: TB 2.1 is the mean of four runs on all 89 tasks; plain-LoRA SWE-V is the mean of two runs on all 500 tasks. : retained fraction; cos: . “–”: not applicable.
But the similarity between the two merges does not extend to the benchmarks. The merged standard LoRA adapter achieves a SWE-bench Verified score of 70.5, vs. 71.1 for the base and 72.3 for our release. On Terminal-Bench 2.1 it gets a score of 63.5, vs. 69.1 for our release and 60.7 for the base. So relative to NVIDIA’s reported score for the base, it only gets 2.8 of the 8.4-point gain of our release, and relative to the base score in our own harness (63.3, § 5), it is at the same level and retains no gain at all. Both models have the same amount of change in their served weights, but only ours was trained on the change that survives merging. This shows in the evaluation trajectories as well: the standard LoRA adapter submits wrong answers as complete at roughly the same rate as the base model, whereas ours does so less often (§ 7.5).
In both merges, about 2.6% of the adapted weight values change, and in both only about 9% of the intended update is preserved along the trained direction ( times the cosine). The difference is not in the fraction of the update that survives, but in the ability of the training to see the surviving update: the weights that our release is trained on are the same as the ones it stores, whereas for the standard LoRA adapter this is not the case. After merging and serving, it does not keep much of its benchmark gain. Merge-aware training inherently avoids this mismatch, as every checkpoint that we release holds exactly the weights that were used in the computation of the loss, and all the gains that we report in § 6 are measured on these weights.
Two important points to note here. First, no error is triggered. The merge happens, and the merged checkpoint loads and serves normally. The minor behavioral change that the update was meant to introduce is not there, and this is only noticed when inspecting the weights, the benchmarks or the trajectories. Second, running the LoRA adapter on the side and applying it dynamically at serving time is not a safe option either. On the BF16 path, the adapter is applied to an already rounded base output, , and in our measurements on a smaller development model of the same family, this used the adapter at only 0.4–0.5 its strength. In an earlier 120B adapter of 232 modules, the serving engine [31] also did not apply the adapter to the 80 Me latent projections, without triggering any error. By publishing the exact merged weights that were used in training, we avoid this class of mismatch.
Served change as a practical target
What Figure 3 shows. Figure 3 follows both releases through training. The horizontal axis is the optimizer step. Training is one pass over the data, so moving right means a larger update. Every five steps we merge the current adapter into the release format and measure the result. Panel (a) shows how far the served weights have moved, . Panel (b) shows the share of the trained update that survives the merge, the retained fraction . Section C lists the exact values of for selected checkpoints.
Figure 3. Served change during training. Both panels are measured every five optimizer steps (one step is one update on 24 rows; 158 steps are one pass over the data) by merging the current adapter into the release format. (a) How far the served weights moved, . It grows smoothly in both formats and crosses the range of our best checkpoints (shaded) near step 100, the step we released in both cases. (b) Share of the trained update that survives the merge, . BF16 weights keep about a third at the released step, whether in the BF16 run (blue) or in the BF16 latent projections of the NVFP4 run (green); the NVFP4 run as a whole (orange), mostly FP8, keeps about 16%, so it needs a larger learning rate on its FP8 modules to reach the same .
Panel (b) makes two points. First, retention grows with the size of the update. In BF16 it rises from 7% at step 5 to 34% at the released step and 38% at the end of training, because a larger update pushes more values across a rounding boundary. Second, retention is set by the storage format, not by the run. The BF16 latent projections of the NVFP4 run (green) keep the same share as the BF16 run (blue) from about step 25 on. The NVFP4 run as a whole (orange), whose adapted weights are mostly FP8, keeps only about 16%.
A common target across formats. FP8 modules keep much less of their update than BF16 modules. At the released step, the FP8 modules of the NVFP4 run keep 15 to 18% of their update, against about 34% in BF16. The 4× learning rate on the FP8 modules (§ 3.4) compensates: it makes the NVFP4 adapter 2.4 times larger, and the two effects roughly cancel. At the released step both runs move the served model by almost the same amount, against (Figure 3a). The FP8 retention here is higher than the 8 to 12% in Table 1 because that table merges the smaller BF16 adapter into the FP8 grid, and a larger update keeps more of itself.
The shaded band in Figure 3a is the range where our best checkpoints sat, between 2.5 and . Checkpoints that moved further scored lower on Terminal-Bench 2.1 (Table 8). § 3.4 describes how this range became the target and how it picked the NVFP4 checkpoint before any evaluation. is a practical guide for choosing checkpoints, not a general predictor of quality. The right range likely depends on the data and the model.
| Smaug-Nemotron-3.5 (BF16) | Smaug-Nemotron-3.5-NVFP4 | ||||
| step | TB 2.1 (of 67) | step | |||
| 75 | 46 (69%) | 80 | |||
| 100 | 52.5 (78%) | 100 | |||
| 125 | 51 (76%) | 110 | |||
| 158 | 49 (73%) | 130 | |||
| 155 |
Table 8. Served change per checkpoint. : change of the served weights relative to the base weights (section 3.4). TB 2.1: Terminal-Bench 2.1 tasks solved on a common subset of 67 tasks (step 100: mean of four runs; other steps: one run). Bold: released checkpoints. The last NVFP4 row is step 155, the last step at which the trainer logged the served change.
Three ways to train the NVFP4 model. We tried three ways to train the NVFP4 release. The first adapts the same modules as the BF16 run with one learning rate for all formats. It left training dormant. By step 80 the served weights had moved only , about a tenth of our best checkpoints, and the 4-bit shared experts never flipped a single code before we stopped the run. During that time the served model was the base, the action loss and the drift penalty sat exactly at their base values, and the adapter grew without feedback. The second avoids coarse grids altogether: adapt only the MoE latent projections, which NVIDIA stores in BF16, at the usual learning rate. This run trains normally but learns 0.4 times as much on held-out actions (Figure 4a, gray). It cannot reach the Mamba input projections or the attention weights, where the BF16 release places 57% of its served change (§ 7.3). Our release takes the third way: adapt the FP8 modules as well, with a 4× learning rate. It matches the BF16 learning curve.
Figure 4. Learning curves. Training is a single pass, so each step’s rows are unseen when they are scored; every point is a held-out measurement (10-step mean). (a) Action gain: the drop in negative log-likelihood (NLL) of the teacher’s actions relative to the base, per action token. Gains appear after about 60 steps, once the served model has moved enough (, Figure 3a). NVFP4 with format-aware learning rates (orange) learns as much as BF16 (blue); an NVFP4 run that adapts only the BF16 latent projections (gray) learns 0.4× as much. (b) The thinking drift penalty against the base stays at 1 to , which corresponds to a mean log-ratio of about 0.0015 to 0.0035 nats per thinking token, since : actions improve while the reasoning stays in place.
Where the change lands matters
Both 120B models experience similar shifts in served weights, of order , but their benchmark gains are not similar. We study the location of these changes within the models via two statistics. The first is the percentage of the overall change represented by each type of module, by squared norm. The second is the cosine similarity between the served change and the trained update . This quantifies how well the retained change aligns with the direction learned during training. When the cosine is 1, they are perfectly aligned. Both are standard measures: the original LoRA study analyzes its update through the Frobenius norm relative to the base weight [23], and the cosine similarity between weight changes is the usual measure of alignment in model merging [25].
In the BF16 model, the input projections of the Mamba layers have 52% of the served change, the shared experts 43% and attention 6%. More than half of this change is in the last third of the model. The overall cosine similarity is 0.26, with 0.24–0.28 for each module type.
In the NVFP4 model, the shared experts are stored in 4 bits. These do not move at all at an update of our size (§ 3.4 and D), so the input projections make up 78% of the served change, attention 12% and the latent projections 10%. The overall cosine similarity is 0.12, roughly half that of the BF16 model, and is 0.11–0.14 for the FP8 module types and 0.26 for the BF16 latent projections.
These facts indicate that the reduced gains seen with the NVFP4 model are due to where the format allows a change to land, rather than a weaker objective. Held-out action gains are very similar between the two (Figure 4a). While similar held-out likelihood does not necessarily imply similar downstream behavior [35], it is nonetheless clear from the original LoRA work that not all weights are equal. Indeed, when the same number of parameters were adapted in GPT-3, selecting different weights to adapt had a bigger impact on accuracy than adjusting the rank [23]. In code tasks, LoRA gained most from the feed-forward modules rather than attention [8]. Similarly, our NVFP4 model leaves the shared experts untouched, even though they carry 43% of the served change in the BF16 release.
Thinking stays in place
What Figure 4 shows. Figure 4 shows the evolution of the two releases as we train. Note that we make a single pass through the data, and score all 24 rows of each step before updating the model weights. As such, the rows used in scoring have not been trained on yet, and each point is a held-out measurement. Panel (a) shows the action gain, defined as the decrease, relative to the base, in the negative log-likelihood per action token of the teacher’s actions. Panel (b) shows the thinking drift penalty , which measures how far the model’s thinking has drifted away from the base. The action gain remains nearly zero for the first 60 steps. In this phase, the served weights themselves have barely moved either, with under about (Figure 3a). The action gain subsequently rises, averaging around nats per token over the remaining steps, and +0.00031 and +0.00030 for BF16 and NVFP4 respectively over all steps. The thinking drift penalty meanwhile remains in the range of to . Hence the update has made a positive change to the model’s actions, while keeping the thinking close to the base. This is the separation we designed the data and objective to achieve (§ 4), and it is also borne out in the evaluation trajectories below.
The drift penalty is a guard, not the driver. The thinking term stays in the range of to throughout (Figure 4b). The 10-step mean is around – for BF16 and – for NVFP4. Hence the term contributes under 0.5% of the loss, and only around 0.1–0.2% on average. The effect of the thinking drift penalty is therefore mostly that of a guard. The main reason thinking remains close to the base is that thinking tokens are never a target of likelihood optimization and the weight update is small. In fact, the NLL of thinking decreases a little, by around 0.001 nats per token by the end of training, although thinking is never trained on. So the reasoning that precedes an action becomes slightly more likely alongside the better prediction of the actions themselves.
Actions move, thinking does not. We see this same effect when looking at the evaluation trajectories. The Smaug-Nemotron-3.5 model uses as many reasoning tokens per step as the base model does, and its actions have the same length. However, it repeats fewer steps, and is less likely to submit an incorrect answer as complete (§ 7.5).
Sequence-mean vs. per-token penalty. With a per-token penalty, in development runs on a smaller model from the same family, we observed that the effects of routing and rounding kept the penalty at a noise floor of 0.02 to 0.04 nats. The norm of the gradients also increased by about tenfold, causing gradient clipping to fire. With the sequence-mean form used here (eq. (4)), we did not observe either of these issues. In our released runs, gradient clipping was never even approached.
What changes inside the trajectories
Table 6 shows results for the base model, the standard LoRA adapter from § 7.1 and Smaug-Nemotron-3.5 on Terminal-Bench 2.1. We take the three runs of the base model on our harness (§ 5) and the four runs used for reporting the score of each adapter. From the outcome rows we see that Smaug-Nemotron-3.5 passes more tasks and does not declare failed tasks as complete as often. Of its claims to task completion, 75.5% are successful, while the base model has 69.7%. Higher precision means fewer false claims of success. However, on a per-step basis we do not see much difference between the models, for example in the reasoning tokens per call (we take the mean per call for each task-run and then the median over task-runs). To help understand what is changing throughout a task, we used an LLM judge to analyze whole trajectories using the failure taxonomy of the Terminal-Bench 2.0 paper [44], which comprises nine failure modes in three classes: execution, coherence and verification. See section F for details, full tables and calibration checks.
Which trajectories. Only considering the failed trajectories would be an unfair comparison, as the release fails on a harder subset of tasks than the base model, so its failures would be compared against easier failures from the base model. Instead, we perform an evaluation of all three models on the same set of tasks. We use three runs of each model on the same harness (§ 5) and take each task which at least one of the models failed at least once. This yields 59 of the 89 tasks. The judge declined one of them for every model, which leaves 58. We then judge all nine trajectories (both successes and failures) for each of these tasks. This means that we are comparing all three models on exactly the same task mix, and no difference between them can be attributed to which tasks each model failed. For failed trajectories, we tell the judge which tests failed. For successes, we do not tell the judge the result. We check the judge in two ways in section F. First, when twenty failed trajectories are judged again with the result withheld, the judge reproduces 93% of its own mode decisions. Second, the judge still assigns modes on tasks which neither the base nor the release ever fails, so it does not simply leave successful runs unlabeled. Each of the cells in the lower half of Table 6 is the percentage of that model’s judged trajectories which were labeled with the given mode. A given trajectory might have multiple of the nine modes assigned to it, or none. Consequently, the three columns show independent percentages, and are not expected to sum to a constant.
What changes. The two rows in the lower block of Table 6 move with both adapters. They move in the same direction. For the release, the ranges separate from the base’s. For every other mode, the adapters’ three-run ranges overlap the base’s (Table 9). The first is step repetition, where lower is better: re-running a command or re-applying a fix that has already failed wastes steps and is a sign that the agent is not adapting its approach. On these tasks the base model repeats a step in 45% of its trajectories, compared to 38% for the plain adapter and 37% for Smaug-Nemotron-3.5. Among passed trajectories alone, the base repeats a step in 35% of its runs, the plain adapter in 21% and Smaug-Nemotron-3.5 in 23%, and the three-run ranges of both adapters lie entirely below the base’s, so the drop is not a byproduct of passing more tasks.
| base | plain LoRA | release | |
| coherence class, any (lower is better) | 27.6 (25.9–31.0) | 28.9 (22.8–34.5) | 25.9 (24.1–27.6) |
| context loss | 21.3 (19.0–24.1) | 20.2 (15.8–24.1) | 19.0 (17.2–20.7) |
| reasoning-action mismatch | 14.4 (13.8–15.5) | 13.9 (8.8–22.4) | 13.2 (10.3–15.5) |
| task derailment | 0.6 (0.0–1.7) | 0.0 (0.0–0.0) | 0.0 (0.0–0.0) |
| execution class, any (lower is better) | 51.1 (50.0–53.4) | 45.7 (43.1–50.0) | 44.8 (41.4–48.3) |
| step repetition | 45.4 (41.4–50.0) | 37.6 (31.6–43.1) | 36.8 (32.8–39.7) |
| unaware of termination | 19.0 (13.8–24.1) | 20.8 (17.2–27.6) | 20.7 (19.0–24.1) |
| disobeys the specification | 13.2 (8.6–19.0) | 15.0 (12.1–19.0) | 15.5 (15.5–15.5) |
| verification class, any (lower is better) | 57.5 (51.7–62.1) | 61.3 (59.6–63.8) | 59.8 (56.9–63.8) |
| no or incorrect verification | 29.9 (29.3–31.0) | 32.9 (31.0–36.8) | 27.6 (25.9–31.0) |
| premature termination | 14.4 (12.1–19.0) | 17.3 (15.5–20.7) | 15.5 (13.8–17.2) |
| weak verification | 27.0 (20.7–32.8) | 27.7 (22.8–31.0) | 31.0 (25.9–36.2) |
| no failure mode (higher is better) | 15.5 (13.8–17.2) | 17.9 (17.2–19.0) | 23.0 (20.7–25.9) |
Table 9. All judged trajectories on the 58 judged tasks: share of each model’s trajectories (174, 173 and 174) that carry each mode, with the range of the three single-run shares in parentheses. Lower is better for every failure mode and class, and higher is better for the last row. A trajectory can carry several modes or none, so the columns do not sum to a constant. A class row (“any”) is the share of trajectories with at least one mode of that class, each trajectory counted once, so it is less than the sum of the three modes below it whenever a trajectory carries more than one. All nine modes and the three classes are shown; within each class the modes are ordered by the release’s improvement over the base. In every row other than step repetition, the execution class that contains it, and no failure mode, the range of the release overlaps the range of the base, so the differences in these rows are within the run-to-run variation of a single model.
The second is the share of trajectories without any of the nine modes, that is, trajectories in which the judge found nothing to fault: no repeated step, no false completion claim, no contradiction between plan and commands, no missing or weak verification. Higher is better. Here the three models differ, with 16% for the base, 18% for the plain adapter, and 23% for Smaug-Nemotron-3.5. Every Smaug-Nemotron-3.5 run has more trajectories without any of the nine modes than every base and plain-LoRA run.
What does not change. Note that all other modes are within a few points of the base model. For each of them, the share in the release’s three runs overlaps the share in the base’s three runs, so these differences are within the run-to-run variation of a single model (Table 9). Step repetition and the share with no failure mode are the only modes for which the two ranges do not overlap. Verification habits are very similar for the three models, and do not depend on the outcome: around half of all successful trajectories are assigned a verification-mode label in each model, and this fraction is also what we see on tasks that neither the base nor the release ever fails. These labels therefore seem to capture a habit inherited from the base model, which neither update touches, rather than an explanation of its failures. The plain adapter shares the drop in step repetition, but fewer of its trajectories are free of every mode, it passes fewer tasks, and its completion claims are wrong at the base’s rate (Table 6).
Limits. These labels are produced by an LLM judge. We use the taxonomy and, with the adaptations listed in section F, the rubrics that the Terminal-Bench authors validated against human annotators [44]. Because the differences in individual modes are only a few points, we regard them as patterns that hold across runs, not as individually significant effects. We present these results because a judge that reads the transcript can observe aspects of model behavior that a test suite does not.
Serving numerics are part of the model
As with the weights, the serving numerics are part of the model that is shipped. They are a property of the deployment, not of the checkpoint. One engine stores the KV cache in FP8 and another in BF16, kernels round in different orders, and clamping bounds differ between libraries. A small update has to be trained against the engine that will serve it, and a different deployment calls for a different set of emulated details. We served with NVIDIA’s own recipe for these models, so that our scores are comparable with NVIDIA’s reported numbers. Against that recipe, the training library’s forward pass differed in two details. First, the engine rounds queries, keys and values to FP8 at the KV-cache boundary. Second, it omits the lower bound that the training library enforces on the Mamba time step (§ 3.2). Both mismatches produce a loss at initialization that differs from the loss of the served base model. In development runs on a smaller model from the same family, we found that omitting the FP8 rounding on the training side resulted in more than half of the adapter’s gain being lost upon serving. Keeping the time-step clamp of the training library sent most of the gradient into compensating for the mismatch, with gradient clipping firing on every step. We therefore emulate both details during training, so that at initialization the model has the served base weights bit for bit and its loss is the loss of the served base, and training can only change the model through the update it optimizes. For an update this small, that match is necessary.
Related work
Adapters, quantization and exact merges. LoRA [23] and its variants like DoRA [38] build fine-tuning updates around low-rank products. Some work runs these adapters beside a quantized base model. QLoRA fine-tunes adapters on a frozen 4-bit base [17], LoftQ initializes them to correct the quantization error [34], and IR-QLoRA retains more information in the quantized base [55]. None of these three methods merges the adapter into the quantized base. What separates these methods from merge-aware fine-tuning is where the quantizer sits. In QLoRA it sits on the frozen base, upstream of the adapter: the forward pass dequantizes the 4-bit weights, adds the 16-bit update beside them, and the gradient reaches and through those dequantized weights. The update itself is never rounded, and it is released as a separate adapter. LoftQ keeps this arrangement and moves the repair to initialization, choosing the quantized base and the adapter jointly so that their sum approximates before training. Our setting has no such error to repair, because the base already lies on its grid, . The problem is the reverse one, an update too small to leave the grid. In merge-aware fine-tuning the quantizer sits on the sum, , downstream of the adapter, and and are trained through that rounding with a straight-through estimator (eq. (2)). The trained model is the merged model. The closest techniques to our setup account for the merged model during training. QA-LoRA uses group-wise pooling to constrain the adapters so that they can be folded exactly into the zero-points of the integer quantizer [69]. L4Q merges the adapter into a full-precision weight before quantization. It jointly trains the quantizer’s scale and zero-point with the adapter via a straight-through estimator and deploys the quantized merged weight [28]. LR-QAT inserts a low-rank update inside an integer quantizer to make quantization-aware training memory-efficient [9]. LoTA-QAF integrates ternary adapters in integer weights so that the merged weights lie on the quantization grid [11]. IntLoRA adapts quantized diffusion models with integer low-rank factors. These factors are merged via integer multiplication or bit shifts, without any extra post-training quantization step [21]. FALQON trains directly on an FP8 merged backbone, with training speed as its goal, and applies only the rows with the largest accumulated update at each step, because small changes produce no effective update in FP8 [15]. On native 4-bit microscaling checkpoints, Scale-QLoRA freezes all E2M1 codes and adapts the block scales only. Here the merge is exact because only the stored scales change. It also demonstrates that a native merge followed by a requantization step can wash away the adaptation [33]. Our forward pass follows the L4Q construction, which Scale-QLoRA also runs as a baseline on native 4-bit grids, but we apply it to a vendor’s mixed-format release with frozen instead of learned or recomputed scales. We consider BF16 rounding, FP8 with the vendor per-tensor scales and NVFP4 with its block scales. Scale-QLoRA moves the block scales and freezes the codes, whereas we keep every vendor scale and change only weight bytes. The reason for freezing these scales is that it guarantees that everything except the weight bytes of the adapted modules, including their scales, is bit-identical to the vendor release.
Open-source implementations. Merge-aware LoRA is also implemented in open-source training software. The Axolotl trainer added training through for NVFP4 bases in July and September 2026, recomputing block scales on the base’s per-tensor grid and producing a merged checkpoint which Axolotl reports as bit-exact [5, 6], and a BF16 variant for reinforcement learning with merged vLLM weight sync on 27 October 2026 [4]. We apply the same construction to a vendor’s mixed-precision release at 120B scale, with a behavioral objective. Our publicly released Smaug-Nemotron-3.5 (BF16, released 18 October 2026) and Smaug-Nemotron-3.5-NVFP4 (mixed FP8/NVFP4, released 22 October 2026), both 120B models, were trained this way, and their weights and evaluations are available [1, 2]. To our knowledge, Smaug-Nemotron-3.5-NVFP4 is the first publicly released fine-tune trained through the exact served weights of a vendor’s mixed-precision release. Scale-QLoRA runs the same construction as a baseline on single-format NVFP4 and MXFP4 checkpoints, including gpt-oss-120B, and does not release fine-tuned models [33].
Quantization-aware training and small updates. Fake quantization with full-precision shadow weights [26], trained through the straight-through estimator [7], is the basis of QAT, including for LLMs [12, 39]. We apply the same idea with frozen base weights and a low-rank shadow update, on a fixed vendor quantization layout. That small updates vanish in low precision is known in several settings: for accumulation during training [22, 74], for BF16 weights fine-tuned without an FP32 master copy, where most optimizer updates are rounded away [64], for FP4 training below a gradient-to-noise threshold [14], and for LoRA updates applied to an FP8 backbone [15]. Zhang et al. [77] show that 4-bit post-training quantization, round-to-nearest and also GPTQ [20], undoes small unlearning updates. We quantify the effect for fine-tuning deltas at release time, across BF16, FP8 [45] and NVFP4 [47], a block-scaled format related to microscaling [58], and connect it to benchmark outcomes. We train through it, rather than avoiding it with larger learning rates or by keeping the adapter unmerged.
Mismatch between training and serving. In reinforcement learning, differences between the rollout engine and the trainer turn nominally on-policy updates into off-policy ones [72], and BF16 rounding has been identified as the root cause [54]. We face the same gap in supervised fine-tuning. A training library computes the loss, but the model is judged by a serving engine. We close the gap by emulating the engine’s numerics operation by operation (FP8 KV cache, the Mamba time-step clamp, W8A8 and W4A4 kernels), rather than by changing the precision on either side.
Model merging. Task arithmetic treats fine-tuning deltas as vectors that can be added and scaled [25]. TIES and DARE show that deltas are redundant and can be trimmed or dropped [70, 73]. We study a complementary failure. With a single model and no interference, the delta can still be erased by the rounding that writes it into the release format.
Targeted changes to a model. Model editing rewrites individual facts by locating the weights that store them. ROME edits one MLP layer per fact [42], and MEMIT extends this to thousands of facts at once [43]. Surgical fine-tuning, in the sense of Lee et al. [32], adapts a model to distribution shift by tuning only a chosen subset of layers. Our goal is related but differs in what is changed and how. We change a behavior, how the model acts in agentic tasks, rather than a stored fact. We do it with ordinary low-rank fine-tuning on demonstrations rather than by locating weights. And we keep the change small with a target for the served change. All of these methods aim for a change that stays local to its target. Ours adds the requirement that the change survives the release format.
Preserving capabilities and reasoning. Fine-tuning causes forgetting [40], and LoRA trades less learning for less forgetting [8]. Forgetting tracks the KL divergence from the base on the new task’s distribution [63]. Relatedly, likelihood training on one response shifts probability mass across many others [57]. KL penalties to a reference policy are standard in RLHF [51]. We anchor only thinking tokens, with the non-negative form [59] applied to sequence means. We keep the update small in two places: in weight space, with a target for the served change, and in output space, with the drift penalty on thinking.
Agent tuning. SFT on successful agent trajectories is a common recipe [10, 75], extended to software engineering by SWE-Gym and SWE-smith [52, 71]. Agent-FLAN separates format following from reasoning in agent data [13]. Structured Agent Distillation segments trajectories into reasoning and action spans and supervises them with separate masks [36]. EKSFT masks tokens with high entropy or high KL divergence from a reference model [37]. Recent work argues that supervising observation tokens as well changes how agents explore under RL [76], so action-only supervision is not universally preferable. We use it for small updates to an already strong model, where the goal is to leave reasoning in place. We contribute a loss split for such data, likelihood on actions and a drift penalty on thinking, together with a target for the served change and training in the served format.
Limitations
Evaluation. We omit the full benchmark suite for the checkpoints we did not release, as evaluating 120B agentic models consumes the majority of our compute budget. One run of Terminal-Bench 2.1 takes about five hours on two B300 GPUs. Consequently, we chose to spend the evaluation budget on the released models instead of running the full suite for each ablation.
Baselines. We compare against standard LoRA (§ 7.1) but not against other methods for retaining small updates during merging. Stochastic rounding [41] retains the update in expectation, but the resulting rounded model is not the same as the model the loss was computed for. Alternatively, one could fine-tune standard LoRA with a higher learning rate to retain a larger share of the update during merging. However, this would also increase the change to the served weights, which contradicts the goal of having a small, targeted update. We found in our own run that checkpoints which drifted more from the base model than our release had worse scores (section C), which is why we did not explore this direction.
Scope. The loss of the update during merging that we see here is specific to small updates and coarse storage formats. Merge-aware training is thus most relevant when the update is intentionally made small, or when the released model is quantized.
Conclusion
A surgical update to a strong model should be small and targeted, but such updates often fail to survive the standard model release pipeline. Training a LoRA adapter and merging it into the checkpoint can lead to rounding that drops most of the update. The intended change in behavior can get lost along with the update. Merging is thus not just a packaging step, but part of the model that needs to be taken into account during training. A surgical update needs to target the right tokens, make just the necessary changes to the model and still be there in the released weights. Standard LoRA does not guarantee the last condition. Merge-aware fine-tuning achieves this by using the exact weights that will be released and the same numerics as the serving engine to compute the loss. We are thus training the model we ship. It does not mean that we succeed in merging more of the update, but instead that we directly train the part that will survive. We combine this with a likelihood loss on the action tokens only, a sequence-level penalty to keep thinking close to the base model, and a target that bounds the change in served weights. This was applied to a 120B model, leading to improvements in agentic coding for both BF16 and NVFP4 with preserved general capabilities. We expect the same principle, train what you ship, to be useful in any place where small updates need to survive rounding into coarse number formats, such as unlearning, safety patches, personalization and on-device models.
Appendix
Training configuration
Table 7 lists the settings of the two released runs. Both runs see the same rows in the same order. They share the objective, the LoRA rank, the optimizer and the schedule. The only differences come from how NVIDIA stores each base model. Two module groups are adapted in both runs: the attention projections (, , , in the 8 attention layers) and the Mamba input projections (in_proj in the 40 Mamba layers). These weights are BF16 in the BF16 base and FP8 in the NVFP4 base. So the NVFP4 run trains them with a four times larger learning rate, which moves them as far as the BF16 weights move (§ 3.4). The third group is different in the two runs. The BF16 run adapts the up and down projections of the shared experts in the 40 MoE layers. In the NVFP4 base these weights are stored in 4 bits and do not move at an update of our size (section D). So the NVFP4 run adapts the MoE latent projections (fc1 and fc2) instead, which NVIDIA stores in BF16. Each run emulates the serving numerics of its own format.
Merge validation
Emulated serving operations. The training forward pass reproduces the operations of the serving engine that touch the adapted weights. For the BF16 run these are two. The engine rounds and to FP8 E4M3 when it writes them to the cache, and at the input of attention. We apply the same rounding in training, with a straight-through gradient. The engine applies no lower bound to the Mamba time step, where the training library clamps it at . We remove the clamp. For the NVFP4 run we add the FP8 linears with their served activation quantization, the NVFP4 shared experts with 4-bit weights and activations, the routed-expert kernel with its BF16 rounding order, and the approximate reciprocals the engine uses to compute scales. Three known deviations are not emulated: the FP32 residual stream, the tile-wise quantization of the softmax, and the FP8 rounding of the attention output before the output projection. None of them depends on the adapter. So the exactness claims of this appendix are about weights. Activations are matched operation by operation, not bit for bit.
Export checks. To verify that the trained model is the shipped model, we recompute every adapted value of the released checkpoints from the base checkpoint and the saved adapter, independently of the trainer and of the merge script, and compare it with the released files. All 5.09 billion adapted elements of the BF16 release and all 3.66 billion of the NVFP4 release match, with no mismatches. Every tensor we did not adapt, and the configuration, tokenizer and chat template files, are byte for byte identical to the base. The number of values that changed matches the count the trainer logged at every checkpoint, which ties the weights the loss was computed on to the weights in the files. The trainer forms in FP32 and rounds it onto the storage grid with the vendor’s frozen scales, and the export does the same, so we rely on this count for their agreement rather than on an element by element comparison.
Served change per checkpoint
Table 8 lists for the checkpoints of both runs, and for the BF16 run the Terminal-Bench 2.1 score of each merged checkpoint. grows steadily with training in both runs, so choosing a checkpoint by means choosing how far the shipped model moves. During development we merged the BF16 checkpoints at steps 75, 100, 125 and 158 and scored each. Step 100 solved the most tasks. The smaller update at step 75 had not changed the model enough, and the larger updates at steps 125 and 158 began to cost performance. This is the evidence behind the range of , 2.5 to 3.5 , that we use as a target (sections 3.4 and 7.2). The NVFP4 checkpoint was then chosen by alone, and its step 100 sits in the same range.
Why NVFP4 tensors do not move at our update size
An NVFP4 weight is stored as a 4-bit code from the set . The code is multiplied by an FP8 scale shared by a block of 16 elements and by one FP32 scale for the whole tensor. So neighboring grid values are 1/12 to 1/3 of the block maximum apart. For comparison, the relative spacing is roughly 6 to 12% for FP8 E4M3 and 0.4 to 0.8% for BF16. A weight changes its stored code only when the update carries it past the midpoint between two grid values. Our update moves weights by about as much as in the BF16 run. For the shared experts, the 99.9th percentile of is only 0.007 of half a grid step. So the codes do not change at our update size, and about 0.1% of them would flip even with a learning rate multiplier of about 140.
Compute
The BF16 run took 2.94 hours on 8 B300 GPUs, including startup and checkpoint saves. A step took 65 seconds, and peak memory was 117 GB per GPU. The NVFP4 run took 5.1 hours on 4 B300 GPUs, with 114 seconds per step and 136 GB peak memory. The plain LoRA run of section 7.1 took 1.7 hours for its 100 steps on 8 B200 GPUs, at 59 seconds per step.
Trajectory judge
This appendix gives the method and the full results behind section 7.5 and the lower block of table 6.
Per-step statistics. We first looked at single model calls. Over all base and Smaug-Nemotron-3.5 runs on the 89 tasks (three and four runs), Smaug-Nemotron-3.5 spends about as many reasoning tokens per call as the base. The medians over task-runs are 2,055 and 2,144 tokens. Its actions have the same length, 401 against 390 tokens by the same statistic. So the difference between the models is not visible in a single call. This is why we judged whole trajectories.
Taxonomy. We use the failure taxonomy of the Terminal-Bench 2.0 paper [44]. Its authors derived it from an earlier taxonomy of multi-agent failures, dropped or merged the modes that do not apply to a single agent in a terminal, and grouped the nine that remain in three classes: execution, coherence and verification. Execution modes: the agent disobeys the specification, repeats a step, or does not stop when it should. The last covers continuing after success or futility and declaring completion before the task is done. Coherence modes: the agent’s commands contradict its stated analysis, it loses earlier context, or it drifts to another goal. Verification modes: the agent stops before an explicit requirement is met, it does not verify (for example it displays a file instead of running it), or it verifies weakly, with checks that miss a stated requirement. A trajectory can carry several modes. A class row (“any”) is the share of trajectories that carry at least one of the three modes of that class. A trajectory is counted once even if it carries two or three of them, so a class row is at most the sum of its three modes and usually less. “Premature completion” is the union of unaware of termination and premature termination: the agent declared the task complete while an explicit requirement was visibly unmet. “No failure mode” means none of the nine.
Trajectories judged. We judge three runs per model under the same harness (§ 5): the base’s three runs, three of the plain adapter’s four and three of the release’s four. The judged set is every task that at least one of these nine runs failed. That is 59 tasks. The judge declined one task for every model, which leaves 58 tasks. On these tasks we have 174 base, 173 plain LoRA and 174 release trajectories. One plain LoRA trajectory was declined. Every trajectory on these tasks is judged, whether it passed or failed. 79, 81 and 91 of them passed.
Judge. Claude Opus 5.5, run as an agent, serves as the judge. The rubric text is the Terminal-Bench paper’s own, with two additions by us: a decision procedure for task derailment, which the paper does not print, and the abbreviated steps of weak verification. The paper applies one rubric per mode. We decide all nine modes in one call per trajectory, with written judging conventions that say what counts as a repetition, when a verification is weak, and how to treat an episode that ran out of time, and with worked examples. The judge is given the task description, the agent’s own harness instructions and a condensed transcript. In the transcript every action turn is numbered. The turns around the first completion claim, the writing of the deliverable and the end of the episode are kept nearly in full. Other turns are trimmed to their head and tail, and long waits and repeated polling are elided. The judge assigns the nine modes from the transcript with the hidden reasoning removed. What it sees is the agent’s visible analysis and plan, its commands and the terminal output. This follows the Terminal-Bench paper, which defines the taxonomy on the agent’s stated analysis and its observable actions. For failed trajectories the judge is told which tests failed. For passed trajectories the outcome is withheld, so the judge cannot call a trajectory clean because it knows the task passed. Every label cites the turns it rests on. A validator checks that the cited turns exist in the transcript.
Calibration. The Terminal-Bench authors validated their judge against human annotators. We did not label trajectories by hand. Instead we checked the judge’s consistency in two ways. First, twenty failed trajectories were judged again with the outcome withheld. The judge agreed with itself on 93% of the mode decisions. Second, ten trajectories on tasks that neither the base nor Smaug-Netron-3.5 ever fails were judged as well, to check that the judge does not read success as the absence of faults. Four carry no mode, four a verification mode and two a step repetition.
Reading the table. The three models share one failure profile. Verification modes occur on more than half of the trajectories, execution modes on about half, and coherence modes on about a quarter. The update changes this profile at one point, step repetition and the execution class that contains it, and raises the share of trajectories with no mode at all. Not every difference in this table is a real change. Each model was run three times, and the share of a mode moves from run to run. So we compare the range over the three runs, not the single average. Three rows stand out. In step repetition, and in the execution class that contains it, the worst of the three release runs is still better than the best of the three base runs. In the share of trajectories with no failure mode, the lowest release run is above the highest base run. In these three rows the two ranges do not touch. These are the changes the update made. In every other row the two ranges overlap. The release may look a little better or a little worse on average, but the base’s own runs spread at least as far. We read these rows as unchanged. The verification class is the row most likely to be misread. The release averages 59.8 against 57.5 for the base, and weak verification 31.0 against 27.0. But the base’s three runs span 51.7 to 62.1 on the class row and 20.7 to 32.8 on weak verification, so the release sits inside the base’s own spread. Within the class, the release shows slightly less “no verification” and slightly more “weak verification”. A few trajectories moved from not checking at all to checking weakly. The release verifies as often as the base, no better and no worse.
By outcome. The failed trajectories of the three models look alike. About half repeat steps (54, 52 and 52%). A third to a half carry a coherence mode (36, 43 and 45%). A third declare completion with a requirement visibly unmet (35, 36 and 37%). The passed trajectories differ from the base’s. When the base passes, it still repeats steps in 35% of its runs and carries a coherence mode in 18%. The plain adapter does so in 21% and 12%, Smaug-Nemotron-3.5 in 23% and 9%. The 26 tasks that the base failed and Smaug-Nemotron-3.5 passed at least once tell the same story from the other side. On these tasks, the base’s failed runs carry a coherence mode in 24% and a premature completion in 24%. Smaug-Nemotron-3.5’s passed runs carry them in 2% and 9%. Smaug-Nemotron-3.5’s own failed runs on the same tasks carry them in 38% and 24%. So the difference lies between passing and failing runs, not between the models.
References
- [1]Abacus.AI. Smaug-Nemotron-3.5. Hugging Face model card and weights, released 18 October, 2026. URL https://huggingface.co/abacusai/Smaug-Nemotron-3.5. Accessed 23 November 2026.
- [2]Abacus.AI. Smaug-Nemotron-3.5-NVFP4. Hugging Face model card and weights, released 22 October, 2026. URL https://huggingface.co/abacusai/Smaug-Nemotron-3.5-NVFP4. Accessed 23 November 2026.
- [3]Artificial Analysis. Announcing AA-LCR: Artificial Analysis long context reasoning benchmark. https://artificialanalysis.ai/articles/announcing-aa-lcr, August 2025. 100 questions over documents of about 100k tokens.
- [4]Axolotl contributors. Add BF16 merge-aware LoRA for merged vLLM sync and export. GitHub pull request axolotl-ai-cloud/axolotl #4216, merged 27 October, 2026. URL https://github.com/axolotl-ai-cloud/axolotl/pull/4216. Accessed 23 November 2026.
- [5]Axolotl contributors. feat: sonicmoe nvfp4 lora merge aware. GitHub pull request axolotl-ai-cloud/axolotl #3822, merged 16 July, 2026. URL https://github.com/axolotl-ai-cloud/axolotl/pull/3822. Accessed 23 November 2026.
- [6]Axolotl contributors. Support native NVFP4 LoRA backends and merge-aware training. GitHub pull request axolotl-ai-cloud/axolotl #4045, merged 28 September, 2026. URL https://github.com/axolotl-ai-cloud/axolotl/pull/4045. Accessed 23 November 2026.
- [7]Yoshua Bengio, Nicholas Léonard, and Aaron Courville. Estimating or propagating gradients through stochastic neurons for conditional computation. arXiv preprint arXiv:1308.3432, 2013.arxiv.org/abs/1308.3432
- [8]Dan Biderman, Jacob Portes, Jose Javier Gonzalez Ortiz, Mansheej Paul, Philip Greengard, Connor Jennings, Daniel King, Sam Havens, Vitaliy Chiley, Jonathan Frankle, Cody Blakeney, and John P. Cunningham. LoRA learns less and forgets less. Transactions on Machine Learning Research (TMLR), 2024.
- [9]Yelysei Bondarenko, Riccardo Del Chiaro, and Markus Nagel. Low-rank quantization-aware training for LLMs, 2024. ICML 2024 Workshop on Efficient Systems for Foundation Models (ES-FoMo-II).arxiv.org/abs/2406.06385
- [10]Baian Chen, Chang Shu, Ehsan Shareghi, Nigel Collier, Karthik Narasimhan, and Shunyu Yao. FireAct: Toward language agent fine-tuning. arXiv preprint arXiv:2310.05915, 2023.arxiv.org/abs/2310.05915
- [11]Junyu Chen, Junzhuo Li, Zhen Peng, Wenjie Wang, Yuxiang Ren, Long Shi, and Xuming Hu. LoTA-QAF: Lossless ternary adaptation for quantization-aware fine-tuning. In Advances in Neural Information Processing Systems (NeurIPS), 2025.
- [12]Mengzhao Chen, Wenqi Shao, Peng Xu, Jiahao Wang, Peng Gao, Kaipeng Zhang, and Ping Luo. EfficientQAT: Efficient quantization-aware training for large language models. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (ACL), 2025.
- [13]Zehui Chen, Kuikun Liu, Qiuchen Wang, Wenwei Zhang, Jiangning Liu, Dahua Lin, Kai Chen, and Feng Zhao. Agent-FLAN: Designing data and methods of effective agent tuning for large language models. In Findings of the Association for Computational Linguistics (ACL), 2024.
- [14]Brian Chmiel, Maxim Fishman, Ron Banner, and Daniel Soudry. FP4 all the way: Fully quantized training of LLMs. In Advances in Neural Information Processing Systems (NeurIPS), 2025.arxiv.org/abs/2505.19115
- [15]Kanghyun Choi, Hyeyoon Lee, SunJong Park, Dain Kwon, and Jinho Lee. FALQON: Accelerating LoRA fine-tuning with low-bit floating-point arithmetic. In Advances in Neural Information Processing Systems (NeurIPS), 2025.
- [16]Tri Dao and Albert Gu. Transformers are SSMs: Generalized models and efficient algorithms through structured state space duality. In International Conference on Machine Learning (ICML), 2024.
- [17]Tim Dettmers, Artidoro Pagnoni, Ari Holtzman, and Luke Zettlemoyer. QLoRA: Efficient finetuning of quantized LLMs. In Advances in Neural Information Processing Systems (NeurIPS), 2023.arxiv.org/abs/2305.14314
- [18]Jingzhe Ding, Shengda Long, Changxin Pu, Ge Zhang, Huan Zhou, Hongwan Gao, et al. NL2Repo-Bench: Towards long-horizon repository generation evaluation of coding agents. In International Conference on Machine Learning (ICML), volume 306 of Proceedings of Machine Learning Research, pages 25035–25054, 2026.
- [19]Steven K. Esser, Jeffrey L. McKinstry, Deepika Bablani, Rathinakumar Appuswamy, and Dharmendra S. Modha. Learned step size quantization. In International Conference on Learning Representations (ICLR), 2020.
- [20]Elias Frantar, Saleh Ashkboos, Torsten Hoefler, and Dan Alistarh. GPTQ: Accurate post-training quantization for generative pre-trained transformers. In International Conference on Learning Representations (ICLR), 2023.
- [21]Hang Guo, Yawei Li, Tao Dai, Shu-Tao Xia, and Luca Benini. IntLoRA: Integral low-rank adaptation of quantized diffusion models. In International Conference on Machine Learning (ICML), 2025.
- [22]Suyog Gupta, Ankur Agrawal, Kailash Gopalakrishnan, and Pritish Narayanan. Deep learning with limited numerical precision. In International Conference on Machine Learning (ICML), 2015.
- [23]Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In International Conference on Learning Representations (ICLR), 2022.arxiv.org/abs/2106.09685
- [24]Wenqi Huang, Charley Lee, Leonard Tang, and Serena Ge. DeepSWE: Measuring frontier coding agents on original, long-horizon engineering tasks. Datacurve blog, https://deepswe.datacurve.ai/blog/deepswe, 2026. Benchmark v1.1, 113 tasks. Paper: arXiv:2607.07946. Code: https://github.com/datacurve-ai/deep-swe.arxiv.org/abs/2607.07946
- [25]Gabriel Ilharco, Marco Tulio Ribeiro, Mitchell Wortsman, Suchin Gururangan, Ludwig Schmidt, Hannaneh Hajishirzi, and Ali Farhadi. Editing models with task arithmetic. In International Conference on Learning Representations (ICLR), 2023.arxiv.org/abs/2212.04089
- [26]Benoit Jacob, Skirmantas Kligys, Bo Chen, Menglong Zhu, Matthew Tang, Andrew Howard, Hartwig Adam, and Dmitry Kalenichenko. Quantization and training of neural networks for efficient integer-arithmetic-only inference. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2018.arxiv.org/abs/1712.05877
- [27]Naman Jain, King Han, Alex Gu, Wen-Ding Li, Fanjia Yan, Tianjun Zhang, Sida Wang, Armando Solar-Lezama, Koushik Sen, and Ion Stoica. LiveCodeBench: Holistic and contamination free evaluation of large language models for code. In International Conference on Learning Representations (ICLR), 2025.arxiv.org/abs/2403.07974
- [28]Hyesung Jeon, Yulhwa Kim, and Jae-Joon Kim. L4Q: Parameter efficient quantization-aware fine-tuning on large language models. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (ACL), 2025.
- [29]Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik Narasimhan. SWE-bench: Can language models resolve real-world GitHub issues? In International Conference on Learning Representations (ICLR), 2024.arxiv.org/abs/2310.06770
- [30]Jeonghoon Kim, Jung Hyun Lee, Sungdong Kim, Joonsuk Park, Kang Min Yoo, Se Jung Kwon, and Dongsoo Lee. Memory-efficient fine-tuning of compressed large language models via sub-4-bit integer quantization. In Advances in Neural Information Processing Systems (NeurIPS), 2023.arxiv.org/abs/2305.14152
- [31]Woosuk Kwon, Zhaohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph E. Gonzalez, Hao Zhang, and Ion Stoica. Efficient memory management for large language model serving with PagedAttention. In ACM Symposium on Operating Systems Principles (SOSP), 2023.arxiv.org/abs/2309.06180
- [32]Yoonho Lee, Annie S. Chen, Fahim Tajwar, Ananya Kumar, Huaxiu Yao, Percy Liang, and Chelsea Finn. Surgical fine-tuning improves adaptation to distribution shifts. In International Conference on Learning Representations (ICLR), 2023.arxiv.org/abs/2210.11466
- [33]Tung-Ling Li, Lee-Chi Wang, Jiale Huang, and Janaki Ram Gotei. Scale-QLoRA: Code-invariant adapter merging for native 4-bit microscaling LLMs. arXiv preprint arXiv:2609.04526, 2026.arxiv.org/abs/2609.04526
- [34]Yixiao Li, Yifan Yu, Chen Liang, Pengcheng He, Nikos Karampatziakis, Weizhu Chen, and Tuo Zhao. LoftQ: LoRA-fine-tuning-aware quantization for large language models. In International Conference on Learning Representations (ICLR), 2024.arxiv.org/abs/2310.08659
- [35]Hong Liu, Sang Michael Xie, Zhiyuan Li, and Tengyu Ma. Same pre-training loss, better downstream: Implicit bias matters for language models. In International Conference on Machine Learning (ICML), volume 202 of Proceedings of Machine Learning Research, pages 22188–22214, 2023.arxiv.org/abs/2210.14199
- [36]Jun Liu, Zhenglun Kong, Peiyan Dong, Changdi Yang, Tianqin Li, Yanyue Xie, Yifan Gong, Xuan Shen, Pu Zhao, Hao Tang, Geng Yuan, Wei Niu, Wenbin Zhang, Xue Lin, Dong Huang, and Yanzhi Wang. Structured agent distillation for large language model agents. In International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2026.DOI
- [37]Qi Liu, Mingdi Sun, Yongyi He, Zhi Zheng, Tong Xu, Yi Zheng, Zhefeng Wang, and Enhong Chen. Entropy-KL divergence-based token masking: A novel approach for selective fine-tuning of large language models. arXiv preprint arXiv:2605.29303, 2026.arxiv.org/abs/2605.29303
- [38]Shih-Yang Liu, Chien-Yi Wang, Hongxu Yin, Pavlo Molchanov, Yu-Chiang Frank Wang, Kwang-Ting Cheng, and Min-Hung Chen. DoRA: Weight-decomposed low-rank adaptation. In International Conference on Machine Learning (ICML), 2024.arxiv.org/abs/2402.09353
- [39]Zechun Liu, Barlas Oguz, Changsheng Zhao, Ernie Chang, Pierre Stock, Yashar Mehdad, Yangyang Shi, Raghuraman Krishnamoorthi, and Vikas Chandra. LLM-QAT: Data-free quantization aware training for large language models. In Findings of the Association for Computational Linguistics (ACL), 2024.
- [40]Yun Luo, Zhen Yang, Fandong Meng, Yafu Li, Jie Zhou, and Yue Zhang. An empirical study of catastrophic forgetting in large language models during continual fine-tuning. arXiv preprint arXiv:2308.08747, 2023.arxiv.org/abs/2308.08747
- [41]MaxDiffusion contributors. Keep the full LoRA delta when merging into bfloat16 weights. GitHub pull request AI-Hypercomputer/maxdiffusion #513, opened 18 October, open as of November, 2026. URL https://github.com/AI-Hypercomputer/maxdiffusion/pull/513. Accessed 23 November 2026.
- [42]Kevin Meng, David Bau, Alex Andonian, and Yonatan Belinkov. Locating and editing factual associations in GPT. In Advances in Neural Information Processing Systems (NeurIPS), 2022.arxiv.org/abs/2202.05262
- [43]Kevin Meng, Arnab Sen Sharma, Alex Andonian, Yonatan Belinkov, and David Bau. Mass-editing memory in a transformer. In International Conference on Learning Representations (ICLR), 2023.arxiv.org/abs/2210.07229
- [44]Mike A. Merrill, Alexander G. Shaw, Nicholas Carlini, Boxuan Li, Harsh Raj, et al. Terminal-Bench: Benchmarking agents on hard, realistic tasks in command line interfaces. In International Conference on Learning Representations (ICLR), 2026. Version 2.1 of the task set: https://tbench.ai/news/terminal-bench-2-1.
- [45]Paulius Mickevicius, Dusan Stosic, Neil Burgess, Marius Cornea, Pradeep Dubey, Richard Grisenthwaite, Sangwon Ha, Alexander Heinecke, Patrick Judd, John Kamalu, Naveen Mellempudi, Stuart Oberman, Mohammad Shoeybi, Michael Siu, and Hao Wu. FP8 formats for deep learning. arXiv preprint arXiv:2209.05433, 2022.
- [46]NVIDIA. NVIDIA-Nemotron-3.5-Super-VL-120B-A12B (BF16 and NVFP4 model cards). Hugging Face, 2026. URL https://huggingface.co/nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4. The BF16 release is at the same path ending in -BF16. Accessed 23 November 2026.
- [47]NVIDIA, Felix Abecassis, Anjulie Agrusa, Dong Ahn, Jonah Alben, et al. Pretraining large language models with NVFP4. arXiv preprint arXiv:2509.25149, 2025.arxiv.org/abs/2509.25149
- [48]NVIDIA, Aaron Blakeman, Aarti Basant, Abhinav Khattar, et al. Nemotron-H: A family of accurate and efficient hybrid Mamba-Transformer models. arXiv preprint arXiv:2504.03624, 2025.
- [49]NVIDIA, Aastha Jhunjhunwala, Aayushi Ashokkumar Srivastava, Abhibha Gupta, et al. Nemotron 3.5 Super and Lightning: Open, efficient mixture-of-experts hybrid Mamba-Transformer models for agentic AI. arXiv preprint arXiv:2610.38095, 2026.
- [50]OpenAI. Introducing SWE-bench Verified. Blog post, 13 August, 2024. URL https://openai.com/index/introducing-swe-bench-verified/. Accessed 23 November 2026.
- [51]Long Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, Carroll L. Wainwright, Pamela Mishkin, et al. Training language models to follow instructions with human feedback. In Advances in Neural Information Processing Systems (NeurIPS), 2022.arxiv.org/abs/2203.02155
- [52]Jiayi Pan, Xingyao Wang, Graham Neubig, Navdeep Jaitly, Heng Ji, Alane Suhr, and Yizhe Zhang. Training software engineering agents and verifiers with SWE-Gym. In International Conference on Machine Learning (ICML), 2025.arxiv.org/abs/2412.21139
- [53]Valentina Pyatkin, Saumya Malik, Victoria Graf, Hamish Ivison, Shengyi Huang, Pradeep Dasigi, Nathan Lambert, and Hannean Hajishirzi. Generalizing verifiable instruction following. In Advances in Neural Information Processing Systems (NeurIPS), Datasets and Benchmarks Track, 2025. Introduces IFBench.arxiv.org/abs/2507.02833
- [54]Penghui Qi, Zichen Liu, Xiangxin Zhou, Tianyu Pang, Chao Du, Wee Sun Lee, and Min Lin. Defeating the training-inference mismatch via FP16. arXiv preprint arXiv:2510.26788, 2025.arxiv.org/abs/2510.26788
- [55]Haotong Qin, Xudong Ma, Xingyu Zheng, Xiaoyang Li, Yang Zhang, Shouda Liu, Jie Luo, Xianglong Liu, and Michele Magno. Accurate LoRA-finetuning quantization of LLMs via information retention. In International Conference on Machine Learning (ICML), 2024.arxiv.org/abs/2402.05445
- [56]David Rein, Betty Li Hou, Asa Cooper Stickland, Jackson Petty, Richard Yuanzhe Pang, Julien Dirani, Julian Michael, and Samuel R. Bowman. GPQA: A graduate-level Google-proof Q&A benchmark. In Conference on Language Modeling (COLM), 2024.arxiv.org/abs/2311.12022
- [57]Yi Ren and Danica J. Sutherland. Learning dynamics of LLM finetuning. In International Conference on Learning Representations (ICLR), 2025.arxiv.org/abs/2407.10490
- [58]Bita Darvish Rouhani, Ritchie Zhao, Ankit More, Mathew Hall, Alireza Khodamoradi, Summer Deng, et al. Microscaling data formats for deep learning. arXiv preprint arXiv:2310.10537, 2023.arxiv.org/abs/2310.10537
- [59]John Schulman. Approximating KL divergence. Blog post, 2020. URL http://joschu.net/blog/kl-approx.html. Accessed 23 November 2026.
- [60]SGLang contributors. [diffusion] fix: keep a LoRA unmerged under merge_mode auto when merging would round its update away. GitHub pull request sgl-project/sglang #43385, merged 10 October, 2026. URL https://github.com/sgl-project/sglang/pull/43385. Accessed 23 November 2026.
- [61]Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. DeepSeekMath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024.arxiv.org/abs/2402.03300
- [62]Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz, Andy Davis, Quoc Le, Geoffrey Hinton, and Jeff Dean. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. In International Conference on Learning Representations (ICLR), 2017.arxiv.org/abs/1701.06538
- [63]Idan Shenfeld, Jyothish Pari, and Pulkit Agrawal. RL’s razor: Why online reinforcement learning forgets less. In International Conference on Learning Representations (ICLR), 2026.arxiv.org/abs/2509.04259
- [64]Shubham Singh. Full-weight VLA fine-tuning without an fp32 master copy silently erases most updates. arXiv preprint arXiv:2610.31859, 2026.arxiv.org/abs/2610.31859
- [65]Minyang Tian, Luyu Gao, Shizhuo Dylan Zhang, Xinan Chen, Cunwei Fan, Xuefei Guo, et al. SciCode: A research coding benchmark curated by scientists. In Advances in Neural Information Processing Systems (NeurIPS), Datasets and Benchmarks Track, 2024.arxiv.org/abs/2407.13168
- [66]Colin White, Samuel Dooley, Manley Roberts, Arka Pal, Benjamin Feuer, Siddhartha Jain, Ravid Shwartz-Ziv, Neel Jain, Khalid Saifullah, Sreemanti Dey, Shubh-Agrawal, Sandeep Singh Sandha, Siddartha Naidu, Chinmay Hegde, Yann LeCun, Tom Goldstein, Willie Neiswanger, and Micah Goldblum. LiveBench: A challenging, contamination-limited LLM benchmark. In International Conference on Learning Representations (ICLR), 2025. Leaderboard (version 2.0): https://livebench.ai. Penghao Wu and Saining Xie. V*: Guided visual search as a core mechanism in multimodal LLMs. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024.
- [68]Meng Xin, Sweta Priyadarshi, Jingyu Xin, Bilal Kartal, Aditya Vavre, et al. Quantization-aware distillation for NVFP4 inference accuracy recovery. arXiv preprint arXiv:2601.20088, 2026. NVIDIA technical report.arxiv.org/abs/2601.20088
- [69]Yuhui Xu, Lingxi Xie, Xiaotao Gu, Xin Chen, Heng Chang, Hengheng Zhang, Zhengsu Chen, Xiaopeng Zhang, and Qi Tian. QA-LoRA: Quantization-aware low-rank adaptation of large language models. In International Conference on Learning Representations (ICLR), 2024.arxiv.org/abs/2309.14717
- [70]Prateek Yadav, Derek Tam, Leshem Choshen, Colin Raffel, and Mohit Bansal. TIES-Merging: Resolving interference when merging models. In Advances in Neural Information Processing Systems (NeurIPS), 2023.arxiv.org/abs/2306.01708
- [71]John Yang, Kilian Lieret, Carlos E. Jimenez, Alexander Wettig, Kabir Khandpur, Yanzhe Zhang, Binyuan Hui, Ofir Press, Ludwig Schmidt, and Diyi Yang. SWE-smith: Scaling data for software engineering agents. In Advances in Neural Information Processing Systems (NeurIPS), Datasets and Benchmarks Track, 2025. Introduces SWE-bench Multilingual.arxiv.org/abs/2504.21798
- [72]Feng Yao, Liyuan Liu, Dinghuai Zhang, Chengyu Dong, Jingbo Shang, and Jianfeng Gao. Your efficient RL framework secretly brings you off-policy RL training. Blog post, 5 August, 2025. https://fengyao.notion.site/off-policy-rl. Code: https://github.com/yao20/Flash-RL. Accessed 23 November 2026.
- [73]Le Yu, Bowen Yu, Haiyang Yu, Fei Huang, and Yongbin Li. Language models are super mario: Absorbing abilities from homologous models as a free lunch. In International Conference on Machine Learning (ICML), 2024.arxiv.org/abs/2311.03099
- [74]Pedram Zamirai, Jian Zhang, Christopher R. Aberger, and Christopher De Sa. Revisiting BFloat16 training. arXiv preprint arXiv:2010.06192, 2020.
- [75]Aohan Zeng, Mingdao Liu, Rui Lu, Bowen Wang, Xiao Liu, Yuxiao Dong, and Jie Tang. AgentTuning: Enabling generalized agent abilities for LLMs. In Findings of the Association for Computational Linguistics (ACL), 2024.arxiv.org/abs/2310.12823
- [76]Juzheng Zhang, Disha Makhija, Manoj Ghuhan Arivazhagan, Vinayshekhar Bannihatti Kumar, and Rashmi Gangadharaiah. Don’t mask the environment: Observation supervision changes how agents explore under RL. arXiv preprint arXiv:2609.20715, 2026.arxiv.org/abs/2609.20715
- [77]Zhiwei Zhang, Fali Wang, Xiaomin Li, Zongyu Wu, Xianfeng Tang, Hui Liu, Qi He, Wenpeng Yin, and Suhang Wang. Catastrophic failure of LLM unlearning via quantization. In International Conference on Learning Representations (ICLR), 2025.arxiv.org/abs/2410.16454


