Samuel Ainsworth
· 7 previous affiliations
- waymoSince 2024
- Researcher · Since 2024
- University of WashingtonCurrent
- Current
- PhD student · 2016–2022
- Cruise2022–2023
- Researcher · 2022–2023
- Research Intern · 2018
- Cruise Automation2017
- Software Engineering Intern on the Perception Team · 2017
- SigOpt2016
- Research Intern · 2016
- Brown University2012–2016
- B.Sc. with Honors, Applied Math and Computer Science · 2012–2016
Research Overview
Samuel Ainsworth focuses on deep generative modeling, neural network optimization, and the geometry of loss landscapes. His trajectory spans from developing interpretable variational autoencoders to investigating permutation symmetries and linear mode connectivity in deep learning models. Most recently, his work explores the application of large language models to the algorithmic optimization of numerical programs.
Research Trajectory
Ainsworth’s early research addressed the interpretability and structure of deep generative models. In 2018, he introduced oi-VAE: Output Interpretable VAEs for Nonlinear Group Factor Analysis. While deep generative models had shown success in producing realistic samples of complex data, this work focused on the less-explored problem of making these models interpretable, specifically through the lens of nonlinear group factor analysis.
His focus subsequently shifted toward the fundamental optimization dynamics and loss landscapes of deep neural networks. In 2023, he developed Git Re-Basin: Merging Models modulo Permutation Symmetries. This work investigated the massive non-convex optimization problems inherent in deep learning, arguing that neural network loss landscapes often contain what is effectively a single basin once all possible permutation symmetries of hidden units are accounted for. To demonstrate this, the paper introduced algorithms designed to permute the units of one model to align with a reference model, enabling the two models to be merged directly in weight space. This contribution significantly advanced the research direction of Aligning Neural Weights via Permutation Symmetries and the broader area of Linear Mode Connectivity and Permutation Symmetry. Furthermore, the methodology and findings provided new insights into several related fields, including the area of Linear Mode Connectivity for Neural Network Merging and the research direction of The Connected Geometry of Neural Network Loss Landscapes, while also touching upon techniques in Differentiable Relaxations for Sorting and Permutation and the domain of Overcoming Underfitting in Tiny Neural Networks.
More recently, Ainsworth has collaborated on research evaluating the capabilities of modern foundation models in software engineering contexts. In 2025, he participated in the development of AlgoTune: Can Language Models Speed Up General-Purpose Numerical Programs?. This work introduced a benchmark specifically designed to test whether large language models can optimize numerical programs for execution speed. The study demonstrated that while current models can achieve modest speedups through surface-level code improvements, they still face significant limitations when tasked with discovering novel algorithmic optimizations.
Current Directions
The most recent papers in the evidence indicate an interest in the intersection of large language models and computational efficiency. Current work investigates the capacity of language models to accelerate scientific and computational tasks by optimizing general-purpose numerical code. A central open problem in this domain is bridging the gap between the surface-level refactoring that current models can reliably perform and the deeper, novel algorithmic optimizations that remain challenging for automated systems to discover.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake