arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1911.12864cs.LGstat.ML
收藏

自注意力与功能时间表示学习

Self-attention with Functional Time Representation Learning

Walmart Labs(沃尔玛实验室)

Da Xu, Chuanwei Ruan, Sushant Kumar, Evren Korpeoglu, Kannan Achan

摘要:

具有自注意力的顺序建模在自然语言处理中取得了最前沿的性能。自注意力以其在模型灵活性、计算复杂性和可解释性等方面的优势,逐渐成为事件序列模型中的一个重要组成部分。然而,像大多数其他序列模型一样,自注意力力并不考虑事件之间的时间跨度,因此捕获的是序列信号而不是时间模式。不依赖于循环网络结构,自注意力通过位置编码识别事件顺序。为了弥合建模时间无关和时间相关事件序列之间的差距,我们引入了一个功能特征映射,将时间跨度嵌入到高维空间中。通过构造相关的时间不变核函数,揭示了特征映射在经典泛函分析结果(即Bochner定理和Mercer定理)下的函数形式.我们提出了几种模型来学习功能时间表示和与事件表示的交互。这些方法在各种连续时间事件序列预测任务下的真实数据集上进行了评估。实验表明,所提出的方法相比,有利的基线模型,同时也捕捉有用的时间-事件的相互作用。

英文摘要:

Sequential modelling with self-attention has achieved cutting edge performances in natural language processing. With advantages in model flexibility, computation complexity and interpretability, self-attention is gradually becoming a key component in event sequence models. However, like most other sequence models, self-attention does not account for the time span between events and thus captures sequential signals rather than temporal patterns. Without relying on recurrent network structures, self-attention recognizes event orderings via positional encoding. To bridge the gap between modelling time-independent and time-dependent event sequence, we introduce a functional feature map that embeds time span into high-dimensional spaces. By constructing the associated translation-invariant time kernel function, we reveal the functional forms of the feature map under classic functional function analysis results, namely Bochner's Theorem and Mercer's Theorem. We propose several models to learn the functional time representation and the interactions with event representation. These methods are evaluated on real-world datasets under various continuous-time event sequence prediction tasks. The experiments reveal that the proposed methods compare favorably to baseline models while also capturing useful time-event interactions.

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

↑