Ratchet: How Reliable Must an LLM Judge Be to Retire a Skill?

Xing Zhang, Yanwei Cui, Guanghui Wang, Ziyuan Li, Wei Qiu +2 more
5/21/2026
cs.AIcs.CL

No confident code implementation found for this paper.

Abstract

A large language model (LLM) agent that writes and edits its own skill library must also decide which skills to keep, from one noisy scalar per skill. The answer is exact: a judge scoring failures as passes at rate $(1-τ)/2$ or above retires nothing, at any sample size, for eviction margin $τ$.

Show full abstract

Audits find that machinery is rarely built: LLM-written skills are worth $+0.0$ percentage points (pp) against a no-skill control, human-written ones $+16.2$pp. Unmaintained, a library enters \emph{library drift}, growing until injecting a skill scores worse than injecting nothing. \textbf{Ratchet} repairs this: it evicts each skill on its measured contribution, caps the library at width $C$, and constrains synthesis, lifting held-out $pass@1$ by $+0.328$ on a hard MBPP+ slice. The matching non-divergence bound is finite for exactly two reasons, $C$ and $τ$. Our contribution is the condition this repair carries and no deployed system states. In reference-free domains the scalar comes from an LLM judge, whose two error directions, modelled as a binary channel, behave nothing alike. Passes scored as failures cost sample efficiency, which more trials buy back; failures scored as passes displace the eviction statistic, and no correction inside the rule recovers it. End-task score is a poor alarm, moving by at most a fifth of the governed lift and not monotonically in the rate. We prove both edges of the certifiable region, confirm them in a running loop, and place a judge on a known side in one offline pass.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2026ratchet,
  title  = {Ratchet: How Reliable Must an LLM Judge Be to Retire a Skill?},
  author = {Xing Zhang and Yanwei Cui and Guanghui Wang and Ziyuan Li and Wei Qiu and Bing Zhu and Peiyang He},
  year   = {2026},
  eprint = {2605.22148},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.22148v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.22148.svg)](https://codeofpaper.com/paper/2605.22148)

Discussion