Fast Trainable Projection for Robust Fine-Tuning

Junjiao Tian, Yen-Cheng Liu, James Seale Smith, Z. Kira
2/12/2026

No official code found. Best implementation: GT-RIPL/FTP (12 stars, MIT, last commit 2023-11-16).

Abstract

Robust fine-tuning aims to achieve competitive in-distribution (ID) performance while maintaining the out-of-distribution (OOD) robustness of a pre-trained model when transferring it to a downstream task. Recently, projected gradient descent has been successfully used in robust fine-tuning by constraining the deviation from the initialization of the fine-tuned model explicitly through projection. However, algorithmically, two limitations prevent this method from being adopted more widely, scalability and efficiency. In this paper, we propose a new projection-based fine-tuning algorithm, Fast Trainable Projection (FTP) for computationally efficient learning of per-layer projection constraints, resulting in an average $35\%$ speedup on our benchmarks compared to prior works. FTP can be combined with existing optimizers such as AdamW, and be used in a plug-and-play fashion. Finally, we show that FTP is a special instance of hyper-optimizers that tune the hyper-parameters of optimizers in a learnable manner through nested differentiation. Empirically, we show superior robustness on OOD datasets, including domain shifts and natural corruptions, across four different vision tasks with five different pre-trained models. Additionally, we demonstrate that FTP is broadly applicable and beneficial to other learning scenarios such as low-label and continual learning settings thanks to its easy adaptability. The code will be available at https://github.com/GT-RIPL/FTP.git.

View on arXivView PDF

Code Implementations(1)

GT-RIPL/FTPCommunity100%
MIT

This repo hosts the code for the Fast Trainable Projection (FTP) project.

122Shell, PythonOct 20, 20232 years agoMIT

Similar Papers

Cite this paper

@article{tian2026fast,
  title  = {Fast Trainable Projection for Robust Fine-Tuning},
  author = {Junjiao Tian and Yen-Cheng Liu and James Seale Smith and Z. Kira},
  year   = {2026},
  eprint = {2310.19182},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2310.19182},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.19182.svg)](https://codeofpaper.com/paper/2310.19182)

Discussion