高阶注意力机制:用条件互信息与广义最大熵增强解码器LLM的自回归注意力
Enhancing Attention with Higher-Order Attention
针对解码器大语言模型的注意力并非严格自回归的问题,提出三种增强自回归特性的注意力方法:将互信息分解为关联关键token与查询token对的条件互信息、引入相邻关键与查询token间相关性的高阶注意力,以及基于广义最大熵原理跨token序列的注意力表达。这些方法可提升推理与生成所用自回归概率的信息含量,并应用于对比解码与自回归概率的系统分析。
arXiv:2611.27764v1 Announce Type: new Abstract: Current decoder large language models rely on a combination of attention, feed forward and residual layers. The attention used is autoregressive (AR) though this is not strictly correct, as we note. That motivates the introduction of other attention methods that, while also not strictly AR, do enhance the AR character. One is based on a decomposition of mutual information (MI) into a set of Conditional MIs (CMIs) that correlate key tokens with pairs of query tokens. A second, higher-order attention, introduces correlations between contiguous key and query tokens. A third introduces correlations between a set of key and query tokens and uses a Generalized Maximum Entropy Principle to obtain an attention expression spanning a sequence of tokens. All these methods may enhance the information content of the autoregressive probabilities that are used in inference/generation. Applications to contrastive decoding and a systematic analysis of autoregressive probabilities are presented.
来源:arXiv (AI + Vision + Imaging) · arxiv.org