AliceAI-Foundation-80B-A3B-Base

基于 hybrid attention 和 MoE 架构的预训练大语言模型

Author

Nov, 29, 2026

2 min

AliceAI-Foundation-80B-A3B-Base 是 Alice AI 发布的一个基于 hybrid attention 和 MoE 架构的大语言模型的预训练版本。

Architecture

对于 attention, 作者使用了 hybrid attention, local attention 为 KDA (Team et al., 2025) , global attention 为 Gated GQA (Ainslie et al., 2023; Qiu et al., 2026). 作者发现相比于 Qwen3-Next (Q. Team, 2025) 使用的 Gated DeltaNet (Yang et al., 2025), KDA loss 更低,表现更好。作者还应用了 Partial RoPE

对于 FFN, 作者采用了 MoE 架构,包含 1 个 shared expert, 512 个 routed experts, 其中激活 10 个。作者采取了 auxillary loss free (Wang et al., 2024) 的方案。作者还对 shared expert 也进行了 gate, 即

y=∑i∈TopK(I)giEi(x)+σ(WsTx)Es(x)y = \sum_{i\in\mathrm{TopK}(\mathcal{I})}g_i E_i(x) + \sigma(W_s^Tx)E_s(x)

为了提高 MoE 训练的稳定性,作者对 MoE 的输出应用了 Router Z-loss (Zoph et al., 2022), 计算方式如下

LZ=1B∑i=1Bzi2,zi=log⁡∑j=1dexp⁡(xij)\mathcal{L}_Z=\frac1B\sum_{i=1}^Bz_i^2, z_i=\log\sum_{j=1}^d\exp(x_{ij})

其中 X=(xij)∈RB×dX=(x_{ij})\in\mathbb{R}^{B\times d} 为 MoE module 的输出。

对于 residual connection (He et al., 2016), 作者采用了 Block Attention Residuals (K. Team et al., 2026)

Pre-training

Pre-trainig data 作者使用了 natural, semi-synthetic, synthetic 三种类型数据

Pre-training data mixture of AliceAI-Foundation-80B-A3B-Base

Pre-training 细分为 4 个 stage, 分别是 general pre-training, 32K context extention, 256K context extention, reasoning mid-training. 训练参数配置如下表所示

ParameterGeneral32K256KReasoning
Training tokens17.5T50B240B280B
Learning rate8.2e-44.1e-054.1e-054.1e-05
Batch tokens33M16M16M16M
Context tokens8,19232,768262,144131,072

训练使用了 Muon Optimizer [@Muon], 为了解决 FSDP 的 matrix sharding 问题,作者进行了如下优化:

  1. 将 MoE weights 按照 expert dimension 划分为独立计算单元
  2. 将 Momentum Shards 通信到对应的 GPU 上完成计算
  3. 通过 CUDA stream 来实现 computation-communication overlap.

通过以上优化, optimizer step 的耗时降低了 50%50\%.

  1. Ainslie, J., Lee-Thorp, J., de Jong, M., Zemlyanskiy, Y., Lebron, F., & Sanghai, S. (2023). GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints. The 2023 Conference on Empirical Methods in Natural Language Processing. https://openreview.net/forum?id=hmOwOZWzYE
  2. He, K., Zhang, X., Ren, S., & Sun, J. (2016). Deep Residual Learning for Image Recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 770–778. 10.1109/CVPR.2016.90
  3. Qiu, Z., Wang, Z., Zheng, B., Huang, Z., Wen, K., Yang, S., Men, R., Yu, L., Huang, F., Huang, S., Liu, D., Zhou, J., & Lin, J. (2026). Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free. The Thirty-Ninth Annual Conference on Neural Information Processing Systems. https://openreview.net/forum?id=1b7whO4SfY
  4. Team, K., Chen, G., Zhang, Y., Su, J., Xu, W., Pan, S., Wang, Y., Wang, Y., Chen, G., Yin, B., Chen, Y., Yan, J., Wei, M., Zhang, Y., Meng, F., Hong, C., Xie, X., Liu, S., Lu, E., … Zhou, X. (2026). Attention Residuals. https://arxiv.org/abs/2603.15031
  5. Team, K., Zhang, Y., Lin, Z., Yao, X., Hu, J., Meng, F., Liu, C., Men, X., Yang, S., Li, Z., Li, W., Lu, E., Liu, W., Chen, Y., Xu, W., Yu, L., Wang, Y., Fan, Y., Zhong, L., … Du, Y. (2025). Kimi Linear: An Expressive, Efficient Attention Architecture. https://arxiv.org/abs/2510.26692
  6. Team, Q. (2025). Qwen3-Next: Towards Ultimate Training & Inference Efficiency. https://qwen.ai/blog?id=4074cca80393150c248e508aa62983f9cb7d27cd&from=research.latest-advancements-list
  7. Wang, L., Gao, H., Zhao, C., Sun, X., & Dai, D. (2024). Auxiliary-Loss-Free Load Balancing Strategy for Mixture-of-Experts. https://arxiv.org/abs/2408.15664
  8. Yang, S., Kautz, J., & Hatamizadeh, A. (2025). Gated Delta Networks: Improving Mamba2 with Delta Rule. https://arxiv.org/abs/2412.06464
  9. Zoph, B., Bello, I., Kumar, S., Du, N., Huang, Y., Dean, J., Shazeer, N., & Fedus, W. (2022). ST-MoE: Designing Stable and Transferable Sparse Expert Models. https://arxiv.org/abs/2202.08906