KIT | KIT-Bibliothek | Impressum | Datenschutz

Architecture in the Cradle: Early Warning of Architectural Decay with ArchGuard

Liu, Haoyu ORCID iD icon 1; Fuchß, Dominik ORCID iD icon 1; Corallo, Sophie ORCID iD icon 1; Hummel, Maximilian 1; Keim, Jan ORCID iD icon 1; Hey, Tobias ORCID iD icon 1
1 Institut für Informationssicherheit und Verlässlichkeit (KASTEL), Karlsruher Institut für Technologie (KIT)

Abstract:

Architectural decay can manifest as the evolution of architectural smells, degrading integrity, and increasing maintenance costs. Existing techniques capture smells post hoc or predict on component level, acting too late or on too coarse a granularity. We investigate if the risk of introducing architectural smells can already be predicted when issues are opened. Thus, we propose an issue-level prediction approach that utilizes the semantic representations of Large Language Models (LLMs). To enable training and evaluation, we construct a dataset from three GitLab-hosted projects by linking issues to smells via smell-inducing changes. On this dataset, we train classifiers to identify high-risk issues and conduct an empirical study comparing seven different representations and nine classifiers. Our best-performing classifier (SVM with OpenAI embeddings) achieves F1-scores of up to 0.506, with a recall of about 0.74. This means that our approach can identify approximately 74% of smell-inducing issues before implementation begins. When design alternatives are still being considered. Our approach provides early warnings of potential architectural risks.
... mehr


Postprint §
DOI: 10.5445/IR/1000191263
Veröffentlicht am 09.03.2026
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Informationssicherheit und Verlässlichkeit (KASTEL)
Publikationstyp Proceedingsbeitrag
Publikationsmonat/-jahr 06.2026
Sprache Englisch
Identifikator KITopen-ID: 1000191263
HGF-Programm 46.23.01 (POF IV, LK 01) Methods for Engineering Secure Systems
Erschienen in 23rd IEEE International Conference on Software Architecture (ICSA 2026)
Veranstaltung 23rd IEEE International Conference on Software Architecture (ICSA 2026), Amsterdam, Niederlande, 22.06.2026 – 26.06.2026
Verlag Institute of Electrical and Electronics Engineers (IEEE)
Projektinformation SFB 1608/1, 501798263 (DFG, DFG KOORD, SFB 1608)
Bemerkung zur Veröffentlichung In press
Schlagwörter Software Architecture, Software Quality, Machine Learning, Natural Language Processing, Classification
Relationen in KITopen
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page