Daily Tech Briefing
AI 科技速览
每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。
arXiv Machine Learning · 2026/7/28 04:00:00
CausalGate: Causal Importance Distillation for Transformer Module Pruning
AI 中文解读
CausalGate来了,这回大语言模型终于学会了“偷懒”的正确姿势——不仅能自动跳过无用模块,还保证推理结果一个都不错。以往的大模型就像一台永不关机的超级电脑,每处理一个词都要动用全部算力,但很多计算其实多余。研究人员发现,贸然跳过可能伤到理解能力,于是他们设计了一套“手术测试”:在模型各个子层挨个拔掉电源,看哪个缺了之后语义崩得最惨,再把这份“重要性排名”蒸馏成一组轻量级门控开关。从此模型运行时只需瞥一眼这些小开关,就能知道哪些模块该关掉,而且训练好后不需要任何额外开销。
这套方法在TinyLlama、Qwen2.5、Llama-3.1等开源大模型上跑分,无论写文章还是做常识推理,速度都比现有动态剪枝方案快一截,硬件延迟实打实降了下来。对普通用户来说,最直接的好处就是AI聊天、写代码、查资料时响应更快、更流畅;对企业而言,节省下来的算力成本可能让云端AI服务变得更便宜,甚至能让手机本地跑大模型成为现实。
arXiv:2607.22720v1 Announce Type: new
Abstract: Existing adaptive inference methods for Large Language Models rely on observational heuristics, such as hidden-state similarity or activation magnitudes, to drop redundant modules. However, these correlation-based metrics often fail to capture subtle, non-linear structural computations vital for semantic accuracy. We introduce CausalGate, an intervention-guided framework for compute-efficient transformer inference. During a calibration phase, CausalGate isolates individual Attention and MLP sub-layers, zeros out their respective outputs, and measures the exact semantic damage via the Kullback-Leibler divergence of the final logit distribution. To eliminate runtime routing overhead, this structural importance hierarchy is distilled into a global set of static, lightweight scalar gates using an Exponential Moving Average smoothing objective paired with a differentiable pairwise ranking loss. Evaluated on TinyLlama-1.1B, Qwen2.5-3B, and Llama-3.1-8B across language modeling and commonsense reasoning benchmarks, CausalGate consistently outperforms prominent dynamic routing and layer-skipping baselines, translating theoretical compute savings into concrete hardware latency reductions with zero operational overhead.
分享
阅读原文 ↗