English

FullLoRA: Efficiently Boosting the Robustness of Pretrained Vision Transformers

Computer Vision and Pattern Recognition 2025-06-24 v2

Abstract

In recent years, the Vision Transformer (ViT) model has gradually become mainstream in various computer vision tasks, and the robustness of the model has received increasing attention. However, existing large models tend to prioritize performance during training, potentially neglecting the robustness, which may lead to serious security concerns. In this paper, we establish a new challenge: exploring how to use a small number of additional parameters for adversarial finetuning to quickly and effectively enhance the adversarial robustness of a standardly trained model. To address this challenge, we develop novel LNLoRA module, incorporating a learnable layer normalization before the conventional LoRA module, which helps mitigate magnitude differences in parameters between the adversarial and standard training paradigms. Furthermore, we propose the FullLoRA framework by integrating the learnable LNLoRA modules into all key components of ViT-based models while keeping the pretrained model frozen, which can significantly improve the model robustness via adversarial finetuning in a parameter-efficient manner. Extensive experiments on several datasets demonstrate the superiority of our proposed FullLoRA framework. It achieves comparable robustness with full finetuning while only requiring about 5\% of the learnable parameters. This also effectively addresses concerns regarding extra model storage space and enormous training time caused by adversarial finetuning.

Keywords

Cite

@article{arxiv.2401.01752,
  title  = {FullLoRA: Efficiently Boosting the Robustness of Pretrained Vision Transformers},
  author = {Zheng Yuan and Jie Zhang and Shiguang Shan and Xilin Chen},
  journal= {arXiv preprint arXiv:2401.01752},
  year   = {2025}
}

Comments

Accepted by IEEE Transactions on Image Processing (TIP). 11 pages, 3 figures, 8 tables

R2 v1 2026-06-28T14:07:49.598Z