Search bioRxiv⌕ Search

Biology subjects

Linderman, S. W.

Publications and source records attributed to Linderman, S. W..

At least 19 recordsLinked to original sources

Inferring the evolving objectives that organize animal behavior

Understanding how the brain supports flexible, goal-directed behavior is a central aim of neuroscience. Yet such behavior is highly variable and unfolds over long timescales, making it challenging to understand its organization. Advances in behavioral tracking quantify movements but do not reveal the objectives that guide them. Motivated by this, we develop inverse reinforcement learning (IRL) into a general framework for inferring these objectives from naturalistic behavior. Our approach represents an animal's objectives as internal rewards, and infers these rewards as well as the policies they induce from observed behavior. It applies across diverse behavioral settings, from freely moving behaviors to structured tasks. It can infer objectives that switch over time or gradually change with experience. In mice capturing crickets, it identified a small set of objectives that the animals switched between over the course of a trial. In mice learning a cued labyrinth, it inferred how the animals' internal rewards changed as learning progressed. Across both datasets, the models predicted held-out actions and generated extended behavior that reproduced key features of animal performance. By transforming long, variable behavioral sequences into time-resolved estimates of the animal's objectives, our approach provides a quantitative basis for studying how the brain organizes natural behavior.

neuroscience↗

Dynamic belief representation and updating through learned attractor-like dynamics in the frontal cortex

To act adaptively, animals must infer hidden states of the world from incomplete sensory information and update beliefs as new observations accrue. While dopamine signals are well explained by reinforcement learning models that incorporate belief states, how the brain implements belief-state inference remains unknown. Prior modeling work showed that recurrent neural networks trained to predict value (Value-RNN) develop task-specific, attractor-like dynamics that mirror evolution of beliefs. Here we performed high-density electrophysiological recordings from orbitofrontal cortex (OFC) and other brain areas of mice performing two variants of a Pavlovian task that differ in reward probability, which produce different within-trial belief dynamics. We find that OFC population activity exhibits task-specific attractor-like dynamics that mirror the within-trial dynamics in the Value-RNN. These dynamics are absent in motor and olfactory regions, are not explained by behavioral differences, and emerge progressively with learning. Our findings indicate that the brain approximates belief-state inference through learned, task-specific attractor-like dynamics.

neuroscience↗

Projectomic Organization of the Serotonin System of the Mouse Brain

The serotonin system innervates nearly the entire brain to support diverse functions, and its dysfunction is implicated in multiple psychiatric disorders. Although recent studies suggested that this anatomically diffuse system supports differentiated rather than uniform modulation, its overall organization is unclear. Here, using systematic whole-brain axon tracing and integrated analyses, we show that the serotonin projectome is organized by functional relatedness rather than physical proximity of its targets. Dorsal and median raphe serotonin neurons partition into five projectomic groups, each preferentially innervating the hippocampus, basal ganglia, cortex, medial interbrain, or brainstem/lateral thalamus, with within-group structure ranging from discrete subgroups to continuous variation. Spatial transcriptomic analyses reveal that each projectomic group corresponds to a distinct combination of transcriptomic clusters, with transcriptome and somatic position jointly predicting projectomic identity. Projection-specific serotonin depletion produces dissociable behavioral phenotypes. Together, projectomic identity emerges as a central axis linking axon collateralization, molecular diversity, and behavioral function.

neuroscience↗

Stiefel Manifold Dynamical Systems for Tracking Representational Drift

Understanding neural dynamics is crucial for uncovering how the brain processes information and controls behavior. Linear dynamical systems (LDS) are widely used for modeling neural data due to their simplicity and effectiveness in capturing latent dynamics. However, LDS assumes a stable mapping from the latent states to neural activity, limiting its ability to capture representational drift--gradual changes in the brains representation of the external world. To address this, we introduce the Stiefel Manifold Dynamical System (SMDS), a new class of model designed to account for drift in neural representations across trials. In SMDS, emission matrices are constrained to be orthonormal and evolve smoothly over trials on the Stiefel manifold--the space of all orthonormal matrices--while the dynamics parameters are shared. This formulation allows SMDS to leverage data across trials while accounting for non-stationarity, thus capturing the underlying neural dynamics more accurately compared to an LDS. We apply SMDS to both simulated datasets and neural recordings across species. Our results consistently show that SMDS outperforms LDS in terms of log-likelihood and requires fewer latent dimensions to capture the same activity. Moreover, SMDS provides a powerful framework for quantifying and interpreting representational drift. It reveals a gradual drift over the course of minutes in the neural recordings and uncovers varying drift rates across dimensions, with slower drift in behaviorally and neurally significant dimensions.

neuroscience↗

Cross-brain transfer of high-performance intracortical speech and handwriting BCIs

Intracortical brain-computer interfaces (BCIs) that decode complex movements, such as handwriting and speech, can require substantial training data to achieve high performance. We investigated whether leveraging the neural activity recordings of previous users could reduce this initial data collection burden for new BCI users (an approach we call "cross-brain transfer"). Using intracortical recordings from five BrainGate2 clinical trial participants, we tested cross-brain transfer for both speech and handwriting neural decoders trained and evaluated on general, unconstrained corpora of spoken and written English. We found that cross-brain transfer improved decoding performance when training data from the target user was limited (< 200 sentences), and that dataset-specific input layers to the decoder were critical for combining data across users. Without trainable input layers, transfer failed and performed worse than training from scratch on target user data only. Finally, we measured the effectiveness of cross-brain transfer relative to training with (1) more data from the same user and (2) more electrode-permuted data from the same user, which simulates sampling from another brain with identical neural latent structure. In some cases (T16 speech, T12 handwriting), cross-brain transfer appeared as effective as additional permuted data from the same user, while in others (T12 speech, T15 speech) electrode-permuted data was more beneficial. Our results successfully demonstrate and characterize cross-brain transfer learning between multiple intracortical BCI users, for both speech and handwriting, using a general open-ended dataset not restricted to small sets of words or phrases. This work highlights a promising path towards addressing a key barrier to the clinical translation of BCIs, while clarifying when cross-brain transfer may be most beneficial and the decoder design choices needed to realize those gains.

neuroscience↗

Life-long behavioral screen reveals an architecture of vertebrate aging

Mapping behavior of individual vertebrate animals across lifespan is challenging, but if achieved, could provide an unprecedented view into the life-long process of aging. We created the first platform for high-resolution continuous behavioral tracking of a vertebrate animal across natural lifespan from adolescence to death--here, of the African killifish. This behavioral screen revealed that animals follow distinct individual aging trajectories. The behaviors of long-lived animals differed markedly from those of short-lived animals, even relatively early in life, and were linked to organ-specific transcriptomic shifts. Machine learning models accurately predicted age and even forecasted an individuals future lifespan, given only behavior at a young age. Finally, we found that animals progressed through adulthood in a sequence of stable and stereotyped behavioral stages with abrupt transitions suggesting a novel structure for the architecture of vertebrate aging.

animal behavior and cognition↗

Extracting task-relevant preserved dynamics from contrastive aligned neural recordings

Recent work indicates that low-dimensional dynamics of neural and behavioral data are often preserved across days and subjects. However, extracting these preserved dynamics remains challenging: high-dimensional neural population activity and the recorded neuron populations vary across recording sessions. While existing modeling tools can improve alignment between neural and behavioral data, they often operate on a per-subject basis or discretize behavior into categories, disrupting its natural continuity and failing to capture the underlying dynamics. We introduce Contrastive Aligned Neural DYnamics (CANDY), an end-to-end framework that aligns neural and behavioral data using rank-based contrastive learning, adapted for continuous behavioral variables, to project neural activity from different sessions onto a shared low-dimensional embedding space. CANDY fits a shared linear dynamical system to the aligned embeddings, enabling an interpretable model of the conserved temporal structure in the latent space. We validate CANDY on synthetic and real-world datasets spanning multiple species, behaviors, and recording modalities. Our results show that CANDY is able to learn aligned latent embeddings and preserved dynamics across neural recording sessions and subjects, and it achieves improved cross-session behavior decoding performance. We further show that the latent linear dynamical system generalizes to new sessions and subjects, achieving comparable or even superior behavior decoding performance to models trained from scratch. These advances enable robust cross-session behavioral decoding and offer a path towards identifying shared neural dynamics that underlie behavior across individuals and recording conditions. The code and two-photon imaging data of striatal neural activity that we acquired here are available at https://github.com/schnitzer-lab/CANDY-public.git.

