Data Efficient Adaptation in Large Language Models via Continuous Low-Rank Fine-Tuning

Xiao Han, Zimo Zhao, Wanyu Wang, Maolin Wang, Zitao Liu, Yi Chang, Xiangyu Zhao

TL;DR

DEAL (Data-Efficient Adaptation via continuous Low-rank fine-tuning) is a novel framework enabling Large Language Models (LLMs) to learn new tasks sequentially without forgetting previous ones. By employing a wavelet-based filtering system to preserve core knowledge within LoRA adapters, DEAL achieves near-oracle performance across diverse tasks while maintaining the exact same inference speed as standard LoRA.

The Challenge: Catastrophic Forgetting and Overhead

Adapting LLMs to specific domains typically requires fine-tuning. However, two major hurdles persist in continuous learning environments: catastrophic forgetting and computational overhead.

When an LLM is fine-tuned on a new task, it often overwrites the weights associated with previously learned tasks, causing it to "forget" them. While Parameter-Efficient Fine-Tuning (PEFT) methods like Low-Rank Adaptation (LoRA) reduce the number of trainable parameters, they do not inherently solve the forgetting problem in sequential learning. Existing workarounds often involve stacking multiple adapters—which slows down inference—or employing complex, computationally expensive model-editing techniques.

The DEAL framework addresses this by enabling continuous, data-efficient learning within a single set of LoRA parameters, preserving both performance and inference speed.

The DEAL Framework

DEAL integrates two innovative modules into the standard LoRA pipeline to balance the retention of old knowledge with the acquisition of new information:

The DEAL framework overview showing the dual-module approach to continuous learning.
  1. Wavelet Kernel-based Knowledge Retention: The authors treat the LoRA matrices ($A$ and $B$) as containing a mix of essential task knowledge ("signal") and "noise." They utilize a wavelet neural network—specifically a heat kernel acting as a low-pass filter—to extract and preserve the core features of historical knowledge. This ensures that the macro-level patterns of previously learned tasks are shielded from being overwritten.
  2. Controlled Knowledge Updating: New task information is integrated through a small Multi-Layer Perceptron (MLP). To balance old and new knowledge, DEAL employs asymmetric regularization. It applies a stricter penalty ($\lambda_1$) on changes to the core retained features and a lighter penalty ($\lambda_2$) on the adaptation branch.

Crucially, once training is complete, the updated parameters are merged back into the standard low-rank matrices. At inference time, the model operates exactly like a standard LoRA-tuned model, incurring zero additional latency.

Experimental Setup

The researchers evaluated DEAL across 15 diverse datasets spanning three main continuous learning scenarios:

  • Same-domain tasks: AG News, DBpedia, and Yahoo Answers.
  • Domain-shift tasks: Adding Amazon Reviews to the above to test sentiment analysis adaptation.
  • Heterogeneous multi-task learning: A massive 15-task sequence including the GLUE and SuperGLUE suites (MNLI, QQP, RTE, SST-2, WiC, CB, COPA, MultiRC, BoolQ) and IMDB.

Key Insights

  • LoRA as Signal Processing: A major conceptual breakthrough in DEAL is treating weight updates as a signal processing problem. By using wavelets to filter out high-frequency "noise" and retain low-frequency "core knowledge," the model's memory becomes significantly more stable over time.
  • The Importance of Matrix A: Through ablation studies, the authors discovered that updating the $A$ matrix (which governs global projection) is more critical for retaining generalizable patterns than the $B$ matrix (which tends to be more task-specific).
Ablation studies showing the impact of different adapter update strategies.
  • Stability via Asymmetry: The most effective results stemmed from a "retention-heavy" regularization strategy. Penalizing changes to old knowledge more heavily than the acquisition of new knowledge provided the optimal trade-off between stability and plasticity.

Key Results

DEAL consistently outperformed standard sequential LoRA and other state-of-the-art continual learning methods:

  • Accuracy Gains: On a 4-task benchmark using T5-Large, DEAL achieved 78.5% Average Accuracy, compared to just 44.6% for a naive sequential LoRA approach and 71.2% for O-LoRA.
  • Scalability: On the rigorous 15-task benchmark with LLaMA-3.1-8B, DEAL maintained a high accuracy of 74.6%, proving its robustness over long sequences of diverse tasks.
  • Inference Efficiency: While the wavelet module adds some overhead during training (an approximate 43% drop in throughput), inference latency remains virtually identical to standard LoRA (~73ms vs. ~71ms per sample).

Limitations and Future Directions

While DEAL represents a significant step forward for continuous LLM adaptation, the authors note a few areas for future exploration:

  • Static Capacity: The current model uses a fixed LoRA rank. Future iterations could benefit from dynamic capacity allocation, increasing the rank for more complex tasks.
  • Task Boundaries: The framework currently assumes clear task boundaries and a fixed training order. Real-world data streams are often blurrier and non-stationary.
  • Meta-Learning: The authors suggest that incorporating "meta-regularization" could further enhance forward transfer, enabling the model to leverage old knowledge to learn new tasks even faster.

Summary updated

BibTeX
@inproceedings{han2025data,
  author = {Xiao Han and ZIMO ZHAO and Wanyu Wang and Maolin Wang and Zitao Liu and Yi Chang and Xiangyu Zhao},
  title = {{Data Efficient Adaptation in Large Language Models via Continuous Low-Rank Fine-Tuning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=2Qn6skg175},
}
Figure