AION
Research paperLarge Language Models · Retrieval, RAG & Search · Efficiency & Inference1 source · Oct 8, 2026

Compile the Table: Query-Calibrated Operator Compression for Tabular In-Context Learning

We propose QCOC (Query-Calibrated Operator Compression), which exploits the exchangeability and repeated use of in-context examples by compiling their full KV cache once into compact memory shared across subsequent queries.

Key points

  • Tabular in-context learning (ICL) has emerged as a training-free and accurate paradigm for tabular prediction, but current approaches to compressing its in-context examples face an accuracy-throughput tradeoff: fixed subsets can sacrifice accuracy, while query-specific retrieval limits cache reuse and batching across queries, reducing throughput.
  • Instead of retaining raw examples, QCOC clusters their states into joint-KV prototypes, preserves per-cluster multiplicities and the original example count, and calibrates prototype values against attention query vectors produced by the in-context examples through an anchored closed-form solution.
  • Compressing 8,192 in-context examples to 512 memory slots yields a 10.5x cache compression ratio; excluding one-time compilation, in a single-core CPU online-serving comparison over 1,000 queries, QCOC is up to 508x faster than dynamic retrieval baselines and 1.98x faster than full-context inference.
  • These results show that QCOC enables compact-memory reuse and efficient inference across queries while retaining accuracy close to full context.

Sources (1)

  • [1]Compile the Table: Query-Calibrated Operator Compression for Tabular In-Context Learning
    arXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 8, 12:00 PM
    We propose QCOC (Query-Calibrated Operator Compression), which exploits the exchangeability and repeated use of in-context examples by compiling their full KV cache once into compact memory shared across subsequent queries.
    Tabular in-context learning (ICL) has emerged as a training-free and accurate paradigm for tabular prediction, but current approaches to compressing its in-context examples face an accuracy-throughput tradeoff: fixed subsets can sacrifice accuracy, while query-specific retrieval limits cache reuse and batching across queries, reducing throughput.

Extractive summary: sentences quoted from the sources.