Pré-Publication, Document De Travail Année : 2024

Attention Overflow: Language Model Input Blur during Long-Context Missing Items Identification

Résumé

Large language models (LLMs) can suggest missing elements from items listed in a prompt, which can be used for list completion or similar item recommendation. However, their performance degrades when they are exposed to too many items, as they start to suggest items already included in the input list. This occurs at around 100 items for mid-2024 flagship LLMs. We evaluate this phenomenon on both synthetic problems (e.g., finding missing numbers in a given range of shuffled integers) and realistic movie recommendation scenarios. We refer to this issue as attention overflow, as avoiding repetition requires attending to all items simultaneously. Although iterative loops can mitigate this problem, their costs increase with the repetition rate, affecting the language models' ability to derive novelty from lengthy inputs.

Fichier principal
Vignette du fichier
a_overflow (2).pdf (202.92 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Licence

Dates et versions

hal-04889274 , version 1 (15-01-2025)

Licence

Identifiants

Citer

Damien Sileo. Attention Overflow: Language Model Input Blur during Long-Context Missing Items Identification. 2025. ⟨hal-04889274⟩
50 Consultations
115 Téléchargements

Altmetric

Partager

  • More