揭示元学习中任务数与样本数对误差的决定性影响
On the ERM Principle in Meta-Learning
- 分析元学习中任务数和每任务样本数对泛化误差的影响
- 发现当任务数无限时,部分场景仅需有限样本即可消除误差
- 给出在无限任务下实现指定误差所需样本数的精确条件
经典监督学习通过n个标注样本训练算法得到假设h∈H,以在未见样本上表现良好。元学习扩展为在n个任务上训练,每个任务有m个样本,生成假设类H ⊆ 元类H。该设定适用于上下文学习、超网络和学习-学习等现代问题。传统监督学习常用学习曲线评估性能,而元学习中则使用二维学习曲面,衡量在不同任务数n和每任务样本数m下的期望误差。本文刻画了元经验风险最小化在m或n趋于无穷时的分布无关学习曲面:当目标误差降低时,任务数必须反比增长;而样本数表现出二分行为——每个元类要么要求样本数反比于误差,要么存在一个有限值,使得当任务数趋于无穷时误差可归零。这一发现揭示了少数样本即可成功学习的场景,并进一步针对正误差ε,给出了在任务数趋向无穷时达到误差ε所需的每任务样本数。通过建立有界样本数下元可学习性的充要条件,实现了理论精确刻画。
原文摘要 · Abstract (English)
Classic supervised learning involves algorithms trained on $n$ labeled examples to produce a hypothesis $h \in \mathcal{H}$ aimed at performing well on unseen examples. Meta-learning extends this by training across $n$ tasks, with $m$ examples per task, producing a hypothesis class $\mathcal{H}$ within some meta-class $\mathbb{H}$. This setting applies to many modern problems such as in-context learning, hypernetworks, and learning-to-learn. A common method for evaluating the performance of supervised learning algorithms is through their learning curve, which depicts the expected error as a function of the number of training examples. In meta-learning, the learning curve becomes a two-dimensional learning surface, which evaluates the expected error on unseen domains for varying values of $n$ (number of tasks) and $m$ (number of training examples). Our findings characterize the distribution-free learning surfaces of meta-Empirical Risk Minimizers when either $m$ or $n$ tend to infinity: we show that the number of tasks must increase inversely with the desired error. In contrast, we show that the number of examples exhibits very different behavior: it satisfies a dichotomy where every meta-class conforms to one of the following conditions: (i) either $m$ must grow inversely with the error, or (ii) a \emph{finite} number of examples per task suffices for the error to vanish as $n$ goes to infinity. This finding illustrates and characterizes cases in which a small number of examples per task is sufficient for successful learning. We further refine this for positive values of $\varepsilon$ and identify for each $\varepsilon$ how many examples per task are needed to achieve an error of $\varepsilon$ in the limit as the number of tasks $n$ goes to infinity. We achieve this by developing a necessary and sufficient condition for meta-learnability using a bounded number of examples per domain.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。