IInvest Like the Best
← All frameworks
Innovation

The Open-Book Exam Model Design Philosophy

Don't make the model memorize the internet — make it good at reasoning over what it's handed.

Difficulty
Advanced
Time to result
~months to results
Steps
5
Confidence
80%

Aravind describes a deliberate design philosophy for building cost-efficient, accurate AI systems: rather than training ever-larger models to memorize all facts (rote learning), decouple knowledge from reasoning. Facts live in an external, constantly updated index; the model's job is purely to reason well over whatever context it's given at query time — much like a student taking an open-notes exam. This lets smaller, cheaper models achieve accuracy close to much larger ones, as long as they are explicitly trained to recognize insufficient information, avoid confusing ambiguous entities, and reason about time (e.g., future events) rather than merely recall.

Origin

Aravind frames this as inspired by how education actually tests understanding via open-notes exams, and by observing that reasoning capability, not raw parameter count, is what determines accuracy on grounded question-answering tasks.

Core principles

  • 01Separate the knowledge store (index) from the reasoning engine (model)
  • 02Train for reasoning-over-context, not memorization
  • 03Explicitly train the model to abstain when context is insufficient
  • 04Evaluate on corner cases (ambiguity, future dates) not just factual recall

How to run it

  1. 1

    Decouple knowledge from the model

    Store facts in an external, easily updatable index rather than trying to encode them permanently into model weights.

  2. 2

    Train for open-book reasoning

    Fine-tune the model specifically to reason over retrieved context at inference time, similar to how a student uses notes in an open-book exam.

  3. 3

    Train explicit abstention

    Teach the model to recognize when retrieved chunks don't contain enough information and to say so rather than fabricate an answer.

    Watch out This can't be solved with prompt engineering alone — it requires retraining the model's behavior.

  4. 4

    Test on ambiguity and time-sensitivity

    Evaluate the model on corner cases like disambiguating similarly named individuals or reasoning about events that haven't happened yet.

  5. 5

    Use smaller models with strong reasoning

    Once reasoning is decoupled from memorization, smaller open-source models (e.g., fine-tuned Llama or Mistral) can approach larger-model accuracy at a fraction of the cost.

In the wild

Fine-tuning open-source models for grounded QA

Perplexity took open-source models like Llama and Mistral and fine-tuned them specifically to be strong answer bots reasoning over retrieved web content, rather than relying solely on the largest proprietary models.

→ This allowed Perplexity to serve its own models with better margins while approaching the accuracy of larger, more expensive models on grounded queries.

Common mistakes

Equating larger model size with better accuracy

For grounded question-answering, reasoning over provided context matters more than raw parameter count or memorized facts.

Relying on prompting instead of retraining for hallucination control

Getting a model to properly abstain when it lacks sufficient information requires deliberate retraining, not just clever prompts.

Skipping evaluation on corner cases

Ignoring ambiguous entities or future-dated queries during evaluation leaves the model prone to confidently wrong answers in exactly these situations.

Is it for you?

Not ideal for

Use cases requiring creative generation or knowledge synthesis where no external grounding source exists to retrieve from.

From the transcript

“Think about this as when you were a student, I'm sure you would have written an open book exam, open notes exam in school or…”

Aravind

“We rather want to build a small efficient model that's smart, capable, can reason on facts that it's given on the fly.”

Aravind

From the episode

Aravind Srinivas - Building An Answer Engine - [Invest Like the Best, EP.363]

→