arXiv Machine Learning

A Margin Perspective on LoRA: Robustness to Catastrophic Forgetting and Adapter Merging (MaLoRA)

The paper presents a theoretical analysis of Low‑rank Adaptation (LoRA) from a margin‑based perspective, showing that in an intermediate regularization regime the optimal adapter aligns with the max‑margin solution for multiclass linear classification. It derives closed‑form expressions for margins on pre‑training and fine‑tuning data, revealing a trade‑off controlled by regularization, and proves that merging independently trained adapters yields positive margins on each task. Based on this, the authors propose a simple, training‑free merging rule called MaLoRA, which is validated experimentally on vision and language classification tasks, outperforming existing adapter‑merging baselines.

arXiv AI
Jul 22

Soft-TransFormers for Continual Learning

arXiv:2411. 16073v4 Announce Type: replace-cross Abstract: Inspired by the Well-initialized Lottery Ticket Hypothesis (WLTH), we introduce Soft-TransFormers (Soft-TF), a continual learning framework that adapts a frozen pre-trained Transformer through task-specific soft subnetworks: real-valued multiplicative masks over the query, key, value, and output projections of selected self-attention layers.

By Haeyong Kang, Chang D. Yoo
arXiv AI
Sep 28

Estimating and Orthogonalizing Unknown Pre-training Gradients for Continual Fine-tuning of Large Language Models

The paper introduces EoupCT, a framework that estimates and orthogonalizes unknown pre‑training gradients to mitigate catastrophic forgetting during continual fine‑tuning of large language models. It generates pseudo data most susceptible to forgetting using a learnable soft prompt with Gumbel‑Softmax, then jointly optimizes model parameters and the prompt via a first‑order Pareto optimizer to enforce orthogonality between new task updates and the estimated gradients. Experiments on multiple LLMs show that EoupCT preserves both task‑specific performance and the models’ inherent general‑purpose knowledge.

By Bing Wang, Changchun Li, Xin-Qiang Cai, Lin Yuanbo Wu, Ximing Li, Gang Niu, Masashi Sugiyama
arXiv Machine Learning
4d ago

Watch Where You Linearize: Predicting and Correcting Model-Merging Interference

The paper introduces a method for predicting and correcting interference when merging separately fine‑tuned models by adding their task vectors to a shared backbone. It shows that a first‑order directional derivative of a task’s outputs along another task’s vector, evaluated at the receiver model, can forecast interference and guide coefficient selection, halving accuracy error compared to a no‑change baseline. Building on this, the authors develop LR‑Merge, a label‑free correction that optimizes merge coefficients via convex teacher matching on unlabeled probes, improving performance across various base mergers without backpropagation through the merged network.

By Ido Nitzan Hidekel, Dan Raviv