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

Making LoRA Identifiable: Orthogonal Alignment for Continual Learning

Pratik Rakesh Singh, Mohammadi Zaki, Akash Saha, Aneesh Mukkamla, Pankaj WasnikNeurIPS 2026

TL;DR

When continually teaching a language model new tasks using a single shared LoRA adapter, merging old and new updates often fails because the adapter matrices speak in completely misaligned mathematical coordinate systems. SOAR (Stiefel Optimization and Aligned Rotation) fixes this geometric tower of Babel by locking the input matrix onto an orthonormal grid during training and smoothly rotating the output matrices into alignment before selectively blending them. The result is strong continual learning performance with zero extra memory overhead as tasks pile up.

What Problem Does This Paper Address?

Imagine you want an LLM to learn a sequence of new tasks over time without forgetting old ones (continual learning). Low-Rank Adaptation (LoRA) is great for this, updating frozen weights $\mathbf{W}_0$ by adding a lightweight product of two small matrices: $\Delta \mathbf{W} = \mathbf{B}\mathbf{A}$. While saving a separate LoRA per task avoids forgetting, memory costs grow linearly with the number of tasks. The holy grail is single-adapter continual learning: folding every new task into one shared $(\mathbf{B}, \mathbf{A})$ pair.

Here’s the catch: LoRA is mathematically non-identifiable. For any invertible matrix $\mathbf{R}$, $(\mathbf{B}\mathbf{R})(\mathbf{R}^{-1}\mathbf{A})$ produces the exact same weight update $\mathbf{B}\mathbf{A}$. Because standard optimizers don't enforce a canonical coordinate system, adapters trained on Task 1 and Task 2 end up in arbitrarily stretched, sheared, and rotated latent spaces. Directly averaging $\mathbf{B}^{(t)}$ and $\mathbf{B}^{(t-1)}$ isn't just combining different tasks—it's adding apples to sideways-sheared oranges, causing destructive interference that looks like catastrophic forgetting.

Methods

Prior work observed that $\mathbf{A}$ acts as an input subspace selector while $\mathbf{B}$ captures task-specific output adaptations. SOAR builds on this asymmetry with a two-stage geometric pipeline:

  1. Stiefel Optimization for $\mathbf{A}$ (During Training): Instead of unconstrained optimization, SOAR constrains $\mathbf{A}$ to lie on the row-Stiefel manifold ($\mathbf{A}\mathbf{A}^\top = \mathbf{I}_r$, meaning its rows are orthonormal) using Riemannian Adam. A neat mathematical proof (Lemma 3.1) shows this shrinks the wild ambiguity of arbitrary invertible matrices down to pure orthogonal rotations—no stretching or shearing allowed.
  2. Procrustes Alignment & Per-Rank Gating for $\mathbf{B}$ (At Consolidation): After fine-tuning on a new task, SOAR keeps the new $\mathbf{A}$ and merges the historical $\mathbf{B}_{\text{old}}$ into $\mathbf{B}_{\text{new}}$:
  3. Orthogonal Procrustes Alignment: Using a fast Singular Value Decomposition (SVD) on an $r \times r$ matrix, SOAR finds the exact rotation matrix $\mathbf{R}^*$ that aligns $\mathbf{B}_{\text{old}}$ into $\mathbf{B}_{\text{new}}$'s coordinate frame.
  4. Per-Rank Retention Gating: Rather than blending the aligned matrices with one global weight, SOAR evaluates each of the $r$ rank columns independently. It multiplies directional agreement (cosine similarity $c_i$) with a penalty for magnitude drift (normalized residual $\delta_i$). Directions that still point the same way and haven't shifted much in scale retain old knowledge; directions heavily rewritten by the new task let the new task take over.

Datasets

No new benchmarks are introduced; the authors follow established continual learning evaluation suites across eight different task-order permutations:

  • Standard CL Benchmark: 4 text classification datasets (DBpedia, AG News, Amazon Polarity, Yahoo Answers).
  • Large Number of Tasks (LNT): 15 tasks combining the 4 Standard CL datasets, 4 GLUE tasks (MNLI, QQP, SST-2, RTE), 4 SuperGLUE tasks (WiC, ReCoRD, MultiRC, BoolQ), and IMDB movie reviews.
  • SuperNI Benchmark: Diverse NLP tasks with expert-written instructions spanning dialogue generation, summarization, sentiment analysis, QA, and information extraction.

Key Insights and Ideas

  • Interference isn't always task conflict—sometimes it's just bad geometry: Even with uniform blending, simply rotating $\mathbf{B}_{\text{old}}$ via Procrustes alignment before merging immediately reduces forgetting, proving that coordinate mismatch is a real, hidden culprit in adapter merging.
  • You can't fake Stiefel geometry after the fact: What if you train normally and project $\mathbf{A}$ onto the Stiefel manifold afterward using QR decomposition? Ablations show this underperforms SOAR because post-hoc projection breaks the delicate coupling between $\mathbf{A}$ and $\mathbf{B}$ learned during training. Enforcing $\mathbf{A}\mathbf{A}^\top = \mathbf{I}_r$ during optimization is a true precondition for clean alignment.
Table 2: (%) Performance comparison of different initialization and merging on Qwen3-8B.
  • Both direction and scale matter for retention: In rank-wise gating, checking only cosine similarity preserves columns whose magnitudes were drastically rewritten, while checking only residual drift ignores directional flips. Multiplying them acts as a strict logical AND gate for safe knowledge retention.

Key Results

Evaluated across Qwen3-8B, Llama-3.1-8B-Instruct, and Llama-3.2-3B-Instruct, SOAR consistently beats sequential LoRA, multi-adapter methods, and offline model-merging baselines.

Table 1: (%) Performance comparison on three CL benchmark datasets using Qwen3-8B, across different task order, where Oi represents ith task order.
  • Accuracy Gains: On Qwen3-8B, SOAR hits 89.48% average accuracy on Standard CL, 70.96% on LNT, and 51.59% on SuperNI—outperforming the strongest single-LoRA baseline (SLAO) by +3.49%, +2.47%, and +3.75%, respectively. Similar gains hold across both Llama models.
  • Drastically Less Forgetting: SOAR achieves the best Backward Transfer (BWT) across every model and task order, slashing forgetting relative to SLAO by 52–70% on Standard CL and LNT, and 31–43% on SuperNI.
  • Constant Memory, Modest Compute Overhead: Adapter memory stays strictly constant at $\mathcal{O}((m+n)r)$. Riemannian steps and the tiny $r \times r$ SVD add only a 15.6% runtime overhead over vanilla sequential LoRA (1,582s vs. 1,368s for 4 tasks on an H100), scaling as $\mathcal{O}(r^3)$ independently of sequence length or batch size.

Limitations and Future Work

  • Rank-1 Granularity: SOAR gates retention column-by-column (individual rank directions), which may miss knowledge distributed across multi-dimensional subspaces. Moving toward subspace-level consolidation is a natural next step.
  • No Replay Safety Net: Because SOAR is strictly data-free and stores no past examples or adapters, any prior knowledge that gets completely overwritten by a new task is gone for good. Combining geometric alignment with lightweight memory solutions remains an open direction.

Summary updated

BibTeX
@inproceedings{singh2026making,
  author = {Pratik Rakesh Singh and Mohammadi Zaki and Akash Saha and Aneesh Mukkamla and Pankaj Wasnik},
  title = {{Making LoRA Identifiable: Orthogonal Alignment for Continual Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=6IGj3mpXfp},
}
Figure