mlsanityData to 7 Oct 2026

Metamodel-Guided Model Generation with Layered Constraints

arXiv 2510.25890 ↗First posted 29 Oct 2025cs.SE cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 11 of its 34 references that are in the map. First posted on arXiv 29 Oct 2025.

Builds on

11 of 34 references.

References · 11

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  3. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
  4. 2023Grammar-Constrained Decoding for Structured NLP Tasks without Finetuningcited by 186
  5. 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
  6. 2024XGrammar: Flexible and Efficient Structured Generation Engine for Large Language Modelscited by 73
  7. 2024Grammar-Aligned Decodingcited by 54
  8. 2024On the use of Large Language Models in Model-Driven Engineeringcited by 13
  9. 2024Synergy of Large Language Model and Model Driven Engineering for Automated Development of Centralized Vehicular Systemscited by 7
  10. 2024PathOCL: Path-Based Prompt Augmentation for OCL Generation with GPT-4cited by 4
  11. 2025Accurate and Consistent Graph Model Generation from Text with Large Language Modelscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.