arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.09964cs.SEcs.AIcs.PL
收藏

EnvTrace:基于执行轨迹对齐的LLM代码仿真语义评估——在同步辐射光束线站的演示

EnvTrace: Simulation-Based Semantic Evaluation of LLM Code via Execution Trace Alignment -- Demonstrated at Synchrotron Beamlines

Noah van der Vleuten, Anthony Flores, Shray Mathur, Max Rakitin, Thomas Hopkins, Kevin G. Yager, Esther H. R. Tsai

AI总结:

针对仪器控制场景LLM代码评估的不足,提出基于仿真与执行轨迹对齐的EnvTrace方法,结合光束线数字孪生评估30余个LLM,验证顶级模型控制代码生成接近人类水平,支撑LLM与数字孪生共生的自主具身AI愿景。

摘要:

评估面向仪器控制的大语言模型(LLM)需要超越标准无状态算法基准的方法,因为物理系统的行为无法仅通过单元测试完全捕捉。本文提出EnvTrace,一种基于仿真的方法,通过评估执行轨迹来判断代码的语义等价性。研究借助光束线控制逻辑数字孪生对EnvTrace进行演示,以支撑仪器控制代码的评估,该数字孪生本身还可支持活体实验的执行前验证。研究使用轨迹对齐方法评估了超过30个LLM,针对关键行为维度生成功能正确性的多维度评分,结果显示许多顶级模型在快速控制代码生成任务上可接近人类水平表现。这是迈向LLM与数字孪生共生愿景的第一步:LLM提供直观控制与智能体编排能力,数字孪生提供安全高保真环境,为自主具身AI铺平道路。

英文摘要:

Evaluating large language models (LLMs) for instrument control requires methods that go beyond standard, stateless algorithmic benchmarks, since the behavior of physical systems cannot be fully captured by unit tests alone. Here we introduce EnvTrace, a simulation-based method that evaluates execution traces to assess semantic code equivalence. EnvTrace is demonstrated with a beamline control-logic digital twin to facilitate the evaluation of instrument control code, with the digital twin itself also enabling the pre-execution validation of live experiments. Over 30 LLMs were evaluated using trace alignment to generate a multi-faceted score for functional correctness across key behavioral dimensions, showing that many top-tier models can approach human-level performance in rapid control-code generation. This is a first step toward a broader vision where LLMs and digital twins work symbiotically: LLMs providing intuitive control and agentic orchestration, and digital twins offering safe and high-fidelity environments, paving the way towards autonomous embodied AI.

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

↑