TECHNOLOGY

Compress-then-Merge: choosing a shared subspace before combining LoRAs

In this article
THE QUICK TAKE

CtM chooses the low-rank space before merging. A guaranteed output rank and a faster subspace calculation do not establish the peak memory of an entire workflow.

Compress-then-Merge, released on 2 June 2026, addresses a specific deployment problem: several task-specific LoRAs should become a single adapter with a fixed rank. Producing a dense merged update and compressing it afterward can lose useful task directions, even when the dense intermediate performs well.

The bottleneck comes before the merge

CtM learns shared left and right subspaces from the adapter weights. Each original task update is projected into compact coordinates, an existing merging rule combines those coordinates, and the result is lifted back through the shared bases. The output rank is bounded by construction, so a later truncation step is unnecessary.

The method does not merely average independently compressed adapters. A shared coordinate system makes the representation comparable across tasks. Normalization and a tunable reweighting parameter control whether large-norm updates dominate the basis learning. Importantly, those reweighted surrogates select the bases; the actual merging coordinates are calculated from the original updates. These are distinct steps with different purposes.

Data-free basis learning still has evaluation choices

Learning the shared subspace requires no auxiliary examples. However, the experiments tune merging hyperparameters using validation holdouts and report test performance. Calling the entire experimental selection procedure data-free would therefore overstate the claim.

The main vision setting uses CLIP ViT-B/32 across eight datasets. The language setting uses LLaMA3-8B across six natural language inference tasks. Attention projection adapters have rank 16. Accuracy is normalized by each corresponding single-task adapter, so a reported normalized value is not an absolute percentage of correctly answered examples. The LoRA merge guide explains the underlying weight update; CtM adds the choice of a common constrained space.

What the reported comparison shows

For the vision setting with TIES in CoreSpace, the paper reports normalized average accuracy of 65.33 after merge-then-compress, compared with 69.75 for CtM. These are author results within the specified task collection. They do not establish an advantage for arbitrary adapters, different base models or unrelated generative tasks.

The pre-compression and post-compression baseline scores are tuned separately. Their difference therefore compares selected configurations, rather than measuring the damage caused by truncating the exact same selected checkpoint. The paper’s broader result is that a good dense merge is insufficient to guarantee a good constrained adapter. Its tables also retain task-specific variation, which matters when an average hides a regression on a required task.

Compact coordinates and measured memory are separate

The paper accelerates basis learning inside a core space spanning the concatenated LoRA factors. That construction preserves the represented input updates before the target-rank bottleneck. It does not make the final constrained merge lossless in task behavior.

The official repository identifies separate configurations for the CtM path, conventional coordinate spaces and low-rank output evaluation. Its presence establishes an implementation path, without being an independent reproduction. Neither the rank guarantee nor the compact coordinate description supplies a measured peak VRAM reduction for loading adapters, decomposition, search and evaluation together. The LoRA memory guide helps keep stored adapter parameters separate from the base model, temporary workspaces and runtime activations. A deployment comparison should report those costs and per-task quality under the same final rank budget.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles