MiniMax-01:利用闪电注意力扩展基础模型

MiniMax-01: Scaling Foundation Models with Lightning Attention

闫俊杰 Junjie Yan · · 2025-01-14 · arXiv:2501.08313 ↗

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

摘要 · Abstract

我们推出了 MiniMax-01 系列,包括 MiniMax-Text-01 和 MiniMax-VL-01,它们在性能上与顶级模型相当,并在处理更长上下文方面展现出卓越能力。其核心在于闪电注意力及其高效扩展。为了最大化计算能力,我们将其与专家混合(MoE)架构结合,构建了一个拥有 32 个专家、总计 4560 亿参数的模型,其中每个 token 激活 459 亿参数。我们为 MoE 和闪电注意力开发了优化的并行策略以及高效的计算-通信重叠技术。这种方法使我们能够在跨越百万级 token 的上下文中,对数千亿参数的模型进行高效训练和推理。MiniMax-Text-01 的上下文窗口在训练时可达 100 万 tokens,并在推理时以可承受的成本外推至 400 万 tokens。我们的视觉语言模型 MiniMax-VL-01 通过使用 5120 亿视觉语言 tokens 进行持续训练而构建。在标准基准和内部基准上的实验表明,我们的模型在匹配 GPT-4o 和 Claude-3.5-Sonnet 等最先进模型性能的同时,提供了长达 20 到 32 倍的上下文窗口。我们已在 https://github.com/MiniMax-AI 公开释放 MiniMax-01。

We introduce MiniMax-01 series, including MiniMax-Text-01 and MiniMax-VL-01, which are comparable to top-tier models while offering superior capabilities in processing longer contexts. The core lies in lightning attention and its efficient scaling. To maximize computational capacity, we integrate it with Mixture of Experts (MoE), creating a model with 32 experts and 456 billion total parameters, of which 45.9 billion are activated for each token. We develop an optimized parallel strategy and highly efficient computation-communication overlap techniques for MoE and lightning attention. This approach enables us to conduct efficient training and inference on models with hundreds of billions of parameters across contexts spanning millions of tokens. The context window of MiniMax-Text-01 can reach up to 1 million tokens during training and extrapolate to 4 million tokens during inference at an affordable cost. Our vision-language model, MiniMax-VL-01 is built through continued training with 512 billion vision-language tokens. Experiments on both standard and in-house benchmarks show that our models match the performance of state-of-the-art models like GPT-4o and Claude-3.5-Sonnet while offering 20-32 times longer context window. We publicly release MiniMax-01 at https://github.com/MiniMax-AI.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 25)

阅读逐段中英对照全文 →