Selected Concept Papers

Networks with the same current behavior can learn differently because their connectivity contains structure that behavior alone does not reveal. This work derives a low-dimensional theory of learning in low-rank recurrent networks and shows how hidden variables can encode training history and influence future learning.

Learning reveals invisible structure in low-rank RNNs
* Oral presentation
NeurIPS (2026). Technion news coverage
Y. Ger, O. Barak
Abstract

Learning 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.

BibTex
@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 clipboard

Learning changes when a network acts on its environment and thereby changes its own inputs. This work develops a mathematical account of learning in closed-loop recurrent networks, helping connect artificial training settings with the feedback that is central to natural behavior.

Learning Dynamics of RNNs in Closed-Loop Environments
NeurIPS 2025, Advances in Neural Information Processing Systems 38, 106796–106835 (2025)
Y. Ger, O. Barak
Abstract

Recurrent 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.

BibTex
@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 clipboard
Scaling FP8 Training to Trillion-Token LLMs

We show how train to LLMs in FP8, even when trained at the scale of trillions of tokens. We analytically and empirically pinpoint the problem in the SwiGLU activation and propose a solution.

Scaling FP8 Training to Trillion-Token LLMs
* submitted
ICLR 2025 (Spotlight)
M. Fishman, B. Chmiel, R. Banner, D. Soudry
Abstract

We train, for the first time, large language models using FP8 precision on datasets up to 2 trillion tokens — a 20-fold increase over previous limits. Through these extended training runs, we uncover critical instabilities in FP8 training that were not observable in earlier works with shorter durations. We trace these instabilities to outlier amplification by the SwiGLU activation function. Interestingly, we show, both analytically and empirically, that this amplification happens only over prolonged training periods, and link it to a SwiGLU weight alignment process. To address this newly identified issue, we introduce Smooth-SwiGLU, a novel modification that ensures stable FP8 training without altering function behavior. We also demonstrate, for the first time, FP8 quantization of both Adam optimizer moments. Combining these innovations, we successfully train a 7B parameter model using FP8 precision on 256 Intel Gaudi2 accelerators, achieving on-par results with the BF16 baseline while delivering up to a ∼34% throughput improvement.

BibTex
@misc{fishman2025scalingfp8trainingtrilliontoken,
      title={Scaling FP8 training to trillion-token LLMs}, 
      author={Maxim Fishman and Brian Chmiel and Ron Banner and Daniel Soudry},
      year={2025},
      eprint={2409.12517},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2409.12517}, 
}
copy to clipboard
Typical Interpolating Neural Networks Generalize with Narrow Teachers

We examine neural networks (NN) with uniform random weights, conditioned on zero training loss. We prove they typically generalize well if there exists an underlying narrow "teacher NN” that agrees with the labels.

Typical Interpolating Neural Networks Generalize with Narrow Teachers
ICML 2024
G. Buzaglo, I. Harel, M. Shpigel Nacson, D. Soudry
Abstract

