Vibeleaderboard
← All Intel
Intel / article

Mergeable Model-Side Aggregation States for Long-Context Language Models

Source
arxiv.org
Author
Dachuan Song, Junyu Yin, Zechen Hu, Xuan Wang
Date

Context

A can use a compact running estimate to count distinct items across long inputs. This research adds a HyperLogLog sketch, an approximate counting structure, alongside a model whose trained weights stay fixed. An extractor maps relevant records to consistent identities, which update the sketch as the input is processed.

The tested sketch occupied 2 KiB regardless of how many records it summarized. On a million- distinct-count experiment, the authors report 1.6% mean relative error. Sketches from separate input segments can also be combined. This gives the model a bounded-memory estimate for later reasoning without requiring it to reconstruct the count from the entire text.

Terms in this piece · Glossary
  • Large language model — A model trained on large amounts of data to process and generate language.
  • Record — One unit of data in a file or table, such as one supplier's quote; distinct from a line of text.
  • attention — The mechanism that lets a model weigh which earlier words matter for the word it's currently processing — the core operation of a transformer.
  • Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
Recommended reads
Comments

Checking sign-in…

Loading comments…