2801 Publications

How Data Augmentation Shapes Neural Representations

Tianxiao He, A. Williams, S. Harvey

Data augmentation is widely recognized for improving generalization in deep networks, yet its impact on the geometry of learned representations remains poorly understood. In this work, we characterize how different data augmentation strategies reshape internal representations in neural networks. Using tools from shape analysis, we embed network hidden representations into a metric space where distance is invariant to scaling, translation, rotation and reflection. We show that increasing augmentation strength leads to well-behaved trajectories in this space, and that different augmentation types steer representations in distinct directions. Moreover, we investigate how neural representation shapes are distorted along data augmentation trajectories, and show that insights from neural geometry can predict which representations provide the most improvement when ensembling models. Our results reveal shared geometric patterns across architectures and seeds, and suggest that analyzing shape-space trajectories offers a principled tool for understanding and comparing data augmentation methods.

Show Abstract
May 14, 2026

Tracking the Fidelity of Internal Neural Representations with Error-In-Variables Regression

Isabel Garon, Stephen Keeley, A. Williams

Internal neural representations can systematically deviate from externally measured sensory and behavioral variables, yet neuroscientists lack a principled statistical framework to quantify these mismatches. Here we introduce a nonlinear error-in-variables regression framework that explicitly models neural activity as a function of latent internal variables that deviate from measured sensory and behavioral variables. This approach uses a flexible basis expansion and a sampling-based inference scheme to jointly infer neuron-specific tuning functions, latent trajectories, and a representational fidelity parameter κ that controls the strength of coupling between latent and measured variables. On synthetic datasets, the model accurately recovers latent dynamics, tuning curves, and identifies the true fidelity regime via cross-validated marginal likelihood. Applied to population recordings from mouse anterodorsal thalamic nucleus and rat medial entorhinal cortex across distinct sensory and behavioral conditions, the framework reveals condition-dependent changes in representational fidelity, tuning gain and profile, and uncovers latent population manifolds that are obscured in conventional tuning analyses. These results establish error-in-variables regression as a powerful and computationally tractable tool for tracking the fidelity of internal neural representations in systems neuroscience experiments.

Show Abstract

Learning to Recall with Transformers Beyond Orthogonal Embeddings

Mert Vural , A. Bietti, Mahdi Soltanolkotabi , D. Wu

Modern large language models (LLMs) excel at tasks that require storing and retrieving knowledge, such as factual recall and question answering. Transformers are central to this capability because they can encode information during training and retrieve it at inference. Existing theoretical analyses typically study transformers under idealized assumptions such as infinite data or orthogonal embeddings. In realistic settings, however, models are trained on finite datasets with non-orthogonal (random) embeddings. We address this gap by analyzing a single-layer transformer with random embeddings trained with (empirical) gradient descent on a simple token-retrieval task, where the model must identify an informative token within a length-L sequence and learn a one-to-one mapping from tokens to labels. Our analysis tracks the

Show Abstract

There Will Be a Scientific Theory of Deep Learning

