Local-First RSI: Deterministic-Verifier Self-Improvement Loops for LLM Agents on Apple Silicon
Self-improvement loops for LLM agents--propose an edit, evaluate, keep if better--have only been shown with cloud frontier models as optimizer and LLM-judge, human, or RL-executor graders. We present LDV-RSI, the first self-improvement loop operating entirely on consumer Apple Silicon: a local open-weight proposer (8B) mutates a compaction prompt, a local open-weight model (4B) executes it, and the keep/rollback gate is a frozen deterministic verifier--a pure function of output versus fixture, gated by a paired sign-flip permutation test. The loop's only cross-round state is a verdict-gated evolution memory of SIM-shaped records. Across 9 loop runs (3 seeds x 3 information arms) on an M5 Max, every run whose gate accepted >= 2 candidates improved 2.5-3.1x over the baseline prompt (0.650 -> 1.6-2.0 on a 2.0 oracle ceiling, zero cloud calls), at ~21 minutes per kept improvement, the gate itself costing zero model tokens. Three negative results are as load-bearing as the positive ones: (1) pooled two-sample gates are systematically conservative on heterogeneous task sets and stall the loop--pairing fixes it; (2) a weak proposer starves without verbatim failure evidence, and…
- arXiv
- 2611.40944
- Authors
- Xihai Wang, Weibu Kong
- Categories
- cs.LG