每个任务仅需极少样本的元学习
Metalearning with Very Few Samples Per Task
AI总结:
本文研究每个任务仅有极少样本时的元学习问题,证明在共享线性表示和半空间分类器设置下,每个任务仅需 k+2 个样本即可元学习误差为 ε 的表示,并给出元学习与多任务学习之间的归约。
摘要:
元学习和多任务学习是两种框架,用于比单独解决每个任务更高效地解决一组相关学习任务。在多任务学习中,我们给定一组固定的相关学习任务,需要为每个任务输出一个准确的模型;而在元学习中,我们获得从元分布中独立同分布抽取的任务,需要输出一些公共信息,这些信息可以容易地专门化到来自该元分布的新任务上。我们考虑一个二元分类设置,其中任务通过共享表示相关联,即每个任务 $P$ 都可以由形如 $f_{P} \circ h$ 的分类器求解,其中 $h \in H$ 是从特征到跨任务共享的表示空间的映射,$f_{P} \in F$ 是从表示空间到标签的任务特定分类器。我们提出的主要问题是:元学习一个好的表示需要多少数据?这里,数据量以我们需要看到的任务数 $t$ 和每个任务的样本数 $n$ 来衡量。我们关注 $n$ 极小的情况。我们的主要结果表明,在特征向量位于 $\mathbb{R}^d$、表示是从 $\mathbb{R}^d \to \mathbb{R}^k$ 的线性映射、且任务特定分类器是 $\mathbb{R}^k$ 中的半空间的分布无关设置下,我们可以使用每个任务 $n = k+2$ 个样本和 $d \cdot (1/\varepsilon)^{O(k)}$ 个任务来元学习一个误差为 $\varepsilon$ 的表示。每个任务仅用如此少的样本进行学习是了不起的,因为每个任务只有 $k+1$ 个样本时元学习是不可能的,而且每个任务只有 $k+2$ 个样本时我们甚至无法指望学习到一个准确的任务特定分类器。我们的工作还给出了分布无关多任务学习的刻画,以及元学习与多任务学习之间的归约。
英文摘要:
Metalearning and multitask learning are two frameworks for solving a group of related learning tasks more efficiently than we could hope to solve each of the individual tasks on their own. In multitask learning, we are given a fixed set of related learning tasks and need to output one accurate model per task, whereas in metalearning we are given tasks that are drawn i.i.d. from a metadistribution and need to output some common information that can be easily specialized to new tasks from the metadistribution. We consider a binary classification setting where tasks are related by a shared representation, that is, every task $P$ can be solved by a classifier of the form $f_{P} \circ h$ where $h \in H$ is a map from features to a representation space that is shared across tasks, and $f_{P} \in F$ is a task-specific classifier from the representation space to labels. The main question we ask is how much data do we need to metalearn a good representation? Here, the amount of data is measured in terms of the number of tasks $t$ that we need to see and the number of samples $n$ per task. We focus on the regime where $n$ is extremely small. Our main result shows that, in a distribution-free setting where the feature vectors are in $\mathbb{R}^d$, the representation is a linear map from $\mathbb{R}^d \to \mathbb{R}^k$, and the task-specific classifiers are halfspaces in $\mathbb{R}^k$, we can metalearn a representation with error $\varepsilon$ using $n = k+2$ samples per task, and $d \cdot (1/\varepsilon)^{O(k)}$ tasks. Learning with so few samples per task is remarkable because metalearning would be impossible with $k+1$ samples per task, and because we cannot even hope to learn an accurate task-specific classifier with $k+2$ samples per task. Our work also yields a characterization of distribution-free multitask learning and reductions between meta and multitask learning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。