Cited by 5Topic ModelingNatural Language Processing TechniquesMultimodal Machine Learning Applications

FINCH: Prompt-guided Key-Value Cache Compression for Large Language Models

Open access
Corallo, Giulio, Papotti, Paolo·2024·Transactions of the Association for Computational Linguistics

Abstract

Recent large language model applications, such as Retrieval-Augmented Generation and chatbots, have led to an increased need to process longer input contexts. However, this requirement is hampered by inherent limitations. Architecturally, models are constrained by a context window defined during training. Additionally, processing extensive texts requires substantial GPU memory. We propose a novel approach, Finch, to compress the input context by leveraging the pre-trained model weights of the self-attention. Given a prompt and a long text, Finch iteratively identifies the most relevant Key (K) and Value (V) pairs over chunks of the text conditioned on the prompt. Only such pairs are stored in the KV cache, which, within the space constrained by the context window, ultimately contains a compressed version of the long text. Our proposal enables models to consume large inputs even with high compression (up to 93x) while preserving semantic integrity without the need for fine-tuning.

Integrity signals

Registry

Crossref · 10.1162/tacl_a_00716

Cites

13 of 13 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Claims the paper makes

We couldn’t retrieve this paper’s full text, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • The context distillation objective captures the counterfactual discrepancy between two views of the same model with different context lengths.

    “The context distillation objective captures the counterfactual discrepancy between two views of the same model with different context lengths.”

Cites

Flagged first, then by citations

Cited by

Sorted by citations

Authors
Corallo, G., & Papotti, P.
Affiliations
EURECOM (FR)
Venue
Transactions of the Association for Computational Linguistics
Publisher
MIT Press
Published
2024
Volume
12
Pages
1517-1532
ISSN
2307-387X (ISSN-L)
OpenAlex
W4404609179
Cited by
5
References
13
Citations by year
2026: 2 · 2025: 3
FWCI
0.74
Type
journal article
Language
en
Open access
Locations
Transactions of the Association for Computational Linguistics (publishedVersion, cc-by)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Multimodal Machine Learning Applications
Keywords
key-value cache compression, large language models, context window, GPU memory efficiency, self-attention, retrieval-augmented generation, chatbots

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review