Hunyuan-TurboS:通过 Mamba-Transformer 协同与自适应思维链推进大语言模型

Hunyuan-TurboS: Advancing Large Language Models through Mamba-Transformer Synergy and Adaptive Chain-of-Thought

孙兴武 Xingwu Sun · Tencent Hunyuan · 2025-05-21 · arXiv:2505.15431 ↗ · 被引 24

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

随着大语言模型(LLM)的快速发展,我们推出了 Hunyuan-TurboS,一种新颖的大型混合 Transformer-Mamba 混合专家(MoE)模型。它协同结合了 Mamba 在长序列处理上的高效性与 Transformer 在上下文理解上的卓越能力。Hunyuan-TurboS 具备自适应长-短思维链(CoT)机制,可针对简单查询动态切换快速响应模式,针对复杂问题切换深度“思考”模式,从而优化计算资源。在架构上,这个拥有 560B 总参数(56B 激活参数)的模型采用了 128 层(Mamba2、Attention、FFN)结构,并创新性地使用了 AMF/MF 块模式。更快的 Mamba2 保证了线性复杂度,分组查询注意力(GQA)最小化了 KV 缓存,而 FFN 则采用了 MoE 结构。该模型在 16T 高质量 token 上进行了预训练,支持 256K 上下文长度,是业界首个大规模部署的 Mamba 模型。我们全面的后训练策略通过监督微调(300 万条指令)、新颖的自适应长-短 CoT 融合方法、用于迭代改进的多轮审议学习,以及针对 STEM 和通用指令遵循的两阶段大规模强化学习过程,增强了模型能力。评估结果显示其性能强劲:在 LMSYS Chatbot Arena 上总体排名第七,得分 1356,优于 Gemini-2.0-Flash-001(1352)和 o4-mini-2025-04-16(1345)等领先模型。TurboS 在 23 个自动化基准测试中平均得分 77.9%。Hunyuan-TurboS 在高效能与低推理成本之间取得了平衡,以低于许多推理模型的成本提供了强大的能力,为高效大规模预训练模型树立了新范式。

As Large Language Models (LLMs) rapidly advance, we introduce Hunyuan-TurboS, a novel large hybrid Transformer-Mamba Mixture of Experts (MoE) model. It synergistically combines Mamba's long-sequence processing efficiency with Transformer's superior contextual understanding. Hunyuan-TurboS features an adaptive long-short chain-of-thought (CoT) mechanism, dynamically switching between rapid responses for simple queries and deep "thinking" modes for complex problems, optimizing computational resources. Architecturally, this 56B activated (560B total) parameter model employs 128 layers (Mamba2, Attention, FFN) with an innovative AMF/MF block pattern. Faster Mamba2 ensures linear complexity, Grouped-Query Attention minimizes KV cache, and FFNs use an MoE structure. Pre-trained on 16T high-quality tokens, it supports a 256K context length and is the first industry-deployed large-scale Mamba model. Our comprehensive post-training strategy enhances capabilities via Supervised Fine-Tuning (3M instructions), a novel Adaptive Long-short CoT Fusion method, Multi-round Deliberation Learning for iterative improvement, and a two-stage Large-scale Reinforcement Learning process targeting STEM and general instruction-following. Evaluations show strong performance: overall top 7 rank on LMSYS Chatbot Arena with a score of 1356, outperforming leading models like Gemini-2.0-Flash-001 (1352) and o4-mini-2025-04-16 (1345). TurboS also achieves an average of 77.9% across 23 automated benchmarks. Hunyuan-TurboS balances high performance and efficiency, offering substantial capabilities at lower inference costs than many reasoning models, establishing a new paradigm for efficient large-scale pre-trained models.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 19)

阅读逐段中英对照全文 →