mlsanityData to 14 Oct 2026

When Does the Dependency Graph Help Code-to-Architecture Mapping?

arXiv 2610.19769 ↗First posted 14 Oct 2026cs.SE cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 7 of its 39 references that are in the map. First posted on arXiv 14 Oct 2026.

Builds on

7 of 39 references.

References · 7

  1. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  2. 2017Graph Attention Networkscited by 8,923
  3. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
  4. 2018Deeper Insights into Graph Convolutional Networks for Semi-Supervised Learningcited by 1,102
  5. 2023Software Architecture Recovery with Information Fusioncited by 5
  6. 2026ArchAgent: Scalable Legacy Software Architecture Recovery with LLMscited by 2
  7. 2021To Automatically Map Source Code Entities to Architectural Modules with Naive Bayescited by 1

Built on by

Not cited yet.