NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Merge-Aware Low-Rank Adapters for Quantized Edge Inference

A low-rank adapter (LoRA) is a small add-on to a frozen pretrained model: two thin matrices whose product nudges each weight matrix toward a new task. On a server, the adapter is either added into the full-precision weights before deployment at no cost, or run as a separate small branch. On a phone or embedded board the base model is usually stored in 4-bit or 8-bit integers, and both options break. Adding a full-precision adapter into integer weights means re-rounding them, and a small update tends to get rounded away. Keeping the adapter as a separate branch adds extra kernels, extra conversions back to higher precision, and possible fallback from the accelerator to the CPU. Physical profiling suggests these overheads are not small on edge hardware.

We propose training the adapter through the merge-and-requantize step, so that the deployed artifact is a single quantized weight tensor. That tensor runs on the device's native integer kernels with no adapter branch at all. We will check the claim on physical hardware (NVIDIA Jetson Orin NX/AGX and a Google Pixel phone), not in server simulation. In two sentences: low-rank adapters on quantized edge models are either slow (run separately) or lossy (re-rounded into the base). We train them so the lossless-looking merge is actually lossless after rounding, then measure on real devices whether this beats the split-branch methods everyone currently assumes.

Core Claim

The claim has two parts, and the first gates the second.

First, on edge SoCs (systems-on-chip that combine CPU, GPU and memory on one die), executing the adapter as a separate branch $h = \hat{W}_0 x + BAx$ on top of a quantized base $\hat{W}_0$ carries a measurable latency and energy cost relative to the quantized base alone. This cost should show up most clearly in the prompt-processing (prefill) phase that dominates on mobile. No paper in our file reports this number. Two physical results make it plausible. lm-Meter profiles language models on Pixel phones and finds prefill latency grows 158x from 70M to 1.4B parameters, against 10x for decoding, with the GPU idle about 21% of decode time because of host-side scheduling stalls. Rethinking Small VLM Quantization finds on Jetson Orin that INT4 backbones slow token generation by 10.4–56.3% from dequantization, and that INT8 vision encoders run up to 4.66x slower from fragmented kernels. A split adapter adds exactly the kind of extra small kernels and precision conversions those papers blame.

Second, if that overhead is real, adapters trained with merge-then-quantize in the forward pass recover the accuracy of the best split methods while running at the speed of the bare quantized model. Writing $Q_g(\cdot)$ for group-wise integer quantization at bit-width $g$ (scales recomputed after the merge), training minimizes the task loss $\mathcal{L}$ of the deployed model:

$$\min_{A,B}\; \mathcal{L}\big(Q_g(W_0 + BA)\big),$$

with gradients passed through $Q_g$ by a straight-through estimator, which treats rounding as identity on the backward pass. The mechanism is simple. Many entries of $BA$ are smaller than half a quantization step, so plain post-hoc merging rounds them to nothing. Training against the rounding pushes the update toward entries that actually cross rounding boundaries. We therefore expect the accuracy gap from naive merging to grow as bit-width falls and the step size grows relative to typical update magnitude.

Relation to Prior Work

Three papers supply the method and set the bar. All three keep the adapter as a separate higher-precision branch, and all three validate only on server GPUs.

LoftQ jointly chooses the quantized base and an SVD-based adapter initialization so that the base plus adapter approximates the original weights. This makes 2-bit fine-tuning stable. Our objective is the reverse composition: LoftQ quantizes first and adds the adapter afterwards, while we add the adapter first and quantize afterwards.

CAR-LoRA trains one adapter robust to many simulated compression formats using a compressed forward pass and a full-precision backward pass. We reuse that pattern, but CAR-LoRA perturbs only the base and leaves the adapter unquantized, whereas our target is the merged tensor. Its reported collapse at 2 bits (the "INT2 phase transition") is a constraint we inherit: INT4 and INT3 are our main targets, and INT2 is exploratory.

HyC-LoRA compresses training activations. It is complementary, because it concerns training memory and we concern inference form.

Two papers motivate the need for physical measurement. From LLMs to Edge benchmarks LoRA, DoRA and GaLore on edge CNNs, but measures peak memory and GFLOPs analytically rather than on-device latency. Skip2-LoRA runs physically on a Raspberry Pi Zero 2 W, but only on 3-layer fully connected networks and only for training time. The server multi-adapter systems Toppings, CLIMB and Dop optimize the split branch for many concurrent tenants on discrete GPUs. Their existence is evidence that the split branch is costly enough to engineer around. They do not address a single-user device with unified memory.