Jamie Simon, Daniel Kunin, Alexander Atanasov, Enric Boix-Adser`, Blake Bordelon, J. Cohen, N. Ghosh, F. Guth, Arthur Jacot, Mason Kamb, Dhruva Karkada, Eric J. Michaud, Berkan Ottlik, Joseph Turnbull

In this paper, we make the case that a scientific theory of deep learning is emerging. By this we mean a theory which
characterizes important properties and statistics of the training process, hidden representations, final weights, and
performance of neural networks. We pull together major strands of ongoing research in deep learning theory and identify
five growing bodies of work that point toward such a theory:
1. 2. 3. 4. solvable idealized settings that provide intuition for learning dynamics in realistic systems;
tractable limits that reveal insights into fundamental learning phenomena;
simple mathematical laws that capture important macroscopic observables;
theories of hyperparameters that disentangle them from the rest of the training process, leaving simpler systems
behind; and
5. universal behaviors shared across systems and settings which clarify which phenomena call for explanation.
Taken together, these bodies of work share certain broad traits: they are concerned with the dynamics of the training
process; they primarily seek to describe coarse aggregate statistics; and they emphasize falsifiable quantitative predictions.
We argue that the emerging theory is best thought of as a mechanics of the learning process, and suggest the name learning
mechanics. We assert that learning mechanics should be a mathematical theory, grounded in first-principles calculations
that closely predict empirics, reliant on well-tested approximations and assumptions, aiming for broad impact across the
machine learning stack once it reaches maturity.
We discuss the relationship between this mechanics perspective and other approaches for building a theory of deep
learning, including the statistical and information-theoretic perspectives. In particular, we anticipate a symbiotic and
mutually supportive relationship between learning mechanics and the developing discipline of mechanistic interpretability.
Where mechanistic interpretability aims to be the biology of deep learning, learning mechanics should aspire to be its
physics, mirroring the complementary relationship between biology and physics in the natural sciences.
We also review and address common arguments that fundamental theory will not be possible or is not important. We
conclude with a portrait of important open directions in learning mechanics and advice for beginners. We host further
introductory materials, perspectives, and open questions at learningmechanics.pub.

Show Abstract
April 23, 2026

Modulating Cross-Modal Convergence with Single-Stimulus, Intra-Modal Dispersion

Eghbal A. Hosseini, Brian Cheung, Evelina Fedorenko, A. Williams

Neural networks exhibit a remarkable degree of representational convergence across diverse architectures, training objectives, and even data modalities. This convergence is predictive of alignment with brain representation. A recent hypothesis suggests this arises from learning the underlying structure in the environment in similar ways. However, it is unclear how individual stimuli elicit convergent representations across networks. An image can be perceived in multiple ways and expressed differently using words. Here, we introduce a methodology based on the Generalized Procrustes Algorithm to measure intra-modal representational convergence at the single-stimulus level. We applied this to vision models with distinct training objectives, selecting stimuli based on their degree of alignment (intra-modal dispersion). Crucially, we found that this intra-modal dispersion strongly modulates alignment between vision and language models (cross-modal convergence). Specifically, stimuli with low intra-modal dispersion (high agreement among vision models) elicited significantly higher cross-modal alignment than those with high dispersion, by up to a factor of two (e.g., in pairings of DINOv2 with language models). This effect was robust to stimulus selection criteria and generalized across different pairings of vision and language models. Measuring convergence at the single-stimulus level provides a path toward understanding the sources of convergence and divergence across modalities, and between neural networks and human neural representations.

Show Abstract
April 23, 2026

Spectral Analysis of Representational Similarity with Limited Neurons

Hyunmo Kang, A. Canatar, S. Chung

Measuring representational similarity between neural recordings and computational models is challenging due to constraints on the number of
neurons that can be recorded simultaneously. In this work, we investigate how such limitations affect similarity measures, focusing on Canonical Correlation Analysis (CCA) and Centered Kernel Alignment (CKA). Leveraging tools from Random Matrix Theory, we develop a predictive spectral framework for these measures and demonstrate that finite neuron sampling systematically underestimates similarity due to eigenvector de-
localization. To overcome this, we introduce a denoising method to infer population-level similarity, enabling accurate analysis even with small
neuron samples. Our theory is validated on synthetic and real datasets, offering practical strategies for interpreting neural data under finite sampling constraints.

Show Abstract

Reproducibility and model-selection stability in connectome-constrained circuit modeling

Christos Karaneen, E. Schomburg, D. Chklovskii

Connectome-constrained neural network models aim to link anatomical connectivity with functional computation by training networks whose architectures reflect biological circuits. Because such models are increasingly used to infer neural mechanisms, it is important to assess their robustness to variations in training conditions and model selection criteria. Here we retrain ensembles of connectome-constrained models under nominally identical conditions and compare their correspondence to experimentally measured response properties in the Drosophila motion pathway. While task performance remains similar across models, the identification of biologically plausible circuit solutions is unstable across retraining runs. In particular, model clusters selected by lowest validation task error do not reliably correspond to experimentally observed neural tuning, and small variations in performance metrics can reorder cluster rankings. These results indicate that, in this framework, similar task performance does not reliably identify biologically plausible circuit solutions. Task error alone is therefore insufficient for mechanistic identification, and additional model-selection criteria are needed.

Show Abstract

On the randomized SVD in infinite dimensions

Daniel Kressner, D. Persson, André Uschmajew

Randomized methods, such as the randomized SVD (singular value decomposition) and Nyström approximation, are an effective way to compute low-rank approximations of large matrices. Motivated by applications to operator learning, Boullé and Townsend (FoCM, 2023) recently proposed an infinite-dimensional extension of the randomized SVD for a Hilbert–Schmidt operator A that invokes randomness through a Gaussian process with a covariance operator K. While the non-isotropy introduced by K allows one to incorporate prior information on A, an unfortunate choice may lead to unfavorable performance and large constants in the error bounds. In this work, we introduce a novel infinite-dimensional extension of the randomized SVD that does not require such a choice and enjoys error bounds that match those for the finite-dimensional case. Our extension implicitly uses isotropic random vectors, reflecting a choice commonly made in the finite-dimensional case. In fact, the theoretical results of this work show how the usual randomized SVD applied to a discretization of A approaches our infinite-dimensional extension as the discretization gets refined, both in terms of error bounds and the Wasserstein distance. We also present and analyze a novel extension of the Nyström approximation for self-adjoint positive semi-definite trace class operators.

Show Abstract

Estimating Dimensionality of Neural Representations from Finite Samples

C. Chun, A. Canatar, S. Chung , Daniel Lee

The global dimensionality of a neural representation manifold provides rich insight into the computational process underlying both artificial and biological neural networks. However, all existing measures of global dimensionality are sensitive to the number of samples, i.e., the number of rows and columns of the sample matrix. We show that, in particular, the participation ratio of eigenvalues, a popular measure of global dimensionality, is highly biased with small sample sizes, and propose a bias-corrected estimator that is more accurate with finite samples and with noise. On synthetic data examples, we demonstrate that our estimator can recover the true known dimensionality. We apply our estimator to neural brain recordings, including calcium imaging, electrophysiological recordings, and fMRI data, and to the neural activations in a large language model and show our estimator is invariant to the sample size. Finally, our estimators can additionally be used to measure the local dimensionalities of curved neural manifolds by weighting the finite samples appropriately.

Show Abstract

Quasi Monte Carlo methods enable extremely low-dimensional deep generative models

Miles Martinez, A. Williams

This paper introduces quasi-Monte Carlo latent variable models (QLVMs): a class of deep generative models that are specialized for finding extremely low-dimensional and interpretable embeddings of high-dimensional datasets. Unlike standard approaches, which rely on a learned encoder and variational lower bounds, QLVMs directly approximate the marginal likelihood by randomized quasi-Monte Carlo integration. While this brute force approach has drawbacks in higher-dimensional spaces, we find that it excels in fitting one, two, and three dimensional deep latent variable models. Empirical results on a range of datasets show that QLVMs consistently outperform conventional variational autoencoders (VAEs) and importance weighted autoencoders (IWAEs) with matched latent dimensionality. The resulting embeddings enable transparent visualization and post hoc analyses such as nonparametric density estimation, clustering, and geodesic path computation, which are nontrivial to validate in higher-dimensional spaces. While our approach is compute-intensive and struggles to generate fine-scale details in complex datasets, it offers a compelling solution for applications prioritizing interpretability and latent space analysis.

Show Abstract
  • Previous Page
  • Viewing
  • Next Page
Advancing Research in Basic Science and MathematicsSubscribe to Flatiron Institute announcements and other foundation updates