SALT: Salience-Aware Lexical Trie for Long-Context Compression
cs.PF, cs.AI, cs.LG
Submitted: 2026-07-20
Updated: 2026-08-31
Code: https://github.com/oteomamo/SALT
License: http://creativecommons.org/licenses/by/4.0/
The gist: As large language models (LLMs) process increasingly longer prompts, computation and KV-cache memory costs have emerged as major bottlenecks in inference systems.
Terminology
Abstract
As large language models (LLMs) process increasingly longer prompts, computation and KV-cache memory costs have emerged as major bottlenecks in inference systems. Existing input-level prompt compression methods address this, but rank each sentence by a scalar relevance score, treating the document as an unstructured pool of words and sentences. Under tight budgets, this causes theme collapse, where the dominant theme(s) of a document consumes the budget, discarding less-frequent yet task-relevant themes. Preserving thematic coverage instead requires allocating the budget across recurring themes rather than scoring sentences in isolation. To this end, we propose SALT, a model-agnostic extractive framework that organizes per-sentence keywords into a trie ordered by sentence frequency (SF), a lightweight, reusable proxy for document thematic structure. This trie-based organization smooths memory allocation and prevents dominant themes from monopolizing the budget. Multi-anchor retrieval activates trie nodes labeled by query keywords at any depth, and the trie persists across dialogue turns, supporting multi-turn use without re-encoding the document. By preserving document themes, SALT reduces the prefill computation and memory cost of long-context prompts while remaining composable with KV-cache methods that target decoding-time latency and memory.
Sources
- LongBench: A Bilingual, Multitask Benchmark for Long Context Understanding
- The Llama 3 Herd of Models
- RULER: What's the Real Context Size of Your Long-Context Language Models?
- FastKV: Decoupling of Context Reduction and KV Cache Compression for Prefill-Decoding Acceleration
- Towards General Text Embeddings with Multi-stage Contrastive Learning
- Compressive Transformers for Long-Range Sequence Modelling
- C-Pack: Packed Resources For General Chinese Embeddings
- Sentinel: Decoding Context Utilization via Attention Probing for Efficient LLM Context Compression
Related papers
- HybridQC: Hardware-Grounded Simulation of Tightly Integrated Hybrid Quantum-Classical Systems
- Reproducible LLM Inference Benchmarking: A Sequential Isolation Protocol for Regression Testing
- A Controlled Study of Memory Hierarchy Transitions in Quantum Circuit Simulation on Apple M4 Pro Unified Memory Architecture
- Cluster, Route, Escalate: Cascaded Framework for Cost-Aware LLM Serving
- The Caf'e in Amsterdam: When the Incumbent Becomes the Oracle