Sample efficiency

Sample efficiency is how much a learning system can learn from a given amount of data or experience; a sample-efficient learner reaches good performance from few examples.

A sample is one piece of training experience: a labelled example, a game played, a token of text. Sample efficiency asks how many are needed to reach a given level of skill. Two systems can end up equally good while one needed a thousand times more data to get there. Researchers often contrast how much data AI models consume with how little people seem to need.

A well-known comparison comes from a 2016 paper by Brenden Lake and colleagues. The DQN system, which learned to play Atari games, was trained on 200 million frames per game, about 924 hours of play, while the professional gamer it was compared with had about two hours of practice per game. On the game Frostbite, DQN still reached under 10% of the human's score after all that experience. Improved versions did much better, but one still reached only about 46% of the human score after 231 hours.

Language shows the same gap. The organisers of the BabyLM challenge, launched in January 2023, point out that the Chinchilla model was trained on about 1.4 trillion words, more than 10,000 words for every word a 13-year-old has heard. Meta's Llama 3, announced in April 2024, was trained on more than 15 trillion tokens. BabyLM invites researchers to train models on 10 million or 100 million words, closer to a child's experience, to find methods that learn more from less.

Some researchers treat sample efficiency as the heart of intelligence. In 2019 François Chollet defined intelligence as skill-acquisition efficiency, how quickly a system gains new skills given its prior knowledge and experience, and built the ARC benchmark to test it. The idea also drives the continual learning debate: people pick up a new task at work from a handful of examples and keep improving, while today's models largely stop learning once training ends, apart from what fits in a prompt.

The usual ways to improve sample efficiency are pre-training on broad data and then fine-tuning, which reuses earlier learning, building helpful assumptions into the architecture, and reusing past experience during training. Where data is cheap to generate, as in simulations, poor sample efficiency matters less; where it is scarce or costly, as with robots, medical records or high-quality text, it can decide what is possible.

Common questions

What is sample efficiency in machine learning?

It is a measure of how much data or experience a model needs to reach a certain level of performance. A more sample-efficient model learns the same thing from fewer examples, which saves data collection, compute and time.

Why are AI models less sample-efficient than humans?

Humans arrive with rich prior knowledge and built-in expectations about the world, and they can reason about new situations from a few examples. Most AI models start with few built-in assumptions and learn patterns statistically from very large datasets. The gap is large: one 2016 comparison found an Atari-playing system used about 500 times more game time than a human player.

Why does sample efficiency matter for continual learning?

Continual learning means a model keeps learning from new experience after deployment, as people do at work. That only works if the model can learn useful lessons from small amounts of new data without needing millions of fresh examples or forgetting what it already knew.

How can sample efficiency be improved?

Common approaches include pre-training on large general datasets and fine-tuning on a little task data, designing architectures with helpful built-in assumptions, reusing stored experience during training, and generating extra training data in simulation. Benchmarks such as ARC and the BabyLM challenge are designed to reward methods that learn more from less.

Finding more

Search for "sample efficiency reinforcement learning", "BabyLM challenge" or "skill-acquisition efficiency" to go further. Reliable sources include research papers on arXiv, benchmark organisers' sites and cognitive science reviews comparing human and machine learning. Be cautious with simple human-versus-AI data comparisons, which depend on how human experience and machine training data are counted.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.