arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.15895cs.LG
收藏

流形度量:一种用于预测模型性能的损失景观方法

Manifold Metric: A Loss Landscape Approach for Predicting Model Performance

Chandar Research Lab(Chandar研究实验室);Mila – Québec AI Institute(米拉-魁北克人工智能研究所);Polytechnique Montréal(蒙特利尔理工学院);Université de Montréal(蒙特利尔大学);Samsung SAIT AI Lab Montreal(三星SAIT蒙特利尔人工智能实验室)

Pranshu Malviya, Jerry Huang, Aristide Baratin, Quentin Fournier, Sarath Chandar

AI总结:

针对从头训练多模型选优成本高、小型预训练模型扩展方法因训练动态影响不明未充分利用的问题,提出基于损失景观的流形度量指标,实验证明其与性能提升强相关且优于基线,为可靠模型扩展提供几何驱动的新途径。

摘要:

为给定任务确定最优模型通常需要从头训练多个模型,随着数据集和模型规模增大,这种做法变得不切实际。一种更高效的替代方案是扩展小型预训练模型,但由于对其训练动态影响的理解有限,该方法未得到充分利用。现有的量化这种影响的方法存在明显局限,包括计算成本问题。为解决此问题,我们提出基于损失景观的新视角,已有研究表明损失景观中存在由线性连接的极小值构成的流形。具体而言,我们提出一种度量指标,通过估计该流形的规模来研究模型扩展的影响。我们的实验显示,性能提升与我们的流形度量之间存在强相关性,这使得模型比较更具依据,并为几何驱动的可靠模型扩展方法迈出了第一步。值得注意的是,即使对模型应用参数数量相同的不同类型扩展,我们的度量指标也优于其他基线方法。

英文摘要:

Determining the optimal model for a given task often requires training multiple models from scratch, which becomes impractical as dataset and model sizes grow. A more efficient alternative is to expand smaller pre-trained models, but this approach is underutilized due to a limited understanding of its impact on the training dynamics. Existing methods for quantifying this impact have notable limitations, including computation cost. To address this, we introduce a new perspective based on the loss landscape, which has been shown to contain a manifold of linearly connected minima. Specifically, we propose a metric that estimates the size of this manifold to study the impact of model expansion. Our experiments reveal a strong correlation between performance gains and our manifold metric, enabling more informed model comparison and offering a first step toward a geometry-driven approach for reliable model expansion. Notably, our metric outperforms other baselines, even when different types of expansion with equivalent number of parameters are applied to a model.

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

↑