@article{szwed2006responsesoftrigeminalganglionneuron,
title = {{Responses of trigeminal ganglion neurons to the radial distance of contact during active vibrissal touch}},
author = {Szwed, Marcin and Bagdasarian, Knarik and Blumenfeld, Barak and Barak, Omri and Derdikman, Dori and Ahissar, Ehud},
year = {2006},
journal = {Journal of Neurophysiology},
volume = {95},
number = {2},
pages = {791-802},
doi = {10.1152/jn.00571.2005},
url = {https://doi.org/10.1152/jn.00571.2005}
}copy to clipboardRats explore their environment by actively moving their whiskers. Recently, we described how object location in the horizontal (front-back) axis is encoded by first-order neurons in the trigeminal ganglion (TG) by spike timing. Here we show how TG neurons encode object location along the radial coordinate, i.e., from the snout outward. Using extracellular recordings from urethane-anesthetized rats and electrically induced whisking, we found that TG neurons encode radial distance primarily by the number of spikes fired. When an object was positioned closer to the whisker root, all touch-selective neurons recorded fired more spikes. Some of these cells responded exclusively to objects located near the base of whiskers, signaling proximal touch by an identity (labeled-line) code. A number of tonic touch-selective neurons also decreased delays from touch to the first spike and decreased interspike intervals for closer object positions. Information theory analysis revealed that near-certainty discrimination between two objects separated by 30% of the length of whiskers was possible for some single cells. However, encoding reliability was usually lower as a result of large trial-by-trial response variability. Our current findings, together with the identity coding suggested by anatomy for the vertical dimension and the temporal coding of the horizontal dimension, suggest that object location is encoded by separate neuronal variables along the three spatial dimensions: temporal for the horizontal, spatial for the vertical, and spike rate for the radial dimension.
@article{barak2006recognitionbyvariancelearningrulesf,
title = {{Recognition by variance: Learning rules for spatiotemporal patterns}},
author = {Barak, Omri and Tsodyks, Misha},
year = {2006},
journal = {Neural Computation},
volume = {18},
number = {10},
pages = {2343-2358},
doi = {10.1162/neco.2006.18.10.2343},
url = {https://doi.org/10.1162/neco.2006.18.10.2343}
}copy to clipboardRecognizing specific spatiotemporal patterns of activity, which take place at timescales much larger than the synaptic transmission and membrane time constants, is a demand from the nervous system exemplified, for instance, by auditory processing. We consider the total synaptic input that a single readout neuron receives on presentation of spatiotemporal spiking input patterns. Relying on the monotonic relation between the mean and the variance of a neuron's input current and its spiking output, we derive learning rules that increase the variance of the input current evoked by learned patterns relative to that obtained from random background patterns. We demonstrate that the model can successfully recognize a large number of patterns and exhibits a slow deterioration in performance with increasing number of learned patterns. In addition, robustness to time warping of the input patterns is revealed to be an emergent property of the model. Using a leaky integrate-and-fire realization of the readout neuron, we demonstrate that the above results also apply when considering spiking output.
@article{mokeichev2007stochasticemergenceofrepeatingcorti,
title = {{Stochastic Emergence of Repeating Cortical Motifs in Spontaneous Membrane Potential Fluctuations In Vivo}},
author = {Mokeichev, Alik and Okun, Michael and Barak, Omri and Katz, Yonatan and Ben-Shahar, Ohad and Lampl, Ilan},
year = {2007},
journal = {Neuron},
volume = {53},
number = {3},
pages = {413-425},
doi = {10.1016/j.neuron.2007.01.017},
url = {https://doi.org/10.1016/j.neuron.2007.01.017}
}copy to clipboardIt was recently discovered that subthreshold membrane potential fluctuations of cortical neurons can precisely repeat during spontaneous activity, seconds to minutes apart, both in brain slices and in anesthetized animals. These repeats, also called cortical motifs, were suggested to reflect a replay of sequential neuronal firing patterns. We searched for motifs in spontaneous activity, recorded from the rat barrel cortex and from the cat striate cortex of anesthetized animals, and found numerous repeating patterns of high similarity and repetition rates. To test their significance, various statistics were compared between physiological data and three different types of stochastic surrogate data that preserve dynamical characteristics of the recorded data. We found no evidence for the existence of deterministically generated cortical motifs. Rather, the stochastic properties of cortical motifs suggest that they appear by chance, as a result of the constraints imposed by the coarse dynamics of subthreshold ongoing activity.
@article{barak2007persistentactivityinneuralnetworksw,
title = {{Persistent activity in neural networks with dynamic synapses}},
author = {Barak, Omri and Tsodyks, Misha},
year = {2007},
journal = {PLoS Computational Biology},
volume = {3},
number = {2},
pages = {e35},
doi = {10.1371/journal.pcbi.0030035},
url = {https://doi.org/10.1371/journal.pcbi.0030035}
}copy to clipboardPersistent activity states (attractors), observed in several neocortical areas after the removal of a sensory stimulus, are believed to be the neuronal basis of working memory. One of the possible mechanisms that can underlie persistent activity is recurrent excitation mediated by intracortical synaptic connections. A recent experimental study revealed that connections between pyramidal cells in prefrontal cortex exhibit various degrees of synaptic depression and facilitation. Here we analyze the effect of synaptic dynamics on the emergence and persistence of attractor states in interconnected neural networks. We show that different combinations of synaptic depression and facilitation result in qualitatively different network dynamics with respect to the emergence of the attractor states. This analysis raises the possibility that the framework of attractor neural networks can be extended to represent time-dependent stimuli.
@article{mongillo2008synaptictheoryofworkingmemory,
title = {{Synaptic Theory of Working Memory}},
author = {Mongillo, Gianluigi and Barak, Omri and Tsodyks, Misha},
year = {2008},
journal = {Science},
volume = {319},
number = {5869},
pages = {1543-1546},
doi = {10.1126/science.1150769},
url = {https://doi.org/10.1126/science.1150769}
}copy to clipboardIt is usually assumed that enhanced spiking activity in the form of persistent reverberation for several seconds is the neural correlate of working memory. Here, we propose that working memory is sustained by calcium-mediated synaptic facilitation in the recurrent connections of neocortical networks. In this account, the presynaptic residual calcium is used as a buffer that is loaded, refreshed, and read out by spiking activity. Because of the long time constants of calcium kinetics, the refresh rate can be low, resulting in a mechanism that is metabolically efficient and robust. The duration and stability of working memory can be regulated by modulating the spontaneous activity in the network.
@article{melamed2008slowoscillationsinneuralnetworkswit,
title = {{Slow oscillations in neural networks with facilitating synapses}},
author = {Melamed, Ofer and Barak, Omri and Silberberg, Gilad and Markram, Henry and Tsodyks, Misha},
year = {2008},
journal = {Journal of Computational Neuroscience},
volume = {25},
number = {2},
pages = {308-316},
doi = {10.1007/s10827-008-0080-z},
url = {https://doi.org/10.1007/s10827-008-0080-z}
}copy to clipboardThe synchronous oscillatory activity characterizing many neurons in a network is often considered to be a mechanism for representing, binding, conveying, and organizing information. A number of models have been proposed to explain high-frequency oscillations, but the mechanisms that underlie slow oscillations are still unclear. Here, we show by means of analytical solutions and simulations that facilitating excitatory (E(f)) synapses onto interneurons in a neural network play a fundamental role, not only in shaping the frequency of slow oscillations, but also in determining the form of the up and down states observed in electrophysiological measurements. Short time constants and strong E(f) synapse-connectivity were found to induce rapid alternations between up and down states, whereas long time constants and weak E(f) synapse connectivity prolonged the time between up states and increased the up state duration. These results suggest a novel role for facilitating excitatory synapses onto interneurons in controlling the form and frequency of slow oscillations in neuronal circuits.
@article{barak2010neuronalpopulationcodingofparametri,
title = {{Neuronal population coding of parametric working memory}},
author = {Barak, O. and Tsodyks, M. and Romo, R.},
year = {2010},
journal = {Journal of Neuroscience},
volume = {30},
number = {28},
pages = {9424-9430},
doi = {10.1523/JNEUROSCI.1875-10.2010},
url = {https://doi.org/10.1523/JNEUROSCI.1875-10.2010}
}copy to clipboardComparing two sequentially presented stimuli is a widely used experimental paradigm for studying working memory. The delay activity of many single neurons in the prefrontal cortex (PFC) of monkeys was found to be stimulus-specific, however, population dynamics of stimulus representation has not been elucidated. We analyzed the population state of a large number of PFC neurons during a somatosensory discrimination task. Using the tuning curves of the neurons, we derived a compact characterization of the population state. Stimulus representation by the population was found to degrade after stimulus termination, and emerge in a different form toward the end of the delay. Specifically, the tuning properties of neurons were found to change during the task. We suggest a mechanism whereby information about the stimulus is contained in activity-dependent synaptic facilitation of recurrent connections.
@article{barak2011asimplederivationofaboundontheperce,
title = {{A simple derivation of a bound on the perceptron margin using singular value decomposition}},
author = {Barak, Omri and Rigotti, Mattia},
year = {2011},
journal = {Neural Computation},
volume = {23},
number = {8},
pages = {1935-1943},
doi = {10.1162/NECO\_a\_00152},
url = {https://doi.org/10.1162/NECO\_a\_00152}
}copy to clipboardThe perceptron is a simple supervised algorithm to train a linear classifier that has been analyzed and used extensively. The classifier separates the data into two groups using a decision hyperplane, with the margin between the data and the hyperplane determining the classifier's ability to generalize and its robustness to input noise. Exact results for the maximal size of the separating margin are known for specific input distributions, and bounds exist for arbitrary distributions, but both rely on lengthy statistical mechanics calculations carried out in the limit of infinite input size. Here we present a short analysis of perceptron classification using singular value decomposition. We provide a simple derivation of a lower bound on the margin and an explicit formula for the perceptron weights that converges to the optimal result for large separating margins.
@article{sussillo2013openingtheblackboxlowdimensionaldyn,
title = {{Opening the black box: Low-dimensional dynamics in high-dimensional recurrent neural networks}},
author = {Sussillo, David and Barak, Omri},
year = {2013},
journal = {Neural Computation},
volume = {25},
number = {3},
pages = {626-649},
doi = {10.1162/NECO\_a\_00409},
url = {https://doi.org/10.1162/NECO\_a\_00409}
}copy to clipboardRecurrent neural networks (RNNs) are useful tools for learning nonlinear relationships between time-varying inputs and outputs with complex temporal dependencies. Recently developed algorithms have been successful at training RNNs to perform a wide variety of tasks, but the resulting networks have been treated as black boxes: their mechanism of operation remains unknown. Here we explore the hypothesis that fixed points, both stable and unstable, and the linearized dynamics around them, can reveal crucial aspects of how RNNs implement their computations. Further, we explore the utility of linearization in areas of phase space that are not true fixed points but merely points of very slow movement. We present a simple optimization technique that is applied to trained RNNs to find the fixed and slow points of their dynamics. Linearization around these slow regions can be used to explore, or reverse-engineer, the behavior of the RNN. We describe the technique, illustrate it using simple examples, and finally showcase it on three high-dimensional RNN examples: a 3-bit flip-flop device, an input-dependent sine wave generator, and a two-point moving average. In all cases, the mechanisms of trained networks could be inferred from the sets of fixed and slow points and the linearized dynamics around them.
@article{barak2013fromfixedpointstochaosthreemodelsof,
title = {{From fixed points to chaos: Three models of delayed discrimination}},
author = {Barak, Omri and Sussillo, David and Romo, Ranulfo and Tsodyks, Misha and Abbott, L.F.},
year = {2013},
journal = {Progress in Neurobiology},
volume = {103},
pages = {214-222},
doi = {10.1016/j.pneurobio.2013.02.002},
url = {https://doi.org/10.1016/j.pneurobio.2013.02.002}
}copy to clipboardWorking memory is a crucial component of most cognitive tasks. Its neuronal mechanisms are still unclear despite intensive experimental and theoretical explorations. Most theoretical models of working memory assume both time-invariant neural representations and precise connectivity schemes based on the tuning properties of network neurons. A different, more recent class of models assumes randomly connected neurons that have no tuning to any particular task, and bases task performance purely on adjustment of network readout. Intermediate between these schemes are networks that start out random but are trained by a learning scheme. Experimental studies of a delayed vibrotactile discrimination task indicate that some of the neurons in prefrontal cortex are persistently tuned to the frequency of a remembered stimulus, but the majority exhibit more complex relationships to the stimulus that vary considerably across time. We compare three models, ranging from a highly organized line attractor model to a randomly connected network with chaotic activity, with data recorded during this task. The random network does a surprisingly good job of both performing the task and matching certain aspects of the data. The intermediate model, in which an initially random network is partially trained to perform the working memory task by tuning its recurrent and readout connections, provides a better description, although none of the models matches all features of the data. Our results suggest that prefrontal networks may begin in a random state relative to the task and initially rely on modified readout for task performance. With further training, however, more tuned neurons with less time-varying responses should emerge as the networks become more structured.
@article{barak2013thesparsenessofmixedselectivityneur,
title = {{The sparseness of mixed selectivity neurons controls the generalization-discrimination trade-off}},
author = {Barak, Omri and Rigotti, Mattia and Fusi, Stefano},
year = {2013},
journal = {The Journal of Neuroscience},
volume = {33},
number = {9},
pages = {3844-3856},
doi = {10.1523/JNEUROSCI.2753-12.2013},
url = {https://doi.org/10.1523/JNEUROSCI.2753-12.2013}
}copy to clipboardIntelligent behavior requires integrating several sources of information in a meaningful fashion-be it context with stimulus or shape with color and size. This requires the underlying neural mechanism to respond in a different manner to similar inputs (discrimination), while maintaining a consistent response for noisy variations of the same input (generalization). We show that neurons that mix information sources via random connectivity can form an easy to read representation of input combinations. Using analytical and numerical tools, we show that the coding level or sparseness of these neurons' activity controls a trade-off between generalization and discrimination, with the optimal level depending on the task at hand. In all realistic situations that we analyzed, the optimal fraction of inputs to which a neuron responds is close to 0.1. Finally, we predict a relation between a measurable property of the neural representation and task performance.
@article{rigotti2013theimportanceofmixedselectivityinco,
title = {{The importance of mixed selectivity in complex cognitive tasks}},
author = {Rigotti, Mattia and Barak, Omri and Warden, Melissa R. and Wang, Xiao-Jing and Daw, Nathaniel D. and Miller, Earl K. and Fusi, Stefano},
year = {2013},
journal = {Nature},
volume = {497},
number = {7451},
pages = {585-590},
doi = {10.1038/nature12160},
url = {https://doi.org/10.1038/nature12160}
}copy to clipboardSingle-neuron activity in the prefrontal cortex (PFC) is tuned to mixtures of multiple task-related aspects. Such mixed selectivity is highly heterogeneous, seemingly disordered and therefore difficult to interpret. We analysed the neural activity recorded in monkeys during an object sequence memory task to identify a role of mixed selectivity in subserving the cognitive functions ascribed to the PFC. We show that mixed selectivity neurons encode distributed information about all task-relevant aspects. Each aspect can be decoded from the population of neurons even when single-cell selectivity to that aspect is eliminated. Moreover, mixed selectivity offers a significant computational advantage over specialized responses in terms of the repertoire of input-output functions implementable by readout neurons. This advantage originates from the highly diverse nonlinear selectivity to mixtures of task-relevant variables, a signature of high-dimensional neural representations. Crucially, this dimensionality is predictive of animal behaviour as it collapses in error trials. Our findings recommend a shift of focus for future studies from neurons that have easily interpretable response tuning to the widely observed, but rarely analysed, mixed selectivity neurons.
@article{barak2014workingmodelsofworkingmemory,
title = {{Working models of working memory}},
author = {Barak, Omri and Tsodyks, Misha},
year = {2014},
journal = {Current Opinion in Neurobiology},
volume = {25},
pages = {20-24},
doi = {10.1016/j.conb.2013.10.008},
url = {https://doi.org/10.1016/j.conb.2013.10.008}
}copy to clipboardWorking memory is a system that maintains and manipulates information for several seconds during the planning and execution of many cognitive tasks. Traditionally, it was believed that the neuronal underpinning of working memory is stationary persistent firing of selective neuronal populations. Recent advances introduced new ideas regarding possible mechanisms of working memory, such as short-term synaptic facilitation, precise tuning of recurrent excitation and inhibition, and intrinsic network dynamics. These ideas are motivated by computational considerations and careful analysis of experimental data. Taken together, they may indicate the plethora of different processes underlying working memory in the brain.
@article{carnevale2015dynamiccontrolofresponsecriterionin,
title = {{Dynamic Control of Response Criterion in Premotor Cortex during Perceptual Detection under Temporal Uncertainty}},
author = {Carnevale, Federico and de Lafuente, Victor and Romo, Ranulfo and Barak, Omri and Parga, Néstor},
year = {2015},
journal = {Neuron},
volume = {86},
number = {4},
pages = {1067-1077},
doi = {10.1016/j.neuron.2015.04.014},
url = {https://doi.org/10.1016/j.neuron.2015.04.014}
}copy to clipboardUnder uncertainty, the brain uses previous knowledge to transform sensory inputs into the percepts on which decisions are based. When the uncertainty lies in the timing of sensory evidence, however, the mechanism underlying the use of previously acquired temporal information remains unknown. We study this issue in monkeys performing a detection task with variable stimulation times. We use the neural correlates of false alarms to infer the subject's response criterion and find that it modulates over the course of a trial. Analysis of premotor cortex activity shows that this modulation is represented by the dynamics of population responses. A trained recurrent network model reproduces the experimental findings and demonstrates a neural mechanism to benefit from temporal expectations in perceptual detection. Previous knowledge about the probability of stimulation over time can be intrinsically encoded in the neural population dynamics, allowing a flexible control of the response criterion over time.
@article{tocker2015gridcellscorrelationstructuresugges,
title = {{Grid cells correlation structure suggests organized feedforward projections into superficial layers of the medial entorhinal cortex}},
author = {Tocker, Gilad and Barak, Omri and Derdikman, Dori},
year = {2015},
journal = {Hippocampus},
volume = {25},
number = {12},
pages = {1599-1613},
doi = {10.1002/hipo.22481},
url = {https://doi.org/10.1002/hipo.22481}
}copy to clipboardNavigation requires integration of external and internal inputs to form a representation of location. Part of this integration is considered to be carried out by the grid cells network in the medial entorhinal cortex (MEC). However, the structure of this neural network is unknown. To shed light on this structure, we measured noise correlations between 508 pairs of simultaneous previously recorded grid cells. We differentiated between pure grid and conjunctive cells (pure grid in Layers II, III, and VI vs. conjunctive in Layers III and V–only Layer III was bi-modal), and devised a new method to classify cell pairs as belonging/not-belonging to the same module. We found that pairs from the same module show significantly more correlations than pairs from different modules. The correlations between pure grid cells decreased in strength as their relative spatial phase increased. However, correlations were mostly at 0 time-lag, suggesting that the source of correlations was not only synaptic, but rather resulted mostly from common input. Given our measured correlations, the two functional groups of grid cells (pure vs. conjunctive), and the known disorganized recurrent connections within Layer II, we propose the following model: conjunctive cells in deep layers form an attractor network whose activity is governed by velocity-controlled signals. A second manifold in Layer II receives organized feedforward projections from the deep layers, giving rise to pure grid cells. Numerical simulations indicate that organized projections induce such correlations as we measure in superficial layers. Our results provide new evidence for the functional anatomy of the entorhinal circuit-suggesting that strong phase-organized feedforward projections support grid fields in the superficial layers.
@article{benari2016developmentalchangesinelectrophysio,
title = {{Developmental changes in electrophysiological characteristics of human-induced pluripotent stem cell–derived cardiomyocytes}},
author = {Ben-Ari, Meital and Naor, Shulamit and Zeevi-Levin, Naama and Schick, Revital and Ben Jehuda, Ronen and Reiter, Irina and Raveh, Amit and Grijnevitch, Inna and Barak, Omri and Rosen, Michael R. and Weissman, Amir and Binah, Ofer},
year = {2016},
journal = {Heart Rhythm},
volume = {13},
number = {12},
pages = {2379-2387},
doi = {10.1016/j.hrthm.2016.08.045},
url = {https://doi.org/10.1016/j.hrthm.2016.08.045}
}copy to clipboardPrevious studies proposed that throughout differentiation of human induced Pluripotent Stem Cell-derived cardiomyocytes (iPSC-CMs), only 3 types of action potentials (APs) exist: nodal-, atrial-, and ventricular-like.
To investigate whether there are precisely 3 phenotypes or a continuum exists among them, we tested 2 hypotheses: (1) During culture development a cardiac precursor cell is present that-depending on age-can evolve into the 3 phenotypes. (2) The predominant pattern is early prevalence of a nodal phenotype, transient appearance of an atrial phenotype, evolution to a ventricular phenotype, and persistence of transitional phenotypes.
To test these hypotheses, we (1) performed fluorescence-activated cell sorting analysis of nodal, atrial, and ventricular markers; (2) recorded APs from 280 7- to 95-day-old iPSC-CMs; and (3) analyzed AP characteristics.
The major findings were as follows: (1) fluorescence-activated cell sorting analysis of 30- and 60-day-old cultures showed that an iPSC-CMs population shifts from the nodal to the atrial/ventricular phenotype while including significant transitional populations; (2) the AP population did not consist of 3 phenotypes; (3) culture aging was associated with a shift from nodal to ventricular dominance, with a transient (57-70 days) appearance of the atrial phenotype; and (4) beat rate variability was more prominent in nodal than in ventricular cardiomyocytes, while pacemaker current density increased in older cultures.
From the onset of development in culture, the iPSC-CMs population includes nodal, atrial, and ventricular APs and a broad spectrum of transitional phenotypes. The most readily distinguishable phenotype is atrial, which appears only transiently yet dominates at 57-70 days of evolution.
@article{barzelay2017anewapproachtomodelpitchperceptionu,
title = {{A New Approach to Model Pitch Perception Using Sparse Coding}},
author = {Barzelay, Oded and Furst, Miriam and Barak, Omri},
year = {2017},
journal = {PLOS Computational Biology},
volume = {13},
number = {1},
pages = {e1005338},
doi = {10.1371/journal.pcbi.1005338},
url = {https://doi.org/10.1371/journal.pcbi.1005338}
}copy to clipboardOur acoustical environment abounds with repetitive sounds, some of which are related to pitch perception. It is still unknown how the auditory system, in processing these sounds, relates a physical stimulus and its percept. Since, in mammals, all auditory stimuli are conveyed into the nervous system through the auditory nerve (AN) fibers, a model should explain the perception of pitch as a function of this particular input. However, pitch perception is invariant to certain features of the physical stimulus. For example, a missing fundamental stimulus with resolved or unresolved harmonics, or a low and high-level amplitude stimulus with the same spectral content-these all give rise to the same percept of pitch. In contrast, the AN representations for these different stimuli are not invariant to these effects. In fact, due to saturation and non-linearity of both cochlear and inner hair cells responses, these differences are enhanced by the AN fibers. Thus there is a difficulty in explaining how pitch percept arises from the activity of the AN fibers. We introduce a novel approach for extracting pitch cues from the AN population activity for a given arbitrary stimulus. The method is based on a technique known as sparse coding (SC). It is the representation of pitch cues by a few spatiotemporal atoms (templates) from among a large set of possible ones (a dictionary). The amount of activity of each atom is represented by a non-zero coefficient, analogous to an active neuron. Such a technique has been successfully applied to other modalities, particularly vision. The model is composed of a cochlear model, an SC processing unit, and a harmonic sieve. We show that the model copes with different pitch phenomena: extracting resolved and non-resolved harmonics, missing fundamental pitches, stimuli with both high and low amplitudes, iterated rippled noises, and recorded musical instruments.
@article{xu2017dynamicaltimescaleexplainsmarginals,
title = {{Dynamical timescale explains marginal stability in excitability dynamics}},
author = {Xu, Tie and Barak, Omri},
year = {2017},
journal = {The Journal of Neuroscience},
volume = {37},
number = {17},
pages = {4508-4524},
doi = {10.1523/JNEUROSCI.2340-16.2017},
url = {https://doi.org/10.1523/JNEUROSCI.2340-16.2017}
}copy to clipboardAction potentials, taking place over milliseconds, are the basis of neural computation. However, the dynamics of excitability over longer, behaviorally relevant timescales remain underexplored. A recent experiment used long-term recordings from single neurons to reveal multiple timescale fluctuations in response to constant stimuli, along with more reliable responses to variable stimuli. Here, we demonstrate that this apparent paradox is resolved if neurons operate in a marginally stable dynamic regime, which we reveal using a novel inference method. Excitability in this regime is characterized by large fluctuations while retaining high sensitivity to external varying stimuli. A new model with a dynamic recovery timescale that interacts with excitability captures this dynamic regime and predicts the neurons' response with high accuracy. The model explains most experimental observations under several stimulus statistics. The compact structure of our model permits further exploration on the network level.SIGNIFICANCE STATEMENT Excitability is the basis for all neural computations and its long-term dynamics reveal a complex combination of many timescales. We discovered that neural excitability operates under a marginally stable regime in which the system is dominated by internal fluctuation while retaining high sensitivity to externally varying stimuli. We offer a novel approach to modeling excitability dynamics by assuming that the recovery timescale is itself a dynamic variable. Our model is able to capture a wide range of experimental phenomena using few parameters with significantly higher predictive power than previous models.
@article{rivkind2017localdynamicsintrainedrecurrentneur,
title = {{Local Dynamics in Trained Recurrent Neural Networks}},
author = {Rivkind, Alexander and Barak, Omri},
year = {2017},
journal = {Physical Review Letters},
volume = {118},
number = {25},
pages = {258101},
doi = {10.1103/PhysRevLett.118.258101},
url = {https://doi.org/10.1103/PhysRevLett.118.258101}
}copy to clipboardLearning a task induces connectivity changes in neural circuits, thereby changing their dynamics. To elucidate task-related neural dynamics, we study trained recurrent neural networks. We develop a mean field theory for reservoir computing networks trained to have multiple fixed point attractors. Our main result is that the dynamics of the network's output in the vicinity of attractors is governed by a low-order linear ordinary differential equation. The stability of the resulting equation can be assessed, predicting training success or failure. As a consequence, networks of rectified linear units and of sigmoidal nonlinearities are shown to have diametrically different properties when it comes to learning attractors. Furthermore, a characteristic time constant, which remains finite at the edge of chaos, offers an explanation of the network's output robustness in the presence of variability of the internal neural dynamics. Finally, the proposed theory predicts state-dependent frequency selectivity in the network response.
@article{barak2017recurrentneuralnetworksasversatilet,
title = {{Recurrent neural networks as versatile tools of neuroscience research}},
author = {Barak, Omri},
year = {2017},
journal = {Current Opinion in Neurobiology},
volume = {46},
pages = {1-6},
doi = {10.1016/j.conb.2017.06.003},
url = {https://doi.org/10.1016/j.conb.2017.06.003}
}copy to clipboardRecurrent neural networks (RNNs) are a class of computational models that are often used as a tool to explain neurobiological phenomena, considering anatomical, electrophysiological and computational constraints. RNNs can either be designed to implement a certain dynamical principle, or they can be trained by input-output examples. Recently, there has been large progress in utilizing trained RNNs both for computational tasks, and as explanations of neural phenomena. I will review how combining trained RNNs with reverse engineering can provide an alternative framework for modeling in neuroscience, potentially serving as a powerful hypothesis generation tool. Despite the recent progress and potential benefits, there are many fundamental gaps towards a theory of these networks. I will discuss these challenges and possible methods to attack them.
@article{ismakov2017gridcellsencodelocalpositionalinfor,
title = {{Grid Cells Encode Local Positional Information}},
author = {Ismakov, Revekka and Barak, Omri and Jeffery, Kate and Derdikman, Dori},
year = {2017},
journal = {Current Biology},
volume = {27},
number = {15},
pages = {2337-2343.e3},
doi = {10.1016/j.cub.2017.06.034},
url = {https://doi.org/10.1016/j.cub.2017.06.034}
}copy to clipboardThe brain has an extraordinary ability to create an internal spatial map of the external world [1]. This map-like representation of environmental surroundings is encoded through specific types of neurons, located within the hippocampus and entorhinal cortex, which exhibit spatially tuned firing patterns [2, 3]. In addition to encoding space, these neurons are believed to be related to contextual information and memory [4-7]. One class of such cells is the grid cells, which are located within the entorhinal cortex, presubiculum, and parasubiculum [3, 8]. Grid cell firing forms a hexagonal array of firing fields, a pattern that is largely thought to reflect the operation of intrinsic self-motion-related computations [9-12]. If this is the case, then fields should be relatively uniform in size, number of spikes, and peak firing rate. However, it has been suggested that this is not in fact the case [3, 13]. The possibility exists that local spatial information also influences grid cells, which-if true-would greatly change the way in which grid cells are thought to contribute to place coding. Accordingly, we asked how discriminable the individual fields of a given grid cell are by looking at the distribution of field firing rates and reproducibility of this distribution across trials. Grid fields were less uniform in intensity than expected, and the pattern of strong and weak fields was spatially stable and recurred across trials. The distribution remained unchanged even after arena rescaling, but not after remapping. This suggests that additional local information is being overlaid onto the global hexagonal pattern of grid cells.
@inproceedings{haviv2019understandingandcontrollingmemoryin,
title = {{Understanding and controlling memory in recurrent neural networks}},
author = {Haviv, Doron and Rivkind, Alexander and Barak, Omri},
year = {2019},
booktitle = {Proceedings of the 36th International Conference on Machine Learning},
volume = {97},
pages = {2663--2671},
url = {https://proceedings.mlr.press/v97/haviv19a.html}
}copy to clipboardTo be effective in sequential data processing, Recurrent Neural Networks (RNNs) are required to keep track of past events by creating memories. While the relation between memories and the network’s hidden state dynamics was established over the last decade, previous works in this direction were of a predominantly descriptive nature focusing mainly on locating the dynamical objects of interest. In particular, it remained unclear how dynamical observables affect the performance, how they form and whether they can be manipulated. Here, we utilize different training protocols, datasets and architectures to obtain a range of networks solving a delayed classification task with similar performance, alongside substantial differences in their ability to extrapolate for longer delays. We analyze the dynamics of the network’s hidden state, and uncover the reasons for this difference. Each memory is found to be associated with a nearly steady state of the dynamics which we refer to as a ’slow point’. Slow point speeds predict extrapolation performance across all datasets, protocols and architectures tested. Furthermore, by tracking the formation of the slow points we are able to understand the origin of differences between training protocols. Finally, we propose a novel regularization technique that is based on the relation between hidden state speeds and memory longevity. Our technique manipulates these speeds, thereby leading to a dramatic improvement in memory robustness over time, and could pave the way for a new class of regularization methods.
@article{beer2019onestepbacktwostepsforwardinterfere,
title = {{One step back, two steps forward: Interference and learning in recurrent neural networks}},
author = {Beer, Chen and Barak, Omri},
year = {2019},
journal = {Neural Computation},
volume = {31},
number = {10},
pages = {1985-2003},
doi = {10.1162/neco\_a\_01222},
url = {https://doi.org/10.1162/neco\_a\_01222}
}copy to clipboardArtificial neural networks, trained to perform cognitive tasks, have recently been used as models for neural recordings from animals performing these tasks. While some progress has been made in performing such comparisons, the evolution of network dynamics throughout learning remains unexplored. This is paralleled by an experimental focus on recording from trained animals, with few studies following neural activity throughout training. In this work, we address this gap in the realm of artificial networks by analyzing networks that are trained to perform memory and pattern generation tasks. The functional aspect of these tasks corresponds to dynamical objects in the fully trained network-a line attractor or a set of limit cycles for the two respective tasks. We use these dynamical objects as anchors to study the effect of learning on their emergence. We find that the sequential nature of learning-one trial at a time-has major consequences for the learning trajectory and its final outcome. Specifically, we show that least mean squares (LMS), a simple gradient descent suggested as a biologically plausible version of the FORCE algorithm, is constantly obstructed by forgetting, which is manifested as the destruction of dynamical objects from previous trials. The degree of interference is determined by the correlation between different trials. We show which specific ingredients of FORCE avoid this phenomenon. Overall, this difference results in convergence that is orders of magnitude slower for LMS. Learning implies accumulating information across multiple trials to form the overall concept of the task. Our results show that interference between trials can greatly affect learning in a learning-rule-dependent manner. These insights can help design experimental protocols that minimize such interference, and possibly infer underlying learning rules by observing behavior and neural activity throughout learning.
@article{susman2019stablememorywithunstablesynapses,
title = {{Stable memory with unstable synapses}},
author = {Susman, Lee and Brenner, Naama and Barak, Omri},
year = {2019},
journal = {Nature Communications},
volume = {10},
number = {1},
pages = {4441},
doi = {10.1038/s41467-019-12306-2},
url = {https://doi.org/10.1038/s41467-019-12306-2}
}copy to clipboardWhat is the physiological basis of long-term memory? The prevailing view in Neuroscience attributes changes in synaptic efficacy to memory acquisition, implying that stable memories correspond to stable connectivity patterns. However, an increasing body of experimental evidence points to significant, activity-independent fluctuations in synaptic strengths. How memories can survive these fluctuations and the accompanying stabilizing homeostatic mechanisms is a fundamental open question. Here we explore the possibility of memory storage within a global component of network connectivity, while individual connections fluctuate. We find that homeostatic stabilization of fluctuations differentially affects different aspects of network connectivity. Specifically, memories stored as time-varying attractors of neural dynamics are more resilient to erosion than fixed-points. Such dynamic attractors can be learned by biologically plausible learning-rules and support associative retrieval. Our results suggest a link between the properties of learning-rules and those of network-level memory representations, and point at experimentally measurable signatures.
@article{schuessler2020dynamicsofrandomrecurrentnetworkswi,
title = {{Dynamics of random recurrent networks with correlated low-rank structure}},
author = {Schuessler, Friedrich and Dubreuil, Alexis and Mastrogiuseppe, Francesca and Ostojic, Srdjan and Barak, Omri},
year = {2020},
journal = {Physical Review Research},
volume = {2},
number = {1},
pages = {013111},
doi = {10.1103/PhysRevResearch.2.013111},
url = {https://doi.org/10.1103/PhysRevResearch.2.013111}
}copy to clipboardA given neural network in the brain is involved in many different tasks. This implies that, when considering a specific task, the network's connectivity contains a component which is related to the task and another component which can be considered random. Understanding the interplay between the structured and random components and their effect on network dynamics and functionality is an important open question. Recent studies addressed the coexistence of random and structured connectivity but considered the two parts to be uncorrelated. This constraint limits the dynamics and leaves the random connectivity nonfunctional. Algorithms that train networks to perform specific tasks typically generate correlations between structure and random connectivity. Here we study nonlinear networks with correlated structured and random components, assuming the structure to have a low rank. We develop an analytic framework to establish the precise effect of the correlations on the eigenvalue spectrum of the joint connectivity. We find that the spectrum consists of a bulk and multiple outliers, whose location is predicted by our theory. Using mean-field theory, we show that these outliers directly determine both the fixed points of the system and their stability. Taken together, our analysis elucidates how correlations allow structured and random connectivity to synergistically extend the range of computations available to networks.
@inproceedings{xu2020implementinginductivebiasfordiffere,
title = {{Implementing Inductive bias for different navigation tasks through diverse RNN attractors}},
author = {Xu, Tie and Barak, Omri},
year = {2020},
booktitle = {International Conference on Learning Representations},
url = {https://openreview.net/pdf?id=Byx4NkrtDS}
}copy to clipboardNavigation is crucial for animal behavior and is assumed to require an internal representation of the external environment, termed a cognitive map. The precise form of this representation is often considered to be a metric representation of space. An internal representation, however, is judged by its contribution to performance on a given task, and may thus vary between different types of navigation tasks. Here we train a recurrent neural network that controls an agent performing several navigation tasks in a simple environment. To focus on internal representations, we split learning into a task-agnostic pre-training stage that modifies internal connectivity and a task-specific Q learning stage that controls the network's output. We show that pre-training shapes the attractor landscape of the networks, leading to either a continuous attractor, discrete attractors or a disordered state. These structures induce bias onto the Q-Learning phase, leading to a performance pattern across the tasks corresponding to metric and topological regularities. By combining two types of networks in a modular structure, we could get better performance for both regularities. Our results show that, in recurrent networks, inductive bias takes the form of attractor landscapes — which can be shaped by pre-training and analyzed using dynamical systems methods. Furthermore, we demonstrate that non-metric representations are useful for navigation tasks, and their combination with metric representation leads to flexibile multiple-task learning.
@article{rivkind2020scalefreetopologyasaneffectivefeedb,
title = {{Scale free topology as an effective feedback system}},
author = {Rivkind, Alexander and Schreier, Hallel and Brenner, Naama and Barak, Omri},
year = {2020},
journal = {PLOS Computational Biology},
volume = {16},
number = {5},
pages = {e1007825},
doi = {10.1371/journal.pcbi.1007825},
url = {https://doi.org/10.1371/journal.pcbi.1007825}
}copy to clipboardBiological networks are often heterogeneous in their connectivity pattern, with degree distributions featuring a heavy tail of highly connected hubs. The implications of this heterogeneity on dynamical properties are a topic of much interest. Here we show that interpreting topology as a feedback circuit can provide novel insights on dynamics. Based on the observation that in finite networks a small number of hubs have a disproportionate effect on the entire system, we construct an approximation by lumping these nodes into a single effective hub, which acts as a feedback loop with the rest of the nodes. We use this approximation to study dynamics of networks with scale-free degree distributions, focusing on their probability of convergence to fixed points. We find that the approximation preserves convergence statistics over a wide range of settings. Our mapping provides a parametrization of scale free topology which is predictive at the ensemble level and also retains properties of individual realizations. Specifically, outgoing hubs have an organizing role that can drive the network to convergence, in analogy to suppression of chaos by an external drive. In contrast, incoming hubs have no such property, resulting in a marked difference between the behavior of networks with outgoing vs. incoming scale free degree distribution. Combining feedback analysis with mean field theory predicts a transition between convergent and divergent dynamics which is corroborated by numerical simulations. Furthermore, they highlight the effect of a handful of outlying hubs, rather than of the connectivity distribution law as a whole, on network dynamics.
@article{kurikawa2020repeatedsequentiallearningincreases,
title = {{Repeated sequential learning increases memory capacity via effective decorrelation in a recurrent neural network}},
author = {Kurikawa, Tomoki and Barak, Omri and Kaneko, Kunihiko},
year = {2020},
journal = {Physical Review Research},
volume = {2},
number = {2},
pages = {023307},
doi = {10.1103/PhysRevResearch.2.023307},
url = {https://doi.org/10.1103/PhysRevResearch.2.023307}
}copy to clipboardMemories in neural systems are shaped through the interplay of neural and learning dynamics under external inputs. This interplay can result in either overwriting or strengthening of memories as the system is repeatedly exposed to multiple input-output mappings, but it is unclear which effect dominates. By introducing a simple local learning rule to a neural network, we found that the memory capacity is drastically increased by sequentially repeating the learning steps of input-output mappings. We show that the resulting connectivity decorrelates the target patterns. This process is associated with the emergence of spontaneous activity that intermittently exhibits neural patterns corresponding to embedded memories. Stabilization of memories is achieved by a distinct bifurcation from the spontaneous activity under the application of each input.
@article{shomar2020localandglobalfeaturesofgeneticnetw,
title = {{Local and global features of genetic networks supporting a phenotypic switch}},
author = {Shomar, Aseel and Barak, Omri and Brenner, Naama},
year = {2020},
journal = {PLOS ONE},
volume = {15},
number = {9},
pages = {e0238433},
doi = {10.1371/journal.pone.0238433},
url = {https://doi.org/10.1371/journal.pone.0238433}
}copy to clipboardPhenotypic switches are associated with alterations in the cell's gene expression profile and are vital to many aspects of biology. Previous studies have identified local motifs of the genetic regulatory network that could underlie such switches. Recent advancements allowed the study of networks at the global, many-gene, level; however, the relationship between the local and global scales in giving rise to phenotypic switches remains elusive. In this work, we studied the epithelial-mesenchymal transition (EMT) using a gene regulatory network model. This model supports two clusters of stable steady-states identified with the epithelial and mesenchymal phenotypes, and a range of intermediate less stable hybrid states, whose importance in cancer has been recently highlighted. Using an array of network perturbations and quantifying the resulting landscape, we investigated how features of the network at different levels give rise to these landscape properties. We found that local connectivity patterns affect the landscape in a mostly incremental manner; in particular, a specific previously identified double-negative feedback motif is not required when embedded in the full network, because the landscape is maintained at a global level. Nevertheless, despite the distributed nature of the switch, it is possible to find combinations of a few local changes that disrupt it. At the level of network architecture, we identified a crucial role for peripheral genes that act as incoming signals to the network in creating clusters of states. Such incoming signals are a signature of modularity and are expected to appear also in other biological networks. Hybrid states between epithelial and mesenchymal arise in the model due to barriers in the interaction between genes, causing hysteresis at all connections. Our results suggest emergent switches can neither be pinpointed to local motifs, nor do they arise as typical properties of random network ensembles. Rather, they arise through an interplay between the nature of local interactions, and the core-periphery structure induced by the modularity of the cell.
@article{levy2020celltypespecificoutcomerepresentati,
title = {{Cell-Type-Specific Outcome Representation in the Primary Motor Cortex}},
author = {Levy, Shahar and Lavzin, Maria and Benisty, Hadas and Ghanayim, Amir and Dubin, Uri and Achvat, Shay and Brosh, Zohar and Aeed, Fadi and Mensh, Brett D. and Schiller, Yitzhak and Meir, Ron and Barak, Omri and Talmon, Ronen and Hantman, Adam W. and Schiller, Jackie},
year = {2020},
journal = {Neuron},
volume = {107},
number = {5},
pages = {954-971.e9},
doi = {10.1016/j.neuron.2020.06.006},
url = {https://doi.org/10.1016/j.neuron.2020.06.006}
}copy to clipboardAdaptive movements are critical for animal survival. To guide future actions, the brain monitors various outcomes, including achievement of movement and appetitive goals. The nature of these outcome signals and their neuronal and network realization in the motor cortex (M1), which directs skilled movements, is largely unknown. Using a dexterity task, calcium imaging, optogenetic perturbations, and behavioral manipulations, we studied outcome signals in the murine forelimb M1. We found two populations of layer 2-3 neurons, termed success- and failure-related neurons, that develop with training, and report end results of trials. In these neurons, prolonged responses were recorded after success or failure trials independent of reward and kinematics. In addition, the initial state of layer 5 pyramidal tract neurons contained a memory trace of the previous trial's outcome. Intertrial cortical activity was needed to learn new task requirements. These M1 layer-specific performance outcome signals may support reinforcement motor learning of skilled behavior.
@inproceedings{schuessler2020theinterplaybetweenrandomnessandstr,
title = {{The interplay between randomness and structure during learning in RNNs}},
author = {Schuessler, Friedrich and Mastrogiuseppe, Francesca and Dubreuil, Alexis and Ostojic, Srdjan and Barak, Omri},
year = {2020},
booktitle = {Advances in Neural Information Processing Systems},
volume = {33},
pages = {13352--13362},
url = {https://proceedings.neurips.cc/paper/2020/hash/9ac1382fd8fc4b631594aa135d16ad75-Abstract.html}
}copy to clipboardTraining recurrent neural networks (RNNs) on low-dimensional tasks has been widely used to model functional biological networks. However, the solutions found by learning and the effect of initial connectivity are not well understood. Here, we examine RNNs trained using gradient descent on different tasks inspired by the neuroscience literature. We find that the changes in recurrent connectivity can be described by low-rank matrices. This observation holds even in the presence of random initial connectivity, although this initial connectivity has full rank and significantly accelerates training. To understand the origin of these observations, we turn to an analytically tractable setting: training a linear RNN on a simpler task. We show how the low-dimensional task structure leads to low-rank changes to connectivity, and how random initial connectivity facilitates learning. Altogether, our study opens a new perspective to understand learning in RNNs in light of low-rank connectivity changes and the synergistic role of random initialization.
@article{barak2021mappinglowdimensionaldynamicstohigh,
title = {{Mapping low-dimensional dynamics to high-dimensional neural activity: A derivation of the ring model from the neural engineering framework}},
author = {Barak, Omri and Romani, Sandro},
year = {2021},
journal = {Neural Computation},
volume = {33},
number = {3},
pages = {827-852},
doi = {10.1162/neco\_a\_01361},
url = {https://doi.org/10.1162/neco\_a\_01361}
}copy to clipboardEmpirical estimates of the dimensionality of neural population activity are often much lower than the population size. Similar phenomena are also observed in trained and designed neural network models. These experimental and computational results suggest that mapping low-dimensional dynamics to high-dimensional neural space is a common feature of cortical computation. Despite the ubiquity of this observation, the constraints arising from such mapping are poorly understood. Here we consider a specific example of mapping low-dimensional dynamics to high-dimensional neural activity-the neural engineering framework. We analytically solve the framework for the classic ring model-a neural network encoding a static or dynamic angular variable. Our results provide a complete characterization of the success and failure modes for this model. Based on similarities between this and other frameworks, we speculate that these results could apply to more general scenarios.
@article{susman2021qualityofinternalrepresentationshap,
title = {{Quality of internal representation shapes learning performance in feedback neural networks}},
author = {Susman, Lee and Mastrogiuseppe, Francesca and Brenner, Naama and Barak, Omri},
year = {2021},
journal = {Physical Review Research},
volume = {3},
number = {1},
pages = {013176},
doi = {10.1103/PhysRevResearch.3.013176},
url = {https://doi.org/10.1103/PhysRevResearch.3.013176}
}copy to clipboardA fundamental feature of complex biological systems is the ability to form feedback interactions with their environment. A prominent model for studying such interactions is reservoir computing, where learning acts on low-dimensional bottlenecks. Despite the simplicity of this learning scheme, the factors contributing to or hindering the success of training in reservoir networks are in general not well understood. In this work, we study nonlinear feedback networks trained to generate a sinusoidal signal, and analyze how learning performance is shaped by the interplay between internal network dynamics and target properties. By performing exact mathematical analysis of linearized networks, we predict that learning performance is maximized when the target is characterized by an optimal, intermediate frequency which monotonically decreases with the strength of the internal reservoir connectivity. At the optimal frequency, the reservoir representation of the target signal is high-dimensional, desynchronized, and thus maximally robust to noise. We show that our predictions successfully capture the qualitative behavior of performance in nonlinear networks. Moreover, we find that the relationship between internal representations and performance can be further exploited in trained nonlinear networks to explain behaviors which do not have a linear counterpart. Our results indicate that a major determinant of learning success is the quality of the internal representation of the target, which in turn is shaped by an interplay between parameters controlling the internal network and those defining the task.
@inproceedings{turner2021chartingandnavigatingthespaceofsolu,
title = {{Charting and navigating the space of solutions for recurrent neural networks}},
author = {Turner, Elia and Dabholkar, Kabir V and Barak, Omri},
year = {2021},
booktitle = {Advances in Neural Information Processing Systems},
volume = {34},
pages = {25320--25333},
url = {https://proceedings.neurips.cc/paper\_files/paper/2021/hash/d530d454337fb09964237fecb4bea6ce-Abstract.html}
}copy to clipboardIn recent years Recurrent Neural Networks (RNNs) were successfully used to model the way neural activity drives task-related behavior in animals, operating under the implicit assumption that the obtained solutions are universal. Observations in both neuroscience and machine learning challenge this assumption. Animals can approach a given task with a variety of strategies, and training machine learning algorithms introduces the phenomenon of underspecification. These observations imply that every task is associated with a space of solutions. To date, the structure of this space is not understood, limiting the approach of comparing RNNs with neural data.Here, we characterize the space of solutions associated with various tasks. We first study a simple two-neuron network on a task that leads to multiple solutions. We trace the nature of the final solution back to the network’s initial connectivity and identify discrete dynamical regimes that underlie this diversity. We then examine three neuroscience-inspired tasks: Delayed discrimination, Interval discrimination, and Time reproduction. For each task, we find a rich set of solutions. One layer of variability can be found directly in the neural activity of the networks. An additional layer is uncovered by testing the trained networks’ ability to extrapolate, as a perturbation to a system often reveals hidden structure. Furthermore, we relate extrapolation patterns to specific dynamical objects and effective algorithms found by the networks. We introduce a tool to derive the reduced dynamics of networks by generating a compact directed graph describing the essence of the dynamics with regards to behavioral inputs and outputs. Using this representation, we can partition the solutions to each task into a handful of types and show that neural features can partially predict them.Taken together, our results shed light on the concept of the space of solutions and its uses both in Machine learning and in Neuroscience.
@article{shomar2022cancerprogressionasalearningprocess,
title = {{Cancer progression as a learning process}},
author = {Shomar, Aseel and Barak, Omri and Brenner, Naama},
year = {2022},
journal = {iScience},
volume = {25},
number = {3},
pages = {103924},
doi = {10.1016/j.isci.2022.103924},
url = {https://doi.org/10.1016/j.isci.2022.103924}
}copy to clipboardDrug resistance and metastasis-the major complications in cancer-both entail adaptation of cancer cells to stress, whether a drug or a lethal new environment. Intriguingly, these adaptive processes share similar features that cannot be explained by a pure Darwinian scheme, including dormancy, increased heterogeneity, and stress-induced plasticity. Here, we propose that learning theory offers a framework to explain these features and may shed light on these two intricate processes. In this framework, learning is performed at the single-cell level, by stress-driven exploratory trial-and-error. Such a process is not contingent on pre-existing pathways but on a random search for a state that diminishes the stress. We review underlying mechanisms that may support this search, and show by using a learning model that such exploratory learning is feasible in a high-dimensional system as the cell. At the population level, we view the tissue as a network of exploring agents that communicate, restraining cancer formation in health. In this view, disease results from the breakdown of homeostasis between cellular exploratory drive and tissue homeostasis.
@article{otor2022dynamiccompartmentalcomputationsint,
title = {{Dynamic compartmental computations in tuft dendrites of layer 5 neurons during motor behavior}},
author = {Otor, Yara and Achvat, Shay and Cermak, Nathan and Benisty, Hadas and Abboud, Maisan and Barak, Omri and Schiller, Yitzhak and Poleg-Polsky, Alon and Schiller, Jackie},
year = {2022},
journal = {Science},
volume = {376},
number = {6590},
pages = {267-275},
doi = {10.1126/science.abn1421},
url = {https://doi.org/10.1126/science.abn1421}
}copy to clipboardTuft dendrites of layer 5 pyramidal neurons form specialized compartments important for motor learning and performance, yet their computational capabilities remain unclear. Structural-functional mapping of the tuft tree from the motor cortex during motor tasks revealed two morphologically distinct populations of layer 5 pyramidal tract neurons (PTNs) that exhibit specific tuft computational properties. Early bifurcating and large nexus PTNs showed marked tuft functional compartmentalization, representing different motor variable combinations within and between their two tuft hemi-trees. By contrast, late bifurcating and smaller nexus PTNs showed synchronous tuft activation. Dendritic structure and dynamic recruitment of the N-methyl-d-aspartate (NMDA)-spiking mechanism explained the differential compartmentalization patterns. Our findings support a morphologically dependent framework for motor computations, in which independent amplification units can be combinatorically recruited to represent different motor sequences within the same tree.
@article{
doi:10.1073/pnas.2216805120,
author = {Ron Teichner and Aseel Shomar and Omri Barak and Naama Brenner and Shimon Marom and Ron Meir and Danny Eytan },
title = {Identifying regulation with adversarial surrogates},
journal = {Proceedings of the National Academy of Sciences},
volume = {120},
number = {12},
pages = {e2216805120},
year = {2023},
doi = {10.1073/pnas.2216805120},
URL = {https://www.pnas.org/doi/abs/10.1073/pnas.2216805120},
eprint = {https://www.pnas.org/doi/pdf/10.1073/pnas.2216805120},
}copy to clipboardHomeostasis, the ability to maintain a relatively constant internal environment in the face of perturbations, is a hallmark of biological systems. It is believed that this constancy is achieved through multiple internal regulation and control processes. Given observations of a system, or even a detailed model of one, it is both valuable and extremely challenging to extract the control objectives of the homeostatic mechanisms. In this work, we develop a robust data-driven method to identify these objectives, namely to understand: “what does the system care about?”. We propose an algorithm, Identifying Regulation with Adversarial Surrogates (IRAS), that receives an array of temporal measurements of the system and outputs a candidate for the control objective, expressed as a combination of observed variables. IRAS is an iterative algorithm consisting of two competing players. The first player, realized by an artificial deep neural network, aims to minimize a measure of invariance we refer to as the coefficient of regulation. The second player aims to render the task of the first player more difficult by forcing it to extract information about the temporal structure of the data, which is absent from similar “surrogate” data. We test the algorithm on four synthetic and one natural data set, demonstrating excellent empirical results. Interestingly, our approach can also be used to extract conserved quantities, e.g., energy and momentum, in purely physical systems, as we demonstrate empirically.
@article{barak2023mathematicalmodelsoflearningandwhat,
title = {{Mathematical models of learning and what can be learned from them}},
author = {Barak, Omri and Tsodyks, Misha},
year = {2023},
journal = {Current Opinion in Neurobiology},
volume = {80},
pages = {102721},
doi = {10.1016/j.conb.2023.102721},
url = {https://doi.org/10.1016/j.conb.2023.102721}
}copy to clipboardLearning is a multi-faceted phenomenon of critical importance and hence attracted a great deal of research, both experimental and theoretical. In this review, we will consider some of the paradigmatic examples of learning and discuss the common themes in theoretical learning research, such as levels of modeling and their corresponding relation to experimental observations and mathematical ideas common to different types of learning.
@article{khatib2023activeexperiencenottimedetermineswi,
title = {{Active experience, not time, determines within-day representational drift in dorsal CA1}},
author = {Khatib, Dorgham and Ratzon, Aviv and Sellevoll, Mariell and Barak, Omri and Morris, Genela and Derdikman, Dori},
year = {2023},
journal = {Neuron},
volume = {111},
number = {15},
pages = {2348-2356.e4},
doi = {10.1016/j.neuron.2023.05.014},
url = {https://doi.org/10.1016/j.neuron.2023.05.014}
}copy to clipboardMemories of past events can be recalled long after the event, indicating stability. But new experiences are also integrated into existing memories, indicating plasticity. In the hippocampus, spatial representations are known to remain stable but have also been shown to drift over long periods of time. We hypothesized that experience, more than the passage of time, is the driving force behind representational drift. We compared the within-day stability of place cells’ representations in dorsal CA1 of the hippocampus of mice traversing two similar, familiar tracks for different durations. We found that the more time the animals spent actively traversing the environment, the greater the representational drift, regardless of the total elapsed time between visits. Our results suggest that spatial representation is a dynamic process, related to the ongoing experiences within a specific context, and is related to memory update rather than to passive forgetting.
@inproceedings{turner2023thesimplicitybiasinmultitaskrnnssha,
title = {{The Simplicity Bias in Multi-Task RNNs: Shared Attractors, Reuse of Dynamics, and Geometric Representation}},
author = {Turner, Elia and Barak, Omri},
year = {2023},
booktitle = {Advances in Neural Information Processing Systems 36},
pages = {25495-25507},
doi = {10.52202/075280-1109},
url = {https://proceedings.neurips.cc/paper\_files/paper/2023/hash/50d6dbc809b0dc96f7f1090810537acc-Abstract-Conference.html}
}copy to clipboardHow does a single interconnected neural population perform multiple tasks, each with its own dynamical requirements? The relation between task requirements and neural dynamics in Recurrent Neural Networks (RNNs) has been investigated for single tasks. The forces shaping joint dynamics of multiple tasks, however, are largely unexplored. In this work, we first construct a systematic framework to study multiple tasks in RNNs, minimizing interference from input and output correlations with the hidden representation. This allows us to reveal how RNNs tend to share attractors and reuse dynamics, a tendency we define as the "simplicity bias".We find that RNNs develop attractors sequentially during training, preferentially reusing existing dynamics and opting for simple solutions when possible. This sequenced emergence and preferential reuse encapsulate the simplicity bias. Through concrete examples, we demonstrate that new attractors primarily emerge due to task demands or architectural constraints, illustrating a balance between simplicity bias and external factors.We examine the geometry of joint representations within a single attractor, by constructing a family of tasks from a set of functions. We show that the steepness of the associated functions controls their alignment within the attractor. This arrangement again highlights the simplicity bias, as points with similar input spacings undergo comparable transformations to reach the shared attractor.Our findings propose compelling applications. The geometry of shared attractors might allow us to infer the nature of unknown tasks. Furthermore, the simplicity bias implies that without specific incentives, modularity in RNNs may not spontaneously emerge, providing insights into the conditions required for network specialization.
@article{beer2024revealingandreshapingattractordynam,
title = {{Revealing and reshaping attractor dynamics in large networks of cortical neurons}},
author = {Beer, Chen and Barak, Omri},
year = {2024},
journal = {PLOS Computational Biology},
volume = {20},
number = {1},
pages = {e1011784},
doi = {10.1371/journal.pcbi.1011784},
url = {https://doi.org/10.1371/journal.pcbi.1011784}
}copy to clipboardAttractors play a key role in a wide range of processes including learning and memory. Due to recent innovations in recording methods, there is increasing evidence for the existence of attractor dynamics in the brain. Yet, our understanding of how these attractors emerge or disappear in a biological system is lacking. By following the spontaneous network bursts of cultured cortical networks, we are able to define a vocabulary of spatiotemporal patterns and show that they function as discrete attractors in the network dynamics. We show that electrically stimulating specific attractors eliminates them from the spontaneous vocabulary, while they are still robustly evoked by the electrical stimulation. This seemingly paradoxical finding can be explained by a Hebbian-like strengthening of specific pathways into the attractors, at the expense of weakening non-evoked pathways into the same attractors. We verify this hypothesis and provide a mechanistic explanation for the underlying changes supporting this effect.
@article{pals2024trainedrecurrentneuralnetworksdevel,
title = {{Trained recurrent neural networks develop phase-locked limit cycles in a working memory task}},
author = {Pals, Matthijs and Macke, Jakob H. and Barak, Omri},
year = {2024},
journal = {PLOS Computational Biology},
volume = {20},
number = {2},
pages = {e1011852},
doi = {10.1371/journal.pcbi.1011852},
url = {https://doi.org/10.1371/journal.pcbi.1011852}
}copy to clipboardNeural oscillations are ubiquitously observed in many brain areas. One proposed functional role of these oscillations is that they serve as an internal clock, or 'frame of reference'. Information can be encoded by the timing of neural activity relative to the phase of such oscillations. In line with this hypothesis, there have been multiple empirical observations of such phase codes in the brain. Here we ask: What kind of neural dynamics support phase coding of information with neural oscillations? We tackled this question by analyzing recurrent neural networks (RNNs) that were trained on a working memory task. The networks were given access to an external reference oscillation and tasked to produce an oscillation, such that the phase difference between the reference and output oscillation maintains the identity of transient stimuli. We found that networks converged to stable oscillatory dynamics. Reverse engineering these networks revealed that each phase-coded memory corresponds to a separate limit cycle attractor. We characterized how the stability of the attractor dynamics depends on both reference oscillation amplitude and frequency, properties that can be experimentally observed. To understand the connectivity structures that underlie these dynamics, we showed that trained networks can be described as two phase-coupled oscillators. Using this insight, we condensed our trained networks to a reduced model consisting of two functional modules: One that generates an oscillation and one that implements a coupling function between the internal oscillation and external reference. In summary, by reverse engineering the dynamics and connectivity of trained RNNs, we propose a mechanism by which neural networks can harness reference oscillations for working memory. Specifically, we propose that a phase-coding network generates autonomous oscillations which it couples to an external reference oscillation in a multi-stable fashion.
@article{ratzon2024representationaldriftasaresultofimp,
title = {{Representational drift as a result of implicit regularization}},
author = {Ratzon, Aviv and Derdikman, Dori and Barak, Omri},
year = {2024},
journal = {eLife},
volume = {12},
pages = {RP90069},
doi = {10.7554/eLife.90069},
url = {https://doi.org/10.7554/eLife.90069}
}copy to clipboardRecent studies show that, even in constant environments, the tuning of single neurons changes over time in a variety of brain regions. This representational drift has been suggested to be a consequence of continuous learning under noise, but its properties are still not fully understood. To investigate the underlying mechanism, we trained an artificial network on a simplified navigational task. The network quickly reached a state of high performance, and many units exhibited spatial tuning. We then continued training the network and noticed that the activity became sparser with time. Initial learning was orders of magnitude faster than ensuing sparsification. This sparsification is consistent with recent results in machine learning, in which networks slowly move within their solution space until they reach a flat area of the loss function. We analyzed four datasets from different labs, all demonstrating that CA1 neurons become sparser and more spatially informative with exposure to the same environment. We conclude that learning is divided into three overlapping phases: (i) Fast familiarity with the environment; (ii) slow implicit regularization; and (iii) a steady state of null drift. The variability in drift dynamics opens the possibility of inferring learning algorithms from observations of drift statistics.
@article{schuessler2024alignedandobliquedynamicsinrecurren,
title = {{Aligned and oblique dynamics in recurrent neural networks}},
author = {Schuessler, Friedrich and Mastrogiuseppe, Francesca and Ostojic, Srdjan and Barak, Omri},
year = {2024},
journal = {eLife},
volume = {13},
pages = {RP93060},
doi = {10.7554/eLife.93060},
url = {https://doi.org/10.7554/eLife.93060}
}copy to clipboardThe relation between neural activity and behaviorally relevant variables is at the heart of neuroscience research. When strong, this relation is termed a neural representation. There is increasing evidence, however, for partial dissociations between activity in an area and relevant external variables. While many explanations have been proposed, a theoretical framework for the relationship between external and internal variables is lacking. Here, we utilize recurrent neural networks (RNNs) to explore the question of when and how neural dynamics and the network's output are related from a geometrical point of view. We find that training RNNs can lead to two dynamical regimes: dynamics can either be aligned with the directions that generate output variables, or oblique to them. We show that the choice of readout weight magnitude before training can serve as a control knob between the regimes, similar to recent findings in feedforward networks. These regimes are functionally distinct. Oblique networks are more heterogeneous and suppress noise in their output directions. They are furthermore more robust to perturbations along the output directions. Crucially, the oblique regime is specific to recurrent (but not feedforward) networks, arising from dynamical stability considerations. Finally, we show that tendencies toward the aligned or the oblique regime can be dissociated in neural recordings. Altogether, our results open a new perspective for interpreting neural activity by relating network dynamics and their output.
@article{barak2025corrigendumtomathematicalmodelsofle,
title = {{Corrigendum to “Mathematical models of learning and what can be learned from them” [Curr Opin Neurobiol 80 (2023)]}},
author = {Barak, Omri and Tsodyks, Misha},
year = {2025},
journal = {Current Opinion in Neurobiology},
volume = {95},
pages = {103135},
doi = {10.1016/j.conb.2025.103135},
url = {https://doi.org/10.1016/j.conb.2025.103135}
}copy to clipboard@misc{ratzon2026predictionhorizonshapesrepresentati,
title = {{Prediction horizon shapes representations in predictive learning}},
author = {Ratzon, Aviv and Barak, Omri},
year = {2026},
journal = {arXiv},
url = {https://arxiv.org/abs/2511.09290},
eprint = {2511.09290},
archivePrefix = {arXiv},
primaryClass = {cs.LG}
}copy to clipboardPredictive learning has emerged as a central paradigm for training models across diverse data domains and is increasingly viewed as a foundation for modern artificial intelligence. A common intuition for this success is that accurate prediction requires models to capture the underlying dynamics of the environment, leading to the emergence of structured world models. However, predictive learning does not universally yield such representations, and a mechanistic account of when and why it does remains incomplete. In this work, we identify the prediction horizon as a critical, but often implicit, component of predictive learning objectives. We show that increasing the prediction horizon fundamentally shapes the effective structure of the learning problem. In a minimal setting, we demonstrate both theoretically and empirically that the model's implicit biases interact with this structural change to recover the latent geometry of the task. We then extend these empirical results to nonlinear architectures and more complex datasets, where similar phenomena persist. These findings provide a principled explanation for the emergence of structured representations in predictive learning paradigms and clarify the conditions under which such representations should be expected.
@inproceedings{dabholkar2025findingseparatricesofdynamicalflows,
title = {{Finding separatrices of dynamical flows with Deep Koopman Eigenfunctions}},
author = {Dabholkar, Kabir and Barak, Omri},
year = {2025},
booktitle = {Advances in Neural Information Processing Systems 38},
pages = {177262-177293},
doi = {10.52202/085713-5336},
url = {https://doi.org/10.52202/085713-5336}
}copy to clipboardMany natural systems, including neural circuits involved in decision making, are modeled as high-dimensional dynamical systems with multiple stable states. While existing analytical tools primarily describe behavior near stable equilibria, characterizing separatrices — the manifolds that delineate boundaries between different basins of attraction — remains challenging, particularly in high-dimensional settings. Here, we introduce a numerical framework leveraging Koopman Theory combined with Deep Neural Networks to effectively characterize separatrices. Specifically, we approximate Koopman Eigenfunctions (KEFs) associated with real positive eigenvalues, which vanish precisely at the separatrices. Utilizing these scalar KEFs, optimization methods efficiently locate separatrices even in complex systems. We demonstrate our approach on synthetic benchmarks, ecological network models, and high-dimensional recurrent neural networks trained on either neuroscience-inspired tasks or fit to real neural data. Moreover, we illustrate the practical utility of our method by designing optimal perturbations that can shift systems across separatrices, enabling predictions relevant to optogenetic stimulation experiments in neuroscience. Our code is available on GitHub , and we share an interactive description of the work and its extensions in a UniReps blog .
@inproceedings{ger2025learningdynamicsofrnnsinclosedloope,
title = {{Learning Dynamics of RNNs in Closed-Loop Environments}},
author = {Ger, Yoav and Barak, Omri},
year = {2025},
booktitle = {Advances in Neural Information Processing Systems 38},
pages = {106796-106835},
doi = {10.52202/085713-3221},
url = {https://doi.org/10.52202/085713-3221}
}copy to clipboardRecurrent neural networks (RNNs) trained on neuroscience-inspired tasks offer powerful models of brain computation. However, typical training paradigms rely on open-loop, supervised settings, whereas real-world learning unfolds in closed-loop environments. Here, we develop a mathematical theory describing the learning dynamics of linear RNNs trained in closed-loop contexts. We first demonstrate that two otherwise identical RNNs, trained in either closed- or open-loop modes, follow markedly different learning trajectories. To probe this divergence, we analytically characterize the closed-loop case, revealing distinct stages aligned with the evolution of the training loss. Specifically, we show that the learning dynamics of closed-loop RNNs, in contrast to open-loop ones, are governed by an interplay between two competing objectives: short-term policy improvement and long-term stability of the agent-environment interaction. Finally, we apply our framework to a realistic motor control task, highlighting its broader applicability. Taken together, our results underscore the importance of modeling closed-loop dynamics in a biologically plausible setting.
@article{dabholkar2025whenpredictcanalsoexplainfewshotpre,
title = {{When predict can also explain: Few-shot prediction to select better neural latents}},
author = {Dabholkar, Kabir V. and Barak, Omri},
year = {2025},
journal = {PLOS Computational Biology},
volume = {21},
number = {12},
pages = {e1013789},
doi = {10.1371/journal.pcbi.1013789},
url = {https://doi.org/10.1371/journal.pcbi.1013789}
}copy to clipboardLatent variable models serve as powerful tools to infer underlying dynamics from observed neural activity. Ideally, the inferred dynamics should align with true ones. However, due to the absence of ground truth data, prediction benchmarks are often employed as proxies. One widely-used method, co-smoothing, involves jointly estimating latent variables and predicting observations along held-out channels to assess model performance. In this study, we reveal the limitations of the co-smoothing prediction framework and propose a remedy. Using a student-teacher setup, we demonstrate that models with high co-smoothing can have arbitrary extraneous dynamics in their latent representations. To address this, we introduce a secondary metric-few-shot co-smoothing, performing regression from the latent variables to held-out neurons in the data using fewer trials. Our results indicate that among models with near-optimal co-smoothing, those with extraneous dynamics underperform in the few-shot co-smoothing compared to 'minimal' models that are devoid of such dynamics. We provide analytical insights into the origin of this phenomenon and further validate our findings on four standard neural datasets using a state-of-the-art method: STNDT. In the absence of ground truth, we suggest a novel measure to validate our approach. By cross-decoding the latent variables of all model pairs with high co-smoothing, we identify models with minimal extraneous dynamics. We find a correlation between few-shot co-smoothing performance and this new measure. In summary, we present a novel prediction metric designed to yield latent variables that more accurately reflect the ground truth, offering a significant improvement for latent dynamics inference.
@misc{ger2026learningrevealsinvisiblestructure,
title={Learning reveals invisible structure in low-rank RNNs},
author={Yoav Ger and Omri Barak},
year={2026},
eprint={2605.04115},
archivePrefix={arXiv},
primaryClass={cs.LG},
doi={10.48550/arXiv.2605.04115},
url={https://arxiv.org/abs/2605.04115}
}copy to clipboardLearning in neural systems arises from synaptic changes that reshape the representations underlying behavior. While low-rank recurrent neural networks (RNNs) have emerged as a powerful framework for linking connectivity to function, a theoretical understanding of their learning process remains elusive. Here, we extend the low-rank framework from activity to learning by deriving gradient-descent dynamics directly in a reduced overlap space.
We formulate a closed-form, low-dimensional system of ODEs that governs learning in this space, exact for linear RNNs and asymptotically exact for nonlinear RNNs in the large-N Gaussian limit. Central to our analysis is a distinction between two classes of overlaps: loss-visible overlaps, which fully determine network activity, output, and loss, and loss-invisible overlaps, which do not affect function but are required to describe learning.
We illustrate the consequences of this decomposition through two phenomena. First, we show that learning can serve as a perturbation that exposes differences in connectivity between functionally equivalent networks. Second, we show that loss-invisible overlaps can act as memory variables that encode training history, and characterize the conditions under which this occurs. Finally, we present several testable predictions for biological learning experiments derived from our theory.
@article{altshuler2026movingbeyondlinearsummationtoinferi,
title = {{Moving beyond linear summation to infer interaction order from neural and biological dynamics}},
author = {Altshuler, Gilad and Barak, Omri},
year = {2026},
journal = {Cell Reports Methods},
pages = {101603},
doi = {10.1016/j.crmeth.2026.101603},
url = {https://doi.org/10.1016/j.crmeth.2026.101603}
}copy to clipboardWe introduce the three-body recurrent neural network (TBRNN), a recurrent model that explicitly incorporates quadratic, three-body interactions. We show that TBRNNs are universal approximators and extend low-rank recurrent neural network (RNN) theory to derive a corresponding low-rank TBRNN framework, allowing model rank to help discriminate between pairwise and higher-order dynamics. On canonical neuroscience tasks, TBRNNs exhibit solution geometries distinct from standard RNNs, indicating that higher-order interactions reshape accessible dynamical regimes rather than merely re-parameterizing pairwise models. Building on these results, we develop a practical model-comparison procedure that infers interaction order directly from observed trajectories. Applied to synthetic systems, a gene regulatory model, and neural recordings, the framework distinguishes pairwise, three-body, and mixed interaction structure. Our results broaden the space of interpretable dynamical models in neuroscience and provide a general approach for probing higher-order interactions in biological networks.


