跳到正文
arXiv (AI + Vision + Imaging)· Cosmo Santoni·· 1 天前AI 评分22

Yggdrasil:树路由循环专家架构实现状态跟踪与CPU快速推理

Yggdrasil: Tree-Routed Recurrent Experts for State Tracking and Fast CPU Inference

AI 导读

Yggdrasil是一种循环架构,通过树路由的循环专家库为每层查找状态转移,将模型容量与每步计算解耦,每步仅读取单个专家、活跃权重控制在CPU L2缓存数百KB内。

正文 · 原文

arXiv:2611.29954v1 Announce Type: new Abstract: Parallel-trainable recurrences such as Mamba, linear attention, and DeltaNet offer constant-cost streaming inference, but they suffer from two limitations: 1) they struggle to track discrete state, and 2) they read every parameter at every step, tying model capacity directly to CPU latency. We introduce Yggdrasil, a recurrent architecture that decouples capacity from per-step compute by looking up each layer's transition in a large, tree-routed bank of recurrent experts. Each router addresses its bank using the current token and the state of the layer below. We prove that this cross-layer context is necessary---a single token-indexed layer of non-expanding transitions with finitely many reachable states cannot perform conditional resets---while avoiding feedback from the layer's own past preserves parallel-scan training. Because each step traverses one tree path and reads a single expert per layer, active weights stay within a few hundred kilobytes in CPU L2 cache while the full bank resides in RAM. Among the parallel-trainable models we evaluate, Yggdrasil is the only one to solve all five state-tracking tasks. At matched active parameter counts, it achieves the lowest test bits on enwik8 (1.540 bpb) and the human genome hg38 (1.567 bpb), while stepping $3.0\times$ and $3.3\times$ faster on a single CPU core ($6.7\,\mu\mathrm{s}$ and $5.8\,\mu\mathrm{s}$) than the fastest streaming baseline, and delivering the highest GPU throughput of all models at batch 1024. On the Genomic Benchmarks, it is the strongest causal model at matched active parameters (86.0% mean accuracy).

来源:arXiv (AI + Vision + Imaging) · arxiv.org