Metraipolis › archive › dc_d349c5979304
When Does the Dependency Graph Help Code-to-Architecture Mapping? — arXiv:2610.19769
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.19769
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-15T14:23:35.326Z
- SHA-256 of the archived text
e3cc2b9320947d23012476cef87e3d90a099e490d8829f75a8170403a5756f9a- Stable URL of this page
https://metraipolis.com/documento/dc_d349c5979304
How to cite
When Does the Dependency Graph Help Code-to-Architecture Mapping? — arXiv:2610.19769 — arXiv (en), https://arxiv.org/abs/2610.19769 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d349c5979304 (Metraipolis archive dc_d349c5979304, sha256 e3cc2b9320947d23012476cef87e3d90a099e490d8829f75a8170403a5756f9a)
BibTeX
@misc{dcd349c5979304,
title = {When Does the Dependency Graph Help Code-to-Architecture Mapping? — arXiv:2610.19769},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.19769},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d349c5979304; sha256 e3cc2b9320947d23012476cef87e3d90a099e490d8829f75a8170403a5756f9a},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.19769. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Architectural technical debt arises when a system's implementation drifts from its inten ded modular decomposition, while the mapping between source files and architectural modu les is missing, incomplete, or costly to maintain manually. We formulate code-to-archite cture mapping as semi-supervised node classification over a directed multi-relational de pendency graph, with files as nodes, typed dependencies as edges, and lexical features d erived from code identifiers and directory layout. Starting from a small labeled sample, an iterative self-training procedure expands the mapping to the remaining files. We com pare a graph convolutional network (GCN), a graph attention network (GAT), and a graph-f ree multi-layer perceptron (MLP), using identical features and training procedures for t he learned models, against a Naive Bayes reference. Across 100 runs on ten open-source J ava and C/C++ systems, all three neural models outperform the reference on both F1 metri cs. GAT achieves the highest averages of system-level median macro and micro F1, at 83.5 and 92.2, respectively, whereas MLP remains competitive or superior on several systems. On Chrome, the largest system with 18,343 files, GAT and GCN exceed MLP by 22 and 19 ma cro-F1 points, respectively, and have substantially fewer persistently misclassified fil es. Connectivity and homophily are associated with where neural message passing helps, w hile multi-relational aggregation outperforms a single merged edge type on every system for both GCN and GAT. A follow-up study finds that several model rankings depend on the training seed, qualifying smaller advantages without removing the large graph benefit ob served on Chrome. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.LG, nuovi lavori del giorno). Categorie arXiv: Software Engineering (cs.SE) ; Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2610.19769 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-15T13:53:35.902Z dalla pagina https://arxiv.org/list/cs.LG/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).