HackerPapers

arXiv:2204.02311cs.CL

PaLM: Scaling Language Modeling with Pathways

Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, Parker Schuh, Kensen Shi, Sasha Tsvyashchenko, Joshua Maynez, Abhishek Rao, Parker Barnes, Yi Tay, Noam Shazeer, Vinodkumar Prabhakaran, Emily Reif, Nan Du, Ben Hutchinson, Reiner Pope, James Bradbury, Jacob Austin, Michael Isard, Guy Gur-Ari, Pengcheng Yin, Toju Duke, Anselm Levskaya, Sanjay Ghemawat, Sunipa Dev, Henryk Michalewski, Xavier Garcia, Vedant Misra, Kevin Robinson, Liam Fedus, Denny Zhou, Daphne Ippolito, David Luan, Hyeontaek Lim, Barret Zoph, Alexander Spiridonov, Ryan Sepassi, David Dohan, Shivani Agrawal, Mark Omernick, Andrew M. Dai, Thanumalayan Sankaranarayana Pillai, Marie Pellat, Aitor Lewkowycz, Erica Moreira, Rewon Child, Oleksandr Polozov, Katherine Lee, Zongwei Zhou, Xuezhi Wang, Brennan Saeta, Mark Diaz, Orhan Firat, Michele Catasta, Jason Wei, Kathy Meier-Hellstern, Douglas Eck, Jeff Dean, Slav Petrov, Noah Fiedel

Abstract

Large language models have been shown to achieve remarkable performance across a variety of natural language tasks using few-shot learning, which drastically reduces the number of task-specific training examples needed to adapt the model to a particular application. To further our understanding of the impact of scale on few-shot learning, we trained a 540-billion parameter, densely activated, Transformer language model, which we call Pathways Language Model PaLM. We trained PaLM on 6144 TPU v4 chips using Pathways, a new ML system which enables highly efficient training across multiple TPU Pods. We demonstrate continued benefits of scaling by achieving state-of-the-art few-shot learning results on hundreds of language understanding and generation benchmarks. On a number of these tasks, PaLM 540B achieves breakthrough performance, outperforming the finetuned state-of-the-art on a suite of multi-step reasoning tasks, and outperforming average human performance on the recently released BIG-bench benchmark. A significant number of BIG-bench tasks showed discontinuous improvements from model scale, meaning that performance steeply increased as we scaled to our largest model. PaLM also has strong capabilities in multilingual tasks and source code generation, which we demonstrate on a wide array of benchmarks. We additionally provide a comprehensive analysis on bias and toxicity, and study the extent of training data memorization with respect to model scale. Finally, we discuss the ethical considerations related to large language models and discuss potential mitigation strategies.

arXiv comments
Journal reference
DOI
Subjects
cs.CLComputation and Language

On Hacker News

Linked by 12 identifiable commenters in 14 comments across 13 threads, from Apr 2022 to May 2023. Found in 3 HN submissions from Apr 2022 to Jun 2022. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments13 threads

    • > if for each step of improvement you need 10x parameters and 100x training, you quickly run into a brick wall Btw, PALM2 has far fewer parameters than V1. > The largest model in the PaLM 2 family, PaLM 2-L, is significantly smaller than the largest PaLM model but uses more…

      godelskiView on HNParent context

    • You can look at any training run comparing multiple parameter sizes on the dataset. https://arxiv.org/abs/2204.02311 If you're increasing parameter size, it's a no brainer to increase data too as that will still also increase performance. The point is that for any arbitrary…

      famouswafflesView on HNParent context

    • Engineering such a system is a harder challenge than many types of research. Even the mighty Google, the leader in AI research by many metrics, is catching up. Another example is Meta only finishing OPT-175B, a near equivalent of GPT-3, two years after it. —— Added to reply…

      nopinsightView on HNParent context

    • Engineering such a system is a harder challenge than many types of research. Even the mighty Google, the leader in AI research by many metrics, is catching up. Another example is Meta only finishing OPT-175B, a near equivalent of GPT-3, two years after it. —— GPT-4 got much…

      nopinsightView on HNParent context

    • GPT-4 got much better results on many benchmarks than PaLM, Google's largest published model [1]. PaLM itself is probably quite a bit better than LamDa in several tasks, according to a chart and a couple of tables here: https://arxiv.org/abs/2204.02311 It's unclear that Google…

      nopinsightView on HNParent context

    • So this shows you have a basic understanding of how CNNs represent data for classification tasks. This is excellent! However, you might not be aware of the current research into "Emergent Phenomena in Large Language Models"[1]. Work such as PaLM[2] show that language models…

      nlView on HNParent context

    • https://arxiv.org/pdf/2204.02311.pdf#page38 I believe we're already at the footsteps of AI understanding cultural references "Input: Michael is at that really famous museum in France looking at its most famous painting. However, the artist who made this painting just makes…

      joseda-hgView on HNParent context

    • See the "joke explaining" examples on Page 36 of the paper: https://arxiv.org/abs/2204.02311 and tell me if it's just "passable garbled nonsense".

      1024coreView on HNParent context

    • Note: 540B parameters -> Google Research's PaLM (https://arxiv.org/abs/2204.02311). GSM8K = grade school math word problems DROP = reading comprehension benchmark requiring discrete reasoning over paragraphs OpenBookQA = question-answering dataset modeled after open book exams…

      zone411View on HNParent context

    • > and no one is actually testing what proportions of results those are The idea that models could possibly overfit the training data is hardly a new idea. It's standard practice to test for that. Check section 7 of the PaLM paper for example. https://arxiv.org/abs/2204.02311

      the8472View on HNParent context

  1. LaMDA is not sentient 1 comment
    • I think the model does have short-term memory, but not long-term memory, if I'm understanding it correctly. From https://aibusiness.com/document.asp?doc_id=777540 : "LaMDA2 was trained on Google’s Pathways Language Model (PaLM), which has 540 billion parameters." And then…

      upwardboundView on HNParent context

    • All it takes is one 'trick' to give these models the ability to do reasoning. Like for example the discovery that language models get far better at answering complex questions if asked to show their working step by step with chain of thought reasoning as in page 19 of the PaLM…

      londons_exploreView on HNParent context

    • Question related to the Chinchilla paper[0], which says that optimal amount of training data for ~500B, 1T, and 10T param models are 11T, 21.2T, 216.2T tokens, respectively. The PaLM paper[1] says it made use of 700B tokens. How many tokens of training data have humans produced…

      timpetriView on HNParent context

    • This is not the consensus among ML researchers. Transformers are showing strong generalisation[1] and their performance continues to surprise us as they scale[2]. The Socratic paper is not about “higher intelligence”, it’s about demonstrating useful behaviour purely by…

      moconnorView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.