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

面向叙事任务的轻量级潜在推理

Lightweight Latent Reasoning for Narrative Tasks

School of Informatics, University of Edinburgh(爱丁堡大学信息学院);CIFAR Fellow

Alexander Gurung, Esmeralda S. Whitammer, Mirella Lapata

AI总结:

提出LiteReason方法,通过轻量级推理投影器生成连续潜在令牌,在强化学习中动态切换潜在与离散推理,将推理长度减少77-92%,同时保持接近非潜在RL的性能。

摘要:

大型语言模型通过生成长思维链或“推理轨迹”来处理复杂任务,这些轨迹在给定查询时作为输出生成的潜在变量。模型生成此类轨迹的能力可以通过强化学习进行优化,以提高其在预测答案中的效用。这种优化带来了高昂的计算成本,尤其是对于涉及检索和处理大量令牌的叙事相关任务。为此,我们提出了LiteReason,一种潜在推理方法,可以与标准令牌采样交错进行,并易于与RL技术结合。LiteReason采用轻量级推理投影器模块,训练生成连续的潜在令牌,帮助模型“跳过”推理步骤。在RL过程中,策略模型决定何时激活投影器,根据需要切换潜在和离散推理。在情节漏洞检测和书籍章节生成上的实验结果表明,我们的方法优于潜在推理基线,并接近匹配非潜在RL训练,同时将最终推理长度减少77-92%。总体而言,LiteReason引导RL训练到性能-计算权衡曲线中更高效的部分。

英文摘要:

Large language models (LLMs) tackle complex tasks by generating long chains of thought or "reasoning traces" that act as latent variables in the generation of an output given a query. A model's ability to generate such traces can be optimized with reinforcement learning (RL) to improve their utility in predicting an answer. This optimization comes at a high computational cost, especially for narrative-related tasks that involve retrieving and processing many tokens. To this end, we propose LiteReason, a latent reasoning method that can be interleaved with standard token sampling and easily combined with RL techniques. LiteReason employs a lightweight Reasoning Projector module, trained to produce continuous latent tokens that help the model 'skip' reasoning steps. During RL, the policy model decides when to activate the projector, switching between latent and discrete reasoning as needed. Experimental results on plot hole detection and book chapter generation show that our method outperforms latent reasoning baselines and comes close to matching non-latent RL training, while reducing final reasoning length by 77-92%. Overall, LiteReason guides RL training to a more efficient part of the performance-computation tradeoff curve.

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

↑