Long-Context LLM Inference
LLM: Large Language Model
Overview
Long-context inference concerns serving language models over long documents, conversations, and agent histories, where attention computation and key-value (KV) cache storage can make prefill and generation expensive. Approaches include sparse attention and token selection, KV-cache compression and tiered storage, quantization, and speculative decoding; some systems also compare long prompts with compiling or retrieving information from external memory. Benchmarks such as LongBench and needle-in-a-haystack tests assess whether methods retain facts and support reasoning as context grows, but results depend on how evidence is distributed and what questions are asked. The central tension is reducing compute and memory without losing relevant evidence or increasing unsupported answers, alongside deciding when persistent memory is preferable to repeatedly processing a long context.
Latest papers
14 papers2 papers in the last four weeks, against 2 the four weeks before. 0.0% of all new papers.