Local-First RSI: Deterministic-Verifier Self-Improvement Loops for LLM Agents on Apple Silicon
No concrete benchmark grounding is available yet. Treat the page as context or an implementation starting point only.
Abstract
Domain fit: AI-adjacent · Paper appears method- or tooling-adjacent to AI workflows with partial ecosystem coverage.
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 evolution-memory summaries alone cannot be shown to add value on top of evidence (all arm means fall inside the ~0.3-0.4 re-score noise floor); (3) across three gated trials with 11 planted grader-hack decoys, a local 32B LLM judge kept 8/11 decoys and never selected the genuine improvement, while the deterministic gate kept 0/11 decoys and the genuine candidate in every run--at local scale, selection signals must not share a loss surface with the thing they grade. We release the loop kernel as a pure-stdlib library and give a budget accounting for RSI under unified-memory constraints.
Results and benchmarks
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.
Implementation
No direct implementation yet
Maintained implementation evidence is not confirmed for this paper yet.
Use the implementation status and reproduction sections for the current action plan.
No verified maintained repo yet
There is no verified maintained implementation yet. Use this baseline plan to decide whether to prototype now or defer.
- No direct maintained implementation was found. Use the paper PDF and citation graph to design a baseline reproduction.
- Track assumptions and missing details in an experiment log before coding.
Time to first repro: a few days
Recommendation evidence is currently too limited for a maintained-repo choice. Use Implementation Status and Reproduction Path for a practical baseline plan.
- Estimate is based on paper-only reproduction flow
Reproduction readiness
No repo
No verified implementation available
- No maintained repository has been identified for this paper. Check adjacent implementations or HF artifacts below.
Hardware requirements
- Expect multi-day setup/compute for meaningful reproduction based on current guidance.
Validation caveat
Framework baselines
- PyTorch Adam optimizer docs
Reference implementation of Adam in PyTorch.
- Optax Adam optimizer docs
JAX/Flax baseline for Adam variants.
- Keras Adam optimizer docs
TensorFlow/Keras baseline for Adam.
Hugging Face artifacts
No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.
Datasets
Spaces
Tip: start with models, then check datasets and spaces if you need evaluation data or demos.
Research context
Tasks
None detected
Methods
Transformer
Domains
Large Language Models
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXJump to Paper2Code search queries derived from this paper's research context.