Architectural models are rich and useful representations of systems’ designs, which can be reused and adapted to design new systems. The many publicly available architectural models (e.g., on GitHub) offer the opportunity to reuse domain knowledge to bootstrap the design of new systems, avoiding common mistakes and promoting the reuse of good principles and practices. Discovering related architectures to distill domain knowledge, however, is challenging, and this body of public knowledge often remains underexploited. To address this need, this paper investigates the application of structural-semantic clustering strategies to automatically cluster sets of architectural models. We consider multiple structural model clustering strategies, which represent models as graphs, and multiple semantic model clustering strategies, utilizing embeddings to compare the names and contents of models. To assess the considered strategies, we built a curated dataset of 1,202 manually clustered models collected from GitHub, which is the largest ground truth of clustered architectural models, to the best of our knowledge. The proposed empirical study thoroughly analyses the effectiveness of clustering strategies, since they are the instrument that can enable the discovery of implicit architectural knowledge available in models.

Tran, T., Rossi, M., Soldati, D., Sonzogni, M., Salle, A., Iovino, L., et al. (2026). Structural-Semantic Clustering for Architectural Models. JOURNAL OF OBJECT TECHNOLOGY, 25(3), 309-322 [10.5381/jot.2026.25.3.a24].

Structural-Semantic Clustering for Architectural Models

Mariani L.
2026

Abstract

Architectural models are rich and useful representations of systems’ designs, which can be reused and adapted to design new systems. The many publicly available architectural models (e.g., on GitHub) offer the opportunity to reuse domain knowledge to bootstrap the design of new systems, avoiding common mistakes and promoting the reuse of good principles and practices. Discovering related architectures to distill domain knowledge, however, is challenging, and this body of public knowledge often remains underexploited. To address this need, this paper investigates the application of structural-semantic clustering strategies to automatically cluster sets of architectural models. We consider multiple structural model clustering strategies, which represent models as graphs, and multiple semantic model clustering strategies, utilizing embeddings to compare the names and contents of models. To assess the considered strategies, we built a curated dataset of 1,202 manually clustered models collected from GitHub, which is the largest ground truth of clustered architectural models, to the best of our knowledge. The proposed empirical study thoroughly analyses the effectiveness of clustering strategies, since they are the instrument that can enable the discovery of implicit architectural knowledge available in models.
Articolo in rivista - Articolo scientifico
Architectural Models; Clustering; Semantic Similarity; Software Architecture; Structural Similarity;
English
17-lug-2026
2026
25
3
309
322
open
Tran, T., Rossi, M., Soldati, D., Sonzogni, M., Salle, A., Iovino, L., et al. (2026). Structural-Semantic Clustering for Architectural Models. JOURNAL OF OBJECT TECHNOLOGY, 25(3), 309-322 [10.5381/jot.2026.25.3.a24].
File in questo prodotto:
File Dimensione Formato  
Thi Dinh et al-2026-Journal of Object Technology-VoR.pdf

accesso aperto

Tipologia di allegato: Publisher’s Version (Version of Record, VoR)
Licenza: Creative Commons
Dimensione 1.82 MB
Formato Adobe PDF
1.82 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/630882
Citazioni
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
Social impact