LongCat-Flash 技术报告
LongCat-Flash Technical Report
AI总结:
LongCat-Flash 是一个 5600 亿参数混合专家模型,通过零计算专家和捷径连接混合专家设计提升效率,在 30 天内完成超 20 万亿 token 训练,并在智能体任务上表现突出。
摘要:
我们介绍了 LongCat-Flash,一个拥有 5600 亿参数的混合专家(Mixture-of-Experts,MoE)语言模型,旨在兼顾计算效率与先进的智能体能力。出于对可扩展效率的需求,LongCat-Flash 采用了两项新颖设计:(a)零计算专家(Zero-computation Experts),该设计能够根据上下文需求动态分配计算预算,每个 token 激活 18.6B-31.3B(平均 27B)参数,从而优化资源使用。(b)捷径连接混合专家(Shortcut-connected MoE),该设计扩大了计算与通信的重叠窗口,与同等规模的模型相比,在推理效率和吞吐量方面展现出显著提升。我们开发了一套面向大模型的综合扩展框架,该框架结合了超参数迁移、模型增长初始化、多管齐下的稳定性保障机制以及确定性计算,以实现稳定且可复现的训练。值得注意的是,借助可扩展架构设计与基础设施工作之间的协同效应,我们在 30 天内完成了超过 20 万亿 token 的模型训练,同时推理速度超过每秒 100 个 token(TPS),每百万输出 token 的成本为 0.70 美元。为了将 LongCat-Flash 培养为具备智能体智能的模型,我们在优化后的数据混合上进行了大规模预训练,随后针对推理、代码和指令进行了有针对性的中期训练与后训练,并通过合成数据和工具使用任务进一步增强了模型能力。综合评估表明,作为一个非思考型基础模型,LongCat-Flash 在其他领先模型中展现出极具竞争力的性能,在智能体任务上具有突出优势。LongCat-Flash 的模型检查点已开源,以促进社区研究。LongCat Chat:https://longcat.ai Hugging Face:https://huggingface.co/meituan-longcat GitHub:https://github.com/meituan-longcat
英文摘要:
We introduce LongCat-Flash, a 560-billion-parameter Mixture-of-Experts (MoE) language model designed for both computational efficiency and advanced agentic capabilities. Stemming from the need for scalable efficiency, LongCat-Flash adopts two novel designs: (a) Zero-computation Experts, which enables dynamic computational budget allocation and activates 18.6B-31.3B (27B on average) per token depending on contextual demands, optimizing resource usage. (b) Shortcut-connected MoE, which enlarges the computation-communication overlap window, demonstrating notable gains in inference efficiency and throughput compared to models of a comparable scale. We develop a comprehensive scaling framework for large models that combines hyperparameter transfer, model-growth initialization, a multi-pronged stability suite, and deterministic computation to achieve stable and reproducible training. Notably, leveraging the synergy among scalable architectural design and infrastructure efforts, we complete model training on more than 20 trillion tokens within 30 days, while achieving over 100 tokens per second (TPS) for inference at a cost of \$0.70 per million output tokens. To cultivate LongCat-Flash towards agentic intelligence, we conduct a large-scale pre-training on optimized mixtures, followed by targeted mid- and post-training on reasoning, code, and instructions, with further augmentation from synthetic data and tool use tasks. Comprehensive evaluations demonstrate that, as a non-thinking foundation model, LongCat-Flash delivers highly competitive performance among other leading models, with exceptional strengths in agentic tasks. The model checkpoint of LongCat-Flash is open-sourced to foster community research. LongCat Chat: https://longcat.ai Hugging Face: https://huggingface.co/meituan-longcat GitHub: https://github.com/meituan-longcat
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。