arXiv · 2601.19929
Stingy Context: 18:1 Hierarchical Code Compression for LLM Auto-Coding
Abstract
We introduce Stingy Context, a hierarchical tree-based compression scheme achieving 18:1 reduction in LLM context for auto-coding tasks. Using our TREEFRAG exploit decomposition, we reduce a real source code base of 239k tokens to 11k tokens while preserving task fidelity. Empirical results across 12 Frontier models show 94 to 97% success on 40 real-world issues at low cost, outperforming flat methods and mitigating lost-in-the-middle effects.
Explore related subjects
Keep this discovery
David Linus Ostby. 2026-01-11. Stingy Context: 18:1 Hierarchical Code Compression for LLM Auto-Coding. https://arxiv.org/abs/2601.19929
Cite the original work for its findings. Save a collection to share your selection of sources.