AI & LLMs

GPT-3: Why Scaling Language Models Changed AI

OpenAI's GPT-3 is more than a hundred times larger than GPT-2, and it can perform tasks it was never explicitly trained for, just from a description and a few examples. We explain what GPT-3 is, why scale produced such surprising abilities, and what its limitations mean for businesses exploring the new API.

By EthicalHat Research · · 3 min read
Infographic: GPT-3 by the numbers

On 28 May, OpenAI researchers published Language Models are Few-Shot Learners, describing a model called GPT-3. On 11 June, OpenAI opened a private beta of an API that gives developers access to it. Since then, social media has filled with examples of GPT-3 writing essays, answering trivia, generating code from descriptions and producing surprisingly coherent fiction.

Behind the demos is a scientific result that matters more than any single example: making a language model much bigger made it qualitatively more capable.

What GPT-3 is

GPT-3 is a language model: a neural network trained to predict the next word (more precisely, the next token) in a sequence of text. It uses the transformer architecture introduced by Google researchers in 2017, and follows OpenAI's GPT (2018) and GPT-2 (2019).

The differences are in scale:

GPT-2 (2019)GPT-3 (2020)
Parameters1.5 billion175 billion
Training data~40 GB of web text~300 billion tokens from filtered Common Crawl, WebText, books and Wikipedia
Context window1,024 tokens2,048 tokens

Training a model this size took an enormous amount of compute, on the order of thousands of petaflop/s-days.

Why scale matters

Earlier this year, OpenAI researchers published work on scaling laws for language models. It showed that a model's loss (how well it predicts text) improves smoothly and predictably as you increase three things: the number of parameters, the amount of training data and the compute used. There was no sign of the improvement levelling off within the ranges tested.

GPT-3 is, in part, a test of that prediction at much larger scale. And the headline result is not just that it predicts text slightly better. At this size, abilities appear that smaller models barely show at all.

The surprise: learning from the prompt

The traditional way to use a language model for a task such as translation or sentiment analysis is fine-tuning: take a pre-trained model and train it further on thousands of labelled examples for that task.

GPT-3's paper focuses on something different: in-context learning. You describe the task in plain text and, optionally, give a few examples, all in the prompt. The model continues the pattern. No retraining is needed.

text
Translate English to French:

sea otter => loutre de mer
peppermint => menthe poivrée
plush giraffe => girafe peluche
cheese =>

GPT-3 completes the last line with "fromage". The paper evaluates this zero-shot, one-shot and few-shot behaviour across dozens of benchmarks. On many, few-shot GPT-3 approaches or matches fine-tuned models; on some, it still falls well short.

What people are building

Early API users are experimenting with:

  • drafting text: marketing copy, emails and summaries,
  • question answering and conversational interfaces,
  • text classification and extraction with a handful of examples,
  • code generation: turning descriptions into HTML, SQL or shell commands, and
  • creative writing and game dialogue.

What makes this exciting for businesses is the interface. Instead of collecting a labelled dataset and training a model, you can prototype an NLP feature in an afternoon by writing a prompt.

The limitations

The GPT-3 paper is admirably candid about limitations, and anyone building on the API should read that section:

  • It makes things up. GPT-3 generates fluent text with no built-in notion of truth. It will confidently answer questions it does not know the answer to.
  • Coherence fades over long passages. It can repeat itself, contradict itself or drift off topic.
  • It reflects its training data, including social biases around gender, race and religion that the authors measured and documented.
  • Reasoning is shallow. It struggles with multi-step arithmetic and logical reasoning beyond simple patterns.
  • It is expensive to run, and it can only be used through OpenAI's API.
  • Misuse potential is real, from spam and misinformation to phishing at scale. The authors discuss this explicitly.

What it means

GPT-3 changes the conversation about AI in two ways.

First, it suggests that general-purpose models, trained once on vast amounts of data and adapted through prompts, may replace many narrow, task-specific models.

Second, it shows that scale itself is a research direction. If capabilities keep emerging as models grow, the next few years could bring much larger and more capable systems, along with harder questions about cost, access, safety and misuse.

For now, GPT-3 is best seen as a remarkable prototype: impressive enough to change what people think is possible, and unreliable enough to require careful human oversight in any serious use.

Our agentic AI security team tracks these developments closely and helps organisations evaluate where language models can add value, and where they cannot yet be trusted.

EthicalHat Research

The EthicalHat research team: penetration testers, SOC analysts and engineers writing about security, software engineering and AI.

Want an expert opinion on your own systems?

Email info@ethicalhat.com or call +1-844-838-4422. Our security engineers are happy to talk it through.