EUVIMEDEUVIMED entdecken
Open Access · CC BY-NC 4.0

Detecting semantic alignments between textual specifications and domain models

Shwetali Shimangaud, Lola Burgueño, Jörg Kienzle, Rijul Saini

Information and Software Technology · 2026-09 · 197 · 108154

DOI: 10.1016/j.infsof.2026.108154 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Information and Software Technology, 2026-09. Verfasst von Shwetali Shimangaud und 3 weiteren Autor:innen. Die Arbeit nennt 47 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY-NC 4.0). Gefördert von: Universidad de Malaga, Gobierno de España Ministerio de Ciencia e Innovación.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Context

Having domain models derived from textual specifications has proven to be very useful in the early phases of software engineering. However, creating correct domain models and establishing clear links with the textual specification is a challenging task, especially for novice modelers.

Objectives

We propose an approach for determining the alignment between a partial domain model and a textual specification.

Methods

To this aim, we use Natural Language Processing techniques to pre-process the text, generate an artificial natural language specification for each model element, and then use an LLM to compare the generated description with matched sentences from the original specification. Ultimately, our algorithm classifies each model element as either aligned (i.e., correct), misaligned (i.e., incorrect), or unclassified (i.e., insufficient evidence). Furthermore, it outputs the related sentences from the textual specification that provide the evidence for the determined class.

Results

We have evaluated our approach on a set of examples from the literature containing diverse domains, each consisting of a textual specification and a reference domain model, as well as on models containing modeling errors that were systematically derived from the correct models through mutation. Our results show that we are able to identify alignments and misalignments with a precision close to 1 and a recall of approximately 78%, with execution times ranging from 18 seconds to 1 minute per model element.

Conclusion

Since our algorithm almost never classifies model elements incorrectly, and is able to classify over 3/4 of the model elements, it could be integrated into a modeling tool to provide positive feedback or generate warnings, or employed for offline validation and quality assessment.

Förderung

  • Universidad de Malaga
  • Gobierno de España Ministerio de Ciencia e Innovación

Zitieren

APA

Shimangaud, S., Burgueño, L., Kienzle, J., & Saini, R. (2026). Detecting semantic alignments between textual specifications and domain models. Information and Software Technology, 197, 108154. https://doi.org/10.1016/j.infsof.2026.108154

Vancouver

Shimangaud S, Burgueño L, Kienzle J, Saini R. Detecting semantic alignments between textual specifications and domain models. Information and Software Technology. 2026;197:108154. doi:10.1016/j.infsof.2026.108154

BibTeX
@article{Shimangaud2026,
  author = {Shimangaud, Shwetali and Burgueño, Lola and Kienzle, Jörg and Saini, Rijul},
  title = {Detecting semantic alignments between textual specifications and domain models},
  journal = {Information and Software Technology},
  year = {2026},
  volume = {197},
  pages = {108154},
  doi = {10.1016/j.infsof.2026.108154}
}
Kostenlos starten →