SemaPLC:面向PLC代码生成的项目级验证门控智能体框架

HuggingFace Daily Papers(社区热门论文)·2026-08-19 08:00·6天前
AI 导读

SemaPLC是一个项目级、验证门控的智能体框架,仅在外部检查确认规范、编译及实时运行行为均通过后才宣告任务完成。在117个独立POU任务上,其于全部七款模型中取得最高严格验证通过率(均值72.6%);在65个需在真实项目中编译运行的任务上,其动态行为得分52.2,远超基线模型的22.4至31.4。该框架已开源。

HuggingFace Daily Papers(社区热门论文)
53AI 编辑部评分,满分 100

SemaPLC:面向PLC代码生成的项目级验证门控智能体框架

2026-08-19 08:00· 6天前
AI 导读

SemaPLC是一个项目级、验证门控的智能体框架,仅在外部检查确认规范、编译及实时运行行为均通过后才宣告任务完成。在117个独立POU任务上,其于全部七款模型中取得最高严格验证通过率(均值72.6%);在65个需在真实项目中编译运行的任务上,其动态行为得分52.2,远超基线模型的22.4至31.4。该框架已开源。

Programmable logic controllers (PLCs) run industrial plants, and large language models can already generate independent program organization units (POUs) for them. Whether such logic integrates into an existing PLC project and then runs correctly has been checked only in limited tests. We present SemaPLC, a project-grounded and verification-gated agent harness assembled from conventional tools but governed by a strict completion rule. Rather than stopping when the model judges its own output adequate, SemaPLC declares a task complete only when logged external checks confirm it. Those checks cover the specification, the compilation, and the behavior on a live runtime. On 117 independent-POU tasks matching existing benchmarks, it attains the highest strict verified pass rate on all seven models (72.6% mean). On a project-context track of 65 tasks whose generated logic must compile and run inside a real project, it attains the highest mean on integrated compilation, static behavior, and dynamic behavior. Of the three layers, dynamic behavior is the most revealing. We measure it by deploying the generated and the reference logic to a live PLC runtime and comparing their executed traces. All methods fall within 10 static points of one another, whereas dynamic scores separate them sharply, from 22.4 to 31.4 for the baselines against 52.2 for SemaPLC. Overall, our verification-gated harness raises the mean at every layer and most sharply at runtime. Execution, not static scoring, is the faithful test of whether generated control logic actually works. SemaPLC is open-sourced at https://github.com/midea-ai/SemaPLC.

来源:HuggingFace Daily Papers(社区热门论文)· arxiv.org