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

何时快速与缓慢思考?AMOR:适应性熵门用于混合模型

When to Think Fast and Slow? AMOR: Adaptive Entropy Gate for Hybrid Models

The University of Chicago(芝加哥大学);Stanford University(斯坦福大学)

Haoran Zheng, Chen Shani

AI总结:

AMOR通过根据预测不确定性选择性调用注意力,提升混合模型的效率与鲁棒性,优于传统递归和固定调度方法。

摘要:

递归-注意力混合模型旨在结合递归的效率和注意力的表达能力,但现有方法通常在所有位置统一应用注意力,即使仅凭递归状态即可准确预测。我们引入AMOR(适应性元认知输出路由),一种后处理混合架构,根据预测不确定性选择性调用注意力。递归主干通过熵门控注意力块增强,仅在模型输出熵超过动态阈值时激活,该阈值基于运行批次中位数和缩放标准差计算。这产生了一种受不确定性驱动计算和系统1/系统2区分启发的简单、梯度自由路由机制。在Mamba2和Gated DeltaNet主干(180M-1.5B)上,AMOR一致匹配或超越纯递归模型和固定调度混合基线,仅在约22%的token上调用注意力。它在常识推理基准上表现强劲,并在LongBench上保持稳定长上下文性能,而先前混合模型在分布偏移下退化。这些结果表明,当应用注意力的重要性与多少同样重要:基于预测不确定性的选择性分配注意力同时提高效率和鲁棒性,提供了一种替代均匀或固定路由策略的简单方法,并指向能够动态匹配计算与输入难度的适应性混合架构。

英文摘要:

Recurrent-attention hybrids aim to combine the efficiency of recurrence with the contextual recall of attention, but existing approaches typically apply attention uniformly across all positions, even when the recurrent state alone is sufficient for accurate prediction. We introduce AMOR (Adaptive Metacognitive Output Router), a post-hoc hybrid architecture that selectively invokes attention based on predictive uncertainty. A recurrent backbone is augmented with entropy-gated attention blocks that activate only when the model's output entropy exceeds a dynamic threshold derived from a running batch median and scaled standard deviation. The resulting binary gate requires no learned routing parameters. Pretrained from scratch on FineWeb-Edu and with attention invoked on only ~40% of positions, one of the AMOR variants (Mamba2 or Gated DeltaNet backbones) achieves the highest eight-task common-sense reasoning average at each scale among pure recurrent, pure attention, and fixed-schedule hybrid models. AMOR also improves retrieval performance over pure recurrent models while remaining competitive against fixed-schedule hybrids. Additionally, AMOR retains the long-context robustness of its recurrent backbones, where the Transformer and other hybrid architectures degrade under distribution shift. These results suggest that when attention is applied matters as much as how much: selectively allocating attention based on predictive uncertainty improves accuracy, robustness, and efficiency, offering a simple alternative to uniform or fixed routing strategies.

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

↑