arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.00996cs.CL
收藏

使用语言模型的自监督类比学习

Self-supervised Analogical Learning using Language Models

Arizona State University(亚利桑那州立大学);Amazon(亚马逊公司);University of Pennsylvania(宾夕法尼亚大学)

Ben Zhou, Sarthak Jain, Yi Zhang, Qiang Ning, Shuai Wang, Yassine Benajiba, Dan Roth

AI总结:

本文提出自监督类比学习框架SAL,通过模仿人类类比过程,将已知案例的高质量符号解决方案迁移到罕见案例,在多个推理基准上提升2%至20%,并增强了模型的泛化性与可控性。

摘要:

大型语言模型已被证明存在推理不一致性问题。也就是说,它们在训练数据不熟悉的情况下失败更多,即使更常见的情况中存在它们能够成功解决的完全相同或非常相似的推理路径。这些观察促使我们提出方法,鼓励模型在训练期间理解高层次和抽象的推理过程,而不仅仅是最终答案。这样,模型可以将精确的解决方案迁移到相似的情况,无论其与预训练数据分布的相关性如何。在这项工作中,我们提出了SAL,一个自监督类比学习框架。SAL模仿人类的类比过程,并训练模型显式地将高质量的符号解决方案从它们知道如何解决的情况迁移到它们往往更容易失败的其他罕见情况。我们表明,经过SAL学习后得到的模型在广泛的推理基准上优于基础语言模型,例如StrategyQA、GSM8K和HotpotQA,提升幅度为2%到20%。同时,我们通过分析研究表明,我们的模型更具泛化能力和可控性。

英文摘要:

Large language models have been shown to suffer from reasoning inconsistency issues. That is, they fail more in situations unfamiliar to the training data, even though exact or very similar reasoning paths exist in more common cases that they can successfully solve. Such observations motivate us to propose methods that encourage models to understand the high-level and abstract reasoning processes during training instead of only the final answer. This way, models can transfer the exact solution to similar cases, regardless of their relevance to the pre-training data distribution. In this work, we propose SAL, a self-supervised analogical learning framework. SAL mimics the human analogy process and trains models to explicitly transfer high-quality symbolic solutions from cases that they know how to solve to other rare cases in which they tend to fail more. We show that the resulting models after SAL learning outperform base language models on a wide range of reasoning benchmarks, such as StrategyQA, GSM8K, and HotpotQA, by 2% to 20%. At the same time, we show that our model is more generalizable and controllable through analytical studies.

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

↑