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

泛化到任意多样化分布:均匀性、温和微调与再平衡

Generalizing to any diverse distribution: uniformity, gentle finetuning and rebalancing

Roche(罗氏);Genentech(基因泰克)

Andreas Loukas, Karolis Martinkus, Ed Wagstaff, Kyunghyun Cho

AI总结:

该研究针对模型在多样化分布下的泛化难题,提出均匀分布训练最优的结论,给出非均匀样本下的微调和再平衡方案,为相关研究提供理论支撑与实验验证。

摘要:

随着训练数据集规模不断扩大,我们致力于开发能在任意多样化测试分布下都具备良好泛化能力的模型,即便测试分布与训练数据存在显著偏差也不例外。领域自适应、领域泛化、鲁棒优化等各类方法,都试图通过对训练分布与测试分布的关系作出假设,来解决分布外(out-of-distribution, OOD)挑战。与之不同,我们采用更保守的研究视角,考量已知领域内所有足够多样化的测试分布下的最坏情况误差。我们的第一项发现是:在该领域的均匀分布上进行训练是最优方案。我们还探讨了无法获取均匀样本时的实用补救方案,研究通过微调和再平衡来缓解分布非均匀性的方法。我们的理论为此前关于熵与再平衡在分布外泛化、基础模型训练中作用的观测结论提供了数学依据。我们还在涉及分布偏移的多项任务中提供了新的实验证据,印证了该研究视角的广泛适用性。

英文摘要:

As training datasets grow larger, we aspire to develop models that generalize well to any diverse test distribution, even if the latter deviates significantly from the training data. Various approaches like domain adaptation, domain generalization, and robust optimization attempt to address the out-of-distribution challenge by posing assumptions about the relation between training and test distribution. Differently, we adopt a more conservative perspective by accounting for the worst-case error across all sufficiently diverse test distributions within a known domain. Our first finding is that training on a uniform distribution over this domain is optimal. We also interrogate practical remedies when uniform samples are unavailable by considering methods for mitigating non-uniformity through finetuning and rebalancing. Our theory provides a mathematical grounding for previous observations on the role of entropy and rebalancing for o.o.d. generalization and foundation model training. We also provide new empirical evidence across tasks involving o.o.d. shifts which illustrate the broad applicability of our perspective.

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

↑