Abstract
As Vision Transformers (ViTs) scale, adapting them to downstream tasks becomes computationally expensive. Traditional Parameter-Efficient Transfer Learning (PETL) methods reduce storage requirements but often fail to lower training memory due to architectural "entanglement." We present Synthesized Query Tuning (SynQT), a disentangled approach that separates task-specific learning from knowledge extraction. SynQT utilizes a Query Synthesis Module (QSM) to generate task-specific queries and a Knowledge Extraction Module (KEM) to probe frozen backbone features. This design reduces training memory by over 50% while achieving state-of-the-art accuracy on benchmarks like VTAB-1K.
Introduction
The adaptation of large-scale pre-trained Vision Transformers to specialized domains (e.g., medical imaging, satellite classification) is a significant challenge. While PETL methods like Visual Prompt Tuning (VPT) or LoRA minimize the number of learnable parameters, they typically insert new structures into the backbone. This entanglement modifies intermediate features, requiring the storage of heavy activation maps for backpropagation, which limits tuning on consumer-grade hardware.
Methodology: The SynQT Architecture
SynQT addresses memory inefficiency through a disentangled architecture that treats the pre-trained model as a frozen, read-only knowledge base.
Query Synthesis Module (QSM)
The QSM is a lightweight, independent component designed to learn task-specific requirements. It employs a small set of learnable tokens and bottleneck-structured layers to synthesize queries. Because the QSM does not modify the backbone, it avoids the memory overhead associated with updating deep internal representations.
Knowledge Extraction Module (KEM)
The KEM uses the synthesized queries to probe the frozen intermediate representations of the ViT. It reuses the original model’s attention and Feed-Forward Network (FFN) weights in a "query-only" fashion. By reading rather than modifying backbone features, SynQT significantly lowers the memory footprint during training.
Advanced Classification Head
To maximize performance, SynQT aggregates features across all network layers using:
- Conditional Feature Aggregation: Dynamically weights features from different layers based on the input image.
- DropFeat: A regularization technique that randomly drops features during training to prevent overfitting on specific layers.
Experimental Results
The effectiveness of SynQT was evaluated on the VTAB-1K benchmark, which includes 19 diverse classification tasks across Natural, Specialized, and Structured domains.
Performance and Memory Efficiency
As shown in the results table, SynQT achieves a top-1 average accuracy of 72.9% on VTAB-1K, outperforming VPT-Deep (72.0%) and VQT (68.3%). Crucially, SynQT consumes only 3.4 GB of GPU memory during training—a 56% reduction compared to the 8.1 GB required by VPT-Deep.
Robustness and Few-Shot Learning
SynQT demonstrates superior performance in low-data regimes (4, 8, and 16-shot tasks) and remains robust even when GPU memory is strictly constrained. Its ability to adaptively aggregate hierarchical features from middle layers proves vital for high performance in specialized domains.
Conclusion
SynQT demonstrates that disentangling task-specific learning from feature extraction is key to memory-efficient tuning. By treating the backbone as a frozen knowledge base, SynQT provides a scalable solution for adapting large ViTs without the prohibitive memory costs of traditional backpropagation. Future work will explore extending this disentangled approach to multi-modal tasks involving video and audio.
Summary updated