Fig.1

Concept

Needle-in-a-Haystack

Needle-in-a-Haystack (often abbreviated NIAH) is an evaluation for long-context models that tests whether a model can retrieve a specific fact buried inside a large, mostly irrelevant context. You plant a "needle" (a short, distinctive statement) at some position in a…

The rest of “Needle-in-a-Haystack” is a premium feature: every concept in the library gets a precise, practitioner-focused write-up like this one, cross-linked straight from the paper summaries that use it.

Log in to unlock

← Back to the library