arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.22575cs.LG
收藏

SpikingBrain2.0:面向高效长上下文和跨平台推理的脑启发基础模型

SpikingBrain2.0: Brain-Inspired Foundation Models for Efficient Long-Context and Cross-Platform Inference

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Beijing Key Laboratory of Brain-Inspired General Intelligence Large Model(北京脑启发通用智能大模型重点实验室);Key Laboratory of Brain Cognition and Brain-inspired Intelligence Technology(脑认知与脑启发智能技术重点实验室);The Hong Kong Polytechnic University(香港理工大学)
Yuqi Pan, Jinghao Zhuang, Yupeng Feng, Fangzhi Zhong, Siyu Ding, Xuerui Qiu, Shaowei Gu, Bohan Sun, Zhiyong Qin, Yibo Zhong, Lingtao Ouyang, Kun Yang, Zehao Liu… 展开作者

Yuqi Pan, Jinghao Zhuang, Yupeng Feng, Fangzhi Zhong, Siyu Ding, Xuerui Qiu, Shaowei Gu, Bohan Sun, Zhiyong Qin, Yibo Zhong, Lingtao Ouyang, Kun Yang, Zehao Liu, Yuhong Chou, Shurong Wang, Anjie Hu, Han Xu, Bo Xu, Guoqi Li

AI总结:

SpikingBrain2.0通过双空间稀疏注意力机制和优化训练策略,在保持性能的同时提升长上下文处理效率,实现跨平台高效推理。

摘要:

扩展上下文长度正在重塑大模型发展,但全注意力Transformer在长序列中面临计算和推理瓶颈。本文提出SpikingBrain2.0,一种50亿参数模型,通过架构创新和训练策略优化,提升了模型的性能和效率。双空间稀疏注意力机制结合稀疏softmax注意力和稀疏线性注意力,实现更优的性能效率平衡。同时,SpB2.0支持双量化路径:INT8-Spiking编码实现稀疏事件驱动计算,FP8编码加速现代GPU推理。优化的Transformer-to-Hybrid(T2H)流水线通过双转换路径提升LLM和VLM训练效率。实验表明,SpB2.0-5B和SpB2.0-VL-5B在7k A100 GPU小时内恢复了基础Transformer(Qwen3-4B)的大部分能力。SpB2.0在4M上下文时实现10.13倍的TTFT加速,在8块A100 GPU上支持超过10M tokens,超出全注意力模型的记忆限制。同时,SpB2.0展示了强跨平台兼容性,支持FP8 GPU推理(250k时2.52倍加速)和高效神经形态执行(64.31%稀疏度,500MHz时面积和功耗分别降低70.6%和46.5%)。整体而言,SpikingBrain2.0为轻量多模态脉冲基础模型提供了实用路径,展示了脑启发机制与高效架构结合在资源受限和边缘场景中的潜力。

英文摘要:

Scaling context length is reshaping large-model development, yet full-attention Transformers suffer from prohibitive computation and inference bottlenecks at long sequences. A key challenge is to design foundation models that maintain performance and long-context efficiency with minimal training overhead. We introduce SpikingBrain2.0 (SpB2.0), a 5B model that advances both architecture and training efficiency of its predecessor. Our contributions are two-fold. (1) Architectural Innovation: We propose Dual-Space Sparse Attention (DSSA), an inter-layer hybrid of Sparse Softmax Attention (MoBA) and Sparse Linear Attention (SSE), achieving an improved performance-efficiency trade-off for long-context modeling. SpB2.0 further supports dual quantization paths: INT8-Spiking coding enables sparse event-driven computation, while FP8 coding accelerates inference on modern GPUs. (2) Enhanced Training Strategy: We develop an optimized Transformer-to-Hybrid (T2H) pipeline with dual conversion paths for LLMs and VLMs using curated open-source data. Empirically, SpB2.0-5B and SpB2.0-VL-5B recover most of the base Transformer (Qwen3-4B) capability with under 7k A100 GPU hours. SpB2.0 achieves a 10.13x TTFT speedup at 4M context and supports over 10M tokens on 8 A100 GPUs under vLLM, where full-attention models exceed memory limits. It also demonstrates strong cross-platform compatibility, enabling FP8 GPU inference (2.52x speedup at 250k) and efficient neuromorphic execution (64.31% sparsity, with 70.6% and 46.5% area and power reduction at 500MHz). Overall, SpikingBrain2.0 provides a practical pathway for lightweight, multimodal, spiking foundation models, highlighting the potential of combining brain-inspired mechanisms with efficient architectures for resource-constrained and edge scenarios.

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

↑