[Paper Review] Visual Fourier Prompt Tuning
This paper proposes Visual Fourier Prompt Tuning (VFPT), a parameter-efficient fine-tuning method that integrates Fast Fourier Transform (FFT) into learnable visual prompt embeddings to jointly exploit spatial and frequency domain information. By doing so, VFPT achieves state-of-the-art performance with only 0.57% of model parameters on VTAB-1k, improving mean accuracy to 73.20% while maintaining low training overhead and enhancing generalization under large data distribution shifts.
With the scale of vision Transformer-based models continuing to grow, finetuning these large-scale pretrained models for new tasks has become increasingly parameter-intensive. Visual prompt tuning is introduced as a parameter-efficient finetuning (PEFT) method to this trend. Despite its successes, a notable research challenge persists within almost all PEFT approaches: significant performance degradation is observed when there is a substantial disparity between the datasets applied in pretraining and finetuning phases. To address this challenge, we draw inspiration from human visual cognition, and propose the Visual Fourier Prompt Tuning (VFPT) method as a general and effective solution for adapting large-scale transformer-based models. Our approach innovatively incorporates the Fast Fourier Transform into prompt embeddings and harmoniously considers both spatial and frequency domain information. Apart from its inherent simplicity and intuitiveness, VFPT exhibits superior performance across all datasets, offering a general solution to dataset challenges, irrespective of data disparities. Empirical results demonstrate that our approach outperforms current state-of-the-art baselines on two benchmarks, with low parameter usage (e.g., 0.57% of model parameters on VTAB-1k) and notable performance enhancements (e.g., 73.20% of mean accuracy on VTAB-1k). Our code is avaliable at https://github.com/runtsang/VFPT.
Motivation & Objective
- To address the persistent performance degradation in visual prompt tuning when pretraining and fine-tuning datasets differ significantly in distribution.
- To improve generalization and robustness of prompt tuning across diverse datasets by emulating human visual cognition's multi-domain processing.
- To develop a simple, efficient, and interpretable method that integrates frequency domain information into visual prompt tuning without architectural changes.
- To demonstrate that combining spatial and frequency representations in prompts enhances model performance and optimization stability.
Proposed method
- The method applies the Fast Fourier Transform (FFT) to learnable visual prompt embeddings, transforming them from the spatial domain into the frequency domain.
- It introduces a Fourier percentage hyperparameter α to control the proportion of frequency components retained in the prompt representation.
- The frequency-domain prompt embeddings are then used to condition the frozen vision transformer, enabling joint processing of spatial and spectral features.
- The approach is compatible with standard pretrain-then-fine-tune paradigms and maintains low computational cost due to FFT’s O(n log n) complexity.
- The method is implemented in PyTorch and integrates seamlessly with existing vision transformer backbones and prompt tuning frameworks.
- Interpretability is enhanced by visualizing attention maps, which show higher concentration in relevant regions when frequency components are included.
Experimental results
Research questions
- RQ1Can prompt tuning generalize effectively across datasets with large distributional disparities?
- RQ2How can frequency domain information be effectively integrated into visual prompt tuning to improve robustness and performance?
- RQ3Can the human visual cognition mechanism—processing signals across multiple domains—be emulated in vision models via Fourier-based prompt tuning?
- RQ4Does combining spatial and frequency representations in prompts lead to flatter optimization landscapes and improved convergence?
- RQ5What is the optimal balance between spatial and frequency components in prompts for generalization?
Key findings
- VFPT achieves a mean accuracy of 73.20% on the VTAB-1k benchmark, significantly outperforming existing state-of-the-art baselines.
- The method uses only 0.57% of the full model’s parameters, demonstrating high parameter efficiency.
- Training speed is only reduced by 2.8% compared to standard visual prompt tuning, indicating minimal computational overhead.
- The optimization process exhibits increased flatness and convexity, suggesting smoother convergence and better generalization.
- Attention maps show a marked concentration of scores in relevant regions when frequency components are used, explaining the performance gains.
- The Fourier percentage hyperparameter α can be guided by dataset disparity: low disparity tasks prefer smaller α, while high disparity tasks benefit from larger α.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.