English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

CompressionBench: Coding Agents Take Their First Cut at Recursive Self-Improvement via Model Compression (arXiv 2611.06858)

Forum topic · 小凯 · 2026-11-05

Summary

CompressionBench (arXiv:2611.06858), from a CMU team led by Beidi Chen, asks whether coding agents can autonomously compress large language models. Four agents (Claude Sonnet 3.7, GPT-5 mini, GPT-5, Kimi K2) and two human experts were given the same terminal task: compress Llama-3.1-8B, Llama-3.1-70B, and Qwen-2.5-72B to 1/8 of their size while keeping perplexity degradation under 3%, within a budget of 108 total tasks. Agents completed 70.4% of tasks versus 75% for human experts, approaching parity. Notably, some agent-produced compressed models rivaled natively trained small models like Llama-3.2-1B. The paper's key methodological finding is that evaluation signal quality is critical: 17 of 79 local rankings flipped depending on whether agents received full model feedback versus cheap proxy metrics like training-set PPL, meaning over a fifth of decisions made with proxy signals were unreliable. Agents showed human-like engineering instincts (iterating to reduce PPL before switching approaches, benefiting from longer reasoning chains), while human failures stemmed from overconfidence and agent failures from insufficient exploration. Framed as an instance of recursive self-improvement, the work suggests AI can already serve as a competent infrastructure engineer, provided evaluation pipelines are calibrated and hack-resistant.

When AI starts performing its own weight-reduction surgery, the first question is: will the scalpel be gentle?

A Brain Surgery Without an Anesthesiologist

Imagine walking into a clinic and asking a doctor to make you half your size while keeping your memory, speech, personality, and knowledge perfectly intact. You'd be shown the door. But in AI, this is a legitimate and extremely valuable technical requirement: model compression — squeezing a multi-billion-parameter model into a much smaller body while preserving its behavior, style, and knowledge.

This matters because large models are becoming infrastructure. Your phone cannot hold a 70B model — the weights alone are ~140GB. But if you could compress 70B into an 8B or 1B body with similar behavior, it could run on phones, cars, routers, even microwave chips. This is the ticket to moving intelligence out of data centers and into the physical world.

The problem: compression is currently almost entirely handcrafted by human researchers. The main techniques are quantization (cutting 32-bit floats down to 4-bit integers), pruning (removing unimportant connections, like trimming a bonsai), distillation (having a small model mimic a large one), and SVD decomposition (factoring large weight matrices into smaller products). Each requires deep expertise, endless tuning, and there is no universal recipe.

So: if AI can already write code, debug, and run experiments, can it perform this surgery on itself?

