arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.25890cs.SEcs.AI
收藏

ATLAS:一种分层约束引导的结构化艺术创作框架,用于LLM辅助的MDE

Metamodel-Guided Model Generation with Layered Constraints

University of Science and Technology of China(中国科学技术大学);Hefei Institutes of Physical Science, Chinese Academy of Sciences(中国科学院合肥物质科学研究院);Anhui University(安徽大学)

Tong Ma, Hui Lai, Hui Wang, Zhenhu Tian, Chaochao Li, Fengjie Xu, Ling Fang

AI总结:

ATLAS通过分层约束引导框架生成符合显式模式、领域规则和审计要求的结构化工程制品,结合元模型整合、约束模型编译和后生成验证,确保生成结果的正确性和完整性。

摘要:

ATLAS是一种基于约束引导的生成框架,用于生成必须满足显式模式、领域规则和审计要求的结构化工程制品。ATLAS将生成过程置于模型驱动的工作流中,将领域表示、约束编译和后生成验证分离开来。ATLAS结合了三个组件:元模型整合阶段构建领域实体和关系的类型表示;集成约束模型(ICM)将异构需求编译成两个操作层:生成时的结构约束和后生成的语义/逻辑义务;约束引导、验证支持的生成(CVG)则结合层1受限解码、层2后端验证和审计引导的修复。在AUTOSAR实例中,这些层2义务通过SHACL/SMT风格的检查实现,展示了如何将相同的ICM连接到领域特定的验证后端。我们在AUTOSAR制品生成中评估了ATLAS,单文件和多文件规模均表现出良好的结果,同时SHACL/SMT检查和结果分析继续暴露残余系统级缺陷。因此,经验图景是有限的自动化:ATLAS确保了结构有效性,并将高级失败转化为生成工作流中的显式、可诊断对象。

英文摘要:

Large language models (LLMs) enable natural-language interaction in engineering modeling, but generated models may violate structural constraints, domain rules, or task requirements. We propose a metamodel-guided model generation method that coordinates generation-time constraints and post-generation validation. The method transforms metamodel information, uses its terminology to guide structured constraint extraction from specifications, and links constraints to metamodel elements while recording their sources in an Integrated Constraint Model (ICM). For each task, relevant constraints are bound to concrete objects, values, and references. The generation-time constraint layer (L1) restricts candidate content. The post-generation validation layer (L2) checks constructed models and serialized artifacts, and task acceptance checks retain the original requirements throughout repair. Deterministic procedures construct and serialize models, while LLMs propose candidate content and repairs. Validation uses existing domain tools and checkers written by humans with LLM assistance. Experiments cover AUTOSAR, railway models, and structured decisions in private international law. All 60 AUTOSAR generation runs passed acceptance within the declared task scope, and all 255 resulting ARXML files passed XSD validation. In a separate controlled AUTOSAR repair experiment, all 85 core fault units and 15 prespecified substitute units were restored within one repair round. A local AUTOSAR experiment recorded interventions during stepwise generation. The results support coordinating generation constraints, domain checks, and task acceptance to construct models and guide bounded repair.

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

↑