KIT | KIT-Bibliothek | Impressum | Datenschutz

Evaluating Embedding Models and Preprocessing for Retrieval of MDE Elements in RAG Systems

Roßkothen, Julian ORCID iD icon 1; Inca Pilco, David; Hey, Tobias ORCID iD icon 1; Reichmann, Clemens; Reussner, Ralf 1
1 Institut für Informationssicherheit und Verlässlichkeit (KASTEL), Karlsruher Institut für Technologie (KIT)

Abstract (englisch):

Model-driven engineering tools manage large, interconnected models that may contain millions of model elements, making it increasingly difficult for engineers to locate relevant information using classical search mechanisms. Retrieval-Augmented Generation is a promising approach for enabling natural language question answering for large knowledge bases, but the applicability of text-based embedding models to highly structured, graph-shaped model artifacts has not been systematically evaluated. This paper presents an empirical study comparing 13 embedding models, 7 serialization formats, and 7 data preprocessing strategies for the retrieval of model elements. In an evaluation on two PREEvision Electric/Electronic-architecture models using automatically derived questions, we find that text embedding models are capable of capturing the semantics of model elements. However, they often only find anchor points in the model and struggle to retrieve all relevant model elements. The choice of embedding model is the dominant factor, followed by data preprocessing. Serialization has a smaller but model-dependent effect; compact, semi-structured formats such as Markdown key-value pairs perform most robustly. ... mehr


Postprint §
DOI: 10.5445/IR/1000196452
Veröffentlicht am 25.08.2026
Originalveröffentlichung
DOI: 10.1145/3837062.3839371
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Informationssicherheit und Verlässlichkeit (KASTEL)
Publikationstyp Proceedingsband
Publikationsmonat/-jahr 10.2026
Sprache Englisch
Identifikator ISBN: 979-8-4007-2903-4
KITopen-ID: 1000196452
Veranstaltung 8th Workshop on Artificial Intelligence and Model-driven Engineering (MODELS Intelligence 2026), Málaga, Spanien, 04.10.2026 – 09.10.2026
Verlag Association for Computing Machinery (ACM)
Projektinformation SFB 1608/1, 501798263 (DFG, DFG KOORD, SFB 1608)
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page