arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.11447cs.CLcs.LGstat.ML
收藏

使用语言模型的真正少样本学习

True Few-Shot Learning with Language Models

New York University(纽约大学);Facebook AI Research(脸书人工智能研究院)

Ethan Perez, Douwe Kiela, Kyunghyun Cho

摘要:

预训练的语言模型(LM)即使在从几个示例中学习时也能在许多任务中表现良好,但之前的工作使用许多保留的示例来调整学习的各个方面,例如超参数,训练目标和自然语言模板(“提示”)。在这里,我们评估的Few-Shot能力的LM时,这样的支持的例子是不可用的,我们称之为真正的少样本学习。我们测试两个模型选择标准,交叉验证和最小描述长度,选择LM提示和超参数在真正的Few-Shot设置。平均而言,这两种方法的表现都略优于随机选择,而大大低于基于保留样本的选择。此外,选择标准往往倾向于表现明显差于随机选择的模型。即使考虑到我们在选择过程中对模型真实性能的不确定性,以及当改变用于选择的计算量和示例数量时,我们也会发现类似的结果。总的来说,我们的研究结果表明,以前的工作显着高估了真正的Few-Shot能力的LM考虑到困难的Few-Shot模型选择。

英文摘要:

Pretrained language models (LMs) perform well on many tasks even when learning from a few examples, but prior work uses many held-out examples to tune various aspects of learning, such as hyperparameters, training objectives, and natural language templates ("prompts"). Here, we evaluate the few-shot ability of LMs when such held-out examples are unavailable, a setting we call true few-shot learning. We test two model selection criteria, cross-validation and minimum description length, for choosing LM prompts and hyperparameters in the true few-shot setting. On average, both marginally outperform random selection and greatly underperform selection based on held-out examples. Moreover, selection criteria often prefer models that perform significantly worse than randomly-selected ones. We find similar results even when taking into account our uncertainty in a model's true performance during selection, as well as when varying the amount of computation and number of examples used for selection. Overall, our findings suggest that prior work significantly overestimated the true few-shot ability of LMs given the difficulty of few-shot model selection.

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

↑