NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PaLM 2 Technical Report

Rohan Anil, Andrew M. Dai, Orhan Firat, Melvin Johnson, Dmitry Lepikhin, Alexandre Passos, Siamak Shakeri, Emanuel Taropa, Paige Bailey, Zhifeng Chen, Eric Chu, Jonathan H. Clark, Laurent El Shafey, Yanping Huang, Kathy Meier-Hellstern, Gaurav Mishra, Erica Moreira, Mark Omernick, Kevin Robinson, Sebastian Ruder, Yi Tay, Kefan Xiao, Yuanzhong Xu, Yujing Zhang, Gustavo Hernández Ábrego, Junwhan Ahn, Jacob Austin, Paul Barham, Jan A. Botha, James Bradbury, Siddhartha Brahma, Kevin Brooks, Michele Catasta, Yong Cheng, Colin Cherry, Christopher A. Choquette-Choo, Aakanksha Chowdhery, Clément Crepy, Shachi Dave, Mostafa Dehghani, Sunipa Dev, Jacob Devlin, Mark Díaz, Nan Du, Ethan Dyer, Vladimir Feinberg, Fangxiaoyu Feng, Vlad Fienber, Markus Freitag, Xavier Garcia, Sebastian Gehrmann, Lucas Gonzalez, et al. · OpenReview

Abstract

We introduce PaLM 2, a new state-of-the-art language model that has better multilingual and reasoning capabilities and is more compute-efficient than its predecessor PaLM. PaLM 2 is a Transformer-based model trained using a mixture of objectives. Through extensive evaluations on English and multilingual language, and reasoning tasks, we demonstrate that PaLM 2 has significantly improved quality on downstream tasks across different model sizes, while simultaneously exhibiting faster and more efficient inference compared to PaLM. This improved efficiency enables broader deployment while also allowing the model to respond faster, for a more natural pace of interaction. PaLM 2 demonstrates robust reasoning capabilities exemplified by large improvements over PaLM on BIG-Bench and other reasoning tasks. PaLM 2 exhibits stable performance on a suite of responsible AI evaluations, and enables inference-time control over toxicity without additional overhead or impact on other capabilities. Overall, PaLM 2 achieves state-of-the-art performance across a diverse set of tasks and capabilities.

Introduction: Beyond "Bigger is Better"

For several years, the "bigger is better" mantra dominated Large Language Model (LLM) development. The assumption was that simply increasing parameter counts would lead to emergent capabilities. However, this led to models that were prohibitively expensive to run and often heavily biased toward English-centric data.

The PaLM 2 team tackles three main challenges:

  1. Efficiency: Building a model that outperforms massive predecessors (like the 540B parameter PaLM) while using less compute at inference time.
  2. Multilingualism: Moving beyond English-dominant corpora to create a model that understands the nuances of hundreds of languages.
  3. Reasoning: Improving handling of complex logic, mathematics, and coding tasks.

Methodology

PaLM 2 represents a strategic shift toward "smaller and smarter" models. The researchers focused on three key architectural and strategy shifts:

Compute-Optimal Scaling

Following the "Chinchilla" scaling laws, the team found that data size is just as important as model size. They scaled parameters and training data roughly 1:1. This resulted in PaLM 2-L being significantly smaller than the original PaLM 540B, yet more capable because it was trained on much more (and better) data.

Table 1: Compute-optimal scaling experiments showing the relationship between FLOPs, parameters, and loss.

Improved Dataset Mixture and Objectives

The training set was intentionally diversified, including a massive increase in non-English web documents, parallel multilingual corpora, scientific papers, and source code. Instead of just predicting the next word (causal LMs), PaLM 2 uses a "mixture of objectives" (similar to the UL2 framework). This trains the model to understand different aspects of language by forcing it to fill in missing spans of text or rewrite sentences in different contexts.

Key Insights

  • The Efficiency Paradox: A smaller, higher-quality model can outperform a massive one. This is a win for "green AI," reducing the carbon footprint and latency of deployment.
  • Cross-Lingual Transfer: Training on a diverse multilingual mixture actually improves reasoning in English, suggesting that logic is reinforced when expressed across different linguistic structures.
  • Toxicity Control via Tokens: PaLM 2 uses special "control tokens" during training to mark the toxicity level of text. At inference time, developers can use these tokens to "dial down" toxic responses without needing a separate, heavy-handed safety filter.

Key Results

PaLM 2 demonstrates significant improvements across reasoning, coding, and language proficiency benchmarks.

Language Proficiency

PaLM 2 passed the highest level (C2) of professional language exams in several languages. In some cases, its proficiency was deemed sufficient to teach the language, showing a marked improvement over the original PaLM.

Figure 1: Comparison of PaLM 2 and PaLM performance on professional language proficiency exams.

Reasoning and Coding

On BIG-bench Hard, PaLM 2-L outperformed PaLM by a wide margin and achieved results competitive with (and sometimes exceeding) GPT-4. The coding-specific variant, PaLM 2-S*, outperformed the much larger PaLM-Coder-540B on benchmarks like HumanEval and MBPP.

Limitations and Future Work

Despite these leaps, challenges remain. PaLM 2 can still memorize passages from training data, and while it performs well on bias benchmarks, it still exhibits some representational biases regarding gender and nationality in certain languages. Future work is directed toward further scaling of context lengths and even more meticulous data selection to minimize "hallucinations" while maintaining the model's creative spark.

Summary updated

BibTeX
@misc{anil2023palm,
  author = {Rohan Anil and Andrew M. Dai and Orhan Firat and Melvin Johnson and Dmitry Lepikhin and Alexandre Passos and Siamak Shakeri and Emanuel Taropa and Paige Bailey and Zhifeng Chen and Eric Chu and Jonathan H. Clark and Laurent El Shafey and Yanping Huang and Kathy Meier-Hellstern and Gaurav Mishra and Erica Moreira and Mark Omernick and Kevin Robinson and Sebastian Ruder and Yi Tay and Kefan Xiao and Yuanzhong Xu and Yujing Zhang and Gustavo Hernández Ábrego and Junwhan Ahn and Jacob Austin and Paul Barham and Jan A. Botha and James Bradbury and Siddhartha Brahma and Kevin Brooks and Michele Catasta and Yong Cheng and Colin Cherry and Christopher A. Choquette-Choo and Aakanksha Chowdhery and Clément Crepy and Shachi Dave and Mostafa Dehghani and Sunipa Dev and Jacob Devlin and Mark Díaz and Nan Du and Ethan Dyer and Vladimir Feinberg and Fangxiaoyu Feng and Vlad Fienber and Markus Freitag and Xavier Garcia and Sebastian Gehrmann and Lucas Gonzalez and et al.},
  title = {{PaLM 2 Technical Report}},
  year = {2023},
  eprint = {2305.10403},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.10403},
}
Figure