VFlash: Fast, Accurate Visual Planning via Flash Primitive Decoding
u_Unrolled
D9: AI Agents & Tool Use · Reasoning & Test-Time Compute — Thinking Longer Instead of Training Bigger
Phase 5/Domain 9/Lesson 6

Reasoning & Test-Time Compute — Thinking Longer Instead of Training Bigger

20 min read·Advanced· Unrolled Pro
Reasoning & Test-Time Compute — Thinking Longer Instead of Training Bigger

You already know: chain-of-thought and self-consistency voting (D7 Advanced prompting); reward models and how they get hacked (D6 Preference optimization); policy gradients and GRPO with verifiable rewards (D6 RL for LLMs); reflection loops that need a grounded critic (Agent architectures); binomial probabilities (D2 Probability).

Why this matters for Atlas. For years the main way to get a smarter model was to train a bigger one. Test-time compute is the other lever: spend more computation per question, by generating longer reasoning, sampling several answers and voting, checking candidates with a verifier, or searching through possible reasoning steps. Reasoning models (OpenAI's o-series, DeepSeek-R1, Claude with extended thinking) are trained with RL to use this lever themselves. It's how a model gets a hard maths proof right, and it's why some answers take a minute and cost 20× more. This lesson builds each method, measures exactly what it buys, and shows when it's worth paying for.


1. Two kinds of thinking, and why more samples help

The question. If a model is right 60% of the time on a question, can it ever be right more often than that without retraining?

Start from nothing. A standard model answers in one pass, token by token: fast, intuitive, "System 1". Some problems need "System 2": trying an approach, noticing it fails, backtracking, checking. You can buy System 2 behaviour at inference time in two ways:

That's the preview. The full lesson, with its code and exercises, is part of Unrolled Pro.
Staff AI & Pro Tier Lesson

Unlock "Reasoning & Test-Time Compute — Thinking Longer Instead of Training Bigger"

The foundations are free forever. Unrolled Pro unlocks the complete lesson, production architectures, and 55 battle-tested ML system design case studies.

Everything included with Pro:
All 234+ Deep-Dive Lessons across transformer internals, inference, RAG & agents
55 Staff-Level ML & System Design Case Studies with mathematical capacity estimates
AI Engineer Sheet & Exercises with worked solutions, self-checks, and code
100 Landmark Research Papers guided walkthroughs & progress tracking
14-Day Money-Back Guarantee — 100% full refund if you aren't satisfied
View Plans & Unlock All Lessons

From ₹167/mo (~$2/mo) · Cancel anytime · Instant activation

100% Risk-Free: 14-day no-questions-asked money-back guarantee
Build Atlas · Part 8 of 9: Let it actUse this lesson in the project: Give Atlas tools, memory and a loop, then put a gateway between the model and the tools so that a fooled model still can't do damage.