跳到正文
arXiv (AI + Vision + Imaging)· Xianxuan Long, Xinnan Dai, Kai Guo, Jiliang Tang·· 2 天前AI 评分20

FSMem框架揭示训练数据如何塑造LLM参数化记忆形成

Internalized Experience: How Training Data Shapes Memory Formation in LLMs

AI 导读

研究者提出FSMem(Finite-State Machine Memory)状态转移框架,用于构建训练数据并研究数据内容与组织方式如何影响LLM的参数化记忆形成。实验显示,在相同训练条件下,动作类型越多样,即使任务规则不变也更难内化;而扩大状态-动作覆盖范围通常能改善规则学习。单一执行深度训练会产生深度专门化行为,混合短长轨迹的累积语料可用更少训练token超越纯长轨迹训练。

正文 · 原文

arXiv:2611.28613v1 Announce Type: new Abstract: Parametric memory enables large language models (LLMs) to retain information from past experience and reuse it in subsequent tasks. Yet how training data supports the internalization of reusable task rules remains unclear. We introduce FSMem (Finite-State Machine Memory), a state-transition framework for constructing training data and studying how data content and organization shape memory formation. We evaluate rule reuse across synthetic worlds, classical planning, and code execution through valid-action identification and execution-outcome prediction, complemented by next-operation prediction in code. Our experiments reveal several systematic learning patterns. Under matched training conditions, even unchanged task rules become harder to internalize when learned alongside a larger variety of action types; by contrast, scaling the training data to provide broader state-action coverage generally improves rule learning. We further find that training at a single execution depth produces depth-specialized behavior, with models performing best when training and test executions have similar lengths. Motivated by this finding, we construct cumulative corpora that combine short and long trajectories, which can outperform long-trajectory-only training while using fewer training tokens. Together, these results demonstrate that the same task rules can be internalized differently depending on how execution experience is constructed, and that understanding these learning patterns can guide the design of more effective training data for parametric memory.

来源:arXiv (AI + Vision + Imaging) · arxiv.org