arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.16173cs.AIcs.CLcs.LG
收藏

学习推理技能中长度泛化的条件

Conditions for Length Generalization in Learning Reasoning Skills

University of Illinois Chicago(伊利诺伊大学芝加哥分校)

Changnan Xiao, Bing Liu

AI总结:

针对 LLM 推理中的长度泛化难题,本文在 MDP 与 DAG 形式化任务上给出并证明了泛化成立与否的条件,且通过实验验证。

摘要:

推理是 AI 智能体的一项基本能力。近来,大语言模型(LLM)在执行推理任务方面表现出显著能力。然而,对 LLM 推理能力的大量评估也揭示了一些局限。一个突出的局限是长度泛化,即当模型在较小长度或规模的推理问题上接受训练后,所得模型在处理较大规模或长度的问题时会遇到困难。这可能表明学习推理技能在泛化方面存在某些理论局限。这些评估及其观察结果促使我们对长度泛化问题开展理论研究。本工作聚焦于可表述为 Markov 动态过程(MDP)和/或有向无环图(DAG)的推理任务。文中识别并证明了在特定表示下决定某项推理任务的长度泛化问题能否被解决的条件。此外,本文还进行了实验以验证这些理论结果。

英文摘要:

Reasoning is a fundamental capability of AI agents. Recently, large language models (LLMs) have shown remarkable abilities to perform reasoning tasks. However, numerous evaluations of the reasoning capabilities of LLMs have also showed some limitations. An outstanding limitation is length generalization, meaning that when trained on reasoning problems of smaller lengths or sizes, the resulting models struggle with problems of larger sizes or lengths. This potentially indicates some theoretical limitations of generalization in learning reasoning skills. These evaluations and their observations motivated us to perform a theoretical study of the length generalization problem. This work focuses on reasoning tasks that can be formulated as Markov dynamic processes (MDPs) and/or directed acyclic graphs (DAGs). It identifies and proves conditions that decide whether the length generalization problem can be solved or not for a reasoning task in a particular representation. Experiments are also conducted to verify the theoretical results.

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

↑