通过频域调节提升视觉Transformer的参数高效微调效果
Enhancing Parameter-Efficient Fine-Tuning of Vision Transformers through Frequency-Based Adaptation
- 在ViT块间引入频域适应模块,动态增强高频特征捕捉能力
- 24个数据集测试显示性能提升1%至16%,部分任务超基线10%以上
- 兼容现有方法,无需复杂调整,适合追求高效微调的研究者
通过参数高效微调(PEFT)适配视觉Transformer基础模型日益流行。这类方法仅优化少量参数,在不微调整个模型的前提下实现高效适应并保持良好性能。然而,传统PEFT方法可能限制模型对复杂模式的捕捉能力,尤其在高频率谱特征方面。研究表明,高频率特征对区分细微图像结构至关重要。为此,我们提出FreqFit——一种嵌入在ViT块间的新型频域微调模块,显著增强模型适应性。该模块简单却高效,可与所有现有PEFT方法集成以提升性能。通过在频域操控特征,模型能更有效地捕捉细微模式。在24个数据集上,使用监督与自监督基础模型及多种先进PEFT方法的广泛实验表明,FreqFit持续提升性能,增益范围为1%至16%。例如,FreqFit-LoRA在未使用正则化或强增强的情况下,于CIFAR100上超越当前最优基线超过10%。代码已公开于https://github.com/tsly123/FreqFiT。
原文摘要 · Abstract (English)
Adapting vision transformer foundation models through parameter-efficient fine-tuning (PEFT) methods has become increasingly popular. These methods optimize a limited subset of parameters, enabling efficient adaptation without the need to fine-tune the entire model while still achieving competitive performance. However, traditional PEFT methods may limit the model's capacity to capture complex patterns, especially those associated with high-frequency spectra. This limitation becomes particularly problematic as existing research indicates that high-frequency features are crucial for distinguishing subtle image structures. To address this issue, we introduce FreqFit, a novel Frequency Fine-tuning module between ViT blocks to enhance model adaptability. FreqFit is simple yet surprisingly effective, and can be integrated with all existing PEFT methods to boost their performance. By manipulating features in the frequency domain, our approach allows models to capture subtle patterns more effectively. Extensive experiments on 24 datasets, using both supervised and self-supervised foundational models with various state-of-the-art PEFT methods, reveal that FreqFit consistently improves performance over the original PEFT methods with performance gains ranging from 1% to 16%. For instance, FreqFit-LoRA surpasses the performances of state-of-the-art baselines on CIFAR100 by more than 10% even without applying regularization or strong augmentation. For reproducibility purposes, the source code is available at https://github.com/tsly123/FreqFiT.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。