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

时间注意增强的Transformer Hawkes过程

Temporal Attention Augmented Transformer Hawkes Process

China University of Petroleum(中国石油大学);College of Information Science and Engineering(信息科学与工程学院)

Lu-ning Zhang, Jian-wei Liu, Zhi-yan Song, Xin Zuo

摘要:

近年来,利用Hawkes过程从异步序列中挖掘知识是一个值得持续关注的课题,而基于神经网络的Hawkes过程逐渐成为研究的热点领域,尤其是基于递归神经网络(RNN)的Hawkes过程。然而,这些模型仍然包含一些固有的缺点,如消失和爆炸梯度和长期依赖性问题。同时,基于自注意的Transformer在文本处理、语音识别等序列建模方面取得了巨大的成功。虽然Transformer Hawkes过程(THP)在性能上有了很大的提高,但是THP并没有有效地利用异步事件中的时态信息,对于这些异步序列,事件发生时刻和事件类型同样重要,而传统的THP只是简单地将时态信息转换成位置编码,并将其作为Transformer的输入。针对这一问题,本文提出了一种新的基于transformer的Hawkes过程模型--时间注意增强的Transformer Hawkes过程(TAA-THP)。我们在广泛的合成和现实生活中的数据集上进行了大量的实验,以验证我们提出的TAA-THP模型的性能,与现有的基线模型相比,在不同的测量上实现了显着的改进,包括测试数据集上的对数似然,以及事件类型和发生时间的预测精度。此外,通过消融研究,我们生动地证明了引入额外的时间注意的优点,通过比较模型的性能有和没有时间注意。

英文摘要:

In recent years, mining the knowledge from asynchronous sequences by Hawkes process is a subject worthy of continued attention, and Hawkes processes based on the neural network have gradually become the most hotly researched fields, especially based on the recurrence neural network (RNN). However, these models still contain some inherent shortcomings of RNN, such as vanishing and exploding gradient and long-term dependency problems. Meanwhile, Transformer based on self-attention has achieved great success in sequential modeling like text processing and speech recognition. Although the Transformer Hawkes process (THP) has gained huge performance improvement, THPs do not effectively utilize the temporal information in the asynchronous events, for these asynchronous sequences, the event occurrence instants are as important as the types of events, while conventional THPs simply convert temporal information into position encoding and add them as the input of transformer. With this in mind, we come up with a new kind of Transformer-based Hawkes process model, Temporal Attention Augmented Transformer Hawkes Process (TAA-THP), we modify the traditional dot-product attention structure, and introduce the temporal encoding into attention structure. We conduct numerous experiments on a wide range of synthetic and real-life datasets to validate the performance of our proposed TAA-THP model, significantly improvement compared with existing baseline models on the different measurements is achieved, including log-likelihood on the test dataset, and prediction accuracies of event types and occurrence times. In addition, through the ablation studies, we vividly demonstrate the merit of introducing additional temporal attention by comparing the performance of the model with and without temporal attention.

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

↑