Explore the research collection
9 entries · Follow this search
- Code
slime v0.4.0: A First Step Toward Greater Scale
slime (THUDM) is an LLM post-training framework for RL scaling that connects Megatron training with SGLang rollout through a shared training/rollout/Data Buffer path; it is the RL framework behind the GLM-4.5 through GLM-5.3 model releases and supports Qwen, DeepSeek, and Llama 3 models (repo ~8.6K stars, Apache-2.0). Release v0.4.0, 'A First Step Toward Greater Scale', was motivated by OpenAI's Navier-Stokes research effort (~10,000 concurrent agents, ~130B output tokens), which prompted a rethink of RL infrastructure scale. Four architectural changes: (1) Focus — two training modes share one train.py lifecycle: synchronous training for algorithmic exploration and correctness, fully async training for throughput at scale (legacy train_async.py removed; PR #2391). (2) Distributed rollout — with the new straw backend, fully async rollout runs one rollout worker per Ray node on CPU resources, each with its own generation pool and asyncio event loop, so orchestration spreads across cluster CPUs instead of a single process bottleneck; training batches collect completed groups without waiting for every worker (PR #2410). (3) Persistent storage — straw (github.com/zhuzilin/straw) provides durable queues and shared tensor storage on a filesystem (JuiceFS currently supported): rollout workers publish payloads to shared storage and training ranks read by reference, moving bulk data off Ray's object-store transport; prompt tasks, partial rollouts, completed samples, and converted training batches persist as large append-only files to reduce small-file/filesystem metadata overhead, with checkpoint rollback support (PRs #2410, #2427). Select via --rollout-data-transport straw. (4) Independent recovery — Megatron training lifetime separated from the SGLang serving cluster: healthy engines/routers keep running after a training failure, and resubmitted training restores the last committed checkpoint and replays retained batches, reusing accepted samples and conversion results (PR #2444). Other improvements: score centering (REINFORCE objective with top-p replay and importance-sampling corrections, --use-score-centering, for training-inference mismatch); PipelineRL --flush-cache-interval letting unfinished requests and KV caches survive selected weight updates; streaming and agent rollouts (cumulative/incremental generation streams, partial-prefix retention, per-request cancellation); Biren SUPA and Ascend NPU accelerator backends; correctness fixes (linear-attention gradients under context parallelism, full-vocabulary reference logprobs in actor top-p replay, checkpoint shard selection in disk-delta sync); stack updated to Megatron Core 0.19.2, Transformer Engine 2.18.0, Flash Linear Attention 0.5.2, NCCL 2.30.7.
- 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
Parallax (Parameterized Local Linear Attention) — official code
Repo for Parallax: parameterized local linear attention that replaces Softmax Attention's per-query linear solve with a learned probe. Integrates with flash-linear-attention and Modded-NanoGPT-plx. Paper already cataloged as id 516 under a different mid; this row covers the Discord message's GitHub URL.
- Code
Orbit: Stable and Efficient Reinforcement Learning for Trillion-Parameter LLMs
May 2026 SphereLab technical blog + Apache-2.0 GitHub Sphere-AI-Lab/orbit. Holds base at deployment precision during train and rollout; gradients only on BF16 adapter (default OFT for stability under low-bit bases). Reports stable single-node RL on Kimi-K2.6 (~1T), DeepSeek V4-Flash, DeepSeek V4-Pro (~1.6T systems validation), and Qwen3 MoE. Emphasizes adapter-native async double-buffered rollout, trivial MB-scale weight sync, and train–rollout log-prob gap staying bounded. No separate arXiv id on the blog citation (journal=SphereLab Blog).
- Code
MolmoAct2: Action Reasoning Models for Real-world Deployment
Ai2 follow-on to MolmoAct. Molmo2-ER embodied-reasoning VLM plus robot state/action modeling and a flow-matching action expert. Releases foundation checkpoints (MolmoAct2, MolmoAct2-Think with depth-token reasoning, MolmoAct2-Pretrain discrete VLA, Molmo2-ER), finetunes for DROID Franka, bimanual YAM, SO-100/101, LIBERO, and LeRobot v3 datasets (SO-100/101, DROID, BC-Z, Bridge, RT-1, MolmoAct, plus Molmo2-ER spatial/3D data). Integrated into LeRobot (molmoact2-policy). FastAPI act servers for DROID and YAM. Paper arXiv 2605.02881. Apache-2.0; research/educational use per Ai2 Responsible Use Guidelines. Hardware-safety warnings on the README.
- Code
Open-Reasoner-Zero
PPO reasoning RL on Qwen2.5-0.5B/1.5B/7B/32B base (same 32B base as DeepSeek-R1-Zero-Qwen-32B). Claims superior AIME2024, MATH500, and GPQA Diamond versus that pipeline at about one-tenth the steps. Releases training scripts (including 0.5B on a single A800), critic models, and curated math data: original 57k (AIME through 2023, MATH, Numina, Tulu3 MATH) plus extended 72k cleaned from OpenR1-Math-220k equals 129k, plus 13k hard mined for 32B annealing. Later ORZ-R1-Distill-Qwen-14B (Jun 2025) beats Distill-Qwen-32B on AIME 2024/2025 and MATH500. Discord posted the data tree. Paper arXiv 2503.24290. MIT.
- Code
SATBench: Benchmarking LLMs' Logical Reasoning via Automated Puzzle Generation from SAT Formulas
Fully automated pipeline: sample CNF, LLM-write story+variable mapping, translate clauses to conditions, then LLM+solver bidirectional-entailment checks plus human sample. 2100 puzzles (easy 4-19 / medium 20-30 / hard 31-50 clauses). Unlike FOLIO/P-FOLIO (inference rules) or ZebraLogic (assumes a solution exists), instances can be SAT or UNSAT. o4-mini 89.3% overall but only 65.0% on hard UNSAT (near 50% random). Failure modes: satisfiability bias, context inconsistency, condition omission. GitHub LICENSE field empty; README/HF card say Apache-2.0. EMNLP 2025 (pages 33820-33837).
- 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
LingBot-Vision
Robbyant/lingbot-vision ships LingBot-Vision, a family of self-supervised ViT backbones (S/16, B/16, L/16, g/16) for dense spatial perception. A ~1.1B ViT-g/16 teacher is pretrained with masked boundary modeling (boundary-centric masked targets that keep spatial structure plus semantics) and distilled to L/B/S. Drop-in encoder for PCA feature maps, depth, semantic/video object segmentation, and as the encoder init for LingBot-Depth 2.0 (RGB-D corpus scaled 3M to 150M in the tech report). Backbone-only .pt checkpoints on HF/ModelScope. Apache-2.0. Paper arXiv 2607.05247.