MCP
DK

Daniel Kunin

23 papers in the library · Same-name authors told apart using DBLP

Papers

23
From Language Statistics to Semantic Control: Spectral Geometry and Group Actions
Lukas M. BongartzSunny LiuJack WeinsteinDaniel James KorchinskiDhruva KarkadaDaniel KuninDavid Klindt
This work links language statistics, spectral geometry and semantic control to explain how the multi-directional structure of concept representations arises and how it can be changed consistently. From a latent-variable data-generating process, the authors relate latent semantic structure to word co-occurrence and, under explicit embedding assumptions, to Fourier coordinates; group-based month and weekday steering transfers to held-out prompts, and an open-interval extension transports a fitted neural year component bidirectionally. Interpreting spectral modes as semantic phonons, Sturm–Liouville theory shows how boundary conditions shape these patterns for second-order operators, yielding a broader family of curved geometries even with an unchanged interior rule. The authors conclude that safety-relevant manifolds such as refusal require interventions across all relevant subspaces.
OpenReviewOpenReview · September 17, 2026
0
There Will Be a Scientific Theory of Deep Learning
Jamie SimonDaniel KuninAlexander AtanasovEnric Boix-AdseràBlake BordelonJeremy CohenNikhil GhoshFlorentin GuthArthur JacotMason KambDhruva KarkadaEric J. Michaud  +2
The paper argues that a scientific theory of deep learning is emerging: one that characterizes properties and statistics of training, hidden representations, final weights, and performance. It draws together five growing strands of work—solvable idealized settings, tractable limits, simple mathematical laws for macroscopic observables, theories that separate hyperparameters from training, and universal behaviors across systems—which share a focus on training dynamics, coarse aggregate statistics, and falsifiable quantitative predictions. The authors propose viewing this theory as a "mechanics of the learning process," calling it learning mechanics, and consider its relationship to statistical and information-theoretic perspectives, anticipating symbiosis with mechanistic interpretability. They address arguments that fundamental theory is impossible or unimportant and outline open directions.
arXivarXiv · · April 23, 2026
0
37
Sequential Group Composition: A Window into the Mechanics of Deep Learning
Giovanni Luca MarchettiDaniel KuninAdele MyersFrancisco AcostaNina Miolane
The paper introduces the sequential group composition task, where a network receives a sequence of elements from a finite group and must predict their cumulative product. For two-layer networks, learning occurs one irreducible representation at a time, with order determined by the encoding's Fourier statistics, and perfect learning requires a hidden width exponential in sequence length $k$. Deeper models exploit associativity to improve scaling: recurrent networks compose sequentially in $k$ steps, while multilayer networks compose in parallel in $\log k$ layers. This task provides a tractable setting for analyzing how structure and depth affect learning.
arXivarXiv · · February 3, 2026
0
8
Symmetry Breaking in Transformers for Efficient and Interpretable Training
Eva SilversteinDaniel KuninVasudev Shyam
Standard attention has rotational degrees of freedom that do not affect activations. This paper introduces a symmetry-breaking protocol that adds batchwise-sampled, unlearned query and value biases, fixing a preferred direction in that space. In 124M-parameter transformers, the modification improves the performance of simple memory-efficient optimizers (e.g., SGDM, ECD), narrowing the gap to adaptive methods like AdamW. It also allows individual attention heads to selectively amplify semantically meaningful token classes, making the redundant degrees of freedom interpretable.
arXivarXiv · · January 29, 2026
0
4
Sequential Group Composition: A Window into the Mechanics of Deep Learning
Giovanni Luca MarchettiDaniel KuninAdele MyersFrancisco AcostaNina Miolane
The paper introduces the sequential group composition task, where networks receive a sequence of group elements encoded in a real vector space and must predict their cumulative product. This task is order-sensitive and unsolvable by linear models. The analysis shows that two-layer networks from vanishing initialization learn one irreducible representation at a time, ordered by Fourier statistics of the encoding, and need exponential hidden width in sequence length $k$ for perfect learning. In contrast, recurrent networks compose sequentially in $k$ steps, and multilayer networks compose in parallel in $\log k$ layers, exploiting associativity to improve scaling.
OpenReviewOpenReview · · January 20, 2026
0
Alternating Gradient Flows: A Theory of Feature Learning in Two-layer Neural Networks
Daniel KuninGiovanni Luca MarchettiFeng ChenDhruva KarkadaJames B. SimonMichael R. DeWeeseSurya GanguliNina Miolane
Alternating Gradient Flows (AGF) models feature learning in two-layer neural networks trained from small initialization. It approximates the staircase-like loss curve as alternating steps: maximizing a utility over dormant neurons and minimizing a cost over active ones. AGF quantifies the order, timing, and magnitude of loss drops, matching experiments. It unifies saddle-to-saddle analyses in linear networks and linear transformers, and for diagonal linear networks converges to gradient flow. Applying AGF to quadratic networks learning modular addition reveals learned Fourier features ordered by coefficient magnitude.
arXivarXiv · · June 6, 2025
0
19
Alternating Gradient Flows: A Theory of Feature Learning in Two-layer Neural Networks
Daniel KuninGiovanni Luca MarchettiFeng ChenDhruva KarkadaJames B SimonMichael R DeWeeseSurya GanguliNina Miolane
We introduce Alternating Gradient Flows (AGF), an algorithmic framework approximating feature-learning dynamics in two-layer networks trained from small initialization. AGF models training as alternating utility maximization over dormant neurons and cost minimization over active ones, beginning with all neurons dormant; each activation acquires a feature and drops the loss. It quantifies drop order, timing, and magnitude, matching experiments. AGF unifies saddle-to-saddle analyses in linear networks and linear transformers, converges to gradient flow in diagonal linear networks as initialization vanishes, and gives the first full characterization of quadratic networks learning modular addition, revealing Fourier features learned in decreasing coefficient-magnitude order.
OpenReviewOpenReview · · May 11, 2025
0
From Lazy to Rich: Exact Learning Dynamics in Deep Linear Networks
Clémentine Carla Juliette DominéNicolas AnguitaAlexandra Maria ProcaLukas BraunDaniel KuninPedro A. M. MedianoAndrew M Saxe
This paper derives exact solutions for the learning dynamics of deep linear networks under $\lambda$-balanced initializations, which capture weight scaling across layers. These solutions show how internal representations and the Neural Tangent Kernel evolve continuously from the static lazy regime to the dynamically changing rich regime depending on initialization. The results have implications for continual, reversal, and transfer learning in neuroscience and practical applications.
OpenReviewOpenReview · September 24, 2024
0
From Lazy to Rich: Exact Learning Dynamics in Deep Linear Networks
Clémentine Carla Juliette DominéNicolas AnguitaAlexandra Maria ProcaLukas BraunDaniel KuninPedro A. M. MedianoAndrew M Saxe
This work derives exact learning dynamics for deep linear networks under $\lambda$-balanced initializations, which control weight scaling across layers. The solutions reveal how the Neural Tangent Kernel and internal representations transition from rich to lazy regimes as initialization varies, connecting representation evolution to continual, reversal, and transfer learning in neuroscience and practical applications.
OpenReviewOpenReview · September 23, 2024
0
From Lazy to Rich: Exact Learning Dynamics in Deep Linear Networks
Clémentine Carla Juliette DominéNicolas AnguitaAlexandra Maria ProcaLukas BraunDaniel KuninPedro A. M. MedianoAndrew M Saxe
This paper derives exact learning dynamics for deep linear networks under lambda-balanced initializations, which are defined by the relative scale of weights across layers. The exact solutions describe how internal representations and the Neural Tangent Kernel evolve across the full spectrum from rich (feature learning) to lazy regimes. This deepens theoretical understanding of how weight initialization affects learning regimes, with implications for continual, reversal, and transfer learning.
OpenReviewOpenReview · September 22, 2024
0
Get rich quick: exact solutions reveal how unbalanced initializations promote rapid feature learning
Daniel KuninAllan RaventósClémentine DominéFeng ChenDavid KlindtAndrew SaxeSurya Ganguli
This work derives exact solutions for a minimal model that transitions between lazy and rich learning, showing how unbalanced layer-specific initialization variances and learning rates determine feature learning. The analysis identifies conserved quantities that constrain learning trajectories, revealing that in linear networks, rapid feature learning requires balanced initializations, while in nonlinear networks, unbalanced initializations favoring earlier layers accelerate rich learning. Experiments confirm that this unbalanced rich regime drives feature learning in deep finite-width networks, enhances interpretability, and reduces sample complexity.
arXivarXiv · · June 10, 2024
0
56
Get rich quick: exact solutions reveal how unbalanced initializations promote rapid feature learning
Daniel KuninAllan RaventosClémentine Carla Juliette DominéFeng ChenDavid KlindtAndrew M SaxeSurya Ganguli
This paper derives exact solutions to a minimal model bridging lazy and rich learning, showing how unbalanced layer-specific initialization variances and learning rates, via conserved quantities shaping learning trajectories, control feature learning. Extensions to linear networks show rapid feature learning only with balanced initializations, whereas nonlinear networks with piecewise linear activations benefit from unbalanced initializations accelerating early-layer learning. Experiments indicate this unbalanced rich regime drives feature learning in finite-width networks, enhances CNN early-layer interpretability, reduces sample complexity on hierarchical data, and shortens grokking time.
OpenReviewOpenReview · · May 28, 2024
0
Get rich quick: exact solutions reveal how unbalanced initializations promote rapid feature learning
Daniel KuninAllan RaventosClémentine Carla Juliette DominéFeng ChenDavid KlindtAndrew M SaxeSurya Ganguli
This paper derives exact solutions for a minimal model interpolating between lazy and rich learning, showing how layer-specific initialization variances and learning rates, through conserved quantities, determine the degree of feature learning. In linear networks, rapid feature learning requires balanced initializations; in nonlinear networks, unbalanced initializations promoting faster learning in earlier layers accelerate rich learning. Experiments confirm this unbalanced rich regime drives feature learning across deep networks, CNNs, hierarchical data, and grokking.
OpenReviewOpenReview · · May 15, 2024
0
Stochastic Collapse: How Gradient Noise Attracts SGD Dynamics Towards Simpler Subnetworks
Feng ChenDaniel KuninAtsushi YamamuraSurya Ganguli
This paper shows that stochastic gradient descent (SGD) biases over-parameterized networks toward simpler subnetworks, a process termed stochastic collapse. The authors identify invariant sets—parameter subsets untouched by SGD, often corresponding to sparse or low-rank subnetworks—and prove that SGD is stochastically attracted to them when the loss curvature around the set and the gradient noise compete in a specific way. Notably, larger noise strengthens attraction, potentially drawing dynamics toward saddle points or local maxima. Empirical evidence confirms that trained networks collapse to such simple subnetworks, which improves generalization.
arXivarXiv · · June 7, 2023
0
60
Stochastic Collapse: How Gradient Noise Attracts SGD Dynamics Towards Simpler Subnetworks
Feng ChenDaniel KuninAtsushi YamamuraSurya Ganguli
This paper identifies invariant sets—parameter subspaces left unchanged by SGD—that correspond to simpler sparse or low-rank subnetworks. It shows SGD exhibits stochastic attractivity toward these sets, governed by a sufficient condition balancing loss curvature and gradient noise. Notably, higher noise strengthens attractivity, even toward saddles or local maxima. Empirical evidence confirms attractive invariant sets in trained networks, and a linear teacher-student model links this stochastic collapse to improved generalization, mechanistically explaining why prolonged large learning rates benefit later performance.
OpenReviewOpenReview · · May 11, 2023
0
The Asymmetric Maximum Margin Bias of Quasi-Homogeneous Neural Networks
Daniel KuninAtsushi YamamuraChao MaSurya Ganguli
This paper studies the maximum-margin bias of quasi-homogeneous neural networks trained with gradient flow on an exponential loss after separability. Unlike homogeneous networks, where all parameters are equally favored, gradient flow in quasi-homogeneous models implicitly minimizes an asymmetric norm, favoring a subset of parameters. This bias can degrade robustness, but may also yield sparser parameterizations. The analysis also explains Neural Collapse in networks with normalization layers.
arXivarXiv · · October 7, 2022
0
45
Beyond the Quadratic Approximation: the Multiscale Structure of Neural Network Loss Landscapes
Chao MaDaniel KuninLei WuLexing Ying
This paper moves beyond the quadratic approximation of neural network loss landscapes and characterizes their multiscale structure. Near minima, the loss mixes a continuum of scales and grows subquadratically, which explains the Edge of Stability phenomenon in gradient descent. On a larger scale, the loss exhibits several separate scales, accounting for the mechanism of learning rate decay. The authors attribute this multiscale nature to model non-convexity and non-uniform training data, demonstrated with a two-layer network where data of varying magnitudes produce the observed subquadratic growth and separate scales.
arXivarXiv · · April 24, 2022
0
89
The Limiting Dynamics of SGD: Modified Loss, Phase Space Oscillations, and Anomalous Diffusion
Daniel KuninJavier Sagastuy-BrenaLauren GillespieEshed MargalitHidenori TanakaSurya GanguliDaniel L. K. Yamins
This paper attributes the anomalous diffusion observed in deep networks trained with SGD—where the parameter distance grows as a power law with a nontrivial exponent long after convergence—to an interaction between optimization hyperparameters, gradient noise structure, and the Hessian. The authors model SGD with finite learning rates and batch sizes as an underdamped Langevin equation. In linear regression, exact analysis shows that phase-space oscillations arise from probability currents altering a modified loss, not the original training loss. These predictions are validated qualitatively and quantitatively in a ResNet-18 trained on ImageNet.
arXivarXiv · · July 19, 2021
0
38
Noether's Learning Dynamics: Role of Symmetry Breaking in Neural Networks
Hidenori TanakaDaniel Kunin
This paper introduces a Lagrangian framework to model gradient descent, treating the loss as potential energy and the learning rule as kinetic energy. It identifies kinetic symmetry breaking (KSB) when the kinetic term breaks the loss symmetry. Generalizing Noether\'s theorem, the authors derive Noether\'s Learning Dynamics (NLD), which describes the resulting charge motion. Applying NLD to normalization layers, they show KSB produces an implicit adaptive optimization analogous to RMSProp, revealing a mechanism behind the efficiency and stability of modern neural networks.
arXivarXiv · · May 6, 2021
0
75
Neural Mechanics: Symmetry and Broken Conservation Laws in Deep Learning Dynamics
Daniel KuninJavier Sagastuy-BrenaSurya GanguliDaniel L.K. YaminsHidenori Tanaka
By exploiting architectural symmetries inherent in any dataset, the authors derive a Noether-like conservation law that holds in the continuous-time limit of SGD. They show that finite learning rates, as used in practice, break this conservation law, and they employ finite-difference methods to obtain a modified gradient flow that more accurately approximates the discrete SGD trajectory. Combining this modified flow with the symmetry framework yields exact integral expressions for the dynamics of certain parameter combinations, which are empirically validated on VGG-16 trained on Tiny ImageNet.
arXivarXiv · · December 8, 2020
0
135
Pruning neural networks without any data by iteratively conserving synaptic flow
Hidenori TanakaDaniel KuninDaniel L. K. YaminsSurya Ganguli
This paper introduces Iterative Synaptic Flow Pruning (SynFlow), a data-agnostic pruning algorithm that identifies sparse trainable subnetworks at neural network initialization without any training data. The authors first derive a conservation law explaining why gradient-based pruning methods cause layer-collapse (entire layers being pruned prematurely). SynFlow avoids this by preserving the total flow of synaptic strengths under a sparsity constraint. The algorithm matches or outperforms state-of-the-art data-dependent pruning methods across VGG and ResNet models on CIFAR-10/100 and Tiny ImageNet, achieving up to 99.99% sparsity.
arXivarXiv · · June 9, 2020
0
1k+
Two Routes to Scalable Credit Assignment without Weight Symmetry
Daniel KuninAran NayebiJavier Sagastuy-BrenaSurya GanguliJonathan M. BloomDaniel L. K. Yamins
This paper investigates biologically plausible alternatives to backpropagation that avoid weight transport. It shows that a recent local learning rule is highly sensitive to metaparameters, and its instability stems from a mathematical cause. The authors identify a more robust local rule, but it still underperforms backpropagation as depth increases. They then examine non-local rules that replace instantaneous weight transport with a weight estimation process, achieving state-of-the-art performance on deep networks even with noisy updates. Two routes for scalable credit assignment without weight symmetry are thus proposed: improving local rules for cross-architecture consistency and identifying biological implementations for non-local mechanisms.
arXivarXiv · · February 28, 2020
0
56
Loss Landscapes of Regularized Linear Autoencoders
Daniel KuninJonathan M. BloomAleksandrina GoevaCotton Seed
This paper proves that $L_2$-regularized linear autoencoders (LAEs) are symmetric at all critical points and learn the principal directions as the left singular vectors of the decoder. The critical manifold is smoothly parameterized, connecting minima to the MAP estimate of probabilistic PCA. Empirical results support these findings, with implications for PCA algorithms, computational neuroscience, and algebraic topology.
arXivarXiv · · January 23, 2019
0
148
Frequent collaborators
Surya Ganguli (12)
Feng Chen (7)
Clémentine Carla Juliette Dominé (5)
Andrew M Saxe (5)
Dhruva Karkada (4)
David Klindt (4)
Giovanni Luca Marchetti (4)
Nina Miolane (4)
Hidenori Tanaka (4)
Nicolas Anguita (3)
Alexandra Maria Proca (3)
Lukas Braun (3)