TL;DR
The authors introduce FreqAdapter (Multi-Scale Frequency Adapter), a novel parameter-efficient fine-tuning (PEFT) framework that operates in the frequency domain rather than the traditional spatial domain. By leveraging the Discrete Cosine Transform (DCT), FreqAdapter applies text-guided, multi-scale adjustments to visual features, achieving state-of-the-art performance and remarkably fast convergence (within a single epoch) on multimodal tasks while adding negligible computational overhead.
What Problem Does This Paper Address?
Parameter-efficient fine-tuning (PEFT) methods like prompt tuning, adapter tuning, and LoRA have become essential for adapting massive pre-trained models to downstream tasks without incurring prohibitive computational costs. However, the authors identify two major limitations in current vision-language PEFT approaches:
- Spatial Domain Redundancy: Most existing methods fine-tune features directly in the spatial domain. Visual signals in the spatial domain contain significant information redundancy and token-level noise, which can lead to unstable optimization or overfitting under tight parameter budgets.
- Uniform Scale Adjustments: Conventional adapters typically apply a uniform transformation across the entire feature set, failing to account for the inherent multi-scale characteristics of visual signals (where different frequency bands represent different levels of semantic detail).
To bridge this gap, this paper explores whether adapting features in the frequency domain can yield more compact, robust, and multi-scale representations for multimodal models like CLIP and LLaVA.
Methods
FreqAdapter introduces an end-to-end frequency-domain adaptation pipeline. Given an image-text pair, the framework processes visual and textual features as follows:
- Frequency Transformation: Visual embeddings ($E_v$) and textual embeddings ($Et$) from a pre-trained backbone (like CLIP) are transformed into the frequency domain using the Discrete Cosine Transform (DCT), yielding frequency representations $X_v$ and $X_t$.
- Multi-Scale Adaptation Strategy: To capture diverse receptive fields, the frequency features are downsampled into $N$ different scales.
- Dual-Component Adaptation: At each scale, features are passed through two lightweight modules:
- Multi-Scale Global Frequency Adapter (MGFA): Globally calibrates visual frequency features using a lightweight two-layer bottleneck projection to ensure stable coordination across coupled frequency coefficients.
- Multi-Scale Cross-Modal Frequency Adapter (MCFA): Injects textual guidance by predicting affine modulation parameters ($\gamma, \beta$) from the text features $X_t$ and applying them element-wise to the visual features ($\gamma \odot X_{v,n} + \beta$).
- Spatial Reconstruction: The refined multi-scale frequency features are upsampled, averaged, and transformed back into the spatial domain via the Inverse Discrete Cosine Transform (IDCT) before being fed into the subsequent layers of the model.
Datasets
The authors evaluated FreqAdapter across multiple standard benchmarks:
- MS COCO 2017: Used for training (training set) and evaluation (validation set) on image-to-text and text-to-image retrieval tasks.
- Flickr30K: Used to evaluate the model's zero-shot generalization capabilities on validation and test subsets.
- MM-Vet & LLaVA-Bench: Used to test the downstream performance of FreqAdapter when integrated into Large Vision-Language Models (LVLMs) for Visual Question Answering (VQA) tasks.
Key Insights and Ideas
- Information Concentration in Low Frequencies: A key motivation for this work is that semantic information is highly concentrated in low-frequency components. The authors demonstrate that retaining just 25.8% of the lowest DCT frequencies preserves a 0.5 cosine similarity to the full spatial embedding, and 81.5% of frequencies achieve over 0.9 similarity. This concentration allows adapters to focus updates on highly informative, decorrelated components.
- Optimization Stability: Because the DCT is an orthogonal transformation, it preserves gradient magnitudes ($\| \nabla_{e_i} \mathcal{L} \|_2 = \| \nabla_{\hat{e}_i} \mathcal{L} \|_2$). This ensures identical optimization stability in both domains while allowing the model to cleanly separate low-frequency global semantics from high-frequency local noise.
- Why Spatial Adapters Overfit: In direct comparisons, spatial domain adapters often suffer from overfitting and performance collapse in the latter half of a training epoch. FreqAdapter's frequency-domain representations are less redundant, leading to cleaner parameter updates and a smoother optimization trajectory.
Key Results
Image-Text Retrieval
FreqAdapter consistently outperforms competitive PEFT baselines (such as CoOp, MaPLe, CLIP-Adapter, and MMA) across CLIP-B/16, CLIP-L/14, and CLIP-L/14-336 backbones. On the MS COCO dataset, FreqAdapter improved the R@1 score by up to 4.9% for text-to-image retrieval under the CLIP-L/14 setting. It also demonstrated superior zero-shot generalization on Flickr30K.
Integration with LLaVA (VQA Tasks)
As a plug-and-play module, a FreqAdapter trained on CLIP can be directly inserted into LLaVA 1.5 without modifying the LLM backbone.
- On MM-Vet, FreqAdapter achieved a score of 37.4 (LLaVA 1.5-13B), notably outperforming the "w/o prompt" baseline (32.8) and spatial alternatives like CLIP-Adapter (32.9).
- Qualitative analysis shows that FreqAdapter helps the model better comprehend fine-grained textual and numerical details within images, such as reading specific numbers on a gas station price sign to perform arithmetic calculations.
Efficiency
FreqAdapter introduces a highly competitive parameter footprint (476.4k parameters, representing just 0.11% of the backbone). Its total computational cost (362.6 GFLOPs) is nearly identical to the frozen CLIP baseline (362.5 GFLOPs), making the overhead negligible during inference.
Limitations and Future Work
While empirically strong, the authors note a few limitations:
- Theoretical Depth: The exact mathematical reasons behind why frequency-domain cross-modal adaptation generalizes so robustly warrant deeper theoretical exploration.
- Scale Constraints: The study primarily focuses on CLIP-based vision encoders with relatively small parameter scales.
- Future Directions: The authors suggest extending this frequency adaptation mechanism to larger multimodal language models and exploring frequency-domain network pruning or parameter factorization to further optimize the accuracy-resource trade-off.
Summary updated