Explore the research collection
3 entries · Follow this search
- Code
RSIGym: A Flexible Environment for Recursive Self-Improvement
RSIGym is an agent-native recursive self-improvement environment built on Everything as a Service: training (Tinker-backed LoRA), inference (OpenAI-compatible, Tinker), rollout (frontier-model gateway), evaluation (Harbor + E2B), sandbox (E2B SDK), and authorization (run keys, budget accounting) are reusable platform services, while the research agent works in a lightweight CPU-only container and spends its budget on improving the target system. Three improvement tracks are supported: Data (change training data), Harness (change execution harness, weights fixed), and Joint (data + training settings + harness together). RSI-Index measures how well frontier agents jointly improve a target model's weights and harness, defined as the mean fraction of the remaining performance gap closed across five benchmarks: RSI-Index = mean((final - initial) / (1 - initial)) over SWE-bench Verified (100 tasks), Terminal-Bench 2.0 (89), AIME 2024/2025 (60), GPQA Diamond (100), and SkillsBench (37, science/office/finance). In the main Joint-track study (six research agents improving Qwen3.5-35B-A3B-Base with a minimal harness, $500 platform-service budget per benchmark run), Opus 5 leads at RSI-Index 0.4809, followed by Opus 5.5 (0.4528), DeepSeek V4.1 Flash (0.4343), Astra (0.4093), Sol 6.1 (0.3321), and Sol 6 (0.2079). Opus 5's selected systems improve all five benchmarks: SWE-bench Verified 17.67% to 50.33% and AIME 31.67% to 97.78% (Terminal-Bench 10.49% to 26.97%, GPQA 51.33% to 83.33%, SkillsBench 1.65% to 21.21%). 29 of 30 Joint runs improve; four different researchers lead at least one benchmark. Two additional experiments: Opus 5 iterating the DSH harness with Qwen3.6-35B-A3B-Instruct weights fixed raises Terminal-Bench from 30.34% to 40.82% (tasks solved on all three attempts increase 15 to 26); and Qwen3.8-27B acting as its own researcher completes training, candidate comparison, and submission but scores 56.26% vs 56.66% initially on SkillsBench - its six-task development gain does not translate into an overall improvement.
- Code
KTransformers
kvcache-ai/ktransformers is a CPU-GPU hybrid inference/SFT framework (MADSys Tsinghua / Approaching.AI / 9#AISoft). Current tree exposes kt-kernel serving (AMX/AVX INT4/INT8, NUMA-aware MoE, hot-GPU/cold-CPU experts, SGLang integration) and LLaMA-Factory SFT/DPO for ultra-large MoE on limited VRAM. README: DeepSeek-R1/V3 on a single 24GB GPU plus large DRAM; SFT DeepSeek-V3 ~80GB / 3.7 it/s on 4x RTX 4090, claimed 6-12x vs ZeRO-Offload in their MoE SFT benches. SOSP 2025 paper: AMX kernels, async CPU-GPU scheduling, Expert Deferral (CPU util <75% to ~100%, up to 1.45x extra throughput, <=0.5% avg accuracy drop). Apache-2.0. Docs site kvcache-ai.github.io/ktransformers.
- Code
NITP
Landing page for Next Implicit Token Prediction (NITP, ICML 2026): keep NTP and add a cosine-alignment loss so the projected final hidden state at t predicts a stop-gradient shallow-layer representation of token t+1 (the implicit token), with the projection head discarded at inference. README: denser latent supervision without extra data, encoders, or backbone passes; higher effective rank and less last-state cosine collapse vs NTP. MoE 1.9B-A0.3B to 9B-A1B (9B-A1B average 40.27 to 42.94; MMLU-Pro / C3 / CommonsenseQA / ARC-Challenge / GSM8k gains) and dense 0.5B-3B; frozen 3B MoE mean-pooled last-layer reps improve 23/25 English MTEB tasks (overall 39.24 to 41.56). About 2.3% training FLOPs / 1.8% wall-clock in a 5k-step 9B MoE run; zero inference overhead. Implementation code still marked coming soon.