TL;DR
Instead of inspecting static neuron activations, this paper introduces graph probing to analyze the dynamic functional connectivity (co-activation patterns over time) among neurons in Large Language Models (LLMs). The authors find that neural topology predicts language generation performance and high-level concepts far better than activation values alone, revealing brain-like "default networks" and specialized hub neurons that dictate model performance.
What Problem Does This Paper Address?
Traditional mechanistic interpretability and probing techniques typically analyze static neural activations—looking at the magnitude or latent direction of a neuron at a specific token or layer to see what concept it represents. However, neuroscience has long studied biological brains not merely through isolated activations, but through functional connectivity: how neurons dynamically synchronize over time to execute complex behaviors.
Until now, we lacked a clear understanding of how LLM neurons functionally interact as dynamic networks, whether their topological structure mirrors biological brain networks, and whether that internal structure directly governs generation quality and emergent model capabilities.
Methods
-
Constructing Neural Topology: As an LLM auto-regressively processes an input sequence of tokens $X = [x_0, \dots, x_t]$, the hidden states of $n$ neurons form an activation time series $H \in \mathbb{R}^{n \times t}$. The functional connectivity matrix $A \in \mathbb{R}^{n \times n}$ is computed by calculating the pairwise Pearson correlation coefficient between each neuron pair's temporal activation series.
-
Graph Probing: The authors feed this connectivity matrix into simple linear probes, MLPs, or Graph Neural Networks (GNNs) to predict macro-level performance metrics (such as sequence perplexity) or semantic attributes.
-
Sparsification & Scalability: Dense pairwise connectivity scales quadratically ($O(n^2)$). To scale up to billion-parameter models, the authors prune weakly correlated edges via thresholding (retaining as few as 1% to 10% of edges) and use weight-sharing GNN probes to reduce parameter overhead to $O(n \cdot d)$.
-
Causal Intervention & Graph Matching:
- Causal Ablation: Zeroing out the top 1% of neurons by degree versus activation to test functional necessity.
- Contrastive Graph Matching: Using contrastive learning on GNN-extracted graph embeddings to compare topological similarity across different model families, generations, and fine-tuning checkpoints.
Datasets
- OpenWebText: Used to build the primary graph probing dataset (~10,000 graph–perplexity pairs per model, sequences between 256 and 1024 tokens).
- Space and Time Datasets (Gurnee & Tegmark, 2024): Artworks (predicting historical release years) and World Places (predicting latitude and longitude).
- MMLU & MMLU-Pro: Used for causal neuron intervention, pruning benchmarks, and 10-class subject prediction.
- TruthfulQA: 817 questions (5,918 QA pairs) used for binary hallucination classification.
- CLEVR & MS-COCO: Evaluated in preliminary Vision-Language Model (VLM) experiments with LLaVA-v1.5.
Key Insights and Ideas
- Connectivity trumps activation magnitude: The structure of computation (how neurons co-vary together over sequence processing) contains orders of magnitude richer information about performance and semantics than raw activation magnitudes.
- Intrinsic "Default Networks" exist in LLMs: Much like the human brain's default mode network, models maintain a core set of approximately 40 hub neurons that rank as top hubs across 100% of evaluated text samples, regardless of content.
- Hub neurons are causally critical: LLMs actually rely heavily on these topological hubs. Disabling the top 1% highest-degree neurons causes performance collapses far more devastating than zeroing out the highest-activation neurons.
- Functional Specialization: Neurons exhibit clear domain specialization. For example, intervening on a single "STEM neuron" (#894 in Layer 12 of Qwen2.5-0.5B) caused 3.57 times more output variation on STEM queries than on social science queries.
- Topological Fingerprints: Even after extensive fine-tuning where parameter weights drift significantly, a model’s topological signature remains virtually unchanged, enabling intellectual property fingerprinting.
Key Results
- Perplexity Regression: Graph probing achieved test $R^2$ scores between 0.85 and 0.91 across GPT-2, Pythia, and Qwen2.5 models (from 124M to 14B parameters). Activation probing struggled, staying below 0.45 $R^2$ (a relative gain of up to 130.4% for topology).
- Extreme Sparsity: Retaining just 1% of connections still allowed graph probes to hit an $R^2 > 0.60$, continuing to surpass dense activation probes.
- Space and Time Semantics: Probing topology beat activation probing by up to 67.7% in predicting historical dates and geographic coordinates.
- Causal Ablations on MMLU: Removing the top 1% hub neurons degraded MMLU accuracy by 45.4% to 69.8% across Qwen2.5 models; on Qwen2.5-14B, the performance drop was 95.5% larger than removing the highest-activation neurons.
- Downstream Applications:
- Pruning: Pruning low-degree neurons consistently outperformed WANDA on Qwen2.5-1.5B (retaining >51% accuracy vs. WANDA’s 30% at 25% pruning ratio).
- Hallucination Detection: Topology probes outperformed activation baselines by up to 9.73% accuracy on TruthfulQA.
- Fingerprinting: Achieved Group AUC (GAUC) above 0.96 across Pythia-160M checkpoints up to 16,000 fine-tuning steps, despite 5.5× weight drift.
Limitations and Future Work
- Scale: The largest model analyzed in the paper is 14B parameters; testing on frontier-scale LLMs (70B+) remains to be validated.
- Graph Metrics: The study focuses primarily on degree centrality and pairwise correlation; deeper graph properties like community modularity, motifs, and small-world clustering coefficients have yet to be investigated.
- Reasoning Models: The impact of explicit test-time compute and reasoning traces (e.g., DeepSeek-R1) on neural topology is still unexplored.
- Multimodal Models: Early tests on VLMs demonstrate promising results, but comprehensive cross-modal topological dynamics require further study.
Summary updated