arXiv:2611.23428cs.LGNov 2026

Manuscript Offprint

arXiv:2611.23428

When Does Subspace Direction Matter for LoRA? Regime Analysis of the Magnitude Principle in Few-Shot Adaptation

Nischal Subedi, Cencheng Shen, Peng Zhao

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

Abstract

We show that the importance of a LoRA adapter’s initial input-subspace direction is regime-dependent, and we characterize this dependence in theory and experiment. This refines the recent view that spectral initializers help through update magnitude alone. Direction matters most when labeled data are scarce relative to the representation dimension and the activation subspace used for initialization captures supervised task structure. In this regime, the adapter’s row span remains sensitive to its starting point, making task-aligned initialization especially useful. A spiked-covariance perturbation analysis characterizes the finite-sample stability of the estimated subspace. A first-step analysis of LoRA training explains why the subspace’s alignment with the task matters and motivates an alignment coefficient ρ\rho that closely tracks gains across classification tasks. We test this account with PivotLoRA, which initializes adapters from activation PCA at prediction-relevant positions and applies one output-preserving orthogonal pivot early in training. In few-shot BERT-base classification, PivotLoRA achieves the best average rank among 13 methods and improves over vanilla LoRA in 29 of 30 settings, even though it starts from a smaller input-factor initialization norm. Additional classification experiments extend the evaluation to 7B and 8B Llama decoders. Classification gains diminish with more labeled data, consistent with the proposed regime dependence. A targeted extension to completion-only reasoning also shows improvements on GSM8K and StrategyQA. These findings identify conditions under which initialization direction matters, with subspace–task alignment offering a low-cost diagnostic before training for classification.

1 Introduction

Low-Rank Adaptation (Hu et al., 2022) efficiently adapts pretrained models by parameterizing weight updates with low-rank factors. The input factor determines the feature subspace through which adaptation initially proceeds. Existing initialization methods derive directions for this subspace from singular components of pretrained weights (Meng et al., 2024; Wang et al., 2025), task gradients (Wang et al., 2024; Zhang et al., 2025a), or activation statistics (Paischer et al., 2025; Yang et al., 2024). Recent work attributes gains from pretrained-weight spectral initialization primarily to amplified update magnitudes instead of the selected singular directions themselves (Zhang et al., 2025b). This leaves open when initialization direction materially affects adaptation. We study this question primarily in classification, with a targeted extension to generation, by applying PCA to frozen-model activations from the adaptation set at positions associated with the supervised prediction. These include the [CLS] position in encoder classification, the mean over input positions in decoder classification, where the label describes the whole sequence, and hidden states that predict supervised response tokens in completion-only generation.

Our central claim is that the value of initialization direction is regime-dependent. Direction matters most when labeled data are scarce relative to the representation dimension and the estimated subspace captures supervised task structure. A spiked-covariance Davis–Kahan analysis shows what limits such an estimate, since its error depends on the effective dimension-to-sample ratio and the spectral gap. The same qualitative pattern appears in synthetic experiments and transformer activations, where the ambient ratio d/Nd/N provides a simple proxy for the dimensional regime. For BERT-base, d=768d=768 and N=16N=16 gives d/N=48d/N=48; for 7B and 8B decoders with d=4096d=4096, the high-dimensional regime persists at N=64N=64. A large d/Nd/N is not sufficient, however, because the selected subspace must also contain structure relevant to the supervised objective.

The role of alignment also appears in the first useful LoRA update. Standard LoRA initializes the output factor with B=0B=0, so initially ΔW=0\Delta W=0 and the gradient with respect to the input factor AA is zero. The first nonzero adapter signal enters through the projected features Ah(x)Ah(x) in the update to BB. Under a class-conditional model, the squared norm of the initial population gradient depends on the supervised structure captured by the row span of AA. We quantify this structure with an alignment coefficient ρ\rho, defined as the fraction of between-class scatter captured by a candidate subspace. For BERT-base with rank r=8r=8, a random subspace captures approximately r/d≈1%r/d\approx 1\% of this signal in expectation, whereas prediction-position PCA captures up to 84%84\% on high-alignment tasks. Across seven classification tasks, ρ\rho tracks PivotLoRA’s shared-protocol gain with Pearson r=0.93r=0.93 and exact permutation p=0.002p=0.002. The coefficient ρ\rho thus offers a low-cost measure of subspace–task alignment for classification.

Motivated by this analysis, we propose PivotLoRA. The method initializes the LoRA input factor from prediction-relevant activation PCA and allows early task gradients to refine its span. As the factors evolve, however, the input basis can acquire unequal scales and correlations that affect subsequent optimization. We therefore separate learning the span from normalizing its coordinates. After KK epochs, PivotLoRA performs one output-preserving orthogonal pivot. Under a full-row-rank condition, the pivot replaces the learned input basis with an orthonormal basis for the same row span and re-encodes the output factor to preserve the adapter update. This retains the task-adapted directions while resetting AA⊤AA^{\top} to the identity, allowing training to continue in normalized coordinates without changing the model function at the pivot.

Our primary evaluation focuses on few-shot classification, covering 30 BERT-base settings and 13 methods, with additional classification experiments on Llama-2-7B and Llama-3.1-8B. PivotLoRA ranks first overall and improves over vanilla LoRA in 29 of 30 primary BERT settings, with the largest shared-protocol gains concentrated in low-sample, high-alignment tasks. PivotLoRA achieves these gains despite starting from a smaller initialization norm than vanilla LoRA. Separately, restoring LoRAM’s intended initialization magnitude does not eliminate its performance deficit relative to vanilla LoRA. In full-data classification, the gains from initialization direction diminish, consistent with the proposed dependence on labeled sample size. Beyond classification, we conduct a targeted evaluation of the activation construction for generation. GPT-2 summarization shows that a large d/Nd/N alone is not enough, as PivotLoRA is competitive with LoRA there but not decisively better. We also evaluate response-predictor activation initialization in completion-only adaptation with Llama-3.1-8B. Under a matched protocol, this extension improves generated-answer accuracy on GSM8K and StrategyQA by 4.5 and 3.6 percentage points, respectively.

Contributions. First, we identify a regime in which LoRA initialization direction matters, combining a high dimension-to-sample ratio with strong subspace–task alignment. Second, we support this view through a spiked-covariance Davis–Kahan analysis, a local first-step LoRA analysis, and validation on synthetic and transformer activations. Third, we propose PivotLoRA, which combines prediction-relevant activation-subspace initialization with one output-preserving orthogonal reparameterization. Fourth, we introduce ρ\rho as a frozen-forward-pass diagnostic for classification and evaluate PivotLoRA primarily through few-shot classification across encoder and decoder models, complemented by full-data and summarization controls and a targeted extension to generated-answer reasoning.

References (24)