图机器:通过边实现更好的预训练
研究论文 · 2026/09/10
本文提出图机器(GM)架构,通过稀疏动态路由维护O(n)大小的状态,并利用类似指针追踪的边进行可微更新。在Qwen3-0.6B中用GM稀疏层替换75%的密集层,从头预训练157亿token,仅检索少量token即可保持甚至提升性能。
该文提出一种新颖的稀疏注意力机制,在保持线性复杂度的同时允许大状态访问,实验表明在较小模型上可行,为高效预训练提供了新思路。
We introduce the Graph Machine (GM), an architecture that maintains an O(n)-sized state and accesses it through sparse, dynamic routing. Unlike methods with fixed-size states or sparse but static routing, GM preserves O(n) complexity in its sparse layers without restricting the potentially accessible state size to O(1). Instead, GM uses edges - pointer-like objects updated differentiably by a referral mechanism resembling pointer chasing. We replace 75% of the dense Transformer layers in Qwen3-0.6B with GM sparse layers and pretrain from scratch on 15.7B tokens. With only 2 of 4,096 tokens retrieved per KV head in each sparse layer, loss degrades only slightly; with 4, the best model marginally improves loss.