Clicked Gallery

What is Test-Time Compute?

Highlighted from a real engineering doc. Explained by Clicked.

Used in a sentence

Engineering Notes · AI Systems

The new model leans on test-time compute, thinking for a minute before it answers, and its maths scores jumped.

The reader highlighted one word in the docs. Clicked explained the technical term β€œtest-time compute” in simple terms:

Explained in three depths

Same facts, different vibe β€” Slang mode 😎

The Clicked way

●○○

Overview

Test-time compute is the computing a trained AI model spends while answering a question. Computing means the arithmetic the chips do, and more of it costs electricity and time. Engineers call running a finished model a test of it, so test time is answer time, as opposed to training, the one-off run that built the model. The same model gets hard questions right more often when it is allowed more arithmetic per answer. There are three ways to allow it: reasoning at more length before answering, producing a batch of answers and going with the most common, or having a separate checker rank its attempts. OpenAI showed the last two on a 15-question maths competition exam in 2024. One model answering each question once scored 74%. Allowed 64 answers per question, with the most common taken, it scored 83%. Allowed 1,000 answers, with a checker picking the best, it scored 93%. The model never changed. The bill did: every extra attempt is arithmetic, paid in seconds on the clock and in the price of the answer.
●○○

Overview

Test-time compute is whatever arithmetic an AI model burns while it's answering you, and the big discovery is that the same model does better if you let it burn more. Arithmetic is the chips doing sums, and sums cost electricity and your time. Test time just means answer time, as in testing the finished model, versus training, which is over. You can't make a finished model any cleverer. You can give it more goes: longer working-out before it answers, several tries with the most popular answer winning, or a marker that grades the tries and keeps the best. It even works on an older model. On a 15-question maths competition in 2024, OpenAI's GPT-4o scored 9.3% with one go per question and 13.4% with 64 goes and a vote. Not a miracle, but 4.1 points (13.4 minus 9.3) out of the same model, bought with 63 extra goes per question. Every go lands on the receipt, in waiting and in price. 😎

A quick take β€” often all you need.

●●○

Detail

Test-time compute is the arithmetic an AI model does at the moment it answers, as opposed to the arithmetic that trained it. Spending more of it per question gets better answers out of a model that is already built. Computing is measured in operations, because operations are what cost chip hours and electricity, and the wait follows from them. Engineers call running a finished model a test of it, hence the name. Training set the model once, and nothing here changes what training built. Spending more at answer time takes one of three forms. It can write out longer reasoning before it answers, which is chain-of-thought: its answer comes out word by word, so more words before the final one is more room to work, check and retry. It can produce several answers to the same question and go with the most common, so a chance slip in one attempt is outvoted by the rest. Or a separate checker, trained to tell good attempts from bad, can rank its attempts and pick one. Looping, where a model runs its own layers again before any word appears, is a fourth. A 2024 study put a budget on it. Compare a modest model with one 14 times larger. The large one does roughly 14 times the arithmetic for every word, so for the same total operations the small one can produce roughly 14 times as many words or attempts. Spent on more attempts and revisions, with a checker choosing among them, the modest model's budget beat the large model's, but only on questions the modest model could manage some of the time. On questions beyond it, more attempts failed the same way, only slower. Nobody looks at the answer key in any of this: the vote and the checker work from the attempts alone. The cost lands per question, at inference: each extra word and attempt is arithmetic, which is why thinking answers take longer and are priced higher. That makes two dials. Scaling laws describe the first, set before the model exists: its size and how much it was trained on. Test-time compute is the second, set per question, after the model exists and without changing it.
●●○

Detail

Test-time compute is the sums an AI model does while it answers one question, and doing more sums per question is the one lever you can still pull after training has frozen the model. Sums means the chips' arithmetic, counted in operations, which is what the electricity bill and your waiting time both follow. Test time is answer time (inference, if you want the proper word), and the name comes from engineers treating every run of a finished model as a test of it. Training is done and dusted before any of this. A frozen model improves by spending in one of three ways. Let it put down more working-out before it answers, because its words are its scratch paper and more paper means more chances to catch its own slips. Let it answer 64 times and keep whichever answer comes up most, because a fluke wrong turn in one attempt gets outvoted. Or build a marker to grade its attempts and keep the top one. None of that is peeking at the answer key: the marker and the vote only ever see the model's own attempts. Now the small print, from OpenAI's 2024 science tests on one model. Physics questions: 1 attempt 92.8%, 64 attempts with a vote 94.2%. Chemistry: 64.7% to 65.6%. Biology: 69.2% to 68.4%, so 64 attempts lost a point. A vote only helps when the model's wrong answers scatter and its right answer repeats, and on some questions the wrong answers agree with each other. And it only works within reach: a 2024 study showed a model 14 times smaller could win by thinking longer, for the same total sums, but only on questions it managed now and then anyway. Out of reach, longer thinking is just longer. The bill is per question, in seconds and in price. Model size is the dial you turn before training. This is the dial you turn after. 😎

Want more? One click digs deeper.

●●●

Analogy

Test-time compute is the computing a trained AI model spends per question, and giving the same model more of it, more attempts or more reasoning, raises its score up to a point. Parallel parking works the same way. An experienced driver slots into a tight space in one go. A newer driver, given three attempts, usually gets in too, with no more skill than they had on go one. The extra attempts pay on a space the newer driver can nearly manage. A space that is simply too short stays empty however many goes they take, and each go costs time and holds up the street. The driver's skill is the model's size and training, the attempts are the test-time compute, the nearly-manageable space is the question within reach, and the too-short space is the question beyond it. The match ends here: a driver can see which attempt worked, while a model has to be told by a vote or a checker.
●●●

Analogy

Test-time compute is how much computing an AI model spends on one answer, and more of it, more tries or more working-out, lifts the score of the very same model, up to a limit. Scrabble with and without a timer is the same idea. With a 60-second timer you play the first decent word you spot. Untimed, you shuffle the rack, try five words, score each and play the best, and your scores climb with the exact same vocabulary. A bigger vocabulary is the other way to score more. But no amount of shuffling finds a seven-letter word you've never heard of. Your vocabulary is the model's training, the untimed shuffling is the test-time compute, scoring five candidates and playing the best is the marker picking an attempt, and the unknown word is the question out of reach. Where it breaks: you score your own words from the tile values, but a model has no tile values and has to use a vote or a marker to find its best attempt. 😎

Unfamiliar concept? A real-world example makes it click β€” fresh analogies on tap.

AI explanations may contain errors · Not professional advice

Formal definition β€” The same term, explained the usual way

Test-time compute (also inference-time compute or inference-time scaling) is the computation expended by a trained model at inference, as distinct from the compute used in training. Scaling it, through longer chain-of-thought generation, sampling multiple candidates with majority voting (self-consistency) or best-of-N selection by a verifier or process reward model, or search over intermediate steps, improves accuracy on reasoning tasks without changing model parameters. OpenAI's o1 (September 2024) reported 74% on AIME 2024 with a single sample, 83% with consensus over 64 samples and 93% with re-ranking of 1,000 samples by a learned scoring function, against 9.3% for GPT-4o with a single sample. Snell et al. (2024) showed that compute-optimal allocation of test-time compute is over 4Γ— more efficient than best-of-N and that, FLOPs-matched, a smaller model with additional test-time compute can outperform one 14Γ— larger on prompts of moderate difficulty. Gains diminish with scale and are confined to problems within the base model's reach.

Want Clicked to explain terms like “test-time compute” directly in your browser β€” including on PDFs?

Add to Chrome β€” Free

50 free Explanations · No credit card required