A main theoretical puzzle is why over-parameterized Neural Networks (NNs) generalize well when trained to zero loss (i.e., so they interpolate the data). Usually, the NN is trained with Stochastic Gradient Descent (SGD) or one of its variants. However, recent empirical work examined the generalization of a random NN that interpolates the data: the NN was sampled from a seemingly uniform prior over the parameters, conditioned on that the NN perfectly classifies the training set. Interestingly, such a NN sample typically generalized as well as SGD-trained NNs. Contributions. We prove that such a random NN interpolator typically generalizes well if there exists an underlying narrow “teacher NN” that agrees with the labels. Specifically, we show that such a `flat’ prior over the NN parameterization induces a rich prior over the NN functions, due to the redundancy in the NN structure. In particular, this creates a bias towards simpler functions, which require less relevant parameters to represent — enabling learning with a sample complexity approximately proportional to the complexity of the teacher (roughly, the number of non-redundant parameters), rather than the student’s.

BibTex
@misc{buzaglo2025uniformrandomweightsinduce,
      title={How Uniform Random Weights Induce Non-uniform Bias: Typical Interpolating Neural Networks Generalize with Narrow Teachers}, 
      author={Gon Buzaglo and Itamar Harel and Mor Shpigel Nacson and Alon Brutzkus and Nathan Srebro and Daniel Soudry},
      year={2025},
      eprint={2402.06323},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2402.06323}, 
}
copy to clipboard
How Uniform Random Weights Induce Non-uniform Bias: Typical Interpolating Neural Networks Generalize with Narrow Teachers

We examine neural networks (NN) with uniform random weights, conditioned on zero training loss. We prove they typically generalize well if there exists an underlying narrow "teacher NN” that agrees with the labels.

How Uniform Random Weights Induce Non-uniform Bias: Typical Interpolating Neural Networks Generalize with Narrow Teachers
* special award 2025
ICML 2024 (Spotlight, 3.5% acceptance rate) ICML 2024 (Spotlight, 3.5% acceptance rate)
G. Buzaglo, I. Harel, M. Shpigel Nacson, A. Brutzkus, N. Srebro, D. Soudry
Abstract

A main theoretical puzzle is why over-parameterized Neural Networks (NNs) generalize well when trained to zero loss (i.e., so they interpolate the data). Usually, the NN is trained with Stochastic Gradient Descent (SGD) or one of its variants. However, recent empirical work examined the generalization of a random NN that interpolates the data: the NN was sampled from a seemingly uniform prior over the parameters, conditioned on that the NN perfectly classifies the training set. Interestingly, such a NN sample typically generalized as well as SGD-trained NNs. Contributions. We prove that such a random NN interpolator typically generalizes well if there exists an underlying narrow “teacher NN” that agrees with the labels. Specifically, we show that such a `flat’ prior over the NN parameterization induces a rich prior over the NN functions, due to the redundancy in the NN structure. In particular, this creates a bias towards simpler functions, which require less relevant parameters to represent — enabling learning with a sample complexity approximately proportional to the complexity of the teacher (roughly, the number of non-redundant parameters), rather than the student’s.

BibTex
@misc{buzaglo2025uniformrandomweightsinduce,
      title={How Uniform Random Weights Induce Non-uniform Bias: Typical Interpolating Neural Networks Generalize with Narrow Teachers}, 
      author={Gon Buzaglo and Itamar Harel and Mor Shpigel Nacson and Alon Brutzkus and Nathan Srebro and Daniel Soudry},
      year={2025},
      eprint={2402.06323},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2402.06323}, 
}
copy to clipboard

What does a biological system regulate? IRAS uses competing algorithms to identify combinations of measured variables that remain unusually stable over time. Tests on simulated and experimental data show how this approach can suggest hidden control objectives and conserved quantities.

Identifying regulation with adversarial surrogates
PNAS U.S.A. 120(12):e2216805120 (2023)
R. Teichner, A. Shomar, O. Barak, N. Brenner, S. Marom, R. Meir, D. Eytan
Abstract

Homeostasis, 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.

BibTex
@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 clipboard

This perspective explores whether cancer progression can be understood partly as cellular learning: adaptation through changes in regulatory networks. It connects ideas from learning theory and cellular plasticity, offering a conceptual framework to investigate rather than an established universal mechanism.

Cancer progression as a learning process
iScience 25(3) 103924 (2022). Press: Technion news · Technion news (Hebrew) · Jerusalem Post
A. Shomar, O. Barak, N. Brenner
Abstract

Drug 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.

BibTex
@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 clipboard

Past commitment to a common language within disciplines, came at the price of creating knowledge silos. Today, ‘interdisciplinarity’ — arguably a common language — is pushed down into undergraduate education so that we are encouraging science students at their earliest stages of education to be conversant across the myriad fields that are now important for many research projects. But at what cost?

Lost Knowledge
Currect Biology (2022)
S. Marom, E. Marder
Abstract

