Hongwu Peng (@Hongwu_Peng) profile picture

Foundation model pretraining @Adobe Research Ph.D. @ UConn CSE. https://nitter.cf/t.co/FPAiorbsK3

Joined September 2023
Photo by Hongwu Peng (@Hongwu_Peng)
📷 "Scale the MoE, Reuse the Sweep" — excited to share our new research paper "Complete-muE" from Adobe Research. Complete-muE is a compositional hyperparameter transfer rule that turns a single small-dense FFN sweep into the right learning-rate, weight-decay, and initialization for any large MoE architecture at any training scale — any activated count, total experts, granularity, shared experts, group-balanced routing, width, depth, batch size, and training duration (iterations). At ~6.3B-total / 0.62B-active scale, this one dense-tuned setting delivers ~2.5× convergence speedup on 256P image diffusion, ~4.5× on 240P 5s video, and ~5.3-5.5× on LLM pretraining — all vs. a dense baseline at identical hyperparameters. Works across LLM and diffusion for image and video generation, with zero per-architecture re-tuning. 📷 Paper: arxiv.org/abs/2605.23893 📷 Blog: harveyp123.github.io/paper_b… #MoE #LLM #Diffusion #AdobeResearch
1
8
1
34
3,681
Hongwu Peng retweeted
Over the past week, I’ve been overwhelmed by the love and support of friends, industry colleagues, and people I've never met. Thank you to everyone who has shown kindness to my family and me. It means the world to me. I came to the United States 53 years ago, and becoming an American citizen is one of the greatest gifts and proudest moments of my life. NVIDIA has been my life’s work. Building it into the company it is today alongside my colleagues has been a privilege and an honor. Nowhere but in America could a company like NVIDIA be possible. I love our country, and I love NVIDIA. I did not live up to the standards expected of everyone at NVIDIA, and I have made serious mistakes in my personal life. I created problems for the Board that I deeply regret. I own my mistakes completely, and I am committed to cooperating with the Board’s independent investigation. Since my departure, I’ve seen an outpouring of calls from NVIDIA’s employees, investors, business partners, and customers for me to return as CEO. Many continue to reach out to me directly as the company navigates complex technology, market, competitive, and geopolitical dynamics. NVIDIA is a once-in-a-generation company. If the Board of Directors decides that my return is in the best interest of our shareholders, our employees, the company, and America, I would be honored to answer these calls and return as CEO. Thank you again to everyone who has shared their good wishes. I am profoundly humbled by your support. To my family: I love you, and I will spend the rest of my life being worthy of yours. Jensen
64,737
122,542
24,792
1,185,479
61,469,992
Nearest neighbor graph building & traversal algorithm struck back 😃
Today we are happy to share one of our first open research releases: Latent Sparse Attention (LSA), a step towards subquadratic attention that matches accuracy of full attention at ultra-long context. Sparse attention attends to only a few tokens per query, but it has to find the right ones. At 10M tokens, that search takes 98% of the attention layer's time. LSA makes sparse attention up to 22.7× faster and full attention 72.4x faster. With @kubicek_ales @caciolai @PengLiangzu @SukritSumant @Ben_Hoov @FraserGreenlee @RMBattleday @radim_urban @thoefler @jcrwhittington
1
60
Scam post, all price are increasing, compute, dram, HBM
last month i was begging gpu providers for b300s at $7.9/hr now they're begging me to take them at $4.6/hr, no commitment something big is happening soon. ai gave us all its dessert and now it's time for the veggies
57
Marked the paper, weight reuse+LoRA sounds like a good design
Looping a transformer means running the same weights over the input more than once. The model gets deeper without getting bigger, and a new study works out when that actually pays. The sweep covers dense decoder-only models trained from scratch, up to 1B parameters, 155B tokens and 32 loops. Which part you loop turns out to matter. Looping the whole transformer gives the best quality for a fixed parameter count. Looping only a middle block of layers gives a better return when training compute is the binding constraint. More loops is not automatically better either. In the 70M and 100M runs that go out to 32 loops, the gain from each extra loop shrinks, and it can reverse or go unstable. Forcing every loop to use identical weights is part of that limit. The authors add small loop-specific low-rank adapters so each pass can learn a slightly different transformation. The gain is marginal at two loops and clear at four and eight. At 300M these adapters add 1.1 to 4.3 percent to the non-embedding parameter count, against 51.4 percent for simply doubling the depth. Looping also slows generation down, because each loop has to wait for the one before it. Parallel Loop Transformers pass information between loops across neighbouring token positions so the stages can overlap. Under the published version, the paper reports that quality can degrade as more loops are added. Keeping the current token's own embedding, and normalising it separately from the carried state, brings the gains back. My read: the loop count and the data multiplier in this paper are the same number. Two-loop models trained at 80 tokens per parameter reach a given bits-per-byte score using fewer training FLOPs than plain models trained at 160. Two passes over one set of weights bought more than twice the data did. arxiv.org/abs/2610.40325
7
839
arxiv.org/html/2610.38277v1 Just came across another paper which has similar conclusion as the softmax fix paper. For a LM training, when batch size is not super high, and since LM vocabulary size is large, it's still better to either apply z loss or the softmax fix
4
11
1
113
5,190
If batch size is not super high and vocab size is large, some LM output embedding weight entry will still have around 0 gradient, so better to still apply the softmax fix, or apply a z loss to limit the output logits growth
1
212
My thought: it's useful when loss approaching 0 across all samples within a batch (grokking in the paper). For general large batch training (pretrain, distillation), even when some samples' loss approaches 0, the gradient is dominated by the non-zero samples, so no need to fix
Hi all, I have a new result I'm excited to share. It turns out that *all existing implementations* of softmax and cross-entropy (that's JAX, PyTorch, textbooks, etc) have a subtle bug --- two bugs, actually. A simple rewrite fixes both, and eliminates "slingshots" when grokking:
2
4
556
Overall we can apply the fix when it's cheap to fix (loss design). but in other cases when the fix is expensive (attention), probably better not apply the fix.
25
For attention, there are spiky attention scores for some entry and may have high "relative error". But overall within a large batch, the gradient is dominated by non-spiky entried, so most cases no need to apply the fix.
1
60
flash attention computes dO*O during backward, if we want to apply the fix, a extra dP*P is required, so more FLOPs also. I doubt if flash attention needs it or not.
43
Hongwu Peng retweeted
Want to learn about scaling laws? Start with these papers and resources: 2001.08361 — Scaling Laws for Neural Language Models 2203.15556 — Training Compute-Optimal Large Language Models 2205.10487 — Scaling Laws and Interpretability of Learning from Repeated Data 2305.16264 — Scaling Data-Constrained Language Models 2401.02954 — DeepSeek LLM: Scaling Open-Source Language Models with Longtermism 2404.10102 — Chinchilla Scaling: A Replication Attempt 2409.19913 — Scaling Optimal LR Across Token Horizons 2502.05172 — Joint MoE Scaling Laws: Mixture of Experts Can Be Memory Efficient 2503.04715 — Predictable Scale: Part I, Step Law — Optimal Hyperparameter Scaling Law in Large Language Model Pretraining 2507.17702 — Towards Greater Leverage: Scaling Laws for Efficient Mixture-of-Experts Language Models 2605.01640 — Prescriptive Scaling Laws for Data Constrained Training 2609.08690 — Hyperparameter Scaling Laws Across MoE Sparsity Scaling Laws, Carefully By Lilian Weng Stanford CS336: lecture_09 and lecture_11 解构Scaling Law:优化、架构、数据的三重奏 By 苏剑林 MAI-Thinking-1 Technical Report MAI-Base-2 Technical Report arXiv:2608.30320—On the Design of Qwen3.8-Next Architecture: Evaluation, Efficiency, and Training Stability
3
49
3
410
20,037
Hongwu Peng retweeted
Not sure why this paper is not highlighted here: arxiv.org/abs/2609.36322 Very good research on why DeepSeek 4's attention mechanism (CSA in particular) is deeply flawed, and why 4.1 dramatically reduced the compression to 2.
8
18
2
132
62,755
Hongwu Peng retweeted
Long-context LMs seem great at tasks like RULER, but what about tasks like "find every contradiction in the given corpus"? - Performance suffers, especially as the input corpus scales (even with in-domain fine-tuning, not just zero-shot) - It changes a lot of core modeling decisions, e.g., whether to use hybrid models, whether to use block sparse attention TL;DR: if you are a model developer, include our CTC-Bench in your evals! ✨
Could long-context architectures “find all contradictions” in a science literature? Not yet! 🧵 We study a new class of "high-complexity” tasks whose difficulty scales quadratically with corpus size (as opposed to linearly), reversing common LCLM decisions! (block-sparse attention, hybrid models…)
10
17
163
14,545
Hongwu Peng retweeted
MiMo-V3 is getting a new architecture. The core of it, HySparse2, is out today. Less prefill, a smaller KV cache, better long-context retrieval—and we got all three at once. Compared with MiMo-V2.6's Hybrid SWA architecture: • 5.02× lower prefill FLOPs at 1M tokens • 4.5× smaller KV cache at 1M tokens • Better MRCRv2 and RULER-v2 scores, plus lower AgentPPL and LongPPL Why build a new architecture? Agentic inference is a very different workload. Each round, a short action can return a long observation that needs to be prefilled, while the context keeps growing. That puts prefill cost, KV-cache size, and retrieval accuracy on the critical path at the same time. HySparse2 tackles all three with two levels of KV sharing: • KV Bridging: Following YOCO, full-attention layers in the cross-decoder build their K/V from self-decoder hidden states. • KV Reuse: Within each hybrid block, sparse layers reuse the preceding full-attention layer's KV cache and selection indices. Two more changes: token-level selection replaces block-level selection, and a forced window of recent tokens replaces the separate SWA branch, so local and global tokens share one KV cache. Since all cross-decoder KV caches now come from the self-decoder, prefill can stop once the self-decoder finishes. Paper: arxiv.org/pdf/2609.26368
228
384
114
4,362
427,333
Hongwu Peng retweeted
ConceptEdit: Scaling concepts, not just images A new image editing framework that covers 1,000+ fine-grained edit concepts and uses dense supervision with multi-concept pairs, achieving state-of-the-art results.
1
12
59
3,613
Hongwu Peng retweeted
🧵Scaling Laws for T2I Diffusion We do a scaling laws ladder for t2i diffusion models all the way from 60M to 2B, spanning 3 orders of magnitude in training flops
13
45
9
286
44,417
Hongwu Peng retweeted
Thoughts About Scaling Law Scaling, but not only of parameters. Every model release now ends with the same question: how many parameters? It isn't a question that can be answered on its own. Parameter count is only meaningful alongside three others — how much data you have, where you intend to spend your compute, and who will run the model, under what conditions. The field learned this the hard way. Kaplan et al. (2020) fit an exponent that told everyone to grow parameters faster than data — roughly 2.7:1 — and the industry complied: GPT-3, Gopher, MT-NLG. Hoffmann et al. (2022) redid the experiment across four hundred models and found the compute-optimal split is closer to 20 tokens per parameter, and that with sufficient compute the two should grow at the same rate rather than drifting apart. The error in the earlier fit compounded with every order of magnitude of compute, which is why the largest models of that generation were the most misallocated. The trillion-parameter round was, in retrospect, a detour the whole field took together and then reversed. Chinchilla wasn't the end either. It optimized training compute for models that would be trained once and evaluated. Today a model is called billions of times a day and inference dominates lifetime cost. Put inference into the objective and the optimum moves toward smaller models trained far longer — deliberate over-training, which is what Llama-2-7B and Gemma-2-9B were doing at roughly 290 and 889 tokens per parameter. Sparsity moved the target again. In a MoE model two quantities have to be kept apart: total parameters govern roughly how much the model can hold — knowledge, facts, the long tail — while activated parameters and effective depth govern roughly how far it can think, how many steps of a causal chain it can carry before it comes apart. A dense 20:1 ratio does not transfer. And the ratio isn't a single number at all: Roberts et al. (2025) find the optimal tokens-per-parameter is task-dependent, with memorization favoring more parameters and reasoning favoring more data. Follow-up work on MoE observes that at fixed TPP, pushing total parameters higher actually degrades reasoning, while activating more experts reliably helps it. This matters for what we are building toward. Finding a vulnerability is not a retrieval problem. It doesn't come from having memorized more CVEs; it comes from carrying a twenty-step chain of inference to the end without losing the thread. That capability does not live in total parameter count. Which brings us to this release. Total parameters appear to matter up to a threshold — enough to hold the world — after which additional capability comes from scaling elsewhere: effective depth per forward pass, and above all post-training. GLM-5.3 is our controlled experiment on that claim. Same base, same architecture, same total and activated parameters as GLM-5.2. One month of scaling long-horizon environments and RL. The gains are not marginal. Well, scaling has more than one dial. We turned the post-training one this time because it had the most slack left in it — not because the others are finished. Base model size, pretraining data, compute spent per forward pass: all of them are still on the table, and we will come back to each. What this experiment taught us is that the dials do not have to be turned together, and that the one worth turning next is rarely the one that was worth turning last. We are not done scaling. Next time, maybe mid-training, pre-training, and even more.
232
880
277
6,324
1,664,138
Hongwu Peng retweeted
We live in a multimodal world. We see, talk, act, and dream. Yet most LLMs still start with language pretraining. Why not train them natively with multimodal I/O from scratch? Because it’s SUPER HARD, adding modalities triggers training instability, design complexity, and often modal competition So what’s the path forward? Introducing: Towards Physics of Multimodal Pretraining (junlinhan.github.io/projects…) We unpack the underlying mechanics of multimodal pretraining across 4 aspects: Knowledge Flow, Modality Synergy, Early Unification, and Recipe.
28
171
19
1,025
111,835
Hongwu Peng retweeted
Deconstructing Scaling Laws: The Triad of Optimization, Architecture, and Data kexue.fm/archives/11833
7
68
7
514
78,513