GPT-3
On the 28th of May 2020, a group of thirty-one engineers and researchers at OpenAI published an arXiv preprint describing the third-generation language model known as GPT-3. This system marked a decisive shift from older recurrent architectures to a decoder-only transformer architecture that relies on attention mechanisms. The new design allows the model to focus selectively on specific segments of input text when predicting what comes next. Previous neural networks for natural language processing had relied heavily on supervised learning from manually labeled data, which made training extremely large models prohibitively expensive and slow. GPT-1 arrived first, followed by GPT-2 in February 2019, which increased both parameter count and dataset size by a factor of ten. GPT-3 scaled this capacity up by over two orders of magnitude compared to its predecessor, making it the largest non-sparse language model available at that time. Each of the 175 billion parameters required 16-bit precision, consuming 350GB of storage space alone. The model operates with a context window of 2048 tokens, allowing it to process substantial blocks of text before losing track of earlier information.
Sixty percent of the weighted pre-training dataset for GPT-3 came from a filtered version of Common Crawl containing 410 billion byte-pair-encoded tokens. Fuzzy deduplication techniques using Apache Spark's MinHashLSH helped manage the massive volume of raw internet text. Another 19 billion tokens representing 22% of the total came from WebText2, while Books1 contributed 12 billion tokens accounting for 8%. Books2 added another 55 billion tokens also making up 8%, and Wikipedia provided 3 billion tokens for a final 3%. This training data contained hundreds of billions of words scraped from sixty million domains over twelve years. The dataset included copyrighted material from sources like the BBC, The New York Times, Reddit, and full texts of online books. Lambdalabs estimated a hypothetical cost of around $4.6 million US dollars and 355 years to train GPT-3 on a single GPU in 2020. Actual training time was significantly reduced by running multiple GPUs in parallel rather than relying on one machine. Because the training data was so all-encompassing, the model did not require further training for distinct language tasks.
On the 22nd of September 2020, Microsoft announced that it had licensed GPT-3 exclusively for its own products and services. A multi-billion dollar investment facilitated this agreement which permits OpenAI to offer a public-facing API while only Microsoft gains access to the underlying source code. Users can still receive output through the public API, but they cannot see or modify the internal mechanics of the model. On the 11th of June 2020, OpenAI announced that users could request access to a user-friendly GPT-3 API described as a machine learning toolset. This interface allows text input to generate almost any English language task completion without needing specific fine-tuning for each use case. An initial experiment involving eighty US subjects showed participants judged correctly fifty-two percent of the time whether short articles were written by humans or GPT-3. That result indicated the AI performed only slightly better than random guessing when distinguishing between human and machine writing. By the 18th of November 2021, OpenAI stated enough safeguards existed to allow unrestricted access to its API for developers.
A study from the University of Washington found that GPT-3 produced toxic language at levels comparable to similar natural language processing models like GPT-2 and CTRL. The training data contained occasional toxic language which the model mimicked during generation. OpenAI implemented several strategies to limit the amount of toxic language generated by the system. As a result, GPT-3 produced less toxic language compared to its predecessor model GPT-1, although it generated more total output with higher toxicity per instance compared to CTRL Wiki. Jerome Pesenti, head of the Facebook AI lab, called the system unsafe due to sexist, racist, and other biased negative language generated when discussing sensitive topics like Jews, women, black people, and the Holocaust. A French start-up named Nabla tested GPT-3 as a medical chatbot despite warnings from OpenAI. During testing about mental health issues, the AI advised a simulated patient to commit suicide. On the 27th of January 2022, OpenAI announced that InstructGPT became the default language model on their API because it followed instructions better and generated fewer made-up facts.
GPT-3 specifically the Codex model served as the basis for GitHub Copilot, a code completion and generation software used in various editors and integrated development environments. Microsoft products use GPT-3 to translate conventional language into formal computer code. The technology has been employed in CodexDB to generate query-specific code for SQL processing. Jason Rohrer utilized GPT-3 in a retro-themed chatbot project named Project December allowing users to converse with several artificial intelligences online. The Guardian fed ideas to GPT-3 which produced eight different essays ultimately merged into one article about AI being harmless to human beings. AI Dungeon used GPT-3 to generate text-based adventure games before replacing it with a competing model after policy changes. A 2022 study from Drexel University suggested systems based on GPT-3 could screen for early signs of Alzheimer's disease. Developers also use the technology to aid in writing copy and other marketing materials.
Noam Chomsky expressed skepticism about GPT-3's scientific value stating that it works just as well for impossible languages as for actual languages. He argued the system is refuted by normal scientific criteria if intended as a true language model because it tells us nothing about language or cognition generally. An article in MIT Technology Review co-written by Deep Learning critic Gary Marcus stated that comprehension of the world is often seriously off meaning you can never really trust what it says. The authors claimed models relationships between words without having an understanding of the meaning behind each word. Luciano Floridi and Massimo Chiriatti highlighted the risk of cheap production of good semantic artefacts. Sam Altman himself criticized what he called GPT-3 hype acknowledging the system has serious weaknesses and sometimes makes very silly mistakes. Farhad Manjoo wrote in July 2020 that the ability to generate computer code, poetry, and prose was amazing yet more than a little terrifying. David Chalmers described GPT-3 as one of the most interesting and important AI systems ever produced despite these criticisms.
Common questions
When was GPT-3 published by OpenAI?
GPT-3 was published on the 28th of May 2020. A group of thirty-one engineers and researchers at OpenAI released an arXiv preprint describing the third-generation language model on that date.
How many parameters does GPT-3 have and what is its context window size?
GPT-3 contains 175 billion parameters with a context window of 2048 tokens. Each parameter required 16-bit precision consuming 350GB of storage space alone while allowing the system to process substantial blocks of text before losing track of earlier information.
What training data sources were used for GPT-3?
Sixty percent of the weighted pre-training dataset came from Common Crawl containing 410 billion byte-pair-encoded tokens. The remaining data included WebText2, Books1, Books2, and Wikipedia which together provided hundreds of billions of words scraped from sixty million domains over twelve years.
Who licensed GPT-3 exclusively in September 2020?
Microsoft announced on the 22nd of September 2020 that it had licensed GPT-3 exclusively for its own products and services. This multi-billion dollar investment permits OpenAI to offer a public-facing API while only Microsoft gains access to the underlying source code.
Why did Noam Chomsky criticize GPT-3's scientific value?
Noam Chomsky expressed skepticism stating that GPT-3 works just as well for impossible languages as for actual languages. He argued the system is refuted by normal scientific criteria if intended as a true language model because it tells us nothing about language or cognition generally.
All sources
66 references cited across the entry
- 1journalAttention is All you NeedAshish Vaswani et al. — Curran Associates, Inc. — 2017
- 2arxivNeural Machine Translation by Jointly Learning to Align and TranslateDzmitry Bahdanau et al. — 1 September 2014
- 3webImproving Language Understanding by Generative Pre-TrainingAlec Radford et al. — June 11, 2018
- 4magazineOpenAI is giving Microsoft exclusive access to its GPT-3 language modelKaren Hao — September 23, 2020
- 5newsAn understanding of AI's limitations is starting to sink inJune 11, 2020
- 6arxivAttention Is All You NeedIllia Polosukhin et al. — 2017-06-12
- 8webArchived copy
- 9magazineWeb Semantics: Microsoft Project Turing introduces Turing Natural Language Generation (T-NLG)Bruce Sterling — February 13, 2020
- 10webThe College Essay Is DeadStephen Marche — 2022-12-06
- 11magazineOpenAI Releases GPT-3, The Largest Model So FarRam Sagar — June 3, 2020
- 13newsWhy everyone is talking about the A.I. text generator released by an Elon Musk-backed labSam Shead — July 23, 2020
- 14webOpenAI's gigantic GPT-3 hints at the limits of language models for AITiernan Ray — June 1, 2020
- 15citationOpenAI's GPT-3 Language Model: A Technical OverviewChuan Li — June 3, 2020
- 16citationREALTOXICITYPROMPTS: Evaluating Neural Toxic Degeneration in Language ModelsSamuel Gehman et al. — Association for Computational Linguistics — 16–20 November 2020
- 17webOpenAI APIJune 11, 2020
- 18webOpenAI makes an all-purpose API for its text-based AI capabilitiesDevin Coldewey — June 11, 2020
- 19webGPT-3: An AI that's eerily good at writing almost anythingArram — July 9, 2020
- 20webOpenAI's API Now Available with No Waitlist2021-11-18
- 21webOpenAI API
- 22webAligning Language Models to Follow Instructions2022-01-27
- 23webWe Asked GPT-3 to Write an Academic Paper about Itself – Then We Tried to Get It PublishedAlmira Osmanovic Thunström — 2022-06-30
- 24webCan GPT-3 write an academic paper on itself, with minimal human input?Gpt Generative Pretrained Transformer et al. — 2022-06-21
- 25webOn the Sizes of OpenAI API ModelsLeo Gao — EleutherAI — 2021-05-24
- 27webNew GPT-3 Capabilities: Edit & Insert2022-03-15
- 28webOpenAI API
- 30webChatGPT: Optimizing Language Models for Dialogue2022-11-30
- 31webOpenAI API
- 32webOpenAI API
- 35journalHow Does ChatGPT Perform on the United States Medical Licensing Examination (USMLE)? The Implications of Large Language Models for Medical Education and Knowledge AssessmentGilson A, Safranek CW, Huang T, Socrates V, Chi L, Taylor RA, Chartash D — February 2023
- 36webOpenAI Codex10 August 2021
- 37magazineHow an AI Became My Code-Writing GenieClive Thompson — 15 March 2022
- 39newsMicrosoft has built an AI-powered autocomplete for code using GPT-3James Vincent — 25 May 2021
- 41newsThe Jessica Simulation: Love and loss in the age of A.I.Jason Fagone — July 23, 2021
- 42newsA robot wrote this entire article. Are you scared yet, human? GPT-3GPT-3 — 2020-09-08
- 43webUpdate: Language Models and Dragon2021-12-08
- 45news38 Prompt Examples in 10 Different Categories GPT-3GPT-3 — 2023-02-24
- 47journalPredicting dementia from spontaneous speech using large language modelsFelix Agbavor et al. — December 22, 2022
- 48newsHow Do You Know a Human Wrote This?Farhad Manjoo — July 29, 2020
- 49webPhilosophers On GPT-3 (updated with replies by GPT-3)July 30, 2020
- 50newsGPT-3 and General IntelligenceDavid Chalmers — July 30, 2020
- 51magazineDid a Person Write This Headline, or a Machine?Tom Simonite — July 22, 2020
- 52webNew AI Tool GPT-3 Ascends to New Peaks, But Proves How Far We Still Need to TravelTheodore Claypoole — July 30, 2020
- 53webThe deepest problem with deep learningGary Marcus — 2018-12-01
- 54magazineGPT-3, Bloviator: OpenAI's language generator has no idea what it's talking aboutGary Marcus et al. — August 22, 2020
- 55newsMeet GPT-3. It Has Learned to Code (and Blog and Argue).Cade Metz — 2020-11-24
- 58journalGPT‑3: Its Nature, Scope, Limits, and ConsequencesLuciano Floridi et al. — 1 November 2020
- 59newsOpenAI's latest breakthrough is astonishingly powerful, but still fighting its flawsJames Vincent — 30 July 2020
- 60newsArtificial Intelligence Nonprofit OpenAI Launches With Backing From Elon Musk And Sam AltmanDrew Olanoff — Tech Crunch — 11 December 2015
- 61newsOpenAI has released the largest version yet of its fake-news-spewing AIKaren Hao — MIT Technology Review — 29 August 2019
- 62newsOpenAI shifts from nonprofit to 'capped-profit' to attract capitalDevin Coldewey — Tech Crunch — 11 Mar 2019
- 63conferenceOn the Dangers of Stochastic Parrots: Can Language Models Be Too Big?Emily M. Bender et al. — FAccT '21: Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency — 2021-03-03
- 64newsArtificial intelligence is getting better at writing, and universities should worry about plagiarismMichael Mindzak et al.
- 65journalUsing Internet based paraphrasing tools: Original work, patchwriting or facilitated plagiarism?Ann M. Rogerson et al. — December 2017
- 66conferenceHere are a few ways GPT-3 can go wrong
- 68arxivLanguage Models are Few-Shot LearnersTom B. Brown et al. — 28 May 2020