neuroscience↗

Computation-through-Dynamics Benchmark: Simulated datasets and quality metrics for dynamical models of neural activity

A primary goal of systems neuroscience is to discover how ensembles of neurons transform inputs into goal-directed behavior, a process known as neural computation. A powerful framework for understanding neural computation uses neural dynamics - the rules that govern how neural activity evolves over time - to explain how goal-directed input-output transformations occur. As dynamical rules are not directly observable, we need computational models that can infer neural dynamics from recorded neural activity. We typically validate such models using synthetic datasets with known ground-truth dynamics, but unfortunately existing synthetic datasets dont reflect fundamental features of neural computation and may therefore be poor proxies for neural systems. Further, the field lacks validated metrics for quantifying the accuracy of the dynamics inferred by models. The Computation-through-Dynamics Toolkit (CtDToolkit) addresses these critical gaps by providing: 1) synthetic datasets that reflect computational properties of biological neural circuits, 2) interpretable metrics for quantifying model performance, and 3) a standardized pipeline for training and evaluating models with or without known external inputs. In this manuscript, we demonstrate how CtDToolkit can help guide the development, tuning, and troubleshooting of neural dynamics models. In summary, CtDToolkit provides a necessary framework for model developers to better understand and characterize neural computation through the lens of dynamics. Author SummaryUnderstanding how the brain works requires interpretable accounts of how populations of neurons process information to produce behavior. One powerful approach is to study "neural dynamics", the patterns of how neural activity evolves over time. Scientists develop computational models to infer these dynamics from neural recordings, but it has been challenging to know when the inferred dynamics are trustworthy. Existing datasets often lack key features of biological neural circuits, and current performance metrics can provide an incomplete picture of model quality. We developed the Computation-through-Dynamics Toolkit (CtDToolkit) to solve these problems. Our toolkit provides three key resources: biologically motivated synthetic datasets, improved metrics that provide more holistic accounts of model performance, and a standardized workflow for training and evaluating models. We hope that CtDToolkit enables researchers to rigorously test, improve, and troubleshoot their models before applying them to real brain data. This work establishes a crucial foundation for developing better methods to understand neural computation, ultimately advancing our ability to decode how the brain transforms sensory information into thought and action.

neuroscience↗

Concerted modulation of spontaneous behavior and time-integrated whole-brain neuronal activity by serotonin receptors

Serotonin neurons from the raphe nuclei project across the entire brain and modulate diverse physiology and behavior by acting on over a dozen receptors. Here, we took a step towards dissecting this complex process by examining the effects of agonists and antagonists of four widely expressed serotonin receptors (2A, 2C, 1A, and 1B) on spontaneous mouse behavior, which we related to time-integrated whole-brain neuronal activity as assessed by the expression of Fos, a canonical immediate-early gene product. Low-dimensional representations of behavioral and Fos map data revealed the dominant factors of variation in each domain, captured predictable differences across drug groups, and enabled predictions of behavioral changes following perturbations in Fos maps and vice versa. Our study provides a rich resource describing the effects of manipulating serotonin receptors on animal behavior and whole-brain integrated neuronal activity. It also establishes an experimental and analysis paradigm for interrogating the relationship between behavior and neuronal activity across different time scales.

