Reproduce “Compile, Don't Memorize: A Context Compilation Architecture (CCA) for In-Context Learning” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Jinhu Qi, Minda Hu, Wentao Zhang, Weiqiang Jin, Yanyu Chen, Junli Wang, Irwin King

Context Compilation Architecture (CCA) converts long, instruction-heavy contexts into a typed intermediate representation and generates executable checks before answering downstream questions. On CL-bench, it raised pass rates for Kimi K2.5, GLM-5, and DeepSeek-V3.2 by 6.0, 5.1, and 2.7 percentage points, respectively, with the largest gains in rule application and procedural tasks, while showing limited benefit on smaller models and open-ended workloads.

Key insights

  • Checklist injection from the compiled representation contributed more to performance than verifier execution alone: removing it lowered Kimi K2.5’s pass rate by 3.07 percentage points.
  • Executable verification complements structured context representation, but the correction loop must be conservative; the full pipeline improves reliability at the cost of additional tokens and latency.
  • Benefits depend on task structure and model capability: CCA is strongest for rule-dense and procedural tasks, whereas direct reading can be better for open-ended or loosely structured contexts.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.