Self-Supervised Discovery of Neural Circuits in Spatially Patterned Neural Responses with Graph Neural Networks

Kijung Yoon · DOI

Introduction: The Challenge of Circuit Inference

A fundamental objective in neuroscience is "circuit inference"—the process of reconstructing synaptic connectivity from observed neural activity. However, two primary obstacles hinder this goal:

  1. Partial Observability: Recording technology rarely captures every neuron in a circuit simultaneously.
  2. Spurious Correlations: In recurrent networks, such as those maintaining spatial orientation, neurons often exhibit co-activity due to the global network state rather than direct physical connections.
The challenge of inferring connectivity (W) from neural activity on a ring attractor.

Traditional statistical approaches, like Generalized Linear Models (GLMs), frequently "hallucinate" connections between neurons that are merely co-active. This research introduces a self-supervised Graph Neural Network (GNN) framework designed to "explain away" these correlations to uncover the true underlying structural connectivity.

Methods: A Dual-Module GNN Framework

The authors propose a dual-module architecture that learns connectivity as a byproduct of predicting future neural activity. This self-supervised approach eliminates the need for ground-truth connectivity labels during training.

Overview of the GNN framework: (a) Ground truth connectivity, (b) observed activity, (c) structure learning module, and (d) spike prediction module.
  • Structure Learning Module: This module processes raw spike trains to generate latent embeddings for each neuron. A Multi-Layer Perceptron (MLP) then estimates pairwise connectivity weights ($w_{ij}$) for every pair of neurons.
  • Spike Prediction Module: A GNN uses these inferred weights to perform "message passing," simulating how activity flows through the network to predict future spikes.
  • Addressing Hidden Neurons: To handle partial observability, the model incorporates "auxiliary nodes" for unobserved neurons. In spatially organized circuits (like ring attractors), 2D interpolation is used to estimate the influence of these missing components.

Datasets and Evaluation

The framework was validated using both synthetic and biological datasets:

  • Synthetic Ring Attractors: 100-neuron networks were simulated with "Mexican-hat" connectivity (local excitation, long-range inhibition). The authors tested both deterministic threshold-crossing and stochastic Linear-Nonlinear Poisson (LNP) spike generation models.
  • Biological Data: The model was applied to recordings from head direction (HD) cells in the mouse anterodorsal thalamic nucleus (ADn), involving 19 simultaneously recorded neurons from mice foraging in an open arena.

Key Insights: Prediction as a Proxy for Structure

The core innovation is the realization that for a model to accurately predict complex, non-linear dynamics, it must converge on a structural representation that mirrors the physical circuit. By explicitly modeling interactions as edges in a GNN, the framework can suppress artifacts and "side dips" in the weight matrix that typically plague GLMs in strongly recurrent regimes. Furthermore, the use of transductive inference with hidden nodes allows the model to account for the influence of unrecorded neurons, stabilizing the inference for observed cells.

Key Results

  • Enhanced Accuracy: In synthetic networks, the GNN reduced inference error significantly, outperforming advanced statistical baselines (GLM, seqNMF, and TCA) by at least 70% in resolving unconnected neurons.
  • Robustness: Accuracy remained high even under external sensory steering (e.g., simulating head movement).
  • Biological Validation: On real mouse HD data, the GNN recovered a connectivity profile of local excitation and surrounding inhibition. This aligns perfectly with theoretical "continuous attractor" models that have been hypothesized for decades but are difficult to prove via direct recording.

Limitations and Future Directions

While effective, the current model assumes static synaptic connectivity and does not yet account for synaptic plasticity over time. Additionally, the handling of hidden neurons currently relies on a "ring" geometry prior. Future work aims to learn these positional embeddings from scratch to accommodate more complex or unknown topologies, such as 3D cortical columns.

Summary updated

BibTeX
@inproceedings{yoon2025self,
  author = {Kijung Yoon},
  title = {{Self-Supervised Discovery of Neural Circuits in Spatially Patterned Neural Responses with Graph Neural Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=GHAtg6RQ3b},
}
Figure