arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 2212.08286cs.CL
收藏

ALERT:使语言模型适应推理任务

ALERT: Adapting Language Models to Reasoning Tasks

Meta AI;Max Planck Institute(马克斯·普朗克研究所);ETH(苏黎世联邦理工学院)

Ping Yu, Tianlu Wang, Olga Golovneva, Badr AlKhamissi, Siddharth Verma, Zhijing Jin, Gargi Ghosh, Mona Diab, Asli Celikyilmaz

AI总结:

本文提出 ALERT 基准与分析套件,基于20多个数据集和10种推理技能评估并比较预训练与微调模型,揭示微调提升多类推理能力但易导致提示模板过拟合。

摘要:

当前的大型语言模型通过少样本学习,能够在需要逐步推理的复杂任务上表现得相当不错。这些模型究竟是在运用其在预训练期间学到的推理技能,并在训练语境之外进行推理,还是仅仅以更细的粒度记忆训练语料,并学会了更好地理解其语境?为了厘清这些可能性,我们提出了 ALERT,这是一个用于评估语言模型推理能力的基准和分析套件,通过在需要推理技能才能解决的复杂任务上比较预训练模型与微调模型来开展评估。ALERT 提供了一个测试平台,可评估任意语言模型的细粒度推理技能,涵盖 20 多个数据集和 10 种不同的推理技能。我们利用 ALERT 进一步研究微调的作用。通过大量实证分析,我们发现,与预训练阶段相比,语言模型在微调阶段会学到更多推理技能,例如文本蕴涵、溯因推理和类比推理。我们还发现,语言模型在经过微调后往往会对提示模板过拟合,这会损害模型的鲁棒性并导致泛化问题。

英文摘要:

Current large language models can perform reasonably well on complex tasks that require step-by-step reasoning with few-shot learning. Are these models applying reasoning skills they have learnt during pre-training and reason outside of their training context, or are they simply memorizing their training corpus at finer granularity and have learnt to better understand their context? To tease apart these possibilities, we introduce ALERT, a benchmark and suite of analyses for assessing language models' reasoning ability comparing pre-trained and finetuned models on complex tasks that require reasoning skills to solve. ALERT provides a test bed to asses any language model on fine-grained reasoning skills, which spans over 20 datasets and covers 10 different reasoning skills. We leverage ALERT to further investigate the role of finetuning. With extensive empirical analysis we find that language models learn more reasoning skills such as textual entailment, abductive reasoning, and analogical reasoning during finetuning stage compared to pretraining state. We also find that when language models are finetuned they tend to overfit to the prompt template, which hurts the robustness of models causing generalization problems.

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

↑