long-context-degradation · active

Losing information in long inputs

Accuracy drops as inputs grow and is worst for information placed in the middle of the context.

Also called: lost in the middle, needle in a haystack, effective context length

Tags: coding-agent, context, long-document, rag-qa

A capable model uses every part of a long input equally well, up to its advertised context length, and its reasoning does not degrade as irrelevant material is added.

Claims

Techniques

Related: Keeping its own context clean, Tracking state through a long task
Suggest a change

Capabilities are a way of carving up the subject, and carvings are arguable. Say so if this one is wrong — especially a proposed one, which a pipeline added because several papers used the same framing, not because anyone decided it was right.