遇见数据集

In-Depth-MoE: Predictive Sequence-Level Gatingvia Speculative Layer Allocation

收藏
Zenodo2026-05-22 更新2026-05-26 收录
官方服务:

资源简介:

Modern Large Language Models (LLMs) suffer from static computation depth, wheretrivial and highly complex prompts consume identical vertical computational resources(FLOPs). While Mixture-of-Experts (MoE) architectures provide horizontal sparsity, theyfail to address the layer-wise redundancy and GPU thread divergence caused by token-levelrouting. In this paper, we propose In-Depth-MoE, a novel architectural paradigm thatintroduces predictive sequence-level layer gating. By utilizing an ultra-lightweight Nonautoregressive Agent-Router operating on the global semantic representation of the inputprompt, the system dynamically generates a binary execution mask via a Straight-ThroughEstimator (STE). This mask physically truncates the computation graph prior to generation, allocating full-depth processing exclusively to semantically complex queries while preemptively bypassing redundant layers for simpler tasks. Our experimental validation on a10-layer prototype demonstrates successful bifurcation of execution states: structurally simple prompts converge on an active layer ratio of 20.00% (saving 78.50% FLOPs), whereascomplex mathematical sequences scale to an active layer ratio of 80.00% (saving 18.50%FLOPs), proving robust hardware optimization without introducing thread divergence.

提供机构:
Zenodo
创建时间:
2026-05-22
二维码
社区交流群
二维码
科研交流群
商业服务