BioGeeks

Transformer Connectomics: Structural and Functional Connectivity as a Network-Level Lens on Attention Heads

研究arXiv q-bioDaming Li, Sophia Simeng Han, Wanyu Lei et al.5天前

Mechanistic interpretability has made substantial progress in identifying circuits responsible for specific behaviors in transformer language models, but offers comparatively few tools for characterizing the global organization of a model before a task or circuit is known. In this work, we adapt techniques from network neuroscience and introduce transformer connectomics, a network-level framework that applies the statistical methodology of structural and functional connectomics to attention heads. We treat attention heads as the nodes of a directed graph, define structural connectivity (SC) from weight-composition pathways and functional connectivity (FC) from correlations of head activity during inference, and analyze the resulting connectomes using permutation-based hypothesis tests, community detection, and structure-function coupling. We validate the framework along three complementary dimensions: recovering architectural organization, recovering known mechanistic structure, and distinguishing learned organization across models. Across these settings, transformer connectomics identifies meaningful head communities, captures established model structure without supervision, and reveals model-specific organizational patterns beyond architecture alone. Transformer connectomics complements existing circuit-discovery and feature-based approaches by providing a task-agnostic statistical description of head organization that can generate hypotheses for downstream mechanistic analysis.

在 arxiv.org 閱讀

討論

下一步請選擇名稱。已是會員?登入。

追蹤此討論串

有人留言時寄送郵件通知。無需帳號。

電子報

Get our free newsletter with new instruments, prices and biotech news.