LLMs and models

AlphaCode

Quick explainer2 min readIntermediate

AlphaCode is a DeepMind system from 2022 that writes computer programs to solve competitive programming problems.

In plain words

Competition problems need you to understand a written puzzle and invent an algorithm, which was very hard for AI. AlphaCode used large transformer models to generate a huge number of candidate programs, then filtered them by how they behaved on examples, and submitted only a few. In simulated contests on Codeforces it ranked on average in the top 54.3% of participants.

A quick example

Imagine a contest puzzle about rearranging letters in a word. AlphaCode writes a very large number of candidate programs, runs them on the example tests, throws out those that fail, and submits only a few.

Where you'll meet it

  • Research on AI code generation and reasoning.

Related

Sources

  1. PaperCompetition-Level Code Generation with AlphaCode, Li et al. (arXiv) · read 29 Sept 2026
  2. DocsCompetitive programming with AlphaCode, Google DeepMind · read 30 Sept 2026

Checked by WhatIsAI against the sources above · 29 Sept 2026. Spotted an error? Report it.