AI and the World's Hard Problems · Theoretical computer science · arXiv · 2026-12-01
Transformer Connectomics: Structural and Functional Connectivity as a Network-Level Lens on Attention Heads

Circuit-discovery methods identify circuits behind specific behaviors in transformers, but few tools characterize a model's global organization before a task or circuit is known. The authors adapt network neuroscience methods, treating attention heads as nodes of a directed graph with structural connectivity from weight composition and functional connectivity from activity correlations. Using permutation tests, community detection, and structure-function coupling, the framework identifies meaningful head communities, recovers known mechanistic structure without supervision, and reveals model-specific patterns beyond architecture.