PaLM explained
PaLM (Pathways Language Model) is a 540 billion parameter transformer-based large language model developed by Google AI.[1] Researchers also trained smaller versions of PaLM, 8 and 62 billion parameter models, to test the effects of model scale.[2]
PaLM is capable of a wide range of tasks, including commonsense reasoning, arithmetic reasoning, joke explanation, code generation, and translation.[2] [3] [4] When combined with chain-of-thought prompting, PaLM achieved significantly better performance on datasets requiring reasoning of multiple steps, such as word problems and logic-based questions.[1] [2]
The model was first announced in April 2022 and remained private until March 2023, when Google launched an API for PaLM and several other technologies.[5] The API was initially available to a limited number of developers who joined a waitlist before it was released to the public.[6]
Google and DeepMind developed a version of PaLM 540B called Med-PaLM that is fine-tuned on medical data and outperforms previous models on medical question answering benchmarks.[7] [8] Med-PaLM was the first to obtain a passing score on U.S. medical licensing questions, and in addition to answering both multiple choice and open-ended questions accurately, it also provides reasoning and is able to evaluate its own responses.[9]
Google also extended PaLM using a vision transformer to create PaLM-E, a state-of-the-art vision-language model that can be used for robotic manipulation.[10] [11] The model can perform tasks in robotics competitively without the need for retraining or fine-tuning.[12]
In May 2023, Google announced PaLM 2 at the annual Google I/O keynote.[13] PaLM 2 is reported to be a 340 billion parameter model trained on 3.6 trillion tokens.[14]
In June 2023, Google announced AudioPaLM for speech-to-speech translation, which uses the PaLM-2 architecture and initialization.[15]
Training
PaLM is pre-trained on a high-quality corpus of 780 billion tokens that comprise various natural language tasks and use cases. This dataset includes filtered webpages, books, Wikipedia articles, news articles, source code obtained from open source repositories on GitHub, and social media conversations.[1] [2] It is based on the dataset used to train Google's LaMDA model.[2] The social media conversation portion of the dataset makes up 50% of the corpus, which aids the model in its conversational capabilities.[2]
PaLM 540B was trained over two TPU v4 Pods with 3,072 TPU v4 chips in each Pod attached to 768 hosts, connected using a combination of model and data parallelism, which was the largest TPU configuration.[2] [16] This allowed for efficient training at scale, using 6,144 chips, and marked a record for the highest training efficiency achieved for LLMs at this scale: a hardware FLOPs utilization of 57.8%.[17]
See also
Notes and References
- Web site: Narang . Sharan . Chowdhery . Aakanksha . Pathways Language Model (PaLM): Scaling to 540 Billion Parameters for Breakthrough Performance . ai.googleblog.com . 17 March 2023 . en.
- Chowdhery . Aakanksha . Narang . Sharan . Devlin . Jacob . Bosma . Maarten . Mishra . Gaurav . Roberts . Adam . Barham . Paul . Chung . Hyung Won . Sutton . Charles . Gehrmann . Sebastian . Schuh . Parker . Shi . Kensen . Tsvyashchenko . Sasha . Maynez . Joshua . Rao . Abhishek . Barnes . Parker . Tay . Yi . Shazeer . Noam . Prabhakaran . Vinodkumar . Reif . Emily . Du . Nan . Hutchinson . Ben . Pope . Reiner . Bradbury . James . Austin . Jacob . Isard . Michael . Gur-Ari . Guy . Yin . Pengcheng . Duke . Toju . Levskaya . Anselm . Ghemawat . Sanjay . Dev . Sunipa . Michalewski . Henryk . Garcia . Xavier . Misra . Vedant . Robinson . Kevin . Fedus . Liam . Zhou . Denny . Ippolito . Daphne . Luan . David . Lim . Hyeontaek . Zoph . Barret . Spiridonov . Alexander . Sepassi . Ryan . Dohan . David . Agrawal . Shivani . Omernick . Mark . Dai . Andrew M. . Pillai . Thanumalayan Sankaranarayana . Pellat . Marie . Lewkowycz . Aitor . Moreira . Erica . Child . Rewon . Polozov . Oleksandr . Lee . Katherine . Zhou . Zongwei . Wang . Xuezhi . Saeta . Brennan . Diaz . Mark . Firat . Orhan . Catasta . Michele . Wei . Jason . Meier-Hellstern . Kathy . Eck . Douglas . Dean . Jeff . Petrov . Slav . Fiedel . Noah . PaLM: Scaling Language Modeling with Pathways . 2022 . cs.CL . 2204.02311 . 3.
- Web site: Bastian . Matthias . 5 April 2022 . Google PaLM: Giant language AI can explain jokes . 17 March 2023 . the decoder.
- Web site: 12 December 2022 . Google: Why Is No One Talking About PaLM . 17 March 2023 . seekingalpha.com . en.
- Web site: Vincent . James . Google opens up its AI language model PaLM to challenge OpenAI and GPT-3 . The Verge . 17 March 2023 . 14 March 2023.
- Web site: Huffman . Scott . Woodward . Josh . PaLM API & MakerSuite: an approachable way to start prototyping and building generative AI applications . 17 March 2023 . en.
- Singhal . Karan . Azizi . Shekoofeh . Tu . Tao . Mahdavi . S. Sara . Wei . Jason . Chung . Hyung Won . Scales . Nathan . Tanwani . Ajay . Cole-Lewis . Heather . Pfohl . Stephen . Payne . Perry . Seneviratne . Martin . Gamble . Paul . Kelly . Chris . Scharli . Nathaneal . Chowdhery . Aakanksha . Mansfield . Philip . Arcas . Blaise Aguera y . Webster . Dale . Corrado . Greg S. . Matias . Yossi . Chou . Katherine . Gottweis . Juraj . Tomasev . Nenad . Liu . Yun . Rajkomar . Alvin . Barral . Joelle . Semturs . Christopher . Karthikesalingam . Alan . Natarajan . Vivek . Large Language Models Encode Clinical Knowledge . 2022 . cs.CL . 2212.13138 . 3.
- Web site: MedPaLM: New Chatbots Will Soon Be Better Than Waiting For A Doctor . The Medical Futurist . 17 March 2023 . 17 January 2023.
- Web site: Matias . Yossi . Corrado . Greg . Our latest health AI research updates . Google . 17 March 2023 . en-us . 14 March 2023.
- Driess . Danny . Xia . Fei . Sajjadi . Mehdi S. M. . Lynch . Corey . Chowdhery . Aakanksha . Ichter . Brian . Wahid . Ayzaan . Tompson . Jonathan . Vuong . Quan . Yu . Tianhe . Huang . Wenlong . Chebotar . Yevgen . Sermanet . Pierre . Duckworth . Daniel . Levine . Sergey . Vanhoucke . Vincent . Hausman . Karol . Toussaint . Marc . Greff . Klaus . Zeng . Andy . Mordatch . Igor . Florence . Pete . PaLM-E: An Embodied Multimodal Language Model . 2023 . cs.LG . 2303.03378 . 3 .
- Web site: Driess . Danny . Florence . Pete . PaLM-E: An embodied multimodal language model . ai.googleblog.com . 17 March 2023 . en.
- Web site: Edwards . Benj . Google's PaLM-E is a generalist robot brain that takes commands . Ars Technica . 17 March 2023 . en-us . 7 March 2023.
- Web site: Lardinois . Frederic . May 10, 2023 . Google launches PaLM 2, its next-gen large language model . live . https://web.archive.org/web/20230510172453/https://techcrunch.com/2023/05/10/google-launches-palm-2-its-next-gen-large-language-model/ . May 10, 2023 . May 10, 2023 . TechCrunch.
- Web site: Elias . Jennifer . Google's newest A.I. model uses nearly five times more text data for training than its predecessor . . 16 May 2023 . 18 May 2023.
- Web site: AudioPaLM . 2023-06-30 . google-research.github.io.
- Web site: An empirical analysis of compute-optimal large language model training . www.deepmind.com . 17 March 2023 . en.
- Web site: Anadiotis . George . Google sets the bar for AI language models with PaLM . VentureBeat . 17 March 2023 . 12 April 2022.