Powered by OpenAIRE graph
Found an issue? Give us feedback
ZENODOarrow_drop_down
ZENODO
Preprint . 2025
License: CC BY
Data sources: Datacite
ZENODO
Preprint . 2025
License: CC BY
Data sources: Datacite
versions View all 2 versions
addClaim

Quantized Context Protocol (QCP): A Formal Specification for Semantic Context Compression in Large Language Model Systems

Authors: Colman, Renzo; Butin, Natalia;

Quantized Context Protocol (QCP): A Formal Specification for Semantic Context Compression in Large Language Model Systems

Abstract

The rapid adoption of Large Language Model (LLM) applications in multi-agent architectures has exposed fundamental challenges in how contextual information is represented, persisted, and exchanged across intelligent systems. Current approaches rely predominantly on natural language representations that introduce semantic redundancy, token inefficiency, and non-deterministic state reconstruction. This paper presents the Quantized Context Protocol (QCP), a formal specification for representing operational context in a compact, machine-readable, and semantically stable form. Unlike conventional summarization or compaction techniques, QCP operates as a semantic compression protocol that preserves meaning, causality, and operational intent while systematically eliminating linguistic redundancy. We introduce a three-layer architecture (QCP-PRETTY, QCP-CANONICAL, QCP-COMPACT) enabling interoperability across human-readable, normative, and token-efficient representations. The protocol defines a minimal vocabulary of semantic primitives (invariants, causal relations, decisions, and pending actions) with formal translation rules for bidirectional conversion between natural language and quantized context units. Preliminary experimental observations suggest compression ratios exceeding 3:1 with semantic preservation metrics above 90%, enabling efficient context handoff in multi-agent systems. QCP represents a shift from treating context as prose toward treating context as structured, operational data, complementing existing protocols like MCP and A2A by addressing the representation layer they do not specify.

Keywords

Artificial Intelligence, bidirectional translation, large language models, multi-agent systems, formal specifications, context compression, context persistence, semantic protocols

  • BIP!
    Impact byBIP!
    selected citations
    These citations are derived from selected sources.
    This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    0
    popularity
    This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
    Average
    influence
    This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    Average
    impulse
    This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
    Average
Powered by OpenAIRE graph
Found an issue? Give us feedback
selected citations
These citations are derived from selected sources.
This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Citations provided by BIP!
popularity
This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
BIP!Popularity provided by BIP!
influence
This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Influence provided by BIP!
impulse
This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
BIP!Impulse provided by BIP!
0
Average
Average
Average
Related to Research communities
Upload OA version
Are you the author of this publication? Upload your Open Access version to Zenodo!
It’s fast and easy, just two clicks!