Merging gives up something real: per-request adapter swapping as studied by LoRA on the Go. We scope the claim to the common on-device case of one or a few static adapters, and we measure the swap cost directly.

Research Program

We first build a measurement harness. It uses the MLC LLM runtime on a Pixel phone with lm-Meter's low-overhead phase and kernel timing, and a TensorRT/llama.cpp-class INT4 stack on Jetson Orin NX and AGX. Thermal throttling is controlled with fixed clocks, cool-down intervals and repeated trials. For language models from roughly 0.5B to 1.5B parameters (Pixel) and up to 7B (Orin AGX), we time three forms per layer and end to end, at short and long prompt lengths: the quantized base alone, the quantized base with a split rank-$r$ adapter, and the quantized base with a merged adapter. We also log energy per token and whether the adapter matmul runs on the accelerator or falls back to the CPU.

This phase is a go/no-go gate. If split overhead is within a few percent of the bare base across devices and prompt lengths, the latency half of the claim fails. We would then publish the characterization alone and drop the method.

Second, we implement merge-aware training with group-wise INT4/INT3 quantization matching each runtime's actual quantization format. This matters because a merge-aware adapter is only lossless for the exact $Q_g$ the device uses. We then analyze when naive merging fails by relating accuracy loss to the fraction of $BA$ entries below half a quantization step.

Baselines

The naive reference points are the quantized base model with no adaptation, which gives the latency floor and accuracy floor, and the full-precision LoRA model, which gives the accuracy ceiling but does not fit the edge memory budget at 7B.

The strongest accuracy competitor is LoftQ run as a split branch on device. Its reported results are 88.0% MNLI accuracy at 2 bits against 79.9% for QLoRA, and WikiText-2 perplexity of 7.85 at 2 bits on Llama-2-7B against 5.47 at full precision (LoftQ). No reported result was found in our file for LoftQ's latency on any edge device.

CAR-LoRA is the second strong competitor because it already trains through compression. It reports retaining about 90% of performance at unseen INT3 (CAR-LoRA). Split QLoRA is the common practice and is included as well.

The ablation that isolates our key ingredient is standard LoRA trained on the full-precision model, merged, then requantized with the same $Q_g$. It has the same final form and the same speed as our method, but no merge-aware training.

All methods use the same base checkpoints, data, rank, optimizer steps and hyperparameter search budget (equal sweep size over learning rate), and run on identical device runtimes.

Our method beats the baselines if it matches LoftQ/CAR-LoRA split accuracy within one point (or within 0.2 perplexity) while matching the bare base's prefill latency and time per output token. It must also clearly beat the merge-then-requantize ablation at INT4 and INT3.

Why not just…?

Why not just run the adapter as a separate branch, since it is tiny? At rank 8 the adapter adds well under 1% of a layer's FLOPs. If edge runtimes executed it natively and fused, this alternative would win outright, because it keeps adapters swappable. The evidence against is indirect: kernel fragmentation and dequantization penalties on Orin (Rethinking Small VLM Quantization) and host scheduling stalls on mobile (lm-Meter). This is a real threat, and the phase-one gate settles it directly.

Why not just merge standard LoRA and requantize it with a good post-training quantizer? This is the most dangerous alternative. If updates survive rounding, it gives our speed at no training cost. It is our main ablation. We will report the bit-width at which it starts losing accuracy, and if it holds up at INT4, our contribution narrows to INT3 and below.

Why not just do full quantization-aware fine-tuning of all weights? It would produce the same deployed form, but at full fine-tuning memory cost. That defeats the purpose of low-rank adaptation for consumer-scale training. We include it at the 1B scale as an accuracy reference, not as a practical competitor.

Proposed Experiments

We will run the method and baselines on MNLI, SST-2 and SQuAD v1.1 with DeBERTaV3-base, following LoftQ's setup; on GSM8K for reasoning; and on WikiText-2 perplexity for 1B-scale and 7B models. For each, we report accuracy, prefill latency, time per output token, energy per token, peak memory, and accelerator fallback counts on Pixel and Jetson Orin NX/AGX, at INT4, INT3 and exploratory INT2.

The decisive checks are three. The first is whether split overhead exceeds about 5% end to end on at least one device class. The second is whether merge-aware adapters close the gap between naive merging and split LoftQ at INT4 and INT3. The third is whether the predicted relation between the "rounded-away fraction" of $BA$ and naive-merge accuracy loss holds across bit-widths.

We will also measure the time to rewrite quantized weights when switching between two merged adapters. This tells us when keeping swappable split adapters is the better choice.