arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.10009cs.AIcs.HC
收藏

从仿真轨迹中发现高层次模式

Discovering High Level Patterns from Simulation Traces

University of Edinburgh(爱丁堡大学)

Sean Memery, Kartic Subr

AI总结:

本文提出了一种通过程序合成进行无监督学习的方法,将仿真轨迹转换为稀疏的高层次模式表示,以提升大语言模型对物理系统的推理能力。

摘要:

大型语言模型(LLMs)在处理特定物理系统时无法可靠推理。尽管尝试通过赋予LLMs物理概念知识来提升其能力显示出巨大潜力,但可解释性和验证仍面临挑战。一种新兴的替代方法是工具链,其中LLMs可以查询物理模拟器并利用生成的仿真轨迹作为验证上下文。然而,这种方法的可扩展性较差,因为仿真轨迹包含大量细粒度的数值和语义数据。我们证明,将仿真轨迹转换为稀疏表示的“高层次”结构模式能更有效地被LLMs解释。我们提出了一种无监督学习方案,通过程序合成执行此转换或注释。我们的学习结果产生了一组程序库,这些程序作为模式检测器,可以将仿真轨迹转换为稀疏注释的模式序列。检测到的模式可选地通过人类专家的字符串标签(如刚性碰撞、拉伸弹簧等)进行引导。我们通过最近的一个物理基准测试表明,这样的注释表示更易于自然语言推理特定物理系统。合成的程序充当透明、可解释的函数,将系统状态映射到稀疏且高效的注释空间。作为应用示例,我们展示了如何将自然语言指定的物理系统目标转换为奖励程序,通过最大化这些程序来寻找解决方案。

英文摘要:

Large Language Models (LLMs) are unable to reliably reason about specific physical systems. Attempts to imbue LLMs with knowledge of the necessary physics concepts have shown great promise, but explainability and validation remain open challenges. An emerging alternative is tooling, where LLMs can query physical simulators and use the resulting simulation traces as context for validation. This approach suffers from poor scalability since simulation traces contain large volumes of fine-grained numerical and semantic data. We show that translating simulation traces to a sparse representation of "high-level" structural patterns leads to more effective interpretation by LLMs. We propose an unsupervised learning scheme to perform this translation, or annotation, via program synthesis. Our learning results in a library of programs that act as pattern detectors which can translate simulation traces to sparse, annotated pattern sequences. The detected patterns may optionally be guided by human experts via string labels (rigid collision, stretching spring, etc.). We show, using a recent physics benchmark, that such annotated representations are more amenable to natural language reasoning about specific physical systems. The synthesized programs serve as transparent, explainable functions that map system states to a sparse and efficient annotation space. As an example application, we show how goals within physical systems that are specified in natural language may be converted to reward programs which are maximized to find solutions.

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

↑