Skip to content

AI Glossary · Concepts

What is Context Poisoning?

Context Poisoning

Context poisoning describes information in a model's active context that misleads it or degrades task performance. On Chain of Thought, the term includes irrelevant, stale, or excessive data; in security discussions it can also mean deliberately planted malicious context.

Also known as: context pollution

· Updated · Chain of Thought

Context ManagementAI Agents

  • 2 explainers
  • 2 episodes
  • 1 guest clip
  • 2 sources

The terminology depends on the speaker. Michel Tricot uses it on the show for a reliability problem: an agent receives too much unhelpful data and struggles with the task. Security writers may use the same term for deliberate manipulation. Name the mechanism rather than assume every instance is an attack.

In episode 52, at 9:02, Tricot discusses post-processing API data before it reaches an agent. Conor’s episode write-up compares a targeted retrieval path with raw paginated output.

Example: before upgrading the model, inspect whether a failed run received the right records, the right version, and enough evidence to answer. Then compare a smaller relevant context against the original on the same task. This is a diagnostic experiment, not proof that the model is never the problem.

Long-context research also shows that information position can affect retrieval performance. That supports testing context use, but does not establish a single cause for every failure. Prompt injection covers instructions planted in untrusted input.

Hear it from the guest

“A lot of this is done on the back end to make sure that we only return what we believe is the most relevant information. So that's the first part. And that's one thing you will have a hard time doing with APIs, because it will just return to you the whole block of information.”
Watch on YouTube

Quotes lightly edited to remove filler words.

Sources

Go deeper

From the conversation