arXiv(opens in a new tab)cs.CLSep 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2609.04526

Scale-QLoRA: Code-Invariant Adapter Merging for Native 4-bit Microscaling LLMs

Tung-Ling Li, Jiale Huang, Lee-Chi Wang, Janaki Ram Gotei

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Merging a LoRA adapter into its base model is standard deployment practice: it removes the runtime adapter's per-forward overhead and leaves a single standalone checkpoint any serving stack can load. On a native 4-bit microscaling checkpoint (NVFP4, MXFP4) that step stops being free. The merged weights must pass back through a quantizer, which re-derives the checkpoint's discrete E2M1 code plane (roughly 90% of the artifact's bytes). The deployed artifact is then coupled to one quantization convention, and every later code-touching event in its lifecycle can move it. Done naively the step is worse than fragile: it deletes the adaptation, by up to 39 pp, because against an already-on-grid base the reconstruction optimum is that base.

Scale-QLoRA instead adapts only the native per-block scale field, trains those scales on the deployment grid, and freezes every E2M1 code. Within a fixed native format, scale grid, block layout and code plane, merging is then a bit-exact identity and the merged artifact is code-invariant. Across four models and four tasks, Scale-QLoRA and merge-aware QAT-LoRA are both accuracy-lossless, so we claim no accuracy ordering between them. They differ structurally: QAT-LoRA re-derives the code plane through a quantizer, while Scale-QLoRA preserves it exactly. That difference is what the lifecycle prices. Nearest-rounding implementations disagree by about a point on the measured task, and more extreme rule mismatches can drive the weight-space artifact to ~0%; we report that as a sensitivity bound rather than a deployment frequency. Preserving the code plane also drops the weight-space straight-through estimator from training (3.9× per step on the dense 8B model) and enables exact rollback, code-plane deduplication, and a ~125× faster scale-only task swap.

1 INTRODUCTION

Post-training quantization to 4 bits is standard practice for serving large language models, increasingly in microscaling formats such as MXFP4 and NVFP4 (Open Compute Project, 2023; NVIDIA, 2024). There each weight is a shared low-precision block scale times a 4-bit E2M1 code. Fine-tuning with LoRA (Hu et al., 2022) is equally standard, and one way to serve a fine-tuned quantized model is to merge the adapter into the quantized weights. Merging removes runtime-adapter overhead and produces a standalone native checkpoint; we study the lifecycle of such merged artifacts. Whether deployments predominantly merge is a claim about practice we did not survey, and we do not assert it. Several toolchains we exercise, vLLM included, also serve a base plus runtime adapters. We price that alternative in Appendix D.2; it beats merged scale planes on storage and swap latency. What merging buys

is measurable: serving the adapter at runtime instead costs 5.6% prefill and 24% decode latency, one run at one batch regime, which we do not generalise. A merged checkpoint is then an artifact with a lifecycle: re-exported by other tools, converted between formats, re-quantized at engine upgrades, deduplicated, hot-swapped, rolled back. The E2M1 codes are roughly 90% of its bytes (Figure 1). This paper asks which merge strategy leaves them intact across those events, within the artifact's native format.

The naive merge deletes the adapter. The obvious recipe (dequantize, add the LoRA delta, re-quantize) perturbs every code and scale. Under our full-data protocol it costs 37.4 pp on NVFP4 Llama-8B Banking77 (93.0 → 55.6), with losses up to 39 pp across four post-hoc quantizers and tasks (Table 16). The magnitude in raw points scales with how much gain the cell had to lose. Which rule deletes and which survives follows from the rule's reconstruction quality on the grid it meets, and calibrated PTQ only partially rescues it (Section 5.1).

†Major contributor. Correspondence to: Tung-Ling Li li@crusoe.ai.

Figure

Figure 1. A merged checkpoint is an artifact with a lifecycle. A weight-space (QAT-LoRA) merge re-derives the E2M1 codes (roughly 90% of the artifact's bytes) through a quantizer; any later code-plane re-derivation reintroduces that quantizer dependence. Scale-QLoRA freezes the code plane end-to-end; merge and swap write scale bytes only. Format/grid conversion (marked *) re-quantizes both lanes and is out of scope.

Merge-aware retraining ties on merge loss, and the tie hides a structural difference. QAT-LoRA, the merge-aware weight-space baseline, is LoRA trained with a native-grid straight-through estimator (STE) that fake-quantizes the full weight every forward pass. The model trains on-grid, and its re-quantized merge reproduces training. Its merge loss is at most 0.2 pp against full-data CIs of ±0.5–1 pp. Both merge-aware methods are therefore accuracy-lossless, and merge loss is a tie: it is shared motivation, not a contribution. But the two merged artifacts differ in kind. A QAT-LoRA merge re-derives every E2M1 code through a quantizer that must bit-match the training STE, and each later code-touching event can repeat that re-derivation under a different rule. A scale merge writes only scale bytes and provably never touches a code. We call this code-invariance (Section 5.2). Pre-quantizing once with the exact training rule is a real but partial answer, discharging the export event but not the requirement to re-run an exactly-matching quantizer at every later one. What that convention costs comes in two tiers. Measured: no two NVFP4 quantization outputs we audit agree bit-exactly, and divergence within the nearest-rounding family costs about a point on the measured task. As a sensitivity bound, not an observed frequency: a rule from outside that family drives QAT-LoRA to ~ 0% on every dataset while Scale-QLoRA reads flat. How often the latter happens in deployment we do not measure.

Our approach: adapt the scales, freeze the codes, train on the native grid. Scale-QLoRA learns a low-rank correction to the per-block scales only, leaves all codes frozen, and applies an STE that rounds the effective scale onto the native grid during fine-tuning. Because training already runs on the on-grid scale, merge writes exactly that scale

byte and copies every code verbatim. Losslessness is structural: training establishes it, rather than the serving stack re-deriving it. The guarantee is precise. Within a fixed native format, scale grid, block layout and code plane, no quantizer runs at merge and the merge is bit-exact: QAST has already rounded the scale onto that grid during training, so merge writes the byte the model trained on and copies every code. Format conversion re-quantizes both methods' artifacts and sits outside both guarantees. Freezing the codes also removes the weight-space STE from training: Scale-QLoRA trains 3.9× cheaper per step on the dense 8B model measured (2.2× on the 30B MoE).

Contributions. Low-rank scale adaptation has close neighbors (Tang et al., 2026) (Section 2); our contribution is target-grid-aware low-rank adaptation of the native microscale bytes that preserves the E2M1 code plane, with a lifecycle analysis and measurement of the resulting artifact-level benefits.

  1. Code-invariance and its five payoffs (invariance of the served code plane, multi-adapter serving on a shared code plane, exact rollback, storage deduplication, and auditability), identified as the property separating the two accuracy-lossless merge strategies and grounded in a threat model of four re-quantization event classes (Section 5.2).

  2. Why the naive merge collapses. On an on-grid base the reconstruction minimizing weight error is the un-adapted base, so lower reconstruction error is associated with stronger deletion across the reconstruction-oriented quantizers we test, with explicitly reported exceptions. On the NVFP4 rounding cells the weight probe and accuracy disagree, which we record as open (Section 5.3).

  3. Measured differentiators. A deploy-quantizer sweep on Llama-8B (real vLLM), the Qwen-30B MoE and a 120B pair; multi-adapter serving with bitwise-identical code planes. Sharing one code plane cuts storage 3.0× at M=4, and scale-only swapping is ~ 125× faster than a weight-space swap that re-quantizes the checkpoint. Even so, we claim no latency advantage over an all-resident pointer swap or a runtime-adapter system (Appendices B, D).

  4. A representational bridge from PEQA to weight-space adaptation (Kim et al., 2023; Dettmers et al., 2023): the unrestricted families nest as per-row ⊆ per-block frozen-code ⊆ weight-space, with Scale-QLoRA a low-rank parameterization of the missing middle. That is a statement about representation, not accuracy. We do not detect a deficit for the middle term, which is strictly weaker than equivalence and not to be read as it (Appendix G.2).

References (85)