Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy

Yiting Yang, Hao Luo, Yuan Sun, Qingsen Yan, Haokui Zhang, Wei Dong, Guoqing Wang, Peng Wang, Yang Yang 0002, Hengtao Shen · DOI

Introduction

Parameter-Efficient Fine-Tuning (PEFT) has become the standard for adapting large-scale pre-trained models, such as Vision Transformers (ViTs), to downstream tasks. Methods like LoRA and Adapters introduce small bottleneck layers to minimize the number of trainable parameters. However, these methods often fail to preserve the structural properties of the original pre-trained weights. This paper identifies a critical discrepancy: while pre-trained ViT backbones naturally exhibit "approximate orthogonality" in their weight matrices, standard PEFT adapters do not. To bridge this gap, the authors propose Approximately Orthogonal Fine-Tuning (AOFT), a strategy that enforces orthogonality in adapter weights to enhance generalization.

The Orthogonality Gap

Mathematical analysis and empirical observations reveal that the weight vectors in pre-trained ViT backbones are nearly perpendicular to one another, clustering around a 90-degree angle. This property is closely linked to better model generalization. In contrast, standard PEFT methods like LoRA produce weight matrices where the angles between vectors are widely distributed, lacking this orthogonal structure.

Distribution of weight angles in a pre-trained ViT backbone, showing strong approximate orthogonality centered at 90 degrees.
Distribution of weight angles in standard PEFT methods, demonstrating a significant departure from orthogonality.

This "orthogonality gap" limits the effectiveness of adaptation. By aligning the adapter's weight distribution with that of the backbone, AOFT aims to maintain the pre-trained model's inherent generalization capabilities.

Approximately Orthogonal Fine-Tuning (AOFT)

The AOFT method generates nearly orthogonal adapter matrices from a single learnable vector $\vec{q}$. Using a mathematical generator derived from Householder-like transformations, a full matrix $Q$ is constructed. This $Q$ matrix replaces the standard learnable matrices in LoRA or Adapters.

To provide additional flexibility, the authors introduce AOFT*, which incorporates a learnable scaling vector. This allows the model to dynamically adjust the importance of different dimensions while maintaining the underlying orthogonal structure. Theoretically, AOFT reduces the L2 norm of the weights, which, according to Rademacher Complexity theory, lowers the upper bound of the model's generalization error.

Experimental Evaluation

The researchers evaluated AOFT across 24 benchmarks, including the Fine-Grained Visual Classification (FGVC) and the Visual Task Adaptation Benchmark (VTAB-1k).

  • VTAB-1k Performance: Integrating AOFT with Visual Prompt Tuning (VPT-Deep) yielded an average performance gain of 1.3% while reducing trainable parameters by an order of magnitude. When applied to LoRA, AOFT improved accuracy by 1.8% on average.
  • Efficiency: For standard Adapter configurations, AOFT reduced the parameter count from 0.41M to 0.20M while increasing Mean Total accuracy on FGVC from 85.7% to 90.1%.
  • Scalability: The method demonstrated consistent improvements across various model sizes (ViT-Base, Large, Huge) and architectures (e.g., Swin Transformers).

Conclusion

AOFT offers a mathematically grounded approach to PEFT by reintroducing orthogonality into the fine-tuning process. By generating adapter matrices from a single vector, it achieves superior accuracy and generalization across diverse visual tasks while significantly reducing the parameter footprint. Future work may extend this strategy to dense prediction tasks and explore alternative manifold constraints for enforcing orthogonality.

Summary updated

BibTeX
@inproceedings{yang2025efficient,
  author = {Yiting Yang and Hao Luo and Yuan Sun and Qingsen Yan and Haokui Zhang and Wei Dong and Guoqing Wang and Peng Wang and Yang Yang and Hengtao Shen},
  title = {{Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure