arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2508.07970cs.LGcs.AI
收藏

WeChat-YATT:一个可扩展、简单、高效且生产就绪的训练库

WeChat-YATT: A Scalable, Simple, Efficient, and Production Ready Training Library

Tencent(腾讯)

Junyu Wu, Weiming Chang, Xiaotao Liu, Guanyou He, Tingfeng Xian, Haoqiang Hong, Boqi Chen, Hongtao Tian, Tao Yang, Yunsheng Shi, Feng Lin, Ting Yao, Jiatao Xu

AI总结:

WeChat-YATT是一个面向RLHF的微信训练框架,通过并行控制器编程模型和动态放置方案解决控制器可扩展性与资源调度效率问题,提升GPU利用率与吞吐量,并已部署于微信实际产品中。

摘要:

基于人类反馈的强化学习(RLHF)已成为训练大语言模型和多模态系统的重要范式。尽管现有RLHF训练框架带来了显著进展,但在扩展到复杂多模态工作流和适应动态工作负载方面仍面临重大挑战。特别是,当前系统在管理大模型时常遇到控制器可扩展性方面的限制,以及在编排复杂RLHF流水线时效率低下的问题,尤其是在需要动态采样和资源分配的场景中。本文介绍了WeChat-YATT(微信中又一个Transformer训练器),这是一个简单、可扩展且均衡的RLHF训练框架,专门为应对这些挑战而设计。WeChat-YATT采用并行控制器编程模型,能够灵活高效地编排复杂RLHF工作流,有效缓解与集中式控制器架构相关的瓶颈,并促进大规模数据场景下的可扩展性。此外,我们提出了一种动态放置方案,该方案自适应地划分计算资源并调度工作负载,从而显著减少硬件空闲时间,并在变化的训练条件下提高GPU利用率。我们在多种实验场景下评估了WeChat-YATT,证明其相比最先进的RLHF训练框架具有显著的吞吐量提升。此外,WeChat-YATT已成功部署用于训练支持微信产品功能、面向大规模用户群体的模型,凸显了其在实际应用中的有效性和鲁棒性。我们已在 https://www.github.com/tencent/WeChat-YATT 公开提供WeChat-YATT。

英文摘要:

Reinforcement Learning from Human Feedback (RLHF) has emerged as a prominent paradigm for training large language models and multimodal systems. Despite the notable advances enabled by existing RLHF training frameworks, significant challenges remain to scale to complex multimodal workflows and adapt to dynamic workloads. In particular, current systems often encounter limitations related to controller scalability when managing large models, as well as inefficiencies in orchestrating intricate RLHF pipelines, especially in scenarios that require dynamic sampling and resource allocation. In this paper, we introduce WeChat-YATT Yet Another Transformer Trainer in WeChat, a simple, scalable, and balanced RLHF training framework specifically designed to address these challenges. WeChat-YATT features a parallel controller programming model that enables flexible and efficient orchestration of complex RLHF workflows, effectively mitigating bottlenecks associated with centralized controller architectures and facilitating scalability in large-scale data scenarios. In addition, we propose a dynamic placement schema that adaptively partitions computational resources and schedules workloads, thereby significantly reducing hardware idle time and improving GPU utilization under variable training conditions. We evaluate WeChat-YATT across diverse experimental scenarios, demonstrating its substantial throughput improvements over state-of-the-art RLHF training frameworks. Furthermore, WeChat-YATT has been successfully deployed to train models that support WeChat product features for a large-scale user base, underscoring its effectiveness and robustness in real-world applications. We have made WeChat-YATT publicly available at https://www.github.com/tencent/WeChat-YATT.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