Research

Whole-brain dynamics of learning

How an entire nervous system reorganizes when an animal learns to avoid a pathogen, studied with brain-wide calcium imaging of C. elegans at the resolution of named neurons.

When
2022–present
Where
Zhang Lab, Harvard University, with the Lu Lab at Georgia Tech
With
Jingting Liang, Sihoon Moon, Hyun Jee Lee, Panagiotis Eleftheriadis, Juan Chen, Minghai Ge, Maoting Chen, Hang Lu, Yun Zhang

A full description of this project is coming soon. Until then, the preprint is the reference.

In a collaboration between the Zhang and Lu labs, we image brain-wide activity in C. elegans before and after aversive olfactory learning and ask how the whole nervous system reorganizes. I lead the computational analysis and modeling: tensor decomposition across imaging strains, population geometry, dynamical-systems models and network analysis, all run in CeDNe on the named-neuron connectome.

The preprint reports that learning induces a context-gated reconfiguration of neural activity throughout the brain, altering responses only during the pathogen-versus-food discrimination while leaving pathogen sensing intact; that the context is encoded across layers of the nervous system; and that low-dimensional patterns of population activity track the locomotor patterns that express the learned preference.

Papers from this work

  1. bioRxiv

    Aversive learning induces context-gated global reorganization of neural dynamics in Caenorhabditis elegans

    J. Liang*, S. Moon*, S. Moza*, H.J. Lee*, P.E. Eleftheriadis, J. Chen, M. Ge, M. Chen, H. Lu, Y. Zhang

    bioRxiv (2025) · Under revision

    Abstract

    Learning generates experience-dependent changes to the brain. However, how neurons of diverse functions and connectivity reorganize and modulate their activities to generate coherent changes while preserving essential functions is not well understood. Here, we address this question using an aversive olfactory learning paradigm whereby Caenorhabditis elegans learns to reduce its olfactory preference for pathogenic bacteria. Using functional imaging during olfactory stimulation in naive and trained animals, we show that, at brain-wide scale, cell type-by-cell type, learning induces context-gated reconfiguration of the organization of neural activity throughout the brain to alter neural responses only during bacteria-discrimination task, while leaving intact bacteria-sensing functions. We found that the context-gated encoding of learning is globally distributed across layers of the nervous system, composed of neurons carrying information of context or learning experience. In particular, aversive training modulates multiple functional connections within the nervous system, including those between sensory neurons and interneurons, as well as those among interneurons, in a context-gated manner. At the systems level, training modulates correlated activity of neural populations; we found that low-dimensional temporal patterns of population activity correlate well with locomotory gaits that express olfactory preferences. Upon training, the rotation and contraction of the low-dimensional neural manifolds shifts the brain into predisposed states for the context-gated display of learned behavior. Because animals encounter unpredictable environments in life, efficient learning about relevant cues while maintaining other functions is essential for survival. Our findings uncover network-level mechanisms that help explain how the brain reorganizes its activity patterns to both encode new experience and preserve essential functions.

  2. bioRxiv

    Network modularity reveals context and state-dependent reorganization of time-varying functional connectivity in single-cell resolved neural activity recordings

    S. Moon, J. Liang, H.J. Lee, A. Maalouf, Z. Yu, S. Moza, Y. Zhang, H. Lu

    bioRxiv (2025)

    Abstract

    An important goal of neuroscience is to understand how biological neural networks organize activity at multiple scales to enable complex information processing and behavioral output. To address this challenge, large-scale neural activity datasets with increased resolution and wider coverage have become more prevalent across many model systems. However, bridging the gap in scale between changes in pairwise functional connectivity between neurons and changes in brain-wide organization of activity remains a key challenge. In this work, we demonstrate application of modularity-based community detection and network modularity to single-cell resolved recordings, for the first time, as a method to summarize complex changes in time-varying functional connectivity, facilitating comparisons across multiple time windows, recordings, and conditions. We apply these methods to both single-cell resolved multi-cell and whole-brain activity recordings. In the multi-cell recordings, we find that food odor changes functional connectivity between existing network modules in a C. elegans locomotory interneuron network, rather than reorganizing them. In spontaneous whole-brain activity, we identify several key hub neurons and combinations that significantly destabilize module assignments when silenced. Together, these results demonstrate community detection and modularity as a method for detecting context and network state-dependent changes in functional connectivity at the intermediate scale of network modules in single-cell resolved neural activity. Results from these analyses facilitate future investigation of mechanisms that mediate organization of neural activity at intermediate scales.