Congliang Chen retweeted
๐ Excited to share our work at Bytedance Seed!
Knapsack RL: Unlocking Exploration of LLMs via Budget Allocation ๐
Exploration in LLM training is crucial but expensive.
Uniform rollout allocation is wasteful:
โ
Easy tasks โ always solved โ 0 gradient
โ Hard tasks โ always fail โ 0 gradient
๐ก Our idea: treat exploration as a knapsack problem โ allocate rollouts where they matter most.
โจ Results:
๐ผ +20โ40% more non-zero gradients
๐งฎ Up to 93 rollouts for hard tasks (w/o extra compute)
๐ +2โ4 avg points, +9 peak gains on math benchmarks
๐ฐ ~2ร cheaper than uniform allocation
๐ Paper: huggingface.co/papers/2509.2โฆ
Congliang Chen retweeted
Huge congrats to the Adam algorithm for winning the ICLR2025 Test of Time Award! It was an incredible honor to see the authors of Adam mentioned two of our papers about Adam in their talk: "Adam Can Converge Without any Modification on Update Rules" from NeurIPS 2022 and "Adam-mini" from ICLR 2025.
Thanks for the acknowledgment! It is really honored to stand on the shoulders of giants and make some small contributions to the field! #ICLR2025 #ICLR #testoftimeaward
Congliang Chen retweeted
๐ I'll be attending #ICLR2025 and the #Alignment Workshop in Singapore next week!
If you're interested in LLMs, RL theory & algorithms, reasoning, optimization, and multimodal LLMsโlet's connect! ๐
I'll be presenting our latest research:
๐ Preserving Diversity in Supervised Fine-tuning of Large Language Models
๐ Hall 3 + Hall 2B #241
๐ Fri, Apr 25, 3:00โ5:30 p.m.
๐ Understanding and Mitigating Hallucination in Large Vision-Language Models via Modular Attribution and Intervention
๐ Hall 3 + Hall 2B #231
๐ Thu, Apr 24, 10:00 a.m.โ12:30 p.m.
๐ Adam-mini: Use Fewer Learning Rates to Gain More
๐ Hall 3 + Hall 2B #280
๐ Fri, Apr 25, 10:00 a.m.โ12:30 p.m.
Looking forward to insightful discussions and new collaborationsโfeel free to DM to meet up! โจ
#ICLR2025 #Singapore #LLM
Congliang Chen retweeted
๐ Can better cold start strategies improve RL training for LLMs? ๐ค
Iโve written a blog that delves into the challenges of fine-tuning LLMs during the cold-start phase and how the strategies applied there can significantly impact RL performance in complex reasoning tasks that requires test-time scaling strategies.
๐ tangible-polo-203.notion.sitโฆ
๐ป Check out the code here: github.com/liziniu/cold_starโฆ
๐ง Key insights:
1. Diversity's Impact on RL Training: Sampling diverse outputs is essential for LLMs to effectively explore optimal responses during online RL training.
2. Understanding Exploration in LLMs: Unlike classical RL, exploration in LLMs relies on sampling from the knowledge encoded during pre-training. This makes the diversity reduction issue in the cold start phase even more critical for long-term performance.
3. New Approach for Preserving Diversity: We exaime the effectiveness of GEM, a new game-theoretic approach that preserves diversity compared with the commonly used CE methods in SFT. A key innovation is the introduction of a meta-controller to regulate the learning process within the game framework.
๐ Findings: By maintaining diverse behaviors in the cold-start stage, RL models show improvements in its training.
#LLM #Diversity #RL #SFT #Reasoning #Test-time scaling
Congliang Chen retweeted
๐ Excited to share our paper "Why Transformers Need Adam: A Hessian Perspective", which is accepted at #NeurIPS2024!
We delve into why SGD lags behind Adam, uncovering the "block heterogeneity" in Transformers' Hessian spectra that Adam navigates more adeptly. ๐ง ๐ก
Our findings show that Adam's coordinate-wise rates are crucial for handling this heterogeneity, a game-changer for optimizing Transformers!
Paper Link: arxiv.org/abs/2402.16788
Congliang Chen retweeted
Update on Adam-mini: Adam-mini is now compatible with @PyTorch's latest distributed training codebase "Torchtitan" github.com/pytorch/torchtitaโฆ. Check out the loss curve on Llama3-8B pre-training below! The curve shows Adam-mini is a no-brainer switch:
- Same hyperparameters as AdamW ๐
- Comparable or slightly improved loss curve ๐
- Nearly 50% less memory usage than AdamW! ๐
And moreโAdam-mini supports a range of frameworks for multi-GPU training:
2. DDP distributed framework
3. FSDP distributed framework
4. DeepSpeed
5. Huggingface Trainer ๐ค
Try switching to Adam-mini using our code: github.com/zyushun/Adam-mini
Often, only need one line of code change on optimizer!
More is coming! If your codebase isn't supported yet, we're here to help. Drop us a line!
๐ #PyTorch #AI #LLM
Congliang Chen retweeted
Thrilled to introduce Adam-mini, an optimizer that achieves on-par or better performance than AdamW with 45% to 50% less memory footprint. Adam-mini can also achieve 49.5% higher throughput than AdamW on Llama2-7B pre-training.
The design of Adam-mini is inspired by certain Hessian structures we observed on Transformers.
Feel free to try it out! Try switching to Adam-mini with the same hyperparams of AdamW, it would work with only half memory. Hope Adam-mini can help save time, cost, and energy in your tasks!
Paper: "Adam-mini: Use Fewer Learning Rates To Gain More" arxiv.org/abs/2406.16793
Code: github.com/zyushun/Adam-mini
















