探究微调后大模型如何内化规划问题的世界模型
A Close Look At World Model Recovery In Supervised Fine-Tuned LLM Planners

- 通过可解释性实验分析微调模型的内部表征与生成能力
- 模型能线性编码动作有效性及部分状态谓词
- 随机游走数据提升世界模型恢复精度,适合研究模型认知
监督微调(SFT)提升了大语言模型(LLMs)在端到端经典规划任务中的表现,但这些模型是否也学会了表征和推理所解决的规划问题?由于经典规划问题相对复杂,且端到端生成计划对LLM构成挑战,该问题难以探索。本文设计并执行了一系列可解释性实验,从内部表示和生成能力两方面全面考察微调后的LLM对世界模型的恢复能力。发现:a) 在有效动作序列上进行监督微调,使模型能够线性编码动作有效性及部分状态谓词;b) 即使输出概率难以分类动作有效性,模型仍可能学习到将有效与无效动作分离的内部表征;c) 微调时覆盖更广的状态空间(如使用随机游走数据),可获得更准确的世界模型恢复。本工作为应用可解释性技术于规划类LLM提供了方法论,并揭示了知识在模型中如何表征的开放性问题。
原文摘要 · Abstract (English)
Supervised fine-tuning (SFT) improves end-to-end classical planning in large language models (LLMs), but do these models also learn to represent and reason about the planning problems they are solving? Due to the relative complexity of classical planning problems and the challenge that end-to-end plan generation poses for LLMs, it has been difficult to explore this question. In our work, we devise and perform a series of interpretability experiments that holistically interrogate world model recovery by examining both internal representations and generative capabilities of fine-tuned LLMs. We find that: a) Supervised fine-tuning on valid action sequences enables LLMs to linearly encode action validity and some state predicates. b) Models that struggle to use output probabilities for classifying action validity may still learn internal representations that separate valid from invalid actions. c) Broader state space coverage during fine-tuning, such as from random walk data, yields more accurate recovery of the underlying world model. In summary, this work contributes a recipe for applying interpretability techniques to planning LLMs and generates insights that shed light on open questions about how knowledge is represented in LLMs.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。