USENIX ATC2024顶会
PUZZLE: Efficiently Aligning Large Language Models through Light-Weight Context Switch
Kinman Lei, Yuyang Jin, Mingshu Zhai, Kezhao Huang, Haoxing Ye, Jidong Zhai
摘要
Aligning Large Language Models (LLMs) is currently the primary method to ensure AI systems operate in an ethically responsible and socially beneficial manner. Its paradigm differs significantly from standard pre-training or fine-tuning processes, involving multiple models and workloads (context), and necessitates frequently switching execution, introducing significant overhead, such as parameter updates and data transfer, which poses a critical challenge: efficiently switching between different models and workloads.
To address these challenges, we introduce PUZZLE, an efficient system for LLM alignment. We explore model orchestration as well as light-weight and smooth workload switching in aligning LLMs by considering the similarity between different workloads. Specifically, PUZZLE adopts a two-dimensional approach for efficient switching, focusing on both intra-and inter-stage switching. Within each stage, switching costs are minimized by exploring model affinities and overlapping computation via time-sharing. Furthermore, a similarity-oriented strategy is employed to find the optimal inter-stage switch plan with the minimum communication cost. We evaluate PUZZLE on various clusters with up to 32 GPUs. Results show that PUZZLE achieves up to 2.12× speedup compared with the state-of-the-art RLHF training system DeepSpeed-Chat.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedback 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedback 引用了 Training language models to follow instructions with human feedback
- Laminar: A Scalable Asynchronous RL Post-Training Framework 引用了 AREAL: A Large-Scale Asynchronous Reinforcement Learning System for Language Reasoning
- Laminar: A Scalable Asynchronous RL Post-Training Framework 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
- Laminar: A Scalable Asynchronous RL Post-Training Framework 引用了 Training language models to follow instructions with human feedback
- Laminar: A Scalable Asynchronous RL Post-Training Framework 引用了 Optimizing RLHF Training for Large Language Models with Stage Fusion
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model 引用了 Training language models to follow instructions with human feedback
- AREAL: A Large-Scale Asynchronous Reinforcement Learning System for Language Reasoning 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
- AREAL: A Large-Scale Asynchronous Reinforcement Learning System for Language Reasoning 引用了 Training language models to follow instructions with human feedback
- Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- DistRS: Disaggregated Reward Service for RLVR with Batch-Level Constraint 引用了 AREAL: A Large-Scale Asynchronous Reinforcement Learning System for Language Reasoning
- DistRS: Disaggregated Reward Service for RLVR with Batch-Level Constraint 引用了 Training language models to follow instructions with human feedback
- DistRS: Disaggregated Reward Service for RLVR with Batch-Level Constraint 引用了 Optimizing RLHF Training for Large Language Models with Stage Fusion
- Optimizing RLHF Training for Large Language Models with Stage Fusion 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Optimizing RLHF Training for Large Language Models with Stage Fusion 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
- Optimizing RLHF Training for Large Language Models with Stage Fusion 引用了 Training language models to follow instructions with human feedback
- RollPacker: Taming Long-Tail Rollouts for RL Post-Training with Tail Batching 引用了 AREAL: A Large-Scale Asynchronous Reinforcement Learning System for Language Reasoning
- RollPacker: Taming Long-Tail Rollouts for RL Post-Training with Tail Batching 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
- RollPacker: Taming Long-Tail Rollouts for RL Post-Training with Tail Batching 引用了 Optimizing RLHF Training for Large Language Models with Stage Fusion
引用它的顶会 Paper5
- AREAL: A Large-Scale Asynchronous Reinforcement Learning System for Language ReasoningWei Fu, Jiaxuan Gao, Xujie Shen, Chen Zhu 等NeurIPS 2025 · 273 次引用
- Optimizing RLHF Training for Large Language Models with Stage FusionYinmin Zhong, Zili Zhang, Bingyang Wu, Shengyu Liu 等NSDI 2025 · 64 次引用
- RollPacker: Taming Long-Tail Rollouts for RL Post-Training with Tail BatchingWei Gao, Yuheng Zhao, Dakai An, Tianyuan Wu 等NSDI 2026 · 10 次引用
- Laminar: A Scalable Asynchronous RL Post-Training FrameworkGuangming Sheng, Yuxuan Tong, Borui Wan, Wang Zhang 等EuroSys 2026 · 2 次引用
- DistRS: Disaggregated Reward Service for RLVR with Batch-Level ConstraintRuidong Zhu, Mingcong Han, Yinmin Zhong, Wencong Xiao 等NSDI 2026 · 1 次引用
它引用的 Paper19
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning 等NeurIPS 2023 · 10,924 次引用
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
- Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng 等SOSP 2023 · 1,016 次引用
- AlpacaFarm: A Simulation Framework for Methods that Learn from Human FeedbackYann Dubois, Chen Xuechen Li, Rohan Taori, Tianyi Zhang 等NeurIPS 2023 · 948 次引用
相关 Paper
- Puzzle: Distillation-Based NAS for Inference-Optimized LLMsAkhiad Bercovich, Tomer Ronen, Talor Abramovich, Nir Ailon 等ICML 2025
- vTrain: A Simulation Framework for Evaluating Cost-Effective and Compute-Optimal Large Language Model TrainingJehyeon Bang, Yujeong Choi, Myeongwoo Kim, Yongdeok Kim 等MICRO 2024 · 16 次引用
- Efficient Pre-Training of LLMs via Topology-Aware Communication Alignment on More Than 9600 GPUsGuoliang He, Youhe Jiang, Wencong Xiao, Kaihua Jiang 等NeurIPS 2025 · 10 次引用
- Accelerating Design Space Exploration for LLM Training Systems with Multi-experiment Parallel SimulationFei Gui, Kaihui Gao, Li Chen, Dan Li 等NSDI 2025 · 27 次引用
- Lemix: Unified Scheduling for Llm Training and Inference on Multi-Gpu SystemsYufei Li, Zexin Li, Yinglun Zhu, Cong LiuRTSS 2025 · 4 次引用
