并非所有模型都是相等的:预测自挑战Fisher空间中的模型可转移性
Not All Models Are Equal: Predicting Model Transferability in a Self-challenging Fisher Space
摘要:
本文解决了一个重要的问题,即对预训练的深度神经网络进行排名,并为下游任务筛选最可转移的深度神经网络。这是具有挑战性的,因为每个任务的地面实况模型排名只能通过对目标数据集上的预训练模型进行微调来生成,这是蛮力和计算成本。最近的先进方法提出了几个轻量级的可移植性指标来预测微调结果。然而,这些方法只捕捉静态表示,但忽略了微调动态。为此,本文提出了一种新的可转移性度量,称为\textbf{S}自我挑战\textbf{F}自适应\textbf{D}一致性\textbf{A}分析(\textbf{SFDA}),它具有许多现有工作所没有的吸引人的优点.首先,SFDA可以将静态特征嵌入到Fisher空间中,并对其进行细化,以获得更好的类间可分性。其次,SFDA使用自我挑战机制来鼓励不同的预训练模型在硬示例上进行区分。第三,SFDA可以轻松地选择多个预训练模型进行模型集成。在$11$下游任务的$33$预训练模型上进行的大量实验表明,SFDA在测量预训练模型的可移植性时是高效、有效和鲁棒的。例如,与最先进的方法NLEEP相比,SFDA展示了$59.1$ \%的平均增益,同时在挂钟时间内带来$22.5$ x的加速。该代码将在\url{https://github.com/TencentARC/SFDA}上提供。
英文摘要:
This paper addresses an important problem of ranking the pre-trained deep neural networks and screening the most transferable ones for downstream tasks. It is challenging because the ground-truth model ranking for each task can only be generated by fine-tuning the pre-trained models on the target dataset, which is brute-force and computationally expensive. Recent advanced methods proposed several lightweight transferability metrics to predict the fine-tuning results. However, these approaches only capture static representations but neglect the fine-tuning dynamics. To this end, this paper proposes a new transferability metric, called \textbf{S}elf-challenging \textbf{F}isher \textbf{D}iscriminant \textbf{A}nalysis (\textbf{SFDA}), which has many appealing benefits that existing works do not have. First, SFDA can embed the static features into a Fisher space and refine them for better separability between classes. Second, SFDA uses a self-challenging mechanism to encourage different pre-trained models to differentiate on hard examples. Third, SFDA can easily select multiple pre-trained models for the model ensemble. Extensive experiments on $33$ pre-trained models of $11$ downstream tasks show that SFDA is efficient, effective, and robust when measuring the transferability of pre-trained models. For instance, compared with the state-of-the-art method NLEEP, SFDA demonstrates an average of $59.1$\% gain while bringing $22.5$x speedup in wall-clock time. The code will be available at \url{https://github.com/TencentARC/SFDA}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。