SWE-bench · coding
2,294 software engineering problems taken from real GitHub issues in popular Python repositories. The best model solves 4.8%.
Chapter 2 of the AI Index 2024 measures where AI stood at the end of 2023. On the old benchmarks the story is saturation: ImageNet, SuperGLUE and VQA improved so little that this edition drops them. On the new ones built in 2023 — coding, expert reasoning, agents, hallucination — the scores are low enough to leave years of headroom. The numbers:
AI cleared the human baseline on one benchmark after another, until the benchmarks stopped saying anything. The defining move of 2023 was not a single model but a wholesale replacement of the tests.
The chapter tracks nine benchmarks against human baselines. AI crossed the human line on image classification in 2015, on basic-level reading comprehension in 2017, on visual reasoning in 2020 and on natural language inference in 2021. As of 2023 the categories where AI still fails to exceed human ability are the more complex cognitive ones: visual commonsense reasoning and advanced, competition-level mathematical problem-solving. Planning belongs on that list too.
AI systems used to be narrow — language models that read text well and handled images badly, or the reverse. In 2023 that split closed: Google’s Gemini and OpenAI’s GPT-4 handle images and text together, and in some cases audio as well. The steering committee’s pick of the year’s notable releases reads like a map of that shift — Claude and GPT-4 on the same day in March, Stable Diffusion v2 and Segment Anything in the spring, Llama 2 in July, DALL-E 3 and SynthID in August, Mistral 7B in September, Ernie 4.0 in October, then a November crowd of GPT-4 Turbo with a 128K context window, Whisper v3 and Claude 2.1 with 200K, and finally Gemini on December 6 and Midjourney v6 on December 21.
Language is where AI looks most finished and is least trustworthy. The comprehension benchmarks are topping out, human voting has become a serious measure, and the factuality numbers are the ones worth staring at.
Launched in 2023, the Chatbot Arena Leaderboard lets anyone query two anonymous models and vote for the better answer. By early 2024 it had gathered over 200,000 votes, and users ranked OpenAI’s GPT-4 Turbo as the most preferred model, with an Elo rating of 1,252 for the best closed model against 1,149 for the best open one. The AI Index frames this as a shift in kind: with generative models producing high-quality text and images, benchmarking is moving away from computerized rankings such as ImageNet or SQuAD and toward human evaluation. Public feeling about AI is becoming part of how progress gets measured.
Reasoning is where the 2023 numbers are honest. On expert multimodal questions, on graduate-level science, on planning and on visual commonsense, the best systems are still short of people — sometimes by a lot.
MMMU, built in 2023 by researchers in the United States and Canada, asks about 11,500 college-level questions across six disciplines, with charts, maps, tables and chemical structures in the question formats. As of January 2024 Gemini Ultra leads every subject category with an overall 59.4%, and the subject-level table shows how far that still is from a medium-level human expert: humanities and social sciences 78.3 against 85, health and medicine 67.3 against 78.8, business 59.3 against 86, science 54.7 against 84.7, art and design 51.4 against 84.2, technology and engineering 47.1 against 79.1. GPQA is harsher still — 448 multiple-choice questions written by subject-matter experts in biology, physics and chemistry, deliberately designed so that Google searching does not help. PhD-level experts score 65% inside their own domains and nonexperts around 34%. The best model, GPT-4, reaches 41.0% on the main set.
Thirteen of the eighteen benchmarks tracked in this edition were introduced in 2023. Here are six of them, and the scores that show how much room they leave.
2,294 software engineering problems taken from real GitHub issues in popular Python repositories. The best model solves 4.8%.
About 11,500 college-level questions across six disciplines, with charts, maps and chemical structures. Gemini Ultra leads at 59.4%.
448 graduate-level questions in biology, physics and chemistry that cannot be answered by searching. GPT-4 reaches 41.0%.
Over 35,000 hallucinated and normal samples. ChatGPT fabricates unverifiable information in roughly 19.5% of its responses.
Eight interactive settings including web browsing, online shopping, household management and card games. GPT-4 scores 4.01 overall.
Twelve aspects of text-to-image models, rated by human evaluators. No single model excels on all of them.
Away from the language leaderboards, 2023 looks less like saturation and more like a field still finding its footing — with one exception, where the numbers went vertical.
HumanEval was introduced by OpenAI researchers in 2021 with 164 handwritten programming problems. A GPT-4 variant, AgentCoder, now leads it at 96.3% — an 11.2 percentage-point increase over the 2022 high, and 64.1 points of improvement since 2021. That is the vertical line. Then SWE-bench arrived in October 2023 with 2,294 problems drawn from real GitHub issues, requiring changes coordinated across a codebase rather than inside a single function, and the best model in the world managed 4.8%. Same year, same models, two orders of magnitude apart — which is roughly the distance between finishing an exercise and doing the job.
The chapter’s most quietly consequential finding is that language modeling improved robotics. Google’s PaLM-E, scaled up to 562 billion parameters and trained on visual language alongside robotics data, beats earlier methods such as SayCan and PaLI on embodied visual question answering and planning, and detects its own failures far more reliably — 0.91 for PaLM-E-12B against CLIP-FT’s 0.65 and zero-shot PaLI’s 0.73, which is what closed-loop planning depends on. DeepMind’s RT-2 trains on tokenized robot trajectories plus visual-language data: on tasks involving objects it has never seen, an RT-2/PaLM-E variant hits an 80% success rate against MOO’s 53%, and beats the previous year’s RT-1 by 43 percentage points. Beyond doing more, these systems can ask questions — a real step toward robots that interact with the world rather than execute in it.
Section 2.11 turns the microscope on the models themselves, and 2.13 on what running them costs. Both are less flattering than the leaderboards.
Five lines from Chapter 2 that carry the year’s argument.
AI has surpassed human performance on several benchmarks, including some in image classification, visual reasoning, and English understanding. Yet it trails behind on more complex tasks like competition-level mathematics, visual commonsense reasoning and planning.
AI models have reached performance saturation on established benchmarks such as ImageNet, SQuAD, and SuperGLUE, prompting researchers to develop more challenging ones.
With generative models producing high-quality text, images, and more, benchmarking has slowly started shifting toward incorporating human evaluations like the Chatbot Arena Leaderboard rather than computerized rankings like ImageNet or SQuAD.
On 10 select AI benchmarks, closed models outperformed open ones, with a median performance advantage of 24.2%. Differences in the performance of closed and open models carry important implications for AI policy debates.
With AI models growing in size and becoming more widely used, it has never been more critical for the AI research community to diligently monitor and mitigate the environmental effects of AI systems.
Chapter 2 (sections 2.1–2.13) — language, coding, image and video, reasoning, audio, agents, robotics, reinforcement learning, properties of LLMs, techniques for improvement and environmental impact — with every figure and citation is free from Stanford HAI.
Open the AI Index 2024 →