SVFT: Parameter-Efficient Fine-Tuning with Singular Vectors

Vijay Lingam, Atula Tejaswi, Aditya Vavre, Aneesh Shetty, Gautham Krishna Gudur, Joydeep Ghosh, Alex Dimakis, Eunsol Choi, Aleksandar Bojchevski, Sujay Sanghavi

Abstract

Popular parameter-efficient fine-tuning (PEFT) methods, such as LoRA and its variants, freeze pre-trained model weights $W$ and inject learnable matrices $\Delta W$. These $\Delta W$ matrices are structured for efficient parameterization, often using techniques like low-rank approximations or scaling vectors. However, these methods typically show a performance gap compared to full fine-tuning. Although recent PEFT methods have narrowed this gap, they do so at the cost of additional learnable parameters. We propose SVFT, a simple approach that fundamentally differs from existing methods: the structure imposed on $\Delta W$ depends on the specific weight matrix $W$. Specifically, SVFT updates $W$ as a sparse combination of outer products of its singular vectors, training only the coefficients (scales) of these sparse combinations. This approach allows fine-grained control over expressivity through the number of coefficients. Extensive experiments on language and vision benchmarks show that SVFT recovers up to 96% of full fine-tuning performance while training only 0.006 to 0.25% of parameters, outperforming existing methods that only recover up to 85% performance using 0.03 to 0.8% of the trainable parameter budget.

Introduction

Adapting massive foundation models, such as LLaMA-3 or Vision Transformers, to specific downstream tasks typically requires fine-tuning. However, updating every parameter in models with billions of weights is prohibitively expensive in terms of compute and storage. To address this, researchers have turned to Parameter-Efficient Fine-Tuning (PEFT).

The most prominent PEFT method, LoRA (Low-Rank Adaptation), adds small, low-rank matrices to the original weights. Despite its popularity, LoRA and its derivatives are largely "structure-agnostic"—they treat every weight matrix as a blank slate, ignoring the specific mathematical geometry or "DNA" of the pre-trained weights. This often results in a performance gap compared to full fine-tuning. While newer methods like DoRA attempt to close this gap, they frequently increase the number of trainable parameters, reducing efficiency. SVFT (Singular Vectors guided Fine-Tuning) addresses these limitations by utilizing the internal structure of the pre-trained weights to guide the adaptation process.

Methodology

SVFT introduces a geometry-aware approach to fine-tuning. Instead of adding arbitrary low-rank matrices, SVFT leverages the Singular Value Decomposition (SVD) of the original weight matrix ($W = U\Sigma V^T$).

The core mechanism involves three steps:

  1. Decomposition: The frozen, pre-trained weight matrix is decomposed into its fundamental components: left singular vectors ($U$), singular values ($\Sigma$), and right singular vectors ($V^T$).
  2. Sparse Update: A sparse trainable matrix, $M$, is introduced. The weights are updated as: $W_{new} = U(\Sigma + M)V^T$.
  3. Coefficient Training: Only specific elements within $M$ are trained. This allows the model to precisely nudge its behavior using the directions (singular vectors) it already "understands" from the pre-training phase.

The researchers explored four distinct sparsity patterns for choosing which elements of $M$ to train:

  • Plain ($SVFT^P$): Updates only the diagonal (the singular values). This is the most parameter-efficient variant.
  • Banded ($SVFT^B$): Updates the diagonal and a set number of adjacent "neighbors" to allow for local interactions between singular vectors.
  • Random ($SVFT^R$): Randomly selects elements within $M$ to train.
  • Top-k ($SVFT^T$): Selects elements where the left and right singular vectors exhibit the highest alignment.

Experimental Evaluation

SVFT was evaluated across a rigorous suite of language and vision benchmarks:

  • Mathematical Reasoning: GSM-8K and MATH (using MetaMathQA-40K).
  • Commonsense Reasoning: Eight benchmarks including BoolQ, PIQA, HellaSwag, and WinoGrande.
  • Language Understanding: The GLUE benchmark (including MNLI and SST-2) using DeBERTaV3.
  • Computer Vision: Image classification tasks such as CIFAR-100, Food101, RESISC45, and Flowers102 using ViT-B and ViT-L architectures.

Key Results

SVFT demonstrated superior efficiency and performance across all categories:

  • Efficiency: The method recovers up to 96% of full fine-tuning performance while training only 0.006% to 0.25% of the total parameters.
  • Reasoning Performance: On Gemma-2B (GSM-8K), SVFT with 0.19M parameters achieved 40.34% accuracy, significantly outperforming LoRA ($r=1$) which achieved 32.97% accuracy with 0.82M parameters.
  • Scaling: On Gemma-7B, a banded SVFT variant matched the performance of a large LoRA ($r=32$) configuration while utilizing 7x fewer parameters.
  • Vision: For ViT-B, SVFT surpassed full fine-tuning performance on CIFAR-100 while using a fraction of the parameters required by LoRA or DoRA.

Discussion and Insights

SVFT's performance stems from its ability to produce high-rank perturbations at a low parameter cost. Unlike LoRA, which adds a separate update, SVFT modifies the internal structure of existing weights. This makes the updates "geometry-aware" and allows for more expressive adaptation without memory bloat during inference.

Furthermore, SVFT consistently occupies the "Pareto frontier," providing the optimal trade-off between accuracy and the number of trainable parameters. The results suggest that SVFT is particularly effective at extracting latent knowledge from high-quality pre-trained weights.

Limitations

Despite its efficiency, SVFT has specific trade-offs:

  • Memory Overhead: Training requires storing the $U$ and $V$ matrices, which roughly doubles the memory required for frozen weights compared to LoRA. However, once weights are fused for inference, the memory footprint is identical to the original model.
  • SVD Computation: The initial SVD calculation for large matrices is a one-time cost but can be computationally intensive.

Conclusion

SVFT represents a shift in PEFT methodology by moving from structure-agnostic updates to geometry-aware adaptations. By training the coefficients of a model's own singular vectors, SVFT achieves state-of-the-art performance with unprecedented parameter efficiency. Future work will explore learned sparsity patterns and the integration of SVFT with quantization techniques like QLoRA to further reduce hardware requirements.

Summary updated

BibTeX
@inproceedings{lingam2024svft,
  author = {Vijay Lingam and Atula Tejaswi and Aditya Vavre and Aneesh Shetty and Gautham Krishna Gudur and Joydeep Ghosh and Alex Dimakis and Eunsol Choi and Aleksandar Bojchevski and Sujay Sanghavi},
  title = {{SVFT: Parameter-Efficient Fine-Tuning with Singular Vectors}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=uS0PwIBzC0},
}
Figure