arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.02273cs.LG
收藏

十亿参数以下的推理:面向大型语言模型的记忆增强强化学习

Reasoning Under 1 Billion: Memory-Augmented Reinforcement Learning for Large Language Models

Applied AI Institute, Deakin University(应用人工智能研究所,迪肯大学)

Hung Le, Dai Do, Dung Nguyen, Svetha Venkatesh

AI总结:

本研究提出一种基于情景记忆的内在动机方法,通过利用成功推理模式与受控探索,显著提升了10亿参数以下微型LLMs在CoT推理任务中的样本效率与泛化能力。

摘要:

近期通过强化学习(RL)微调大型语言模型(LLMs)的研究在复杂推理任务上展现出可喜的进展,尤其是在结合思维链(CoT)提示时。然而,这些成功主要在拥有数十亿参数的大规模模型上得到验证,其强大的预训练基础确保了有效的初始探索。相比之下,对于参数量在10亿或更少的微型LLMs,RL仍然具有挑战性,因为它们缺乏有效探索所需的预训练能力,常常导致次优的推理模式。本研究引入了一种新颖的内在动机方法,利用情景记忆来解决这一挑战,从而提升微型LLMs在CoT推理任务上的表现。受人类记忆驱动学习的启发,该方法利用存储在记忆中的成功推理模式,同时允许受控的探索以生成新的回答。基于kNN的情景记忆被用于高效计算内在奖励,使模型能够发现新的推理策略,同时快速适应有效的过往解决方案。在GSM8K和AI-MO数据集上的微调实验表明,该方法显著增强了较小LLMs的样本效率和泛化能力,使得基于RL的推理改进在低资源环境中更易实现。

英文摘要:

Recent advances in fine-tuning large language models (LLMs) with reinforcement learning (RL) have shown promising improvements in complex reasoning tasks, particularly when paired with chain-of-thought (CoT) prompting. However, these successes have been largely demonstrated on large-scale models with billions of parameters, where a strong pretraining foundation ensures effective initial exploration. In contrast, RL remains challenging for tiny LLMs with 1 billion parameters or fewer because they lack the necessary pretraining strength to explore effectively, often leading to suboptimal reasoning patterns. This work introduces a novel intrinsic motivation approach that leverages episodic memory to address this challenge, improving tiny LLMs in CoT reasoning tasks. Inspired by human memory-driven learning, our method leverages successful reasoning patterns stored in memory while allowing for controlled exploration to generate novel responses. Intrinsic rewards are computed efficiently using a kNN-based episodic memory, allowing the model to discover new reasoning strategies while quickly adapting to effective past solutions. Experiments on fine-tuning GSM8K and AI-MO datasets demonstrate that our approach significantly enhances smaller LLMs' sample efficiency and generalization capability, making RL-based reasoning improvements more accessible in low-resource settings.

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

↑