Lost in the middle
Liu et al. (TACL 2024) found that in multi-document question answering and key-value retrieval, language models' performance was often highest when the relevant information was at the beginning or end of the input context and degraded significantly when it was in the middle, including for models built for long contexts. For answer engines that put many passages into one prompt, this implies (not measured on production engines) that where a passage lands in the grounding set, not only whether it is retrieved, affects whether it is used.
Sources
- 1Liu et al. · 2024Lost in the Middle: How Language Models Use Long Contexts (TACL vol. 12, 2024)aclanthology.org
BGrade B: peer-reviewed or a large controlled study. A grade describes the provenance of the sources above; it is not a probability that a change will work. The effect basis says how the size of the effect is known: measured by a study, taken from an industry report, only documented without a size, or not quantified.
Put this evidence to work
Related entries
More in Retrieval, or search the whole base.
All Retrieval entries