mlsanityData to 24 Nov 2026

From Language-Specific to Cross-DSL: Semantic-Role-Guided Model Completion with LLMs

arXiv 2611.18952 ↗Submitted 13 Nov 2026cs.SE cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

The rapid emergence of large language models (LLMs), trained on vast and diverse corpora, has positioned them as a promising source of domain knowledge to assist modelers. However, leveraging LLMs for model completion remains challenging: suggestions must respect both the syntax of a domain-specific language (DSL) and the intended domain semantics, while remaining consistent with an evolving model. This paper presents RAFiC, an LLM-based approach for iterative domain model completion that generalizes across DSLs. It drives completion using metamodel information to ensure syntactic validity and enriches prompts with semantic-role annotations to better capture the intended modeling role of DSL elements. The approach provides context-aware, incremental guidance during model construction. We evaluate RAFiC through an ablation-based comparative study over three DSLs and two scenarios per DSL to isolate the contribution of syntactic and semantic guidance. Across these six scenarios, semantic role guidance improves contribution rate in every case, and RAFiC improves completion effectiveness over weaker prompting configurations in most of them. The largest gains occur for DSLs that are less represented in LLM training data. In these cases, iterative guidance leads to earlier and more stable accepted suggestions, while semantic role guidance improves their relevance.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 10 of its 51 references that are in the map. Submitted 13 Nov 2026.

Builds on

10 of 51 references.

References · 10

  1. 2017Attention Is All You Needcited by 62,125
  2. 2023GPT-4 Technical Reportcited by 19,416
  3. 2024The Llama 3 Herd of Modelscited by 16,113
  4. 2025Qwen3 Technical Reportcited by 9,994
  5. 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 644
  6. 2023Towards Human-Bot Collaborative Software Architecting with ChatGPTcited by 32
  7. 2023Investigating ChatGPT's Potential to Assist in Requirements Elicitation Processescited by 26
  8. 2024Model Generation with LLMs: From Requirements to UML Sequence Diagramscited by 15
  9. 2022Towards using Few-Shot Prompt Learning for Automating Model Completioncited by 14
  10. 2026Multi-Location Software Model Completioncited by 1

Built on by

Not cited yet.