arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2307.11342cs.CV
收藏

通过矩探测(Moment Probing)微调预训练模型

Tuning Pre-trained Model via Moment Probing

Tianjin University(天津大学);Baidu Research(百度研究院)

Mingze Gao, Qilong Wang, Zhenyi Lin, Pengfei Zhu, Qinghua Hu, Jingbo Zhou

AI总结:

针对现有高效微调方法对线性探测模块关注不足的问题,提出矩探测方法,通过特征一二阶矩近似特征分布构建分类器,搭配多头卷积互协方差与部分共享重校准参数模块,以更低成本实现更优性能。

摘要:

近年来,大规模预训练模型的高效微调吸引了越来越多的研究兴趣,其中线性探测(linear probing,LP)作为基础模块,被用于利用最终表征完成任务相关的分类。然而,现有方法大多关注如何有效引入少量可学习参数,很少有研究关注常用的LP模块。本文提出一种新颖的矩探测(Moment Probing,MP)方法,以进一步挖掘LP的潜力。与基于最终特征(例如ViT的词元token)或分类token的均值构建线性分类头的LP不同,我们的MP在特征分布上执行线性分类,通过挖掘特征中固有的更丰富统计信息提供更强的表征能力。具体而言,我们通过特征的特征函数来表示特征分布,并利用特征的一阶和二阶矩对其进行高效近似。此外,我们提出多头卷积互协方差(multi-head convolutional cross-covariance,MHC³),以高效且有效的方式计算二阶矩。考虑到MP可能会影响特征学习,我们基于MP引入了部分共享模块来学习主干网络的两个重校准参数(partially shared module to learn two recalibrating parameters,PSRP),即MP₊。在使用多种模型的十个基准数据集上开展的大量实验表明,我们的MP显著优于LP,且在更低训练成本下与同类方法性能相当,而我们的MP₊则取得了当前最优的性能。

英文摘要:

Recently, efficient fine-tuning of large-scale pre-trained models has attracted increasing research interests, where linear probing (LP) as a fundamental module is involved in exploiting the final representations for task-dependent classification. However, most of the existing methods focus on how to effectively introduce a few of learnable parameters, and little work pays attention to the commonly used LP module. In this paper, we propose a novel Moment Probing (MP) method to further explore the potential of LP. Distinguished from LP which builds a linear classification head based on the mean of final features (e.g., word tokens for ViT) or classification tokens, our MP performs a linear classifier on feature distribution, which provides the stronger representation ability by exploiting richer statistical information inherent in features. Specifically, we represent feature distribution by its characteristic function, which is efficiently approximated by using first- and second-order moments of features. Furthermore, we propose a multi-head convolutional cross-covariance (MHC$^3$) to compute second-order moments in an efficient and effective manner. By considering that MP could affect feature learning, we introduce a partially shared module to learn two recalibrating parameters (PSRP) for backbones based on MP, namely MP$_{+}$. Extensive experiments on ten benchmarks using various models show that our MP significantly outperforms LP and is competitive with counterparts at less training cost, while our MP$_{+}$ achieves state-of-the-art performance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