Noam Shazeer

1 previous affiliation
26Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Noam Shazeer focuses on the architecture, optimization, and scaling of deep learning models for sequence transduction and natural language processing. His work is central to the transition from recurrent neural networks to attention-based architectures and the development of systems-level frameworks for training massive neural networks on distributed hardware. Shazeer’s contributions span the design of fundamental primitives—such as the Transformer—and the engineering of software abstractions like Mesh-TensorFlow that enable model-parallel training across large-scale compute clusters.

Research Trajectory

The evolution of Shazeer’s research reflects a broader shift in the field of machine learning from improving the training dynamics of recurrent architectures to inventing entirely new paradigms for parallelizable sequence modeling. In the mid-2010s, his work addressed the limitations of Recurrent Neural Networks (RNNs), specifically the discrepancy between how models were trained and how they were used during inference. This led to the development of curriculum learning strategies designed to bridge the gap between "Teacher Forcing" and autonomous generation.

By 2017, Shazeer’s focus shifted toward the fundamental architecture of sequence models. As a core contributor to the Transformer, he helped demonstrate that recurrence and convolution could be entirely replaced by self-attention mechanisms. This shift not only improved the quality of machine translation but also fundamentally changed the computational profile of natural language processing, making models significantly more parallelizable.

Following the success of the Transformer, Shazeer’s work turned toward the practical challenges of scaling these models. As models grew to hundreds of millions and eventually billions of parameters, standard data-parallel training methods became insufficient due to memory constraints. Shazeer addressed this by developing new programming abstractions for model parallelism, allowing large tensors to be sharded across multiple processors. His more recent work continues this trajectory, focusing on efficiency through neural architecture search and conditional computation, which allows for the scaling of model capacity without a commensurate increase in computational cost.

Scaling and Infrastructure

A significant portion of Shazeer’s research involves the intersection of machine learning and distributed systems. The move toward larger models necessitated a departure from simple batch-splitting strategies. In his work on Mesh-TensorFlow, Shazeer introduced a language for specifying general distribution strategies, enabling the training of models that are too large to fit on a single accelerator. This work laid the groundwork for modern large-scale model training by providing a way to describe complex parallel algorithms in a manner that is amenable to Single-Program-Multiple-Data (SPMD) programming.

This interest in scaling extends to the efficiency of the training process itself. Shazeer has explored Memory Efficient Adaptive Optimization for Large Language Models, addressing the high VRAM costs associated with storing optimizer states for billions of parameters. By optimizing these "hidden" costs, his work has enabled the training of increasingly large architectures within the physical limits of existing hardware.

Architectural Innovation and Efficiency

Beyond scaling, Shazeer has consistently worked on refining the internal components of sequence models to improve both performance and inference speed. This includes investigating discrete latent variables to accelerate decoding in autoregressive models and searching for more efficient Transformer variants. His research into architectural primitives, such as the use of squared ReLU activations, demonstrates a focus on low-level optimizations that yield significant gains in training efficiency for auto-regressive language modeling.

In the domain of conditional computation, Shazeer has contributed to methods that allow models to selectively activate different sub-networks for different inputs. This approach, exemplified by work on automatic sharding and conditional computation, provides a path toward "giant" models that maintain manageable computational requirements by only utilizing a fraction of their total parameters for any given task.

Representative Work

Scheduled Sampling for Sequence Prediction with Recurrent Neural Networks As senior author, Shazeer proposed a curriculum learning strategy to mitigate the "exposure bias" inherent in training autoregressive models. The paper addresses the problem where models, trained using ground-truth tokens, fail to recover from their own errors during inference. This work is a foundational contribution to Scheduled Sampling to Mitigate Exposure Bias and explores the Capability Threshold for Autonomous Self-Improvement by gradually transitioning the model from guided training to self-generated inputs.

Attention is All you Need In this highly influential work, Shazeer served as a primary contributor to the design of the Transformer architecture. The paper introduced a model based entirely on attention mechanisms, dispensing with the recurrence and convolutions that had previously dominated sequence transduction. This architecture allowed for significantly more parallelization during training and set new benchmarks in machine translation, eventually becoming the standard backbone for nearly all modern large language models.

Fast Decoding in Sequence Models Using Discrete Latent Variables Serving as senior author, Shazeer addressed the slow inference speeds of autoregressive models like the Transformer and RNNs. The research explores the use of discrete latent variables to introduce parallelism into the decoding process, aiming to overcome the sequential bottleneck of generating one token at a time in long sequences.

Mesh-TensorFlow: Deep Learning for Supercomputers As lead author, Shazeer introduced Mesh-TensorFlow to solve the limitations of data-parallelism in distributed training. The framework allows researchers to specify how tensors should be sharded across a mesh of processors, facilitating model-parallelism. This innovation was critical for training models that exceed the memory capacity of individual accelerators, providing the infrastructure necessary for the continued scaling of deep learning architectures.

Searching for Efficient Transformers for Language Modeling In this work, Shazeer participated in a low-level architectural search over the primitives that define Transformer programs. The result of this search, an architecture named Primer, demonstrated that simple modifications—such as squaring the ReLU activation function—could significantly reduce the training cost of auto-regressive language models compared to the original Transformer design.

GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding Shazeer contributed to the development of GShard, a module designed to scale neural networks to trillions of parameters using conditional computation. By extending the XLA compiler and providing lightweight annotation APIs, this work enables the efficient implementation of Sparsely-Gated Mixture-of-Experts (MoE) models, allowing for massive increases in model capacity without a proportional increase in the compute required for each inference pass.

Profile updated

See something wrong? Report a mistake