arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.09066cs.LGcs.CV
收藏

持续学习中的超参数:现实检验

Hyperparameters in Continual Learning: A Reality Check

New York University(纽约大学);Genentech(基因泰克)

Sungmin Cha, Kyunghyun Cho

AI总结:

该研究指出传统持续学习评估协议因同场景调参高估算法能力,提出基于跨数据集泛化的两阶段评估协议GTEP,经8000余次实验验证多数SOTA持续学习算法性能被高估。

摘要:

持续学习(Continual Learning,CL)旨在让模型在一系列任务(即一个CL场景)上进行训练,同时平衡可塑性(学习新任务)与稳定性(保留先验知识)之间的权衡。目前CL算法主流采用的传统评估协议是在给定场景内选择最优超参数(例如学习率、小批量大小、正则化强度等),随后在同一场景下使用这些超参数评估算法。但该协议存在显著缺陷:它会高估算法的持续学习能力,且依赖不切实际的超参数调优,这在实际应用中并不可行。基于机器学习评估的基本原则,我们认为CL算法的评估应聚焦于衡量其持续学习能力对未见过的场景的泛化性。据此,我们提出了泛化两阶段评估协议(Generalizable Two-phase Evaluation Protocol,GTEP),该协议包含超参数调优阶段和评估阶段。两个阶段采用相同的场景配置(例如任务数量),但生成自不同的数据集。CL算法的超参数在第一阶段完成调优,并应用于第二阶段以评估算法。我们将该协议应用于类增量学习场景,分别测试了使用预训练模型和不使用预训练模型的情况。在超过8000次实验中,我们的结果显示,大多数最先进(SOTA)算法无法复现其报告的性能,这表明在传统评估协议下,它们的持续学习能力被严重高估了。我们的实现代码可在https://github.com/csm9493/GTEP 获取。

英文摘要:

Continual learning (CL) aims to train a model on a sequence of tasks (i.e., a CL scenario) while balancing the trade-off between plasticity (learning new tasks) and stability (retaining prior knowledge). The dominantly adopted conventional evaluation protocol for CL algorithms selects the best hyperparameters (e.g., learning rate, mini-batch size, regularization strengths, etc.) within a given scenario and then evaluates the algorithms using these hyperparameters in the same scenario. However, this protocol has significant shortcomings: it overestimates the CL capacity of algorithms and relies on unrealistic hyperparameter tuning, which is not feasible for real-world applications. From the fundamental principles of evaluation in machine learning, we argue that the evaluation of CL algorithms should focus on assessing the generalizability of their CL capacity to unseen scenarios. Based on this, we propose the Generalizable Two-phase Evaluation Protocol (GTEP) consisting of hyperparameter tuning and evaluation phases. Both phases share the same scenario configuration (e.g., number of tasks) but are generated from different datasets. Hyperparameters of CL algorithms are tuned in the first phase and applied in the second phase to evaluate the algorithms. We apply this protocol to class-incremental learning, both with and without pretrained models. Across more than 8,000 experiments, our results show that most state-of-the-art algorithms fail to replicate their reported performance, highlighting that their CL capacity has been significantly overestimated in the conventional evaluation protocol. Our implementation can be found in https://github.com/csm9493/GTEP.

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

↑