arXiv:2609.06093cs.LGSep 2026

Manuscript Offprint

arXiv:2609.06093

Connectome-to-Function: Conditional Generative Latent Representations for Reservoir Computing

Zhuolin Yu, Xingyu Liu, Yuanhao Jia, Yunhang Xiao, Hairuo Xue, Feihan Sun, Guozhang Chen

Abstract

Connectomes, graph-level maps of neurons and their synaptic connections, provide a structural basis for understanding how brain circuits support function and computation. However, mapping connectome structure to computation remains difficult because these graphs are high-dimensional, sparse, and sensitive to local structural variation. Existing approaches often depend on hand-crafted structural descriptors or task-specific predictors, which limits their ability to represent connectomes in a form that is both generative and functionally meaningful. We propose a conditional generative latent framework that encodes connectome graphs into a compact structural space while using available node-level conditions to guide reconstruction and generation. From this space, the model can reconstruct observed connectivity with a mean edge-reconstruction AUC up to 0.910 and generate new candidate connectomes, enabling a unified analysis of graph structure and computational behavior. Using connectome-derived graphs as recurrent computational substrates, we found that the learned latent space captures functional variation across reservoir-computing experiments, with cross-validated R2R^2 values up to approximately 0.87. Interpretability analysis further revealed task-specific structural mechanisms: in our examples, memory performance is associated with reciprocal recurrent connectivity, whereas prediction and classification are more strongly associated with spectral properties of the recurrent network. These findings suggest an AI-for-science approach to linking neural connectivity to computation and provide a generative and interpretable basis for studying how distinct structural mechanisms shape computational capacity.

Introduction

A central scientific question in neuroscience is how the structure of a neural circuit gives rise to its computational function. Connectomes provide increasingly detailed descriptions of neural wiring across scales (Sporns, Tononi, and Kötter 2005), and network neuroscience has related topology to integration, segregation, and wiring cost (Bullmore and

Figure

Figure 1: Connectome-to-function latent space. Observed connectomes are encoded into a generative latent space where coordinates predict reservoir performance across copy memory, Lorenz system prediction, and sequential MNIST. Arrows indicate task-specific functional directions, and bottom values report cross-validated R2R^2.

Sporns 2009; Rubinov and Sporns 2010). Recent single-cell connectomes further resolve synaptic connectivity together with neuronal 3D position and cell identity (Dorkenwald et al. 2024; The MICrONS Consortium 2025), making this structure–function question accessible at the level of local circuits. Reservoir computing provides a controlled way to probe such relationships because recurrent connectivity is kept fixed while only a readout is trained (Jaeger 2001; Maass, Natschläger, and Markram 2002; Suárez et al. 2024). This leads to our central question: can measured connectome structure be organized into a continuous representation that helps explain variation in circuit computation?

Existing approaches capture only parts of this problem. Graph descriptors characterize empirical connectomes

∗^{*}These authors contributed equally.

†^{\dagger}Corresponding author.

through predefined statistics (Sporns, Tononi, and Kötter 2005; Bullmore and Sporns 2009; Rubinov and Sporns 2010), while generative network can synthesize graph structure (Vértes et al. 2012; Betzel et al. 2016; Betzel and Bassett 2017; Akarca et al. 2021; Barabási and Barabási 2020; Kipf and Welling 2016; Simonovsky and Komodakis 2018); however, these approaches are primarily designed to reproduce structural properties rather than to reveal how structural variation maps to computation. Shuvaev et al. showed that a compact generative encoding can preserve task-relevant network structure, evaluating compression by the performance of the generated network rather than weight reconstruction (Shuvaev et al. 2024; Gaier and Ha 2019). However, their representation is obtained for task-trained artificial networks with a specific task performance entering the optimization criterion. Conversely, connectome-based reservoir studies directly evaluate biological wiring as a computational substrate (Damicelli, Hilgetag, and Goulas 2022; Morra and Daley 2023; Costi et al. 2025; Sumi et al. 2023), but largely study fixed connectomes or rewired variants. Thus, a key gap remains: a generative representation learned solely from measured biological connectivity in which computational organization can be discovered without using function to train the representation.

To address this gap, we propose a conditional generative latent framework for sparse connectome graphs (Sohn, Lee, and Yan 2015). The model encodes each local circuit into a compact structural coordinate while using neuronal location and cell type as generation conditions, enabling both reconstruction and controlled sampling of candidate connectomes. Experiments show that this latent space is structurally faithful and functionally informative. The model reaches an edge-reconstruction AUC of 0.910 and better preserves higher-order topology than a naive VAE baseline (Liu, Li, and Chen 2026). When generated graphs are evaluated as reservoirs on memory, forecasting, and classification tasks (Suárez et al. 2024), their latent coordinates predict performance with cross-validated R2R^2 values of approximately 0.46–0.87. Interpretability analysis further reveals task-specific structural mechanisms: memory is associated with reciprocal recurrent connectivity, whereas prediction and classification are more strongly associated with spectral properties of the recurrent network. Thus, the learned coordinates provide a generative graph representation aligned with measurable computational variation.

In summary, our main contributions are as follows:

  • We propose a conditional generative framework for connectome graphs that learns latent representations by conditioning on neuronal cell type and spatial organization.

  • We identify a structure-function space predictive of reservoir-computing performance in the learned latents, across various tasks including memory, dynamic prediction, and classification.

  • We conduct an interpretability analysis of the learned connectome space, linking task-relevant functional directions to distinct structural mechanisms.

References (42)