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

基于图学习的模型动物园中的模型选择

Model Selection with Model Zoo via Graph Learning

Delft University of Technology(代尔夫特理工大学)

Ziyu Li, Hilco van der Wilk, Danning Zhan, Megha Khosla, Alessandro Bozzon, Rihan Hai

AI总结:

本文提出 TransferGraph 框架,将模型选择建模为图学习问题,通过构建模型与数据集的元数据图捕捉内在关系,在 16 个数据集上相比现有方法将预测性能与微调结果的相关性提升高达 32%。

摘要:

预训练的深度学习(DL)模型在公共仓库(即模型动物园)中越来越容易获取。面对新的预测任务时,寻找最适合微调的模型可能计算密集且成本高昂,尤其是当预训练模型数量庞大时。选择合适的预训练模型至关重要,但由于来自不同模型家族(如 ResNet、Vit、Swin)的模型具有多样性,且模型与数据集之间存在隐藏关系,这一任务变得复杂。现有方法利用模型和数据集的基础信息来计算表示模型在目标数据集上性能的分数,但忽略了内在关系,从而限制了它们在模型选择中的有效性。在本研究中,我们提出了 TransferGraph,这是一个新颖的框架,将模型选择重新表述为图学习问题。TransferGraph 利用从模型和数据集中提取的大量元数据构建图,同时捕捉它们之间的内在关系。通过在 16 个真实数据集(包括图像和文本)上的全面实验,我们证明了 TransferGraph 在捕捉关键模型-数据集关系方面的有效性,与最先进的方法相比,预测性能与实际微调结果之间的相关性提高了多达 32%。

英文摘要:

Pre-trained deep learning (DL) models are increasingly accessible in public repositories, i.e., model zoos. Given a new prediction task, finding the best model to fine-tune can be computationally intensive and costly, especially when the number of pre-trained models is large. Selecting the right pre-trained models is crucial, yet complicated by the diversity of models from various model families (like ResNet, Vit, Swin) and the hidden relationships between models and datasets. Existing methods, which utilize basic information from models and datasets to compute scores indicating model performance on target datasets, overlook the intrinsic relationships, limiting their effectiveness in model selection. In this study, we introduce TransferGraph, a novel framework that reformulates model selection as a graph learning problem. TransferGraph constructs a graph using extensive metadata extracted from models and datasets, while capturing their inherent relationships. Through comprehensive experiments across 16 real datasets, both images and texts, we demonstrate TransferGraph's effectiveness in capturing essential model-dataset relationships, yielding up to a 32% improvement in correlation between predicted performance and the actual fine-tuning results compared to the state-of-the-art methods.

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

↑