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

一种用于快速模型选择的两阶段召回-选择框架

A Two-Phase Recall-and-Select Framework for Fast Model Selection

Renmin University of China(中国人民大学)

Jianwei Cui, Wenhang Shi, Honglin Tao, Wei Lu, Xiaoyong Du

AI总结:

本文提出两阶段召回-选择框架,通过离线聚类模型训练性能并利用代理分数快速召回候选模型,再结合收敛趋势预测和逐次减半微调,实现比传统方法快约3倍的高性能模型选择。

摘要:

随着深度学习在各种机器学习应用中的普及,大量神经网络模型已在公共模型库中被训练和共享。在特定机器学习任务中,利用合适的源模型作为起点通常优于从头开始训练的策略,尤其是在训练数据有限的情况下。尽管先前工作已研究并开发了众多模型选择策略,但该过程仍然耗时,尤其是考虑到模型库规模不断扩大。本文提出了一种两阶段(粗召回和精选择)模型选择框架,旨在通过利用模型在基准数据集上的训练性能来提高选择鲁棒模型的效率。具体而言,粗召回阶段以离线方式对在基准数据集上表现出相似训练性能的模型进行聚类。随后,在该模型簇与目标数据集之间计算一个轻量级代理分数,用于快速召回一个规模显著更小的潜在候选模型子集。在随后的精选择阶段,通过对召回的模型在目标数据集上进行微调并采用逐次减半(successive halving)来选择最终模型。为了加速该过程,通过挖掘模型在基准数据集上的收敛趋势来预测每个潜在模型的最终微调性能,这有助于在微调过程中更早地过滤掉性能较低的模型。通过在涵盖自然语言处理和计算机视觉的任务上进行大量实验,结果表明所提出的方法能够以比传统基线方法快约3倍的速度选择出高性能模型。我们的代码可在 https://github.com/plasware/two-phase-selection 获取。

英文摘要:

As the ubiquity of deep learning in various machine learning applications has amplified, a proliferation of neural network models has been trained and shared on public model repositories. In the context of a targeted machine learning assignment, utilizing an apt source model as a starting point typically outperforms the strategy of training from scratch, particularly with limited training data. Despite the investigation and development of numerous model selection strategies in prior work, the process remains time-consuming, especially given the ever-increasing scale of model repositories. In this paper, we propose a two-phase (coarse-recall and fine-selection) model selection framework, aiming to enhance the efficiency of selecting a robust model by leveraging the models' training performances on benchmark datasets. Specifically, the coarse-recall phase clusters models showcasing similar training performances on benchmark datasets in an offline manner. A light-weight proxy score is subsequently computed between this model cluster and the target dataset, which serves to recall a significantly smaller subset of potential candidate models in a swift manner. In the following fine-selection phase, the final model is chosen by fine-tuning the recalled models on the target dataset with successive halving. To accelerate the process, the final fine-tuning performance of each potential model is predicted by mining the model's convergence trend on the benchmark datasets, which aids in filtering lower performance models more earlier during fine-tuning. Through extensive experimentation on tasks covering natural language processing and computer vision, it has been demonstrated that the proposed methodology facilitates the selection of a high-performing model at a rate about 3x times faster than conventional baseline methods. Our code is available at https://github.com/plasware/two-phase-selection.

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

↑