Context Signal-to-Noise Ratio

Canonical version: Context Signal-to-Noise Ratio.

The context signal-to-noise ratio (context SNR) is the proportion of task-relevant information versus irrelevant information within an AI agent's context window. It's the core metric that Context Engineering optimizes.

The optimization target

The formal framing of context engineering defines context as C = A(c_instr, c_know, c_tools, c_mem, c_state, c_query), with the goal of maximizing output quality subject to |C| ≤ L_max. In practice, maximizing output quality means maximizing context SNR: ensuring every token in the context window earns its place by contributing to the task at hand.

What degrades SNR

Degradation type Mechanism Note
Context Bloat Too much context overall Volume problem
Context Distraction History so long the model leans on it instead of its training Length problem
Context Confusion Irrelevant but correct information Relevance problem
Context Clash Contradictory information Consistency problem
Context Poisoning False information Accuracy problem
AI Context Rot Stale information Freshness problem
Context Entropy System-level disorder Structural problem

Each failure mode attacks SNR from a different angle. Effective context management addresses all of them.

The funnel model

The funnel diagram in Context Engineering visualizes SNR directly: context acts as a filter between all possible answers and the one the model produces. High SNR = tight funnel = specific, accurate answer. Low SNR = leaky funnel = generic or hallucinated answer.

Improving SNR

References


About Sébastien

Ready to get to the next level?

Found this valuable? Share it with someone who needs it.

Join 6,000+ readers. Get practical systems for knowledge & AI. Free.

Subscribe ✨

Free: Knowledge System Checklist

A clear roadmap to building your own knowledge system. Subscribe and get it straight to your inbox.

6,000+ readers. No spam. Unsubscribe anytime.

Subscribe