arXiv:2608.12626cs.CLcs.AI2026-08被引 4

用记忆增强策略让大模型在长任务中不跑偏

LLMs Are Not Good Strategists, Yet Memory-Enhanced Agency Boosts Reasoning

论文配图:LLMs Are Not Good Strategists, Yet Memory-Enhanced Agency Boosts Reasoning
图 1 · 摘自论文原文
  • 用过往成功经验+短期记忆,动态决定是复用还是重新思考
  • 在星际2中胜率显著提升,耗能少10倍且各难度都稳赢
  • 适合做长期规划的智能体,尤其对抗复杂对手时

大型语言模型在长周期环境中进行战略推理时常受限于子目标不一致。由于注意力资源有限,模型难以在数千步内保持战略连贯性,导致策略漂移——局部决策无法支撑整体推理轨迹。为此,我们提出EpicStar框架,使智能体通过学习记忆作为策略来应对长周期推理。具体而言,智能体维护一个成功的过往回合记忆库作为启发式策略,并结合工作记忆追踪短期环境变化。推理时,动态门控机制决定是否直接执行检索到的动作,或通过融合记忆与当前工作记忆进行新推理。以星际2为测试环境,评估显示EpicStar显著优于基线方法,在不同对手风格下均实现更高胜率,同时消耗的令牌数减少一个数量级,并在所有难度级别上保持优势。研究结果表明,结构化的跨回合记忆对实现大模型智能体在动态自主场景中的鲁棒、长期战略执行至关重要。

原文摘要 · Abstract (English)

Strategic reasoning in Large Language Models (LLMs) within long-horizon environments is often limited by inconsistent subgoals. In these settings, finite attention resources prevent the model from maintaining strategic coherence over thousands of steps. This limitation leads to strategic drift, where localized decisions fail to sustain a coherent trajectory across reasoning. To address this, we introduce EpicStar, a framework that enables agents to learn memory as policy to tackle long-horizon reasoning. Specifically, the agent maintains a bank of successful past episodes as a heuristic alongside a working memory to track short-term environmental changes. During inference, a dynamic gating mechanism determines whether to execute a retrieved action directly or to perform new reasoning through a contextual fusion of the retrieved episodes and current working memory. Utilizing StarCraft II as the testbed, we evaluated EpicStar against diverse opponent styles. It significantly outperforms baseline methods, achieving higher win rates while consuming an order of magnitude fewer tokens, and it maintains this advantage consistently across difficulty levels and opponent strategies. Our findings provide compelling evidence that structured cross-episode memory is essential for enabling LLM agents to perform robust, long-term strategic execution in dynamic, autonomous settings.

大模型推理记忆增强战略规划星际2

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。