India
Posts

The Art of Not Asking the LLM Everything

February 2, 2026
In the current AI gold rush, there's a reflex most of us have picked up: "Just send it to the LLM." Image? LLM. PDF? LLM. Ambiguous text? LLM. Everything, everywhere, all at once. It works-until it doesn't. Latency creeps in. Costs balloon. Outputs wobble. And suddenly your "intelligent system" feels like a very expensive guesser. Over time, I've learned a quieter, more elegant approach: Don't ask the LLM to think unless you've already helped it decide what to think about. This blog is about that approach-and the beauty hidden inside it.

LLMs Are Brilliant... and That's Exactly the Problem

Large Language Models are incredible generalists. But general intelligence comes with a tradeoff:
  • They overthink trivial inputs
  • They hallucinate on low-signal data
  • They scale poorly when used indiscriminately
  • They become bottlenecks when every decision flows through them
If you treat an LLM like a CPU, your system will always be slow. If you treat it like a chief architect, things start to change.

The Philosophy: Intelligence Is a Pipeline, Not a Monolith

Instead of one massive model doing everything, I design AI systems like this: Cheap -> Fast -> Deterministic -> Expensive -> Generative Small models, heuristics, and rules act as gatekeepers. LLMs act as decision-makers of last resort. This isn't about replacing LLMs. It's about protecting them from bad questions.

Example 1: Seeing Less to Understand More (Vision Pipelines)

When processing PDFs with images, the naive approach is simple: "Extract all images -> send everything to the vision model" That's also the worst approach. PDFs are full of:
  • Logos
  • Decorative icons
  • Watermarks
  • Repeated headers
  • Low-value visuals
Why should a multimodal LLM burn tokens reasoning about a company logo?

The Better Way

I introduced a tiny CLIP ViT model, running zero-shot classification per image per page. Its job was brutally simple: Is this a diagram / meaningful visual? Or is it noise? Logos? Dropped. Watermarks? Dropped. Decorative junk? Dropped. Only diagrams survived.

What Changed

  • Vision pipeline load dropped drastically
  • Latency improved
  • Vision model accuracy increased (less distraction)
  • Costs became predictable
The LLM didn't get smarter. The questions got cleaner.

Example 2: Knowing When Not to OCR

OCR is expensive, slow, and fragile-especially when LaTeX formatting is involved. So instead of OCR-ing everything, I asked a different question: Does this page even contain formulas worth OCR-ing?

The Trick

I used a lightweight heuristic + ML-based formula detector on raw extracted text. Not perfect. Not fancy. Just good enough.
  • If formulas were detected -> route page to OCR + LaTeX formatting
  • If not -> skip OCR entirely

The Result

  • OCR usage dropped massively
  • LaTeX accuracy improved (fewer false positives)
  • The pipeline felt intentional, not reactive
This wasn't about accuracy alone. It was about respecting compute.

This Is Not Novel. But It Is Rare.

Let's be honest: This approach isn't revolutionary. Many great engineers already do this. But many don't-because:
  • LLMs are easy to use
  • Infrastructure hides inefficiency
  • Early demos reward brute force
  • "Just send it to GPT" feels productive
Until scale arrives. Until users arrive. Until budgets arrive. That's when systems either mature... or collapse.

The Hidden Beauty: Systems That Explain Themselves

There's an underrated side effect of this architecture: Debuggability When something fails, I don't ask: "Why did the LLM do this?" I ask:
  • Was the image filtered correctly?
  • Did the formula detector fire?
  • Was the routing decision correct?
Each layer is explainable. Each failure is local. Each improvement is surgical. This is how AI systems become engineering systems, not magic tricks.

LLMs as Judges, Not Laborers

The biggest mindset shift for me was this: LLMs shouldn't do everything. They should decide important things. Let cheap models:
  • Filter
  • Classify
  • Route
  • Gatekeep
Let heuristics:
  • Handle certainty
  • Encode domain knowledge
  • Reduce ambiguity
Let LLMs:
  • Reason
  • Synthesize
  • Create
  • Decide when uncertainty remains

Final Thought: Intelligence Is About Restraint

The most elegant AI systems I've built weren't the ones with the biggest models. They were the ones that knew:
  • When to stop
  • When to skip
  • When not to ask
In an era obsessed with scale, there is quiet power in precision. And sometimes, the smartest thing an AI system can say is: "This doesn't need me."
On this page