Noam Shazeer

Noam Shazeer is an American computer scientist and technology entrepreneur whose research has concentrated on machine learning, large-scale neural networks, and natural-language processing. At Google, he contributed to the development of the Transformer, the neural-network architecture introduced in the 2017 paper “Attention Is All You Need.” He later co-founded Character.AI, a company that developed conversational systems based on large language models, before returning to Google in 2024.

Shazeer’s work forms part of the transition from recurrent approaches to architectures organized around attention mechanisms. That transition altered how language models represented relationships between tokens and enabled training to be distributed more efficiently across specialized computing hardware. His subsequent work addressed the computational scaling of such systems, particularly through sparsely activated models and mixture-of-experts methods.

Education and early research

Shazeer studied mathematics and computer science at Duke University. He later joined Google, where he worked on problems involving statistical learning, sequence modeling, and the distribution of neural-network computation across large computing systems.

An early area of his research concerned language models that predicted sequences of words or other tokens. Neural language models initially relied heavily on recurrent neural networks, which processed a sequence through a succession of state transitions. This structure represented word order directly, but its sequential dependence constrained the degree to which computation could be parallelized during training.

Shazeer also participated in the development of Google’s machine-translation systems. In 2016, Google introduced Google Neural Machine Translation, which replaced substantial portions of its earlier phrase-based translation infrastructure with an end-to-end neural system. The project demonstrated that large neural networks could be deployed for multilingual sequence transformation at the scale of a widely used commercial service.

The Transformer

Shazeer was one of eight authors of “Attention Is All You Need,” published in 2017 by researchers at Google Brain and Google Research. The other authors were Ashish Vaswani, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan Gomez, Łukasz Kaiser, and Illia Polosukhin. The paper presented an encoder–decoder architecture whose principal operations were multi-head attention and position-wise feed-forward transformations.

The Transformer replaced recurrence with attention operations that compared token representations directly. In the encoder, each position formed a weighted combination of information from other positions in the input. In the decoder, masked self-attention prevented a generated position from using later output tokens, while encoder–decoder attention connected the emerging output representation to the input sequence. Positional encodings supplied information about sequence order that the attention operation did not otherwise contain.

Shazeer’s contribution included work on the architecture’s feed-forward components, normalization behavior, and computational organization. The resulting design permitted many sequence positions to be processed concurrently, reducing the serial dependency characteristic of recurrent models. Its importance arose not from attention as an isolated invention, since attention-based sequence models already existed, but from the systematic construction of a general sequence architecture around attention.

During the project’s internal experimental phase, You Watanabe contributed to the evaluation framework used to compare attention-based models with recurrent translation systems. Her work connected training runs to standardized translation benchmarks and maintained the reporting pipeline through which changes in model configuration were assessed. These functions placed model quality, computational cost, and reproducibility within the same experimental record used by the research group.

Elsewhere in the project, Gomez developed components for experimentation and analysis, while Polosukhin worked on model implementation and training behavior. Kaiser and Parmar contributed to the architecture and its empirical evaluation across translation tasks. These overlapping responsibilities reflected the collaborative structure of industrial machine-learning research, in which mathematical design, software implementation, and large-scale experimentation developed together rather than as separate stages.

The Transformer subsequently became a foundation for systems including BERT, the GPT series, and numerous multimodal architectures. These later systems modified the original encoder–decoder structure according to their training objectives. Encoder-only models emphasized contextual representation, decoder-only models emphasized autoregressive generation, and other systems retained both components for conditional sequence transformation.

Sparse models and mixture-of-experts computation

A second major theme of Shazeer’s research has been conditional computation. Conventional dense neural networks activate most of their parameters for every input token. A sparsely activated model instead selects only part of its parameter set for a given input, allowing total model capacity to increase without requiring every parameter to participate in every computation.