neuroscience↗

A Bayesian Hierarchical Model of Trial-to-Trial Fluctuations in Decision Criterion

Classical decision models assume that the parameters giving rise to choice behavior are stable, yet emerging research suggests these parameters may fluctuate over time. Such fluctuations, observed in neural activity and behavioral strategies, have significant implications for understanding decision-making processes. However, empirical studies on fluctuating human decision-making strategies have been limited due to the extensive data requirements for estimating these fluctuations. Here, we introduce hMFC (Hierarchical Model for Fluctuations in Criterion), a Bayesian framework designed to estimate slow fluctuations in the decision criterion from limited data. We first showcase the importance of considering fluctuations in decision criterion: incorrectly assuming a stable criterion gives rise to apparent history effects and underestimates perceptual sensitivity. We then present a hierarchical estimation procedure capable of reliably recovering the underlying state of the fluctuating decision criterion with as few as 500 trials per participant, offering a robust tool for researchers with typical human datasets. Critically, hMFC does not only accurately recover the state of the underlying decision criterion, it also effectively deals with the confounds caused by criterion fluctuations. Lastly, we provide code and a comprehensive demo at www.github.com/robinvloeberghs/hMFC to enable widespread application of hMFC in decision-making research.

animal behavior and cognition↗

Structured flexibility in recurrent neural networks via neuromodulation

The goal of theoretical neuroscience is to develop models that help us better understand biological intelligence. Such models range broadly in complexity and biological detail. For example, task-optimized recurrent neural networks (RNNs) have generated hypotheses about how the brain may perform various computations, but these models typically assume a fixed weight matrix representing the synaptic connectivity between neurons. From decades of neuroscience research, we know that synaptic weights are constantly changing, controlled in part by chemicals such as neuromodulators. In this work we explore the computational implications of synaptic gain scaling, a form of neuromodulation, using task-optimized low-rank RNNs. In our neuromodulated RNN (NM-RNN) model, a neuromodulatory subnetwork outputs a low-dimensional neuromodulatory signal that dynamically scales the low-rank recurrent weights of an output-generating RNN. In empirical experiments, we find that the structured flexibility in the NM-RNN allows it to both train and generalize with a higher degree of accuracy than low-rank RNNs on a set of canonical tasks. Additionally, via theoretical analyses we show how neuromodulatory gain scaling endows networks with gating mechanisms commonly found in artificial RNNs. We end by analyzing the low-rank dynamics of trai ned NM-RNNs, to show how task computations are distributed.

neuroscience↗

Intrinsic dynamics and neural implementation of a hypothalamic line attractor encoding an internal behavioral state

Line attractors are emergent population dynamics hypothesized to encode continuous variables such as head direction and internal states. In mammals, direct evidence of neural implementation of a line attractor has been hindered by the challenge of targeting perturbations to specific neurons within contributing ensembles. Estrogen receptor type 1 (Esr1)-expressing neurons in the ventrolateral subdivision of the ventromedial hypothalamus (VMHvl) show line attractor dynamics in male mice during fighting. We hypothesized that these dynamics may encode continuous variation in the intensity of an internal aggressive state. Here, we report that these neurons also show line attractor dynamics in head-fixed mice observing aggression. We exploit this finding to identify and perturb line attractor-contributing neurons using 2-photon calcium imaging and holographic optogenetic perturbations. On-manifold perturbations demonstrate that integration and persistent activity are intrinsic properties of these neurons which drive the system along the line attractor, while transient off-manifold perturbations reveal rapid relaxation back into the attractor. Furthermore, stimulation and imaging reveal selective functional connectivity among attractor-contributing neurons. Intriguingly, individual differences among mice in line attractor stability were correlated with the degree of functional connectivity among contributing neurons. Mechanistic modelling indicates that dense subnetwork connectivity and slow neurotransmission are required to explain our empirical findings. Our work bridges circuit and manifold paradigms, shedding light on the intrinsic and operational dynamics of a behaviorally relevant mammalian line attractor.

