Explore the research collection
40 entries · showing 25–40 · Follow this search
- Tool
who-ate-my-flops: bring your own PyTorch job, let an agent speed it up end to end
An open-source Claude Code / Codex plugin (OpenPerfAgent) for iteratively optimizing PyTorch training and inference jobs as a whole, not just individual GPU kernels. Design philosophy: rely on the foundation model's reasoning rather than prescribing how the agent reasons; the harness supplies (1) context -- computation structure and runtime profiling, (2) verification -- tools to check correctness against the baseline as the agent iterates, and (3) user alignment -- guidance to ask the right questions and align on goals/constraints. Claimed results: performance PRs developed with it merged into FunASR, FastVideo, gsplat, Ultralytics, Unsloth, and SGLang, with speedups up to 3.6x on tested workloads. Case study: in FastVideo the agent found CPU-GPU weight transfers consuming ~2/3 of the video-decoding stage, removed redundant transfers and sped up the rest, reducing generation time 15.20s -> 6.34s (2.40x) on 4 B200s. Usage: give the agent a repo, a launch command, and GPU access; run /who-ate-my-flops::init to clarify goals, then /who-ate-my-flops::optimize. Includes experiments, profiles, and lessons learned on the blog.
- Paper
Allspark: Weak to Strong Transfer via Alternating Chain of Thought
Asks whether reasoning improvements learned by a small, weak model can benefit a larger, stronger model without using the strong model's rollouts during training. Introduces Allspark, a training and inference framework for weak-to-strong transfer through alternating chains of thought: a weak teacher is trained with RL alongside a frozen copy of the same model, the two alternate reasoning segments, and the frozen model produces the final answer. At inference time a stronger student replaces the frozen training partner while both models remain fixed. Because they communicate through text, the teacher can steer students from different model families and with different tokenizers. Studied at two scales: controlled Qwen3-1.7B/4B experiments across math and reasoning domains, and larger-scale experiments with an Inkling-Small teacher on 96 ARC-AGI-2 development problems. The Inkling experiments show accuracy gains in within-family and cross-family settings, including transfer to Kimi K2.6 and Nemotron 3 Ultra, with benefits varying across inference settings; analyses also characterize the accuracy-token tradeoff. Motivates reusing a trained weak teacher across strong students.
- Paper
DepthBench: Measuring How Residual Connections Enable More Computational Depth
Introduces DepthBench, a controlled benchmark for studying computational depth across architectures, proposing effective computational depth as a new scaling axis. Systematically varies the width-depth aspect ratio (d_model/n_layer) from shallow-wide to deep-narrow shapes while keeping model size and the pretraining recipe fixed, across 10 representative architectures. Finds the benefit of allocating capacity to depth is strongly architecture-dependent: standard Pre-LN and most norm- and scaling-based variants (e.g. LayerNorm Scaling) give little benefit and can even degrade as models get deeper and narrower, whereas HC and Full AttnRes improve consistently even at extreme deep shapes. Gains extend beyond pretraining loss into improved domain-specific performance and effective computation; layer-level analyses link HC/Full AttnRes gains to more effective utilization of additional layers via distinct mechanisms. Concludes residual-connection design determines whether depth can serve as a meaningful scaling axis.
- Post
The Next Scaling Problem
Long-form engineering essay on scaling cloud agents by pulling the runtime out of the sandbox and rebuilding the system around durable agent work. Core principles: (1) A computer should be something the agent calls, not somewhere the agent lives -- the agent is a stable shared service while sandboxes are disposable execution resources with their own lifecycle (models, memory, files, credentials, tools each get one). (2) Write ahead of execution -- a WAL-style protocol: record a transition before performing the operation it authorizes, with stable identities as idempotency keys, so a replacement runtime can reconstruct a thread from committed facts after a failure. (3) Durable delivery via a queue that outlives producers. Describes the Tetral architecture: Gateway (provider integration, stateless), Bridge (PostgreSQL commits with ownership/order checks), Queue (ordering, leases, retries, dead-lettering), Sandbox Service (computer lifecycle), Public API + Event Stream; the runtime itself is replaceable compute running a pure reducer with no DB/network I/O. Storage model: session_events (ordered event log), session_messages (model-context projection), session_bridge_operations (idempotency receipts); compaction adapted from OpenCode. Contrasts with Cursor's Temporal-based durable-execution approach.
- Paper
Understanding Reasoning from Pretraining to Post-Training
Studies how pretraining choices shape the returns to RL post-training and what RL actually does to the model, using chess as a controlled testbed. Language models from 5M to 1B parameters are pretrained on human chess games, supervised fine-tuned on synthetic reasoning traces, then RL-trained on chess puzzles with verifiable rewards. Post-RL performance at a given RL compute level is well-predicted from pretraining loss, and RL reward-curve slopes improve approximately linearly with pretraining tokens.
- Paper
Just Ask Jev: Reinforcement Learning for Calibrated Decisions as a Zero-Shot Detector of AI Alignment Failures
arXiv 2609.29429 (published 2026-09-24). Introduces RLCDAlignBench: evaluates TypeSafe Jev (jev-1.13.0) as a zero-shot alignment-failure detector across 10 failure types (sycophancy, jailbreaks, deception, prompt injection, hallucination, privacy, social bias, reward hacking, concealing uncertainty, power seeking), 44 benchmarks, 7,193 instances from five open 2–7B targets. Separates what Jev is asked (generic vs targeted questions; Noul/Choice/Score) from what it sees (canonical state vs field ablations). Generic Noul reaches median AUROC 0.886 (31 benchmarks) and beats supervised TF-IDF/length on 25; split-half targeted +0.006; matches StrongREJECT human agreement of the reference scorer (κ 0.809 vs 0.811) at 63× lower cost than LLM judges ($0.30 vs $18.96 on 19 API-judge benches). Confident disagreements surface label defects. Code/data: github.com/sumleo/RLCDAlignBench.
- Paper
Rufus-Air: An Open LLM Post-Training Recipe
Rufus-Air is an eight-stage serial post-training pipeline on GLM-4.5-Air-Base (106B-A12B): SFT, Reasoning RL, Coding RL, Instruction-Following RL, General Agent, Coding Agent, Search Agent, and RLHF. It combines public data and open-source components without newly commissioned human annotation or an in-house distillation teacher, and emphasizes difficulty filtering, reliable rewards, and infrastructure details. The resulting model improves over the official GLM-4.5-Air release on every reported benchmark except Arena-Hard v2 Creative Writing and is competitive with similarly sized open models.
- Paper
Hymba: A Hybrid-head Architecture for Small Language Models
arXiv 2411.13676: Hymba hybrid-head (attention + SSM in parallel), learnable meta tokens, cross-layer KV sharing, partial SWA. Hymba-1.5B-Base claims SOTA among sub-2B public models and beats Llama-3.2-3B avg accuracy with ~11.67× smaller cache and ~3.49× throughput. HF: nvidia/Hymba-1.5B-Base|Instruct. Discord: NVIDIA hybrid Mamba×Attention 1.5B.
- 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).
- Post
SWE-1.7: Frontier Intelligence at a Fraction of the Cost
Cognition blog dated 2026-07-08 launching SWE-1.7, described as the most capable model they have trained so far. SWE-1.7 is post-trained from a Kimi K2.7 base that had already undergone extensive RL; Cognition argues additional RL still moved the Pareto frontier. Reported pass rates: FrontierCode 1.1 Main 42.3%, Terminal-Bench 2.1 81.5%, SWE-Bench Multilingual 77.8% (table also lists Kimi K2.7 Code, GPT-5.5, Opus 4.8/4.7, GLM-5.2, Composer 2.5, SWE-1.6). Training notes: entropy/stability work for long async RL, multi-cluster RL across four datacenters on three continents with object-storage weight shipping, a data-quality pipeline with execution tests and anti-reward-hacking hardening, and self-compaction for long-horizon tasks. Served in Devin (Web/Desktop/CLI) via Cerebras at 1000 TPS. No public weights or training corpus on this page.
- Paper
Automated Tensor Scheduling for Hybrid CPU-GPU LLM Inference on Consumer Devices
ATSInfer (Nanjing University) extends llama.cpp (~15k C++ lines) for consumer hybrid inference. Static knapsack placement uses measured empirical performance density (latency per byte) plus backend-switch costs; load-aware dynamic transfer promotes CPU-resident tensors when PCIe overlap can hide the copy; async coordination splits compute vs copy-engine streams. Vs llama.cpp under the same VRAM budget: prefill up to 1.94×, decode up to 3.29× (laptop) / 3.12× (RTX 4090), ~70% higher average decode SM utilization. Also beats vLLM offload and KTransformers on the models those support. Hardware: RTX 3060 6GB+32GB (Qwen3-14B INT4, Qwen3-30B-A3B INT4, GPT-OSS-20B MXFP4, GLM-Z1-9B FP16) and RTX 4090 24GB+64GB (Llama 3.1-70B INT4, Qwen3-Next-80B-A3B INT4, Qwen3.5-122B-A10B INT4, GPT-OSS-120B MXFP4). No public code linked in the paper.
- Paper
Breaking Entropy Bounds: Accelerating RL Training via MTP with Rejection Sampling
Bebop shows MTP accept length falls linearly with policy entropy under target-only sampling or CE/KL-trained drafts. Switching verification to rejection sampling (accept = 1 − TV(p,q)) and training drafts with an end-to-end TV loss that directly maximizes multi-step overlap cuts the entropy–accept slope ~95% and adds ~3–10 pp accept vs CE (up to 95% on agent tasks). Pre-RL TV SFT plus rejection sampling is enough; online MTP updates during RL are unnecessary under RS because draft–target mismatch from weight updates is negligible. Up to 1.8× async RL e2e on Qwen3.5/3.6/3.7; agentic rollouts up to 2.4×. SGLang RS implementation https://github.com/sgl-project/sglang/pull/26312. No official training-code repo on the abs page.
- Paper
LongCat Sparse Attention: Taming the Lightning via Streaming-aware Hierarchical Cross-Layer Indexing
LongCat Sparse Attention (LSA) composes three indexer changes on DSA: Streaming-Aware Indexing (sink+sliding-window contiguous budget plus dynamic sparse tokens for coalesced HBM), Cross-Layer Indexing (N=2 owner/reuse with distillation; halves indexer passes), and training-free Hierarchical Indexing (coarse page recall then token refine; net win at >=256K). Matches full MLA on general/long-context benches at 69B-A3B and 560B-A27B, enables 1M-token native training, and underpins LongCat-2.0 (1.6T-A48B). Releases LongCat-Flash-Lite-Sparse (69B-A3B).
- Paper
Qwen-Audio-3.0-TTS: Freely Controllable and Highly Robust Speech Synthesis with Multi-Stage Training Paradigm
Technical report on Qwen-Audio-3.0-TTS, a production-oriented text-to-speech system that the authors position as jointly advancing content consistency, speaker similarity, prosodic naturalness, audio quality, controllability, multilingual coverage, efficiency and robustness. It pairs a 12.5 Hz low-frame-rate speech tokenizer (for reduced inference latency) with a five-stage progressive training paradigm that coordinates optimisation of the language model and the flow-matching model. Control is exposed at inference through free-style natural-language instructions plus fine-grained inline tags, and the system supports 16 languages and 20 Chinese dialect regions, one-pass long-form synthesis up to 3 minutes, and generation from noisy, reverberant or unclear reference speech. Evaluated on SEED-TTS-Eval, CV3-Eval, instruction-following, long-form and acoustic-robustness suites, where the paper reports state-of-the-art or strongest aggregate results on many dimensions and first place on the independent Artificial Analysis Text-to-Speech Leaderboard.
- Paper
s1: Simple test-time scaling
Test-time scaling is a promising new approach to language modeling that uses extra test-time compute to improve performance. Recently, OpenAI's o1 model showed this capability but did not publicly share its methodology, leading to many replication efforts. We seek the simplest approach to achieve test-time scaling and strong reasoning performance.
- Post
Training-Free Looped Transformers (WisPaper blog summary)
WisPaper user-blog walkthrough of Training-Free Looped Transformers (arXiv:2605.23872, already papers_local id 529): wrap contiguous mid layers of a frozen LLM in a numerical-integration loop (block- vs layer-mode); naive reapplication fails, ODE/Euler sub-stepping keeps states in-distribution; reported e.g. +2.64 pp MMLU-Pro on Qwen3-4B-Instruct across seven model families; depth-fraction ~45–60%. Blog restates paper claims; does not add new experiments.