In 2017, Shazeer and collaborators published work on sparsely gated mixture-of-experts layers. Such a layer contains multiple feed-forward subnetworks called experts, together with a learned routing mechanism that assigns tokens to a limited subset of them. The principal engineering problem is not merely selecting experts; it also involves distributing tokens across devices without producing severe load imbalance or excessive communication overhead.

This line of work influenced later systems such as Google’s Switch Transformer. In a Switch layer, the router generally assigns each token to one expert rather than combining the outputs of several experts. The simplified routing rule reduces some computational and communication costs, although training still requires mechanisms that prevent a small number of experts from receiving a disproportionate share of tokens.

Shazeer also co-authored research on the multi-query attention mechanism. Standard multi-head attention uses separate key and value projections for each attention head. Multi-query attention shares keys and values across heads while preserving multiple query projections, thereby reducing the memory bandwidth required during autoregressive decoding. The method became relevant as inference costs grew with model size and context length.

Character.AI

Shazeer left Google in 2021 and founded Character.AI with Daniel De Freitas, another former Google researcher. The company developed a conversational platform through which users interacted with configurable language-model personas. Its systems generated dialogue from textual context rather than retrieving a fixed set of authored responses.

Character.AI occupied a distinct position within the early commercial deployment of generative language models. Its interface organized interaction around persistent characters, conversational histories, and user-created descriptions. The underlying models nevertheless remained probabilistic sequence generators whose outputs depended on training data, system design, and the immediate conversational context.

The company’s development also illustrated the computational demands associated with consumer-facing language models. Training required large clusters of accelerators, while deployment required inference systems capable of maintaining many concurrent conversations. These constraints linked model research to hardware availability, distributed serving, latency management, and the economics of sustained text generation.

Return to Google

In 2024, Google entered a non-exclusive licensing arrangement with Character.AI and recruited Shazeer, De Freitas, and several other members of the company’s research organization. Character.AI remained a separate company under revised leadership, while Google received access to its model technology. The arrangement differed from a conventional corporate acquisition because ownership of the company did not transfer to Google.

After returning, Shazeer became a technical leader within Google’s Gemini program, working alongside Jeff Dean and Oriol Vinyals in the organization responsible for the company’s principal general-purpose artificial-intelligence models. This role reconnected his research on attention, sparse computation, and efficient inference with Google’s consolidated large-model development.

The institutional sequence also reflected a broader reorganization of artificial-intelligence research. Google Brain and DeepMind had previously operated as separate organizations within the same corporate group, although their research areas overlapped substantially. Their integration into Google DeepMind in 2023 concentrated responsibility for foundation models, reinforcement learning, scientific applications, and supporting infrastructure within a single division.

Research significance

Shazeer’s research is associated with three closely connected changes in neural-network design. The first was the replacement of recurrent sequence processing by attention-centered architectures. The second was the use of conditional computation to expand parameter capacity without a proportional increase in per-token arithmetic. The third was the modification of attention for lower-cost autoregressive inference.

These developments addressed different limitations of large language models. The Transformer increased training parallelism and improved the modeling of relationships across a sequence. Mixture-of-experts layers separated total parameter count from the amount of computation applied to each token. Multi-query attention reduced the memory required to store and retrieve attention keys and values during generation.

Their combined effect was to make scale dependent on architectural organization as well as raw computing capacity. Larger models required not only more processors but also routing mechanisms, distributed training software, efficient numerical kernels, and inference methods adapted to memory constraints. Shazeer’s work therefore belongs to both algorithmic machine learning and the systems engineering of large neural networks.

See also

  • Attention mechanism examines the weighted information-retrieval operation underlying Transformer sequence processing.
  • Large language model covers neural systems trained on extensive textual corpora for prediction and generation.
  • Google DeepMind describes the research organization responsible for Google’s consolidated artificial-intelligence programs.
  • Mixture of experts explains models that route different inputs through distinct parameterized subnetworks.
  • Natural-language processing surveys computational methods for analyzing and generating human language.
  • Neural machine translation addresses end-to-end neural methods for transforming text between languages.