Explore the research collection
57 entries · showing 25–48 · Follow this search
- Paper
Optimizing Large Language Model Training Using FP4 Quantization
First from-scratch FP4 LLM pretraining: Differentiable Gradient Estimator (DGE, k=5) corrects E2M1 weight grads vs STE, and Outlier Clamping and Compensation (OCC, α=0.99 plus a ~2% sparse residual) keeps activations from collapsing. Mixed-precision W4A4 GeMM simulated on H100 FP8 cores with token-wise activation and channel-wise weight scaling. LLaMA-2 1.3B/7B/13B on 100B DCLM tokens: train loss 2.55/2.17/1.97 vs BF16 2.49/2.07/1.88; zero-shot avg 53.13/54.42/54.95 vs 53.23/53.87/54.44. Direct W4A4 diverges. ICML 2025. Framework https://aka.ms/MS.AMP (Azure/MS-AMP).
- Paper
Seer: Online Context Learning for Fast Synchronous LLM Reinforcement Learning
Rollout is 63–87% of RL iteration time. Seer exploits intra-group (G=8–16) length/pattern similarity: divided chunk-level rollout with a global Mooncake KVCache, context-aware longest-first scheduling via a speculative probe request, and adaptive grouped speculative decoding with compressed suffix trees. On production GRPO workloads (Moonlight, Qwen2-VL-72B, Kimi-K2) up to 2.04× end-to-end rollout throughput vs veRL and 72–94% less long-tail latency, while keeping on-policy semantics. Context-aware scheduling alone cuts tail time ~89%; grouped SD adds up to 1.3× vs vanilla SD.
- Paper
Helios: Real Real-Time Long Video Generation Model
14B autoregressive diffusion with Unified History Injection (native T2V/I2V/V2V), Easy Anti-Drifting (relative RoPE, first-frame anchor, frame-aware corrupt), Deep Compression Flow (multi-term memory patchification + pyramid UniPC) and adversarial hierarchical distillation to 3 steps. 19.5 FPS on one H100; HeliosBench 240 prompts at 81/240/720/1440 frames. Distilled scores 6.00 short / 6.94 long, beating prior real-time 1.3B methods while matching same-size base quality. Code https://github.com/PKU-YuanGroup/Helios; project https://pku-yuangroup.github.io/Helios-Page/.
- Paper
Dynamic Mixture of Experts: An Auto-Tuning Approach for Efficient Transformer Models
DynMoE replaces fixed top-k with top-any gating (cosine similarity vs a trainable per-expert threshold) so tokens activate a variable number of experts, plus an adaptive add/remove process when tokens activate none or experts go unused. A diversity+simplicity auxiliary loss encourages sparse orthogonal expert representations. Competitive with tuned GMoE on DomainBed and MoE-LLaVA on VQA-style benches while activating fewer params (StableLM-1.6B: avg k=1.25 / 1.75B vs k=2 / 2.06B). Visualizations suggest bottom layers need MoE more than top layers and a shared easy-to-activate expert per layer. Code https://github.com/LINs-lab/DynMoE.
- Paper
MiMo-V2.6: Scaling Reinforcement Learning Towards Self-Improvement
Technical report for Xiaomi's MiMo-V2.6 series (Pro-RL flagship and Flash-RL), built to scale RL toward self-improvement by scaling RL compute, environment diversity, and grader compute together. The recipe: 'You Only RL Once' — one fully asynchronous GRPO run mixing coding, general agents, visual, and cybersecurity tasks and multiple harnesses in the same batch (1,568 prompts x 16 rollouts, ~25K trajectories and billions of tokens per step, 30 steps); groupwise agentic grading (GRS rubrics + GAR advantage redistribution) that ranks passing solutions instead of binary pass/fail; training on minimal open-source mini-harnesses whose gains transfer to unseen production harnesses; environment hardening against reward hacking; and MOPD2 multi-prefix multi-teacher on-policy distillation after RL. Pro is a 1.02T-total / 42B-active sparse MoE with 1M-token omnimodal context.
- Paper
Ceiling of a Task: When Can a Transformer Succeed Without Its Chain of Thought?
Asks whether chains of thought do real computational work or are decorative, by viewing a transformer as a shallow circuit: one forward pass has constant depth, so any constant number of passes is a shallow circuit, and the best accuracy such a circuit can reach on a task is the task's ceiling. Three results hold for every transformer on serial tasks (ceiling below one): Necessity — replacing the chain with content-independent filler or a restated question drops accuracy to the ceiling, and to chance on a maximally serial task; Depth — no shallow computation can write the chain of a model that exceeds the ceiling; Locality — the answer is one shallow pass from the finished chain, so all serial reasoning happens in the chain. Experiments confirm the predictions: on finite-group word problems, chain-trained small transformers solve every input length and fall to chance when the chain is erased, and on MATH-500/AIME erasing the chain costs open reasoning models 0.52 to 0.82 accuracy while a sentence shuffle is harmless and a token shuffle is as harmful as erasing.
- Paper
ID Balancing: Stable Training of Extremely Sparse MoE via PID-Based Load Control
Addresses expert load imbalance when scaling LLMs via Mixture-of-Experts with increasingly sparse routing. ID Balancing: an Integral-Derivative load-control method built on the observation that two existing auxiliary-loss-free methods are incomplete PID controllers -- DeepSeek's loss-free method is a fixed-step integral controller and Kimi K3's Quantile Balancing is a generalized proportional controller. ID Balancing scales its integral term with load error and activates its derivative term only when imbalance worsens, giving stronger corrections for large/worsening errors and smaller updates near balance. Results (Top-10/Top-5/Top-3 routing over 768 experts): in Top-3, worst-case backbone MaxVio reduced by over 50% and training-average backbone MinVio by over 12% vs the best baselines. Scaling 18.9B -> 69.9B total params (Top-10-of-768), worst-case backbone MaxVio stays nearly unchanged, ~89.6% lower than the auxiliary-loss baseline. Maintains competitive language-modeling and downstream performance; advantages grow as sparsity increases.
- Paper
Context Language Models
Introduces Context Language Models (CLMs): language models that natively manage their own context by treating the context as a file and allowing unrestricted updates to it, letting the model learn what is most important to maintain in context and naturally extending to multi-agent systems where multiple agent contexts coexist as files. Building CLMs zero-shot with existing models outperforms SOTA context-management strategies: 11.4% higher accuracy with 21.5% fewer FLOPs on BrowseComp-Plus, 5% higher scores with 59% fewer FLOPs on 12-hour EdgeBench, and 65% greater improvement with the same compute on a 24-hour multi-repository agent-swarm task. Shifting context management from external harness control to intrinsic model behavior enables both in-context and parametric learning of context-management strategies: steering CLMs with natural-language instructions evolved through a skill-optimization loop improves held-out accuracy by up to 35.9 points while reducing compute. An online RL method for CLMs improves Qwen3.5-9B on BrowseComp-Plus by 47.6% while using 12% fewer FLOPs. Co-designed Suffix Cache Reuse for CLM serving further cuts server-side compute by 35% relative to standard SGLang at matched performance.
- Paper
ChartGalaxy: A Dataset for Infographic Chart Understanding and Generation
Introduces ChartGalaxy, a dataset of 1,880,687 infographic charts (1.82M synthetic + 61,978 real) across 75 chart types, 440 variations, and 68 layout templates, each paired with its tabular source data, for infographic chart understanding and generation research.
- Paper
OpenThoughts-Agent: Data Recipes for Agentic Models
Addresses the lack of public knowledge on data curation for agentic models via 100+ controlled ablations on a six-stage SFT curation pipeline plus agentic RL data studies. Fine-tuning Qwen3-32B on the resulting 100K-example OpenThoughts-Agent-v2 yields 44.8% average across seven agentic benchmarks (+3.9pp over the strongest open-data baseline), with strong data scaling properties.
- Paper
Diffusion Reward Models
Recasts reward modeling as conditional density estimation over p(r|x,y): a lightweight Diffusion Transformer conditioned on a frozen LLM encoder denoises Gaussian noise into a reward vector, making no parametric assumption on the output distribution. A single architecture handles multi-attribute regression and pairwise preference data; N samples at inference form an empirical reward distribution aggregated as scalar, variance, or quantiles.
- Paper
The Model Knows, the Decoder Finds: Future Value Guided Particle Power Sampling
Introduces Auxiliary Particle Power Sampling (APPS): training-free blockwise parallel search over partial solutions with proposal-corrected reweighting and future-value-guided resampling, redistributing finite compute over competing prefixes. Also studies a learned selection-head variant.
- Paper
Rethinking On-Policy Distillation of Large Language Models II: One Training Example
Argues on-policy distillation is data-overfed but algorithm-starved: state coverage grows quickly with few queries while teacher alignment remains slow. One query reaches 71.5% of full-data OPD state coverage; 16 diverse queries reach 98.9% and match full-data training.
- Paper
How Far Are We from Removing the Visual Encoder? Scaling Laws for Encoder-Free Multimodal Pretraining
Studies scaling laws for encoder-free multimodal pretraining (raw visual input into the language model, no separate vision encoder) and asks at what compute budget it catches up with encoder-based models.
- Paper
AutoGym: Blueprint-First Generation of Verifiable Agent Gyms
A framework that generates full agent environments — tasks, executable environments, and verifiers — from a minimal domain seed or from example trajectories, without hand-building each gym.
- Paper
FreeToken: Efficient Edge-Native MoE Serving with Bandwidth-Adaptive Execution
An edge-native mixture-of-experts serving system that treats a personal machine as a unified, elastic inference platform rather than a small GPU. FreeToken co-designs model layout and loading, expert residency, CPU-GPU execution, agentic state reuse, and runtime memory management around the realities of local AI: agentic workloads with shifting execution patterns and heterogeneous per-machine hardware. Instead of a fixed offloading strategy, it continuously maps computation and model state onto available resources.
- Paper
AI4AI-Bench: Benchmarking LLM Agents in Algorithmic Design for Recursive Self-Improvement
A benchmark isolating whether LLM agents can design training algorithms — the core capability recursive self-improvement turns on. Ten frozen research repositories span ten training-algorithm families; in each task an agent gets 4 hours on one B300 to rewrite the training algorithm, and its code is rerun from scratch for up to 12 hours and scored by a fixed evaluator hidden from the agent against the repo's original algorithm. Scores are normalized so 0 is an uninformative model, 0.1 is the shipped algorithm, and 1.0 is the task optimum.
- 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
An Empirical Study of Harness Design for Coding Agents
UMass Amherst / Zoom / Emory / UNC Charlotte (Fan & Zhang equal contrib.; Zoom internships; arXiv 2609.20804v1) fix a lightweight coding harness and vary planning, action space, and context management while holding the execution loop fixed. Across four models on SWE-Bench Verified and Terminal-Bench 2.1 they evaluate 176 matched settings (five CM strategies × 32k–128k windows plus planning-off and bash-only ablations). Context management gains grow as budgets tighten, mostly by preventing overflow; staging rule-based elision before LLM summarization is the strongest efficiency tradeoff, while recoverable elision adds unused machinery. Planning shifts from an accuracy scaffold for weaker models to a cost saver for stronger ones. Predefined tools help bash-weak models; bash-capable models often do fine (cheaper) with bash-only, especially on CLI tasks.
- Paper
Jina-OCR-v1: Efficient Document Parsing with Speculative Decoding and Dense Verifiable Rewards
Jina-OCR-v1 builds on DeepSeek-OCR’s compressed-vision encoder + 3B MoE decoder (~570M active/token), adds a FastMTP speculative head that recursively shares one draft block over K=3 prediction steps with greedy verification (lossless). Post-training: instruction alignment, hard-doc robustness FT, then GRPO with dense verifiable rewards (deterministic formula/table/structure checks with partial credit). Data: cleaned public corpora + targeted synthetic pages. Default dynamic-res: OmniDocBench v1.6 91.14, olmOCR-Bench 83.4; claimed highest page throughput in their comparison at 2.57 pages/s. On NVIDIA L4, FastMTP ~2× greedy AR decode. Weights: https://huggingface.co/jinaai/jina-ocr-v1.
- Paper
AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration
Large language models (LLMs) have transformed numerous AI applications. On-device LLM is becoming increasingly important: running LLMs locally on edge devices can reduce the cloud computing cost and protect users' privacy. However, the astronomical model size and the limited hardware resource pose significant deploymen…
- Paper
DAPO: An Open-Source LLM Reinforcement Learning System at Scale
arXiv 2503.14476 (v2): Decoupled Clip and Dynamic sAmpling Policy Optimization—Clip-Higher, dynamic sampling, token-level PG loss, overlong filtering/shaping. Reports 50 AIME24 with Qwen2.5-32B vs naive GRPO ~30; open-sources verl-based code + DAPO-Math-17k. Discord: RL better than GRPO / ByteDance DAPO.
- Paper
Search-o1: Agentic Search-Enhanced Large Reasoning Models
arXiv 2501.05366: Search-o1 integrates agentic RAG into LRM reasoning and uses Reason-in-Documents before injecting retrieved text. Discord notes RAG+reasoning ~5% over reasoning-only and large gains vs RAG-only (LinkedIn cites ~4.7% / ~29.6% multi-hop framings). Code github.com/RUC-NLPIR/Search-o1.
- Paper
Improve Mathematical Reasoning in Language Models by Automated Process Supervision
arXiv 2406.06592 (OmegaPRM): divide-and-conquer MCTS finds the first CoT error with binary search to build process supervision at scale (~1.5M annotations in paper). With weighted self-consistency, reports Gemini Pro MATH success 51%→69.4% (~36% relative) and gains on GSM8K; similar lifts on Gemma2 27B. Matches Discord note (binary-search CoT errors; 36% math improvement; no human supervision). Philipp Schmid LinkedIn in backlog links this paper.