Pith. sign in

REVIEW 2 cited by

XC-Cache: Cross-Attending to Cached Context for Efficient LLM Inference

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2404.15420 v3 pith:XLSNJACC submitted 2024-04-23 cs.CL cs.AI

classification cs.CLcs.AI
keywords cachingcontextgenerationmodelsconditiondecoder-onlyleveragemodel
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
read the original abstract

In-context learning (ICL) approaches typically leverage prompting to condition decoder-only language model generation on reference information. Just-in-time processing of a context is inefficient due to the quadratic cost of self-attention operations, and caching is desirable. However, caching transformer states can easily require almost as much space as the model parameters. When the right context isn't known in advance, caching ICL can be challenging. This work addresses these limitations by introducing models that, inspired by the encoder-decoder architecture, use cross-attention to condition generation on reference text without the prompt. More precisely, we leverage pre-trained decoder-only models and only train a small number of added layers. We use Question-Answering (QA) as a testbed to evaluate the ability of our models to perform conditional generation and observe that they outperform ICL, are comparable to fine-tuned prompted LLMs, and drastically reduce the space footprint relative to standard KV caching by two orders of magnitude.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. FastSwitch: Optimizing Context Switching Efficiency in Fairness-aware Large Language Model Serving

    cs.LG 2024-11 conditional novelty 6.0 of 10

    FastSwitch reduces context-switching overhead in fairness-aware LLM serving with coarse-grained KV cache allocation, asynchronous multithreaded swapping, and KV cache reuse, reporting 1.4-11.2x tail-latency speedups o...

  2. Explain-Query-Test: Self-Evaluating LLMs Via Explanation and Comprehension Discrepancy

    cs.CL 2025-01 conditional novelty 5.0 of 10

    A model's accuracy on questions it generates about its own explanations correlates with MMLU-Pro only at r = 0.361, and the paper claims this can serve as a test-set-free ranking proxy.

Pith tools