We are in the midst of an enormous explosion of new technologies that are making experiments in biology feasible that were unimaginable only a few years ago. These new technologies include significant advances in microscopy, molecular tools, multielectrode recording, methods for monitoring the movements of behaving animals, and of course, the analysis of massive data sets using new and improved statistical methods. But the precipitous pace of our rush forward has a dark side, and is accompanied by a loss of some deep scholarship and expertise that need time to mature in a student.
Many of us senior scientists were trained in traditional disciplines, whether they were physics, chemistry, math, physiology, or biochemistry. Consequently, there was a commitment to a common language within disciplines that could be assumed, at the price of creating knowledge silos. Today, we are witnessing a shift of the pendulum to the other extreme, as ‘interdisciplinarity’ — arguably a common language — is pushed down into undergraduate education so that we are encouraging science students at their earliest stages of education to be conversant across the myriad fields that are now important for many research projects. But at what cost? While our governmental funding agencies are celebrating the value of cross-disciplinary training, do we risk the loss of disciplinary expertise?
Today, for example, there are relatively few trainees who are knowledgeable in theory and practice of membrane biophysics: can you imagine physiologists building their amplifiers today, not to mention designing such? Despite the enormous efforts in determining connectomes — the precise way that neurons are wired together in a network — there are relatively few among us who are training expert electron microscopists. The number of comparative physiologists and anatomists has decreased, at a time when climate change may require their expertise. There are few left among our scientists who have the expertise in systematics required to reliably identify various species of plants and animals. Machine learning and AI, data sciences, and other high-level approaches have replaced knowledge of the diversity of species and their idiosyncrasies in the hearts and minds of many students.
Some lost knowledge is inconsequential. Probably it does not matter in today’s world just how dial telephones encoded the number called, as simple and elegant as it was. Maybe no one needs to ever again use a slide rule (Figure 1), or even know what it is, although slide rules are a triumph of human ingenuity, and truly beautiful. But surely, there is knowledge that we cannot allow ourselves to lose. For instance, we are sad that so few young people wish to study the theoretical and practical fundamentals of ion channel biophysics and synaptic transmission. We understand the allure of trying to attack the molecular and genetic bases of cognitive processing (if an explanation at that level even exists or makes sense). But we remain convinced that to judge the relevance of molecular explanations to behavior we will always need people working to understand how molecular biophysics turns into neuronal dynamics. We are not training those people in large numbers today.

The same task can be solved by recurrent networks with different internal mechanisms. This work maps that diversity and uses behavior beyond the training conditions to reveal how network solutions differ, helping clarify what comparisons between models and neural data can establish.

Charting and navigating the space of solutions for recurrent neural networks
NeurIPS 2021, Advances in Neural Information Processing Systems 34, 25320–25333 (2021)
E. Turner, K. V. Dabholkar, O. Barak
Abstract

In 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.

BibTex
@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 clipboard

The phenomenon of biology provides a prime example for a naturally occurring complex system. The approach to this complexity reflects the tension between a reductionist, reverse-engineering stance, and more abstract, systemic ones. Both of us are reductionists, but our observations challenge reductionism, at least the naive version of it. Here we describe the challenge, focusing on two universal characteristics of biological complexity: two-way microscopic–macroscopic degeneracy, and lack of time scale separation within and between levels of organization. These two features and their consequences for the praxis of experimental biology, reflect inherent difficulties in separating the dynamics of any given level of organization from the coupled dynamics of all other levels, including the environment within which the system is embedded. Where these difficulties are not deeply acknowledged, the impacts of fallacies that are inherent to naive reductionism are significant. In an era where technology enables experimental high-resolution access to numerous observables, the challenge faced by the mature reductionist—identification of relevant microscopic variables—becomes more demanding than ever. The demonstrations provided here are taken from two very different biological realizations: populations of microorganisms and populations of neurons, thus making the lesson potentially general.

Universality, Complexity and the Rraxis of Biology: Two Case Studies
Studies in History and Philosophy of Science – Part C (2015)
Braun E., Marom S.
Abstract

The phenomenon of biology provides a prime example for a naturally occurring complex system. The approach to this complexity reflects the tension between a reductionist, reverse-engineering stance, and more abstract, systemic ones. Both of us are reductionists, but our observations challenge reductionism, at least the naive version of it. Here we describe the challenge, focusing on two universal characteristics of biological complexity: two-way microscopic–macroscopic degeneracy, and lack of time scale separation within and between levels of organization. These two features and their consequences for the praxis of experimental biology, reflect inherent difficulties in separating the dynamics of any given level of organization from the coupled dynamics of all other levels, including the environment within which the system is embedded. Where these difficulties are not deeply acknowledged, the impacts of fallacies that are inherent to naive reductionism are significant. In an era where technology enables experimental high-resolution access to numerous observables, the challenge faced by the mature reductionist—identification of relevant microscopic variables—becomes more demanding than ever. The demonstrations provided here are taken from two very different biological realizations: populations of microorganisms and populations of neurons, thus making the lesson potentially general.

In this perspective we demonstrate that application of reverse engineering to the study of the design principle of a functional neuro-system with a known mechanism, may result in a perfectly valid but wrong induction of the system’s design principle. If in the very simple setup we bring here it is difficult to induce a design principle, what are our chances of exposing biological design principles when more realistic conditions are examined?

On the Precarious Path of Reverse Neuro-engineering
Frontiers in Computational Neuroscience (2009)
Marom S., Meir R., Braun E., Gal A., Kermany E., Eytan D.
Abstract

123