Manuscript Offprint

arXiv:2610.01702

Task-Oriented Rank Adaptation for Continual Learning in Text Classification

Rey Sanchez Lopez, Eduardo Morales Manzanares, Hugo Jair Escalante

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Rey Sanchez Lopez 1^{1}, Eduardo Morales Manzanares 1^{1}, and Hugo Jair Escalante 1,2^{1,2}

1^{1}INAOE, Puebla, Mexico

2^{2}The University of Texas at El Paso, El Paso, TX, USA

rey.rsl@inaoep.mx

Abstract. Continual learning (CL) in text classification faces two critical challenges: catastrophic forgetting and negative transfer across sequential tasks. Parameter-Efficient Fine-Tuning (PEFT) methods such as LoRA enable efficient adaptation by learning low-rank updates of the model parameters. However, these compact representations are normally trained in isolation, limiting their reuse across related tasks. We introduce Task-Oriented Rank Adaptation (TORA), a geometric routing framework that leverages the low-rank structure of LoRA adapters to decide whether to transfer knowledge from the most compatible expert (Boosting) or isolate the new task (Shielding) based on structural similarity. Evaluated across 15 diverse text classification benchmarks, TORA consistently avoids harmful routing decisions: compatible tasks exceed their isolated performance while reducing training time, and structurally distant tasks are protected from interference with no loss in accuracy. With a single geometric threshold and no reliance on task identities or predefined sequences, TORA provides a simple and effective approach for dynamic adapter routing in sequential text classification systems.

Keywords: Continual Learning · Parameter-Efficient Fine-Tuning · Adapter Routing · Task Geometry · Text Classification.

1 Introduction

Transformer architectures have established the fundamental baseline for Text Classification applications [20]. However, extending these architectures to operate in sequential and dynamic environments introduces the Continual Learning (CL) problem, a machine learning paradigm that involves training a model on a sequential stream of tasks [4]. The primary objective is to adapt to new domains while maintaining high performance on previously seen tasks, even when access to historical training data is no longer available.

When a neural network is trained incrementally across multiple domains, it is highly susceptible to catastrophic forgetting [13], a phenomenon where learning new representations overwrites and degrades previously learned parameters. Furthermore, adapting the model to new data distributions often leads to negative transfer [25], where the interference between unrelated tasks deteriorates the overall accuracy and stability of the system.

R. Sánchez et al.

To mitigate catastrophic forgetting, recent literature has heavily adopted Parameter-Efficient Fine-Tuning (PEFT) mechanisms [6]. Specifically, Low-Rank Adaptation (LoRA) encapsulates task-specific learning into small, low-dimensional weight matrices [8]. By keeping the original pre-trained model frozen, LoRA perfectly protects the base knowledge from being overwritten.

However, this architectural separation also becomes a major limitation in continual learning scenarios, because these standard PEFT modules operate in strict isolation, the learned representations remain stored within their specific adapters. This strict separation prevents positive transfer between tasks with similar data distributions [2]. Consequently, models are forced to learn similar concepts from Scratch for every new task, ignoring the computational advantages of knowledge reuse and unnecessarily increasing the number of parameters.

We introduce Task-Oriented Rank Adaptation (TORA), a dynamic routing framework that overcomes the limitations of static adapter isolation in continual learning. In TORA, each previously learned LoRA adapter is treated as an expert, and the shared SVD reference space is constructed from the collection of all learned experts. Incoming tasks are projected into this common geometric space, where structural affinity is estimated through cosine similarity [14] between the new task and the stored experts. When affinity is detected, the router transfers knowledge from the most compatible expert to accelerate convergence (Boosting); otherwise, it enforces parameter isolation to prevent negative interference (Shielding) [15]. We validate this framework through a geometric analysis of 15 text classification benchmarks and a Monte Carlo simulation, demonstrating empirical advantages over static baselines in both accuracy and parameter efficiency.

The main contributions of this work are summarized as follows:

– We propose Task-Oriented Rank Adaptation (TORA), a geometric routing framework that estimates task affinity directly from LoRA adaptation weights in a shared SVD reference space, eliminating the need for semantic routing or trainable gating networks.

– We introduce a compact geometric task fingerprint that represents each LoRA adapter as a low-dimensional structural signature. These fingerprints enable efficient similarity estimation while avoiding computationally expensive manifold-based comparisons, making dynamic routing practical for continual learning.

– We validate the proposed framework on 15 text classification benchmarks and Monte Carlo simulations, demonstrating improved routing reliability, positive transfer, and computational savings over isolated training.

References (26)