arXiv:2610.17730cs.CVOct 2026

Manuscript Offprint

arXiv:2610.17730

DT-LoRA: Reaching Beyond the Tangent Space of Low-Rank Adaptation

Yangming Zhang, Ling Yi, Datong Li, Jinliang Ding, Xiaojie Wang, Tiecheng Song, Zhaolong Ning

Abstract

Low-rank adaptation (LoRA) often underperforms full fine-tuning. We investigate this performance gap through a tangent-space lens: factorized updates are confined to the tangent space of the current low-rank factors, leaving gradient components outside this space unexploited. An analysis of ten representative LoRA variants reveals that these residual components account for most of the gradient energy and exhibit strong spectral concentration. Motivated by this finding, we propose Dynamic Tangent LoRA (DT-LoRA), which partitions a fixed rank budget into a stable branch and a dynamic branch to capture the principal residual gradient directions. We show that these directions define the optimal update of a local quadratic model under orthogonal-complement and rank constraints. Matrix-free randomized SVD recovers them without materializing the residual gradient, while controlled write-back preserves accumulated updates and stabilizes training within the allocated rank. DT-LoRA adds no trainable parameters or inference cost over LoRA. Experiments across computer vision and natural language processing tasks demonstrate consistent improvements over LoRA and its variants. Moreover, despite being a general-purpose adaptation method, DT-LoRA outperforms task-specific approaches to open-vocabulary domain generalization for semantic segmentation, achieving state-of-the-art results. Code is available at https://github.com/Snipine/DT-LoRA.

1. Introduction

Large-scale pre-trained models serve as general-purpose foundations for a wide range of vision and language tasks. However, as model sizes increase, full fine-tuning becomes prohibitively expensive, requiring all model parameters to be updated and a separate set of weights to be stored for each downstream task. Parameter-efficient fine-tuning (PEFT) reduces this cost by freezing the pre-trained weights and optimizing only a small set of parameters [11, 14, 17]. Among PEFT methods, low-rank adaptation (LoRA) [12] has been widely adopted for its low-rank parameterization of weight updates, which can be merged into the pre-trained weights without additional inference overhead.

Nevertheless, LoRA often falls short of full fine-tuning. Prior work narrows this gap by modifying the update structure (DoRA [25]), improving subspace initialization (PiSSA [26], LoRA-GA [35]), or correcting the factor gradients and optimizer states to better approximate full fine-tuning updates (LoRA-Pro [36], AltLoRA [41], LoFT [31]). However, a fundamental local constraint remains: under factor perturbations δA\delta A and δB\delta B, the first-order weight update lies entirely in the tangent space defined by the current factors. The dense gradient component orthogonal to this space therefore cannot be captured by any first-order update, regardless of how the factor gradients are corrected at the current step.

This raises a question: how much gradient information lies outside the current tangent space? We analyze the tangent-space residual gradient across ten representative LoRA variants (Fig. 1) and identify two consistent properties. First, the residual accounts for more than 85% of the total gradient energy across all methods. Second, it exhibits strong spectral concentration: the leading singular component captures more than 87% of the residual energy, while the top four capture more than 94%. These findings reveal that the current tangent space leaves substantial gradient information unexploited, yet most of this information can be recovered through a very low-rank approximation.

A natural idea to exploit the residual gradient is to continually incorporate its principal directions into the trainable subspace. However, increasing the rank incurs a proportional parameter cost, whereas replacing existing factors at a fixed rank can discard accumulated adaptation information and disrupt training continuity. ReLoRA [20],

∗^{*}Corresponding authors.

Flora [8], and GaLore [47] also switch low-rank subspaces during training, primarily to overcome rank limitations or reduce training memory, but do not explicitly target gradient components outside the current tangent space. The key challenge is therefore to incorporate these principal residual directions within a fixed rank budget while retaining learned information, maintaining training stability, and preserving mergeability into the pre-trained weights.

To address this challenge, we propose Dynamic Tangent LoRA (DT-LoRA), which partitions a fixed rank budget into a stable branch that accumulates task-specific directions as in standard LoRA and a dynamic branch that periodically absorbs principal residual directions outside the current tangent space. We prove that, under orthogonal-complement and rank constraints, the optimal update for a local quadratic model is given by the truncated SVD of the tangent-space residual gradient. Crucially, this residual inherits a factored structure from backpropagation, enabling its products with narrow matrices to be computed directly from cached input activations and output gradients. This structure allows us to construct matrix-free operators for Matrix-Free Randomized SVD, which extracts the principal residual directions via randomized SVD [7] without explicitly forming the residual gradient. To incorporate these directions while maintaining training stability, we introduce Controlled Write-back mechanism, which merges them with the current dynamic branch update, compresses the result back to the original rank, and bounds the relative change at each refresh. After training, both branches are merged into the pre-trained weights, yielding the same inference cost as standard LoRA.

We evaluate DT-LoRA across diverse vision and language tasks: the 19 image classification tasks in VTAB-1K; object detection and instance segmentation on MS COCO; open-vocabulary domain generalization for semantic segmentation (OVDG-SS) in both real-to-real and synthetic-to-real settings; eight commonsense reasoning tasks using LLaMA2-7B and LLaMA3-8B; and GLUE using DeBERTaV3-base. Under matched trainable parameter budgets, DT-LoRA consistently outperforms LoRA and its variants. On MS COCO, DT-LoRA at r=16r = 16 achieves an average score of 46.6, exceeding LoRA at the same rank by 8.2 points and outperforming LieRA [29], which uses twice as many trainable parameters. On OVDG-SS, DT-LoRA establishes new state-of-the-art results, surpassing the task-specific S2S^{2}-Corr [46] despite being a general-purpose fine-tuning method.

Our main contributions are summarized as follows:

• We identify a geometric limitation of factorized LoRA: substantial gradient energy lies outside the current tangent space. Across ten representative LoRA variants, we show that this tangent-space residual exhibits strong spectral concentration, and establish that its truncated SVD yields the optimal update under orthogonal-complement and rank constraints for a local quadratic model.

• We propose DT-LoRA, which partitions a fixed rank budget into Stable and Dynamic branches to incorporate principal residual directions. Matrix-Free Randomized SVD extracts these directions without materializing the residual gradient, while Controlled Write-back integrates them with accumulated updates and bounds the change at each refresh, enabling dynamic tangent-space adaptation without additional trainable parameters or inference overhead.

• We demonstrate the effectiveness of DT-LoRA across diverse vision and language tasks, with consistent improvements over LoRA and its variants under matched trainable parameter budgets. On OVDG-SS, DT-LoRA outperforms task-specific methods and establishes new state-of-the-art results.

References (46)