That is what CompressionBench, from a CMU team (Beidi Chen's group), set out to answer. It packages "compress a model" as a terminal task for a coding agent: give it a starting repo, a source checkpoint, a storage budget (e.g., compress to 1/8), an inference engine, and evaluation scripts — then let it figure out the rest. No step-by-step tutorial, no hints about whether to quantize or prune.

The Experimental Setup

Contestants: 4 coding agents — Claude Sonnet 3.7, GPT-5 mini, GPT-5, Kimi K2 — plus 2 human experts as a control group, all under identical conditions: same starting code, same storage budgets, same evaluation pipeline, same iteration limits.

Tasks: 3 base models (Llama-3.1-8B, Llama-3.1-70B, Qwen-2.5-72B), each compressed to 1/8 of original size (≈1B, 8B, 9B budgets respectively). 108 tasks total.

Pass line: pass@8 (at least one success within 8 attempts) with relative perplexity (PPL) degradation under 3%. PPL measures how "unnatural" a model's speech becomes — the requirement means you can slim down, but you can't become incoherent. And it's *relative*: you don't need to outperform a professional athlete after losing weight, just avoid becoming unable to walk.

Feedback loop: agents could submit intermediate solutions, see PPL results, adjust, and resubmit — like a real engineer iterating on a product. The evaluation pipeline was calibrated against real inference engines and standardized PPL tests.

Results: Surprising, Yet Reasonable

Attendance: agents completed 70.4% of their 108 tasks (76 successes); humans completed 75% of theirs (54 of 72). The gap with genuine compression experts is far smaller than most intuitions would predict.

Finding 1: Agent compression beats human-made SOTA. At the 8B→1B tier, agent-produced models are competitive with natively trained small models like Llama-3.2-1B — models purpose-built from scratch on massive data. A surgically slimmed-down body matching a naturally trained athlete shows how refined these "operations" are.

Finding 2: Full model feedback is critical — the paper's most important methodological lesson. Comparing full model feedback (real inference engine, calibrated pipeline) against cheap proxy signals (e.g., training-set PPL): 17 of 79 local solution rankings flipped due to the evaluation signal — over a fifth of decisions made with training-distribution PPL alone were unreliable. Some solutions looked great on training data but degraded out-of-distribution, and vice versa. Agents, like any optimizer, will game whatever signal you give them — but faster and more relentlessly than humans.

Finding 3: Agents prioritize PPL reduction when iterating — in 21 of 24 multi-round revisions they chose to lower PPL rather than switch to a fundamentally different technique. A pragmatic local-search-first strategy, much like human experts.

Finding 4: Longer reasoning chains help. Successful agents explored more, analyzed more, and ran small experiments before committing to code. "Think first, then write" beats "write and see" on complex engineering tasks — which is why stronger reasoning models (GPT-5, Claude Sonnet 3.7) did better.

Finding 5: Not all models compress equally well. Llama-3.1-70B was easier to compress than Llama-3.1-8B and Qwen-2.5-72B, for both agents and humans — larger models may carry more redundancy, like a 200-pound person finding it easier to reach 100 pounds than someone already at 120.

Finding 6: Agent-to-agent variance exceeds human-to-human variance. Different agents have distinct "engineering tastes" — some better at exploring new technique routes, others at fine-tuning within established ones. Current agents haven't converged on a single optimal strategy.

What This Actually Means

The paper's deeper question: can AI participate in improving the infrastructure that runs AI itself? The authors frame this as a concrete instance of recursive self-improvement — not sci-fi weight rewriting, but AI systems improving the models and infrastructure used by subsequent systems. Compression is a perfect testbed: clear objective (PPL degradation <3%), clear constraints (storage budget), full evaluation pipeline, and output (smaller models) that directly lowers the hardware cost of the next generation. A closed loop.

The answer leans yes: on well-defined engineering tasks with sufficient feedback, the strongest coding agents already reach roughly 70–80% of human expert performance. But the conclusion carries a crucial precondition: evaluation signal reliability. If the feedback is wrong, the agent will confidently learn the wrong direction. A reliable recursive improvement loop needs not just code-writing agents but calibrated, unhackable evaluation pipelines — otherwise you get the *illusion* of improvement. For practitioners: if you plan to automate ML pipelines with agents, make sure your evaluation is trustworthy first. Proxy metrics like training-set PPL will cause far worse damage in the agent era, because agents optimize without the human instinct that "this score is too good to be true."

Where Humans Still Fit

A quieter insight: humans still completed 75% of tasks, and human successes retain a unique quality — knowing when to stop. Agents push one direction to its extreme; humans recognize when results are good enough and further optimization introduces risk. Yet this metacognitive advantage may not last: in later iterations of CompressionBench, agents already begin evaluating the risk/reward of continued optimization — a shift from executor toward decision-maker.

Failure modes differ too: human failures tend to be overconfidence (submitting prematurely), agent failures insufficient exploration (walking one path to the end without trying diverse alternatives). Humans subtract by intuition; agents add by search. The ideal next-generation ML engineering toolchain may combine both: human intuition to prune the search space, agent patience to exhaustively explore within it.

When AI takes the scalpel, human value migrates upstream — from the operating table to the design room. Not a notice of unemployment, but of role upgrade. Just not one with an unlimited deadline.

---

References

  • CompressionBench: Can Coding Agents Compress Pretrained Models? arXiv:2611.06858 — Zhiming Wang, Zhifeng Li, Yongqi Liu, Shanglin Yang, Yang Zhou, Zikun Li, Zhuoming Chen, Beidi Chen. Carnegie Mellon University.
  • Project page and open-source code: github.com/infini-ai-lab/CompressionBench

Tags

#model-compression#ai-agents#recursive-self-improvement#llm#benchmark#coding-agents#arxiv-2611-06858#cmu

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/178636778