Detecting semantic alignments between textual specifications and domain models

dc.centroE.T.S.I. Informática
dc.contributor.authorShimangaud, Shwetali
dc.contributor.authorBurgueño-Caballero, Lola
dc.contributor.authorKienzle, Jörg
dc.contributor.authorSaini, Rijul
dc.date.accessioned2026-05-15T11:54:36Z
dc.date.issued2026-05-05
dc.departamentoLenguajes y Ciencias de la Computación
dc.description.abstractContext: 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. Objective: 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 s to 1 min 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.
dc.description.sponsorshipFunding for open access charge: Universidad de Málaga/CBUA
dc.identifier.citationShwetali Shimangaud, Lola Burgueño, Jörg Kienzle, Rijul Saini, Detecting semantic alignments between textual specifications and domain models, Information and Software Technology, Volume 197, 2026, 108154, ISSN 0950-5849, https://doi.org/10.1016/j.infsof.2026.108154.
dc.identifier.doi10.1016/j.infsof.2026.108154
dc.identifier.urihttps://hdl.handle.net/10630/46639
dc.language.isoeng
dc.publisherElsevier
dc.rightsAttribution-NonCommercial 4.0 Internationalen
dc.rights.accessRightsopen access
dc.rights.urihttp://creativecommons.org/licenses/by-nc/4.0/
dc.subjectIngeniería del software
dc.subjectProceso de lenguaje natural (Informática)
dc.subjectInteligencia artificial
dc.subject.otherLarge Languaje models
dc.subject.otherDomain models
dc.subject.otherTextual requirements
dc.subject.other(Mis)alignment detection
dc.titleDetecting semantic alignments between textual specifications and domain models
dc.typejournal article
dc.type.hasVersionVoR
dspace.entity.typePublication
relation.isAuthorOfPublication31808e70-d2ec-4318-8ead-dded38954d40
relation.isAuthorOfPublication.latestForDiscovery31808e70-d2ec-4318-8ead-dded38954d40

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
1-s2.0-S0950584926001436-main.pdf
Size:
1.8 MB
Format:
Adobe Portable Document Format

Collections