neuroscience↗

Competitive integration of time and reward explains value-sensitive foraging decisions and frontal cortex ramping dynamics

Patch foraging presents a ubiquitous decision-making process in which animals decide when to abandon a resource patch of diminishing value to pursue an alternative. We developed a virtual foraging task in which mouse behavior varied systematically with patch value. Mouse behavior could be explained by a model integrating time and rewards antagonistically, scaled by a latent patience state. The model accounted for deviations from predictions of optimal foraging theory. Neural recordings throughout frontal areas revealed encoding of decision variables from the integrator model, most robustly in frontal cortex. Regression modeling followed by unsupervised clustering identified a subset of ramping neurons. These neurons firing rates ramped up gradually (up to tens of seconds), were inhibited by rewards, and were better described as a continuous ramp than a discrete stepping process. Together, these results identify integration via frontal cortex ramping dynamics as a candidate mechanism for solving patch foraging problems.

neuroscience↗

Periodic hypothalamic attractor-like dynamics during the estrus cycle

Cyclic changes in hormonal state are well-known to regulate mating behavior during the female reproductive cycle, but whether and how these changes affect the dynamics of neural activity in the female brain is largely unknown. The ventromedial hypothalamus, ventro-lateral subdivision (VMHvl) contains a subpopulation of VMHvlEsr1+,Npy2r- neurons that controls female sexual receptivity. Longitudinal single cell calcium imaging of these neurons across the estrus cycle revealed that overlapping but distinct subpopulations were active during proestrus (mating-accepting) vs. non-proestrus (rejecting) phases. Dynamical systems analysis of imaging data from proestrus females uncovered a dimension with slow ramping activity, which generated approximate line attractor-like dynamics in neural state space. During mating, the neural population vector progressed along this attractor as male mounting and intromission proceeded. Attractor-like dynamics disappeared in non-proestrus states and reappeared following re-entry into proestrus. They were also absent in ovariectomized females but were restored by hormone priming. These observations reveal that hypothalamic line attractor-like dynamics are associated with female sexual receptivity and can be reversibly regulated by sex hormones, demonstrating that attractor dynamics can be flexibly modulated by physiological state. They also suggest a potential mechanism for the neural encoding of female sexual arousal.

neuroscience↗

Emergence of belief-like representations through reinforcement learning

To behave adaptively, animals must learn to predict future reward, or value. To do this, animals are thought to learn reward predictions using reinforcement learning. However, in contrast to classical models, animals must learn to estimate value using only incomplete state information. Previous work suggests that animals estimate value in partially observable tasks by first forming "beliefs"--optimal Bayesian estimates of the hidden states in the task. Although this is one way to solve the problem of partial observability, it is not the only way, nor is it the most computationally scalable solution in complex, real-world environments. Here we show that a recurrent neural network (RNN) can learn to estimate value directly from observations, generating reward prediction errors that resemble those observed experimentally, without any explicit objective of estimating beliefs. We integrate statistical, functional, and dynamical systems perspectives on beliefs to show that the RNNs learned representation encodes belief information, but only when the RNNs capacity is sufficiently large. These results illustrate how animals can estimate value in tasks without explicitly estimating beliefs, yielding a representation useful for systems with limited capacity. Author SummaryNatural environments are full of uncertainty. For example, just because my fridge had food in it yesterday does not mean it will have food today. Despite such uncertainty, animals can estimate which states and actions are the most valuable. Previous work suggests that animals estimate value using a brain area called the basal ganglia, using a process resembling a reinforcement learning algorithm called TD learning. However, traditional reinforcement learning algorithms cannot accurately estimate value in environments with state uncertainty (e.g., when my fridges contents are unknown). One way around this problem is if agents form "beliefs," a probabilistic estimate of how likely each state is, given any observations so far. However, estimating beliefs is a demanding process that may not be possible for animals in more complex environments. Here we show that an artificial recurrent neural network (RNN) trained with TD learning can estimate value from observations, without explicitly estimating beliefs. The trained RNNs error signals resembled the neural activity of dopamine neurons measured during the same task. Importantly, the RNNs activity resembled beliefs, but only when the RNN had enough capacity. This work illustrates how animals could estimate value in uncertain environments without needing to first form beliefs, which may be useful in environments where computing the true beliefs is too costly.

