Explore the research collection
9 entries · Follow this search
- Paper
Generalized Tensor Parallelism: Powering Trillion-Parameter LLM Training at 10+ EFLOP/s
Fan et al. (NVIDIA), 'Generalized Tensor Parallelism: Powering Trillion-Parameter LLM Training at 10+ EFLOP/s' (arXiv 2611.32057, Nov 24 2026, CC BY 4.0; implementation open source in Megatron-LM / Megatron-Core + TransformerEngine, marked experimental, requires TE >= 2.19). For linear layers, the five standard parallelisms - data, tensor, sequence, context parallelism and FSDP - are special cases of one framework, generalized tensor parallelism (GTP): each layer's parameters are partitioned along a hidden dimension and activations along the token dimension, and either can be re-materialized with an all-gather before use. The operative move: in GTP a parameter all-gather is an optional preprocessing step on one input of a single GEMM, whereas FSDP implementations treat it as a step before an entire Transformer block, inflating memory and delaying GEMMs - so all-gathers can be scheduled per GEMM, issued early enough to hide the communication but late enough to limit memory. In the implementation this factors as GTP = TP x GTP_remat, where GTP_remat is ZeRO-3-style sharding of weight + gradient + optimizer state on top of TP, with per-weight materialization, a prefetch chain, and low-precision gathers (FP8 / MXFP8 / NVFP4) composing with the sharding; supports dense and MoE models with AdamW and Muon. Results (first-party, internal model): an internal 2T-parameter MoE reaches 13.0 model EFLOP/s at 8K sequence length on 12,288 GB300 GPUs with 98% weak-scaling efficiency (4,096 -> 12,288 GPUs), and the full model runs with 1M-token sequences on 512 GPUs; on 256-1,024 GPUs, 1.05-1.55x the throughput of Megatron-FSDP across three MoE models and 1.27-1.31x a tuned 3D-parallel recipe with pipeline parallelism on a DeepSeek-V4-Pro proxy. Flags, as entered: NVIDIA first-party throughout; the headline 2T model is internal and unreleased; all evidence is at 256+ GPU scale, so nothing here transfers directly to the user's 250M single-node runs - the catalog value is the unification (five parallelisms as one framework) and the per-GEMM communication-scheduling principle, plus native Muon support in Megatron-Core's distributed path.
- Paper
Composable Soft-Prompt Distillation of RL Experts: Toward Continual Post-Training
Zhang et al. (arXiv 2611.27376, Nov 20 2026, CC BY 4.0) solve the continual post-training consolidation problem without touching the backbone. RL post-training produces domain experts that must be consolidated into one model, and as new experts keep arriving the consolidation becomes continual - but weight merging and multi-teacher on-policy distillation (MOPD) must re-consolidate the whole model whenever an expert is added, and can erode capabilities outside the target domains. Composable Soft-Prompt Distillation (CSPD) keeps the pre-RL model frozen, distills each RL expert independently into a soft prompt, and composes experts by concatenating their prompts with no joint training. A single soft prompt recovers at least 90% of the teacher's gain in 22 of 23 math, code, and agent settings. Independently trained prompts compose well: in a multi-expert setting the average rises with every expert added, and the full composition matches MOPD (67.83 vs 67.79) while generalizing best across six held-out benchmarks. Input-space adaptation adds little serving overhead: throughput within 1.5% of the unadapted backbone and 2.40x that of rank-4 LoRA. Flags, as entered: abstract-level at cataloging, authors' own numbers; code/release status not confirmed from the arXiv record. Cross-references: the consolidation alternative to MOPD (ID 1534) and to the Base Labs OPSD critique (staged slot 2) - CSPD sidesteps both by never merging weights; retention counterpart to ID 1762 (Unified Training) and staged Deletion Tuning (slot 13), all three answering 'how do I keep adding capabilities without losing old ones' from different directions (data mixture, weight deletion, frozen backbone + soft prompts). For the user's stack, the transferable idea is continual post-training on a fixed backbone: each new RL expert becomes a composable soft prompt instead of another consolidation run, directly relevant to his pretraining/post-training split and to Model Axes' need to keep adding evals without re-consolidating.
- Paper
Can Benign Skills Induce Misaligned Behavior in LLM Agents?
Studies 'skill-induced behavioral misalignment', where reusable benign agent skills make LLM agents more capable of executing harmful procedures, and measures the risk across agents.
- Paper
JetSpec++: Foresight Parallel Drafting with Self Refinements
Algorithm-system co-design for speculative decoding: acceptance rate and drafting cost co-optimized by hiding the draft model's cost almost entirely. Three components: (1) Intra-block self refinement — the causal parallel draft model (built on the original JetSpec architecture) is trained to iteratively correct its own parallel predictions within a token block via Jacobi-style passes; each pass moves the draft distribution toward a more autoregressive factorization with better target alignment; between passes, a context refresh re-predicts the target hidden states and an anchor replacement swaps the first draft token that disagrees with the decoder. (2) Inter-block foresight drafting — drafting the next block begins before the current block is verified, by anticipating possible verification outcomes and predicting the corresponding target hidden states and anchor tokens. (3) Pipelined drafting and verification — the two stages overlap (draft model on a second GPU) so drafting's marginal wall-clock cost approaches zero; the freed draft-side time funds the Jacobi passes and context refreshes. Lossless: standard speculative-sampling rejection rule preserves the target model's output distribution exactly (stated in the paper, §2). Results (all first-party, batch-size-1 serving on NVIDIA GB200 with CUDA graphs): targets Qwen3-8B and Qwen3.8-27B (thinking disabled); baselines DFlash, DSpark, Domino, JetSpec, SSD (Qwen3-0.6B drafter) — all drafters trained on 800k target-regenerated sequences, block size 16, verification budgets 16/32. Seven benchmarks: GSM8K, MATH-500, AIME25, HumanEval, MBPP, LiveCodeBench, MT-Bench. Up to 7.45× wall-clock speedup over autoregressive decoding and 1.54× over DSpark (1.54× on GSM8K, 1.51× on MATH-500); up to 1,361 tokens/s for a single request; average acceptance length 8.94 across the seven benchmarks (vs 6.89 for DSpark at temp 0) — longest of all methods on every benchmark at temperatures 0 and 1; cuts per-round overhead beyond verification by up to 84% vs DSpark. Caveats (authors' framing preserved): the 7.45× is the max (budget-16, single-request GB200 serving); the headline comparisons are at verification budget 16; all figures vendor/first-party, no independent repro; draft models are target-specific (trained per target on its own outputs).
- Paper
A Unified View of Attention and Residual Sinks: Outlier-Driven Rescaling is Essential for Transformer Training
Unifies the two emergent outlier phenomena in LLMs — attention sinks (a few tokens receiving large attention logits) and residual sinks (fixed dimensions with persistently large activations) — under 'outlier-driven rescaling': the outliers work jointly with normalization (softmax attention, RMSNorm) to rescale non-outlier components, and this mechanism is validated across architectures and training token counts. Main conclusions: (1) outliers function jointly with normalization — removing normalization eliminates the outliers but degrades training stability and performance; clipping outliers while keeping normalization also degrades, so outlier-driven rescaling contributes to training stability; (2) outliers act as rescale factors, not contributors — their post-norm contributions are far smaller than non-outliers'; (3) outliers can be absorbed into learnable parameters or replaced by explicit gated rescaling (GatedNorm), improving training performance by an average of 2 points and drastically improving quantization robustness (only 1.2 points degradation under W4A4). Since outliers' post-norm contribution is tiny, relying on them is what makes LLM quantization a nightmare (huge dynamic ranges).
- 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
AD-E2E-JEPA: A Joint-Embedding Predictive Architecture For End-to-End Autonomous Driving
Asks whether a world model can drive without training a driving policy. Systematically evaluates existing action-conditioned JEPA world models (LeWM, DINO-WM, JEPA-WM) for end-to-end autonomous driving in a goal-conditioned zero-shot planning setting that uses ground-truth future observations as goals, isolating world-model quality from policy learning. Finds existing JEPA world models are either accurate for driving but computationally expensive, or efficient but insufficient for planning. Proposes AD-E2E-JEPA with a SIGReg-regularized learnable projector on projected patch embeddings, cutting planning patches 16x and embedding dimension 4x for a 100x inference speedup at retained planning performance (0.8 s for an 8-frame rollout over 256 candidate trajectories). Without any driving policy, the world model alone reaches goals 20 m away within 4.0/2.8 m displacement using 256/8,192 candidate trajectories. On NAVSIMv2: 67.3/72.9 EPDMS with multiplicative safety metrics, 84.1/86.5 without them. The self-supervised pretrained projector also lifts downstream imitation learning from 80.2 to 85.4 EPDMS.
- Paper
DeepSeek-OCR: Contexts Optical Compression
We present DeepSeek-OCR as an initial investigation into the feasibility of compressing long contexts via optical 2D mapping. DeepSeek-OCR consists of two components: DeepEncoder and DeepSeek3B-MoE-A570M as the decoder. Specifically, DeepEncoder serves as the core engine, designed to maintain low activations under high…
- Paper
Trajectory-Refined Distillation
arXiv 2606.08432. Identifies prefix failure in on-policy (self-)distillation: wrong student prefixes make per-token teacher KL bimodal/fragmented. Proposes TRD: sample on-policy y_o, then teacher-refine to y_r (OPSD conditions on reference), distill forward KL on y_r. Gains on AIME/AMOBench/code vs Forward/Reverse KL ± clip/top-K with Qwen3-1.7B/4B/8B; code https://github.com/louieworth/trd.