Compress the Context, Keep the Commitments: A Formal Framework for Verifiable LLM Context Compression
Natalia Trukhina, Vadim Vashkelis

TL;DR
The paper introduces Context Codec, a formal framework for verifiable semantic compression of large language model contexts, focusing on preserving commitments like goals and constraints during compression.
Contribution
It proposes a commitment-level approach with metrics, taxonomy, normalization, fallback rules, and a compact language for verifiable context compression.
Findings
CCL-Core balances structure and compactness effectively.
The framework enables verification of commitment preservation.
Diagnostic study shows practical benefits of the approach.
Abstract
LLM context is not just tokens; it is a set of commitments. Long-running conversations accumulate goals, constraints, decisions, preferences, tool results, retrieved evidence, artifacts, and safety boundaries that future responses must preserve. Existing context-management methods reduce length through truncation, retrieval, summarization, memory systems, or token-level prompt compression, but they rarely specify which semantic commitments must survive compression or how their preservation should be measured. We propose Context Codec, a commitment-level framework for compressing prompts and chat histories. Context Codec represents dialogue state as typed, source-grounded semantic atoms with canonical identity, equivalence, conflict, confidence, risk, and evidence spans. It separates five concerns - extraction, normalization, representation, rendering, and verification - and introduces…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
