arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.16790stat.MLcs.LG
收藏

指数族注意力

Exponential Family Attention

University of Michigan(密歇根大学)

Kevin Christian Wibisono, Yixin Wang

AI总结:

本文提出概率生成模型指数族注意力(EFA),通过自注意力机制对上下文动态交互建模以处理混合类型的高维序列数据,并提供了可识别性与泛化保证,在多数据集上优于现有模型。

摘要:

自注意力机制是大多数大语言模型底层的transformer神经网络的核心。它能捕捉自然语言中复杂的词汇模式和长距离依赖。本文提出了指数族注意力(EFA),这是一种概率生成模型,将自注意力扩展以处理混合数据类型(包括离散和连续观测值)的高维序列、空间或时空数据。EFA的核心思想是对每个观测值进行建模,条件依赖于所有其他现有观测值(称为上下文),其相关性通过基于注意力的潜在因子模型以数据驱动的方式学习。具体而言,与静态潜在嵌入不同,EFA利用自注意力机制捕捉上下文中的动态交互,其中每个上下文观测值的相关性依赖于其他观测值。我们建立了可识别性结果,并为EFA提供了关于超额损失的泛化保证。在包括美国城市温度、Instacart购物篮和MovieLens评分的真实与合成数据集上,我们发现EFA在捕捉复杂潜在结构和重构留出数据方面始终优于现有模型。

英文摘要:

The self-attention mechanism is the backbone of the transformer neural network underlying most large language models. It can capture complex word patterns and long-range dependencies in natural language. This paper introduces exponential family attention (EFA), a probabilistic generative model that extends self-attention to handle high-dimensional sequence, spatial, or spatial-temporal data of mixed data types, including both discrete and continuous observations. The key idea of EFA is to model each observation conditional on all other existing observations, called the context, whose relevance is learned in a data-driven way via an attention-based latent factor model. In particular, unlike static latent embeddings, EFA uses the self-attention mechanism to capture dynamic interactions in the context, where the relevance of each context observations depends on other observations. We establish an identifiability result and provide a generalization guarantee on excess loss for EFA. Across real-world and synthetic data sets -- including U.S. city temperatures, Instacart shopping baskets, and MovieLens ratings -- we find that EFA consistently outperforms existing models in capturing complex latent structures and reconstructing held-out data.

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

↑