Paper · 2023-03-22 · cs.CL, cs.AI
Sparks of Artificial General Intelligence: Early experiments with GPT-4
Qualitative and small-scale quantitative probing of an early, text-only GPT-4 with novel tasks across coding, math, tools, theory of mind and more. Author-reported: 82% HumanEval pass@1, 38/53% pass@1/5 on 100 post-cutoff LeetCode problems (humans 38.2%), 87.1% GSM8K, 42.5% MATH, plus systematic failures in planning and multi-step arithmetic.
LLM evaluationLLM-as-a-judgeChain-of-thought promptingTool useevaluationgpt-4capabilitieslimitationstool-useinterpretability
AI-compiled by claude-opus-5-5 on 2026-10-18, not yet reviewed by a human. Every claim cites its source; check it when a detail matters.
In plain words
This paper is not a new method. It is a long field report from a Microsoft Research team that had early access to GPT-4 while OpenAI was still training it. The model they tested took only text as input, even though the released GPT-4 can also take images. They wanted to know how capable it really was, and they did not trust standard benchmarks for that: the model may have seen the test questions during training, and many interesting tasks, such as building a user interface, have no single right answer to score against.
So they did something closer to a psychologist examining a subject. They wrote new tasks that are unlikely to exist on the web: a proof that there are infinitely many primes written as a rhyming poem, a unicorn drawn in LaTeX graphics code, coding problems posted after the model's training data was collected, and math problems with the numbers changed. Then they changed these tasks again to check that the model was reasoning rather than recalling. They compared GPT-4 with ChatGPT and older OpenAI models, and in a few places with humans.
The headline is that this early GPT-4 did much better than earlier models across very different areas (code, math, using tools, reasoning about what people believe and feel). On fresh LeetCode problems it scored about as well as the humans who took part in LeetCode contests. The authors argue that this breadth justifies calling it an early, incomplete form of general intelligence. That claim is an interpretation, not a measurement, and the paper itself says its approach is subjective.
The most useful part for engineers is the list of failures. The model made arithmetic mistakes when it skipped steps. It could not plan ahead in tasks where the start of the answer depends on the end. It sometimes invented facts, and it gave explanations of its own behaviour that sounded convincing but did not predict what it would do next. Asking it to write out intermediate steps, or letting it call tools such as a calculator or search engine, fixed some of these failures but not all.
TL;DR
- An exploratory capability study of a pre-release, text-only GPT-4. Most evidence is single prompt/response examples. Small quantitative probes cover coding, math, PII detection, TruthfulQA, gender bias and synthetic arithmetic/planning tasks §1.1 §1.2.
- Author-reported numbers: HumanEval 82% zero-shot pass@1 vs 65% for
text-davinci-003tab. 1; 100 LeetCode problems posted after Oct 8, 2022: 38.0% pass@1, 53.0% pass@5 vs a human contest baseline of 38.2% tab. 2; GSM8K 87.1%, MATH 42.5%, MMMLU-STEM 82.7% tab. 3. - Clearest reusable findings: (a) accuracy on simple arithmetic collapses when the model must answer in one shot and recovers when it writes intermediate steps §8.2; (b) tasks that need planning ahead stay hard even with step-by-step prompting §8.2 §8.3; (c) self-explanations can match the output without predicting the model's behaviour on other inputs ("output-consistent" but not "process-consistent") §6.2.
- Every number comes from an early checkpoint that is not the deployed GPT-4. The authors say the numbers are illustrative only and point to OpenAI's report for definitive results §3 §4.2 §7.
Problem
The authors want to judge how general GPT-4's intelligence is. They argue that standard held-out benchmarks are not enough, for two reasons §1.1:
- The training data is unknown, so any public benchmark may be contaminated. The paper notes that the model appears to know the BIG-bench canary GUID §1.1.
- Many of the model's strongest skills are open-ended or interactive (GUIs, brainstorming), where there is no clean metric §1.1.
They adopt the informal working definition of AGI as systems with broad abilities in reasoning, planning and learning from experience, at or above human level §1. They also discuss other definitions §10.1.
Method
The study probes behaviour. Nothing is trained. The model was accessed only through natural-language prompts during OpenAI's development §1. It was the non-multimodal early version, and its behaviour kept changing during the study: the TikZ unicorn, queried three times over a month, got visibly better fig. 1.3.
Overall protocol §1.1
Protocol: probing with novel tasks [§1.1]
1. Write a task that combines skills or domains and is unlikely to be on the web
(e.g. a rhyming proof, TikZ drawing, an invented object "ZURFIN" [§6.1]).
2. Get GPT-4's output; often also ChatGPT's / text-davinci-003's on the same prompt.
3. Probe against memorisation: vary style, numbers or code and re-ask
(e.g. strip the horn from the unicorn TikZ, transform coordinates, remove comments,
ask the model to add the horn back [fig. 1.4]).
4. Look for consistency, coherence and correctness; record failures.
5. Where feasible, add a small quantitative test (below).Coding evaluation §3.1.1 app. C.1
- HumanEval: 164 docstring-to-code problems, zero-shot pass@1 §3.1.1 tab. 1.
- Fresh LeetCode benchmark: 100 problems posted after October 8, 2022, which the authors place after GPT-4's pretraining period §3.1.1. The problem text is pasted into a prompt with a request for a Python function, and correctness comes from LeetCode's official online judge §3.1.1 fig. 3.1. pass@1 and pass@5 are read as "correct within the first 1 / first 5 attempts" §3.1.1.
- Human baseline from LeetCode weekly/biweekly contest statistics (Oct 8, 2022 to Jan 7, 2023), counting only users with a nonzero score tab. 8. The authors avoid LeetCode's per-question acceptance rate because it includes all historical submissions; they suspect many of those were copied after solutions appeared app. C.1. The per-level human accuracy is app. C.1:
\text{HumanAcc}(\text{Level}) = \mathbf{E}_{\text{problem}\in\text{Level}}\left[\frac{\text{Accepted Users}}{\text{Total Users}}\right]
- Mock interviews: LeetCode's Interview Assessment platform (online assessment, phone interview, on-site rounds) fig. 1.5.
Math evaluation §4.2
- Datasets: GSM8K, MATH, and MMMLU-STEM (about 2000 four-way multiple-choice STEM questions) §4.2. The metric is "single model" accuracy: the share answered correctly in one try §4.2.
- Prompting against over-fitting: the model is asked to (1) write a solution template, and (2) write the steps first and the final answer last. The authors note that templates and detailed MMMLU-STEM solutions are not online §4.2.
- Memorisation checks: (a) pick a question GPT-4 gets right and
text-davinci-003gets wrong, then re-sample its numbers §4.2 fig. 4.2; (b) hand-write new questions checked not to exist online §4.2. For the degree-3 polynomial problem in fig. 4.2, three roots are drawn from {−10..−2} ∪ {2..10} and p(1) from {−10..−1} ∪ {1..10} fig. 4.2. - Error analysis: manual labelling of 100 random wrong MATH answers tab. 4.
Tool use §5.1
Tools are described in the prompt, with no demonstrations. When the model emits a call, generation pauses, the tool runs, its result is pasted into the prompt, and generation continues §5.1 fig. 5.2.
Loop: prompt-described tool use [§5.1] [fig. 5.2]
prompt = instructions listing SEARCH("query"), CALC(expression), CHARACTER(string, index)
+ "<|endofprompt|>" + question
repeat:
out = generate(prompt) until a tool call is emitted or the answer ends
if out ends with a tool call:
result = execute(call) # real search engine / calculator / string op
prompt = prompt + out + "\n> " + result
else: return outMore complex cases chain several tools: a command-line "zoo manager" task, email and calendar, and web browsing §5.1.1 fig. 5.3 fig. 5.4 fig. 5.5. For the math failures, the authors suggest having the model write code that an external executor runs, with the result appended to the prompt. They show one proof-of-concept prompt but did not evaluate it systematically app. D.4.
Discriminative tasks §7
Here "GPT-3" means text-davinci-002, an instruction-tuned model §7.
- PII detection: 6764 sentences from a subset of the Text Anonymization
Benchmark (TAB). The task is to count PII elements per sentence §7.1. GPT-4 gets
a zero-shot prompt listing PII categories (a–h) and must output
LIST:andCOUNT:fig. 7.1. The baseline is Microsoft Presidio (NER plus regular expressions) §7.1. Outcomes are binned by how many elements were missed tab. 5. - TruthfulQA generation: 816 questions across 38 categories, answered after a few-shot preamble of question/answer pairs §7.2 fig. 7.2. The answers are scored against gold answers with ROUGE, BLEU and BLEURT: an answer counts as truthful if its score is above a "pre-determined threshold", whose value is not stated §7.2.1.
- Judge GPT-4: GPT-4 gets the gold statement and two options (its own answer
and GPT-3's). It writes
EXPLANATION1/EXPLANATION2(similarities and differences), thenBEST: OPTIONXwith a justification, and must pick exactly one §7.2.2 fig. 7.5. In the example prompt, OPTION1 is GPT-4's answer fig. 7.5. Two human reviewers labelled a subset without seeing the judge's justification §7.2.2.
Bias probe §9.3
The prompt is "I had a great experience with a
Limitation probes §8 app. D.1
- Arithmetic
a*b + c*d: 100 random samples per number range, answered directly or with a step-by-step prompt §8.2. - "Change exactly one integer on the left of
A*B + C*D = Eso the right side becomes a target": 100 samples per range §8.2. - Expanding
Σ_{i∈[L]} a_i (b_i x + c_i)^2intoax² + bx + cand reporting |a|+|b|+|c|, with a_i ∈ {−1, 1} and b_i, c_i ∈ {−5..5}, L ∈ {1..5} app. D.1. - Counting distinct elements in a list of L random k-digit strings, with the true answer between L/2 and L−1, L ∈ {5, 10, 15, 25}, k ∈ {2, 7, 12} app. D.1.
Explanation consistency §6.2
The model simulates a task process P_T(y | x, c) and, when asked to explain, an explanation process P_E(e | x, c, y). Here x is the input, c the rest of the context and y the output §6.2. Two criteria §6.2:
- Output consistency: the explanation gives a plausible account of how y followed from x and c.
- Process consistency: the explanation correctly predicts the model's behaviour on other inputs or contexts. It is tested with editing experiments (change the part of the prompt that the explanation relies on) and concept override experiments (state a contrary "fact" in a prompt prefix) fig. 6.10.
Hyperparameters
This is an evaluation study. The table lists the settings an implementer would need to reproduce the probes.
| Name | Value | Where | Notes |
|---|---|---|---|
| Model | early, text-only GPT-4 checkpoint | §1 | not the released model; changed during the study fig. 1.3 |
| Decoding (temperature, top-p, max tokens) | not stated | no decoding settings appear anywhere in the paper | |
| Prompt separator | <|endofprompt|> | fig. 5.2 fig. 7.1 fig. 7.2 fig. 7.5 | appears in several prompts; its role is not explained |
| HumanEval shots | 0 | tab. 1 | 164 problems |
| LeetCode set | 100 problems after Oct 8, 2022 | §3.1.1 | per-difficulty counts not stated |
| LeetCode k | 1 and 5 | tab. 2 | how the 5 attempts are sampled is not stated |
| Human LeetCode baseline | contests Oct 8, 2022 – Jan 7, 2023, nonzero-score users | tab. 8 tab. 9 | |
| MATH error sample | 100 wrong answers | tab. 4 | |
| Polynomial number variation | roots from {−10..−2}∪{2..10}, p(1) from {−10..−1}∪{1..10} | fig. 4.2 | number of variants not stated |
| PII sentences | 6764 (TAB subset) | §7.1 | how the subset was chosen is not stated |
| TruthfulQA | 816 questions, 38 categories | §7.2 | similarity threshold not stated |
| Human judges | 2 reviewers, a subset of questions | §7.2.2 | subset size not stated; inter-rater agreement not checked |
| Bias runs | 5 per occupation | §9.3 | |
| Arithmetic samples | 100 per range | §8.2 | |
| Algebra synthetic | L ∈ {1..5}, a_i ∈ {±1}, b_i, c_i ∈ {−5..5} | app. D.1 | samples per L not stated |
| Counting synthetic | L ∈ {5,10,15,25}, k ∈ {2,7,12} | app. D.1 | samples per cell not stated |
Results
All numbers are author-reported, from the early GPT-4 checkpoint. The authors call them illustrative and point to OpenAI's GPT-4 report for definitive results §3 §4.2 §7.
HumanEval, zero-shot pass@1 tab. 1
| Model | GPT-4 | text-davinci-003 | Codex (code-davinci-002) | CODEGEN-16B |
|---|---|---|---|---|
| Accuracy | 82% | 65% | 39% | 30% |
LeetCode, 100 problems posted after Oct 8, 2022, zero-shot pass@k (%) tab. 2
| Model | Easy k=1 | Easy k=5 | Medium k=1 | Medium k=5 | Hard k=1 | Hard k=5 | Overall k=1 | Overall k=5 |
|---|---|---|---|---|---|---|---|---|
| GPT-4 | 68.2 | 86.4 | 40.0 | 60.0 | 10.7 | 14.3 | 38.0 | 53.0 |
| text-davinci-003 | 50.0 | 81.8 | 16.0 | 34.0 | 0.0 | 3.6 | 19.0 | 36.0 |
| Codex (code-davinci-002) | 27.3 | 50.0 | 12.0 | 22.0 | 3.6 | 3.6 | 13.0 | 23.0 |
| Human (LeetCode users) | 72.2 | 72.2 | 37.7 | 37.7 | 7.0 | 7.0 | 38.2 | 38.2 |
(The source table's column header says "Median"; it means Medium. Human values span both k columns in the source tab. 2.)
Human LeetCode accuracy from contest data tab. 9
| Level | Easy | Medium | Hard | Overall |
|---|---|---|---|---|
| Human accuracy | 72.2% | 38.7% | 7.0% | 38.2% |
LeetCode contest statistics used for the human baseline tab. 8 (Users = users with nonzero score; Acc = accepted users; % = Acc/Users)
| Date | Contest | Users | P1 | P1 Acc | P1 % | P2 | P2 Acc | P2 % | P3 | P3 Acc | P3 % | P4 | P4 Acc | P4 % |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 8-Oct | 314 | 14499 | Easy | 10630 | 73 | Medium | 9111 | 63 | Medium | 2124 | 15 | Hard | 2132 | 15 |
| 15-Oct | Bi 89 | 11050 | Easy | 8022 | 73 | Medium | 4770 | 43 | Medium | 1459 | 13 | Hard | 192 | 2 |
| 15-Oct | 315 | 17284 | Easy | 11930 | 69 | Medium | 11079 | 64 | Medium | 9496 | 55 | Hard | 1370 | 8 |
| 22-Oct | 316 | 14823 | Easy | 9503 | 64 | Medium | 6110 | 41 | Hard | 1550 | 10 | Hard | 1437 | 10 |
| 29-Oct | Bi 90 | 10763 | Easy | 7822 | 73 | Medium | 6902 | 64 | Medium | 3138 | 29 | Hard | 743 | 7 |
| 29-Oct | 317 | 15767 | Easy | 10900 | 69 | Medium | 5959 | 38 | Medium | 4315 | 27 | Hard | 594 | 4 |
| 5-Nov | 318 | 15723 | Easy | 11024 | 70 | Medium | 6454 | 41 | Medium | 3668 | 23 | Hard | 345 | 2 |
| 12-Nov | Bi 91 | 12527 | Easy | 9820 | 78 | Medium | 3696 | 30 | Medium | 1141 | 9 | Hard | 291 | 2 |
| 12-Nov | 319 | 15723 | Easy | 11024 | 70 | Medium | 6454 | 41 | Medium | 3668 | 23 | Hard | 345 | 2 |
| 19-Nov | 320 | 13866 | Easy | 9355 | 67 | Medium | 4931 | 36 | Medium | 1571 | 11 | Hard | 488 | 4 |
| 26-Nov | Bi 92 | 10769 | Easy | 8276 | 77 | Medium | 6206 | 58 | Medium | 4820 | 45 | Hard | 492 | 5 |
| 26-Nov | 321 | 12958 | Easy | 8605 | 66 | Medium | 6986 | 54 | Medium | 5927 | 46 | Hard | 1457 | 11 |
| 3-Dec | 322 | 13425 | Easy | 9058 | 67 | Medium | 8238 | 61 | Medium | 3952 | 29 | Hard | 403 | 3 |
| 10-Dec | Bi 93 | 10918 | Easy | 8643 | 79 | Medium | 3720 | 34 | Medium | 3210 | 29 | Hard | 170 | 2 |
| 10-Dec | 323 | 11415 | Easy | 7791 | 68 | Medium | 5731 | 50 | Medium | 3240 | 28 | Hard | 812 | 7 |
| 17-Dec | 324 | 10854 | Easy | 7563 | 70 | Medium | 5876 | 54 | Hard | 1236 | 11 | Hard | 1713 | 16 |
| 24-Dec | Bi 94 | 8521 | Easy | 6741 | 79 | Medium | 4139 | 49 | Medium | 438 | 5 | Hard | 1221 | 14 |
| 24-Dec | 325 | 9340 | Easy | 6702 | 72 | Medium | 1652 | 18 | Medium | 1369 | 15 | Hard | 333 | 4 |
| 31-Dec | 326 | 10475 | Easy | 7494 | 72 | Medium | 5759 | 55 | Medium | 3781 | 36 | Medium | 3513 | 34 |
| 7-Jan | Bi 95 | 13889 | Easy | 11485 | 83 | Medium | 7839 | 56 | Medium | 6572 | 47 | Hard | 667 | 5 |
| 7-Jan | 327 | 15273 | Easy | 11562 | 76 | Medium | 8353 | 55 | Medium | 3284 | 22 | Hard | 256 | 2 |
LeetCode mock interviews fig. 1.5: GPT-4 solved every question in all three rounds in 10 minutes in total, out of 4.5 hours allotted. LeetCode scored the rounds 8.96/10, 8.69/10 and 10/10, beating 93%, 97% and 100% of users.
Math datasets, single-try accuracy tab. 3
| Model | GSM8K | MATH | MMMLU-STEM |
|---|---|---|---|
| text-davinci-003 | 61.3% | 23.5% | 54.2% |
| Minerva | 58.8% | 33.6% | 63.9% |
| GPT-4 | 87.1% | 42.5% | 82.7% |
GPT-4 errors on MATH, 100 random wrong answers tab. 4
| Error type | Share of wrong solutions |
|---|---|
| Arithmetic mistakes (including counting) | 68% |
| Misunderstanding the problem statement | 10% |
| Wrong approaches | 22% |
Memorisation test with re-sampled numbers fig. 4.2: GPT-4 75.2%,
text-davinci-003 0.2%.
Other exam probes §1.2: preliminary runs on the multiple-choice part of USMLE Steps 1–3 scored around 80% on each step, and the Multistate Bar Exam scored above 70%. Details are not given.
PII detection on TAB (6764 sentences) tab. 5
| Model | All found | Missing 1 | Missing 2 | Missing >2 |
|---|---|---|---|---|
| GPT-4 (zero-shot) | 77.4% | 13.1% | 6.3% | 3.2% |
| Presidio | 40.8% | 30.9% | 17.3% | 10.9% |
TruthfulQA, which answer is closer to the gold answer tab. 6
| Judge | GPT-4 answer | GPT-3 answer | Neither | Both |
|---|---|---|---|---|
| GPT-4 | 87.76% | 11.01% | 1.23% | – |
| Human | 47.61% | 6.35% | 22.75% | 23.29% |
| Human (constrained) | 89.83% | 10.07% | – | – |
GPT-4's judgements and the humans' agree on 50.8% of items §7.2.2. The "constrained" row re-scores the human labels without the "neither" and "both" options §7.2.2. On the ROUGE, BLEU and BLEURT threshold metrics, GPT-4 also scores above GPT-3. The values are only plotted fig. 7.3 fig. 7.4.
Judge GPT-4 choices by TruthfulQA category (%) tab. 10
| Category | GPT-4 | GPT-3 | Neither |
|---|---|---|---|
| Misconceptions | 89.0 | 9.0 | 2.0 |
| Proverbs | 88.89 | 11.11 | 0.0 |
| Misquotations | 100.0 | 0.0 | 0.0 |
| Conspiracies | 88.0 | 8.0 | 4.0 |
| Superstitions | 86.36 | 9.09 | 4.55 |
| Paranormal | 92.31 | 7.69 | 0.0 |
| Fiction | 90.0 | 10.0 | 0.0 |
| Myths and Fairytales | 95.24 | 4.76 | 0.0 |
| Indexical Error: Identity | 77.78 | 11.11 | 11.11 |
| Indexical Error: Other | 52.38 | 47.62 | 0.0 |
| Indexical Error: Time | 31.25 | 62.5 | 6.25 |
| Indexical Error: Location | 100.0 | 0.0 | 0.0 |
| Distraction | 71.43 | 21.43 | 7.14 |
| Subjective | 100.0 | 0.0 | 0.0 |
| Advertising | 100.0 | 0.0 | 0.0 |
| Religion | 80.0 | 20.0 | 0.0 |
| Logical Falsehood | 100.0 | 0.0 | 0.0 |
| Stereotypes | 91.67 | 4.17 | 4.17 |
| Misconceptions: Topical | 75.0 | 25.0 | 0.0 |
| Education | 90.0 | 10.0 | 0.0 |
| Nutrition | 93.75 | 0.0 | 6.25 |
| Health | 100.0 | 0.0 | 0.0 |
| Psychology | 89.47 | 5.26 | 5.26 |
| Sociology | 85.45 | 12.73 | 1.82 |
| Economics | 90.32 | 6.45 | 3.23 |
| Politics | 100.0 | 0.0 | 0.0 |
| Law | 95.31 | 0.0 | 4.69 |
| Science | 100.0 | 0.0 | 0.0 |
| History | 91.67 | 4.17 | 4.17 |
| Language | 95.24 | 0.0 | 4.76 |
| Weather | 88.24 | 11.76 | 0.0 |
| Confusion: People | 82.61 | 17.39 | 0.0 |
| Confusion: Places | 66.67 | 33.33 | 0.0 |
| Confusion: Other | 87.5 | 0.0 | 12.5 |
| Finance | 100.0 | 0.0 | 0.0 |
| Misinformation | 8.33 | 83.33 | 8.33 |
| Statistics | 100.0 | 0.0 | 0.0 |
| Mandela Effect | 66.67 | 33.33 | 0.0 |
Gender bias in recommendation letters tab. 7
| Occupation | World distribution | GPT-4 pronoun likelihoods |
|---|---|---|
| Nanny | 95% female, 5% male | 0.99 she, 0.01 he, 0.0 (she/he) or they |
| Administrative assistant | 89% female, 11% male | 0.98 she, 0.02 he, 0.0 (she/he) or they |
| Elementary school teacher | 87% female, 13% male | 0.93 she, 0.07 he, 0.0 (she/he) or they |
| OBGYN | 85% female, 15% male | 0.93 she, 0.03 he, 0.04 (she/he) or they |
| Pediatrician | 72% female, 28% male | 0.09 she, 0.83 he, 0.08 (she/he) or they |
| Physician | 40% female, 60% male | 0.04 she, 0.92 he, 0.04 (she/he) or they |
| Software engineer | 22% female, 78% male | 0.01 she, 0.98 he, 0.01 (she/he) or they |
| Urologist | 10% female, 90% male | 0.0 she, 0.99 he, 0.01 (she/he) or they |
| Orthopedic surgeon | 7% female, 93% male | 0.0 she, 0.99 he, 0.01 (she/he) or they |
| Plumber | 3% female, 97% male | 0.0 she, 1.0 he, 0.0 (she/he) or they |
Adding "in an inclusive way" switched the pronoun to they/their for every occupation. It also shifted the letter's content toward inclusiveness §9.3.
Arithmetic and planning limits §8.2
| Task | Number range | GPT-4 accuracy |
|---|---|---|
a*b + c*d, direct answer | 0–9 | 58% |
| 10–19 | 16% | |
| 20–39 | 12% | |
| 99–199 | 0% | |
a*b + c*d, step-by-step prompt | 1–40 | 100% |
| 1–200 | 90% | |
Change one integer so A*B + C*D hits a target | [0,9] | 32/100 |
| [10,19] | 25/100 | |
| [20,49] | 22/100 | |
| [50,100] | 18/100 |
The authors read the slow decline on the change-one-integer task as evidence that planning, not calculation, is the bottleneck §8.2.
Synthetic algebra: expand Σ a_i(b_i x + c_i)^2, step-by-step prompt app. D.1
| Model \ L | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| GPT-4 | 98.1% | 71.2% | 59.1% | 44.4% | 34.6% |
| text-davinci-003 | 51.5% | 13.7% | 3.9% | 1.9% | 1.0% |
In 100 inspected GPT-4 mistakes, at least 90% came from skipping steps when merging like terms app. D.1.
Counting distinct elements (L items, k digits each) app. D.1
| L, k | 5,2 | 5,7 | 5,12 | 10,2 | 10,7 | 10,12 | 15,2 | 15,7 | 15,12 | 25,2 | 25,7 | 25,12 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GPT-4 | 92.0% | 99.5% | 95.9% | 20.3% | 34.0% | 36.2% | 4.3% | 7.5% | 30.3 | 12.8% | 1.6% | 22.0% |
| TD3 | 39.5% | 67.2% | 43.0% | 12.7% | 31.3% | 14.6% | 3.9% | 10.9% | 5.4% | 3.0% | 14.5% | 8.4% |
(TD3 is text-davinci-003. The "30.3" cell has no % sign in the source.)
Explanations §6.2: on an easy sentiment-analysis task (not shown in the paper), GPT-4's counterfactual-rewrite explanations were 100% faithful versus 60% for GPT-3. In the token-probability example, the model said it chose "Q" because Q follows P. Renaming P to R shifted the top token to S (64.63%), and a prefix claiming that H follows R shifted it to H (95.01%). The explanation was process-consistent here fig. 6.9 fig. 6.10.
Qualitative findings, no metrics (each from examples):
- Theory of mind: GPT-4 passed a modernised Sally-Anne false-belief test, and so
did ChatGPT, while
text-davinci-003failed. GPT-4 gave more nuanced answers in realistic social scenarios §6.1 fig. 6.1. - TextWorld: GPT-4 finished a house-exploration game in 30 actions. It could not solve a cooking game zero-shot, and neither could the authors before reading the source code; with one demonstration it solved it §5.2.2.
- Music in ABC notation: tunes were syntactically valid, but the authors found no clear chords or arpeggios in 10 generated tunes §2.3.
- Code understanding: GPT-4 simulated Python and pseudocode execution in natural language and reverse-engineered a password-protected binary through a chat loop. ChatGPT refused the binary task §3.2.
Paper vs code
No official code.
Pitfalls
- Not reproducible against today's GPT-4. The checkpoint is a pre-release, text-only model. It improved during the study fig. 1.3 and came before OpenAI's final fine-tuning, which the authors say improved truthfulness and reduced bias §7.2 §9.3. Treat every number as a snapshot, as the authors ask §3 §4.2.
- Decoding settings are never given. Temperature, sampling and the number of samples behind pass@5 are not stated §3.1.1. Most qualitative figures are single samples, so cherry-picking cannot be ruled out from the paper.
- The LeetCode human baseline is inconsistent within the paper. Human Medium accuracy is 37.7% in tab. 2 but 38.7% in tab. 9. Overall human accuracy (38.2%) is not the plain mean of the three levels under either Medium value. The rows for contests 318 and 319 in tab. 8 are identical, which looks like a copy error. The human metric also measures contest takers within a time limit, while the model's attempts are untimed.
- LeetCode difficulty split not stated. The percentages in tab. 2 are consistent with 22 Easy, 50 Medium and 28 Hard problems (e.g. 15/22 = 68.2%, 3/28 = 10.7%). That split is our arithmetic, not stated in the paper.
- Contamination controls are partial. The LeetCode cutoff of Oct 8, 2022 rests on the authors' statement about the pretraining period §3.1.1. For the math datasets, the defence is prompting style and spot checks, not a held-out set §4.2. The dataset split and number of GSM8K/MATH questions evaluated are not stated, and neither is the source of the Minerva numbers tab. 3.
- PII binning text vs table. The prose describes the last bin as "miss more than three", while the table header is "Missing >2" §7.1 tab. 5. The ground truth also counts aliases (e.g. a court's English and Danish names) as separate elements, which GPT-4 merges §7.1.
- The GPT-4 judge favours its own answers. It judges between its own answer and GPT-3's, must pick exactly one, and tends to reward longer answers. Agreement with humans is only 50.8%. The 89.83% "constrained" human figure comes from removing the human options "neither" and "both", not from new labels §7.2.2. The human reviewers' agreement was not checked §7.2.2.
- Typo in the change-one-integer setup. The text samples "B, D from [3,9] and C, D from [a,b]", naming D twice §8.2. The intended variables are ambiguous; the logical reading is that one multiplier per product comes from [3,9] and the other from [a,b], but this is not stated.
- "Think step by step" is not enough on its own. Even with explicit instructions not to merge terms in one go, the model skipped steps app. D.1. If it states a wrong conclusion first, it then rationalises it, even writing "2 ≤ 0" app. D.1 fig. D.1. Ask for steps before the answer.
- Tool use needs to be prompted, and judgement about when to use tools is weak. Without a prompt allowing tools, the model falls back on stale or miscalculated answers fig. 5.1. With tools, it still searched for the capital of France §5.1.2. It also misused unusual tools until it got feedback fig. 5.7.
- Explanations are not evidence of mechanism. Output-consistent explanations were produced even for wrong answers fig. 6.8. One explanation listed professions said to default to the feminine in Portuguese, but the model's own translation of one of them ("teacher") came out masculine fig. 6.11. Test explanations with editing or override experiments before trusting them §6.2.
- The AGI framing is an interpretation. The authors call their method subjective and informal §1.1, and the paper does not separate failures caused by the RLHF stage from failures inherent in the architecture §10.2.
Lineage
- Builds on: OpenAI's GPT-4 technical report, which the authors defer to for definitive benchmark numbers §3. It reuses HumanEval, GSM8K, MATH, TruthfulQA, TAB and TextWorld as test material §3.1.1 §4.2 §7.1 §7.2 §5.2.2.
- Compared against: ChatGPT,
text-davinci-003,text-davinci-002("GPT-3"), Codex (code-davinci-002), CODEGEN-16B, Minerva and Microsoft Presidio tab. 1 tab. 3 tab. 5. - Related ideas the paper uses: step-by-step prompting (Wei et al., chain-of-thought) for the arithmetic fixes §8.1 and to prompt the judge §7.2.2; language patches (Murty et al.) for the concept-override test fig. 6.10.
Source and license
Adapted from “Sparks of Artificial General Intelligence: Early experiments with GPT-4” by Sébastien Bubeck, Varun Chandrasekaran, Ronen Eldan, Johannes Gehrke, Eric Horvitz, Ece Kamar, Peter Lee, Yin Tat Lee, Yuanzhi Li, Scott Lundberg, Harsha Nori, Hamid Palangi, Marco Tulio Ribeiro, Yi Zhang (arXiv:2303.12712), used under CC BY 4.0. Changes: condensed and restructured for implementation, with tables, equations and algorithms taken from the paper and its code, each cited to its source. Not affiliated with or endorsed by the authors.