neuroscience↗

Keypoint-MoSeq: parsing behavior by linking point tracking to pose dynamics

Keypoint tracking algorithms have revolutionized the analysis of animal behavior, enabling investigators to flexibly quantify behavioral dynamics from conventional video recordings obtained in a wide variety of settings. However, it remains unclear how to parse continuous keypoint data into the modules out of which behavior is organized. This challenge is particularly acute because keypoint data is susceptible to high frequency jitter that clustering algorithms can mistake for transitions between behavioral modules. Here we present keypoint-MoSeq, a machine learning-based platform for identifying behavioral modules ("syllables") from keypoint data without human supervision. Keypoint-MoSeq uses a generative model to distinguish keypoint noise from behavior, enabling it to effectively identify syllables whose boundaries correspond to natural sub-second discontinuities inherent to mouse behavior. Keypoint-MoSeq outperforms commonly used alternative clustering methods at identifying these transitions, at capturing correlations between neural activity and behavior, and at classifying either solitary or social behaviors in accordance with human annotations. Keypoint-MoSeq therefore renders behavioral syllables and grammar accessible to the many researchers who use standard video to capture animal behavior.

neuroscience↗

Distinguishing discrete and continuous behavioral variability using warped autoregressive HMMs

A core goal in systems neuroscience and neuroethology is to understand how neural circuits generate naturalistic behavior. One foundational idea is that complex naturalistic behavior may be composed of sequences of stereotyped behavioral syllables, which combine to generate rich sequences of actions. To investigate this, a common approach is to use autoregressive hidden Markov models (ARHMMs) to segment video into discrete behavioral syllables. While these approaches have been successful in extracting syllables that are interpretable, they fail to account for other forms of behavioral variability, such as differences in speed, which may be better described as continuous in nature. To overcome these limitations, we introduce a class of warped ARHMMs (WARHMM). As is the case in the ARHMM, behavior is modeled as a mixture of autoregressive dynamics. However, the dynamics under each discrete latent state (i.e. each behavioral syllable) are additionally modulated by a continuous latent "warping variable." We present two versions of warped ARHMM in which the warping variable affects the dynamics of each syllable either linearly or nonlinearly. Using depth-camera recordings of freely moving mice, we demonstrate that the failure of ARHMMs to account for continuous behavioral variability results in duplicate cluster assignments. WARHMM achieves similar performance to the standard ARHMM while using fewer behavioral syllables. Further analysis of behavioral measurements in mice demonstrates that WARHMM identifies structure relating to response vigor.

animal behavior and cognition↗

An approximate line attractor in the hypothalamus that encodes an aggressive internal state

The hypothalamus plays a key role in regulating innate behaviors. It is widely believed to function as a system of labeled lines, containing behavior-specific neurons with characteristic transcriptomic and connectomic profiles. This view however fails to explain why, although activation of estrogen receptor-1 (Esr1) expressing neurons in the ventromedial hypothalamus (VMHvl) promotes aggression, few VMHvl neurons are tuned to attack. To address this paradox, we adopted an unsupervised dynamical systems framework to analyze population activity among VMHvlEsr1 neurons during aggression. We discovered that this activity contains an "integration" dimension exhibiting slow-ramping dynamics and persistent activity that correlates with escalating aggressiveness. These dynamics are implemented as an approximate line attractor in state space. Our analysis suggests a function for VMHvl to encode the intensity of behavior-relevant motive states using line attractors. This view reconciles observational and perturbational studies of VMHvl, and reveals a new mode of neural computation in the hypothalamus.

neuroscience↗