To capture user preference, transformer models have been widely applied to model sequential user behavior data. The core of transformer architecture lies in the self-attention mechanism, which computes the pairwise attention scores in a sequence. Due to the permutation-equivariant nature, positional encoding is used to enhance the attention between token representations. In this setting, the pairwise attention scores can be derived by both semantic difference and positional difference. However, prior studies often model the two kinds of difference measurements in different ways, which potentially limits the expressive capacity of sequence modeling. To address this issue, this paper proposes a novel transformer variant with complex vector attention, named EulerFormer, which provides a unified theoretical framework to formulate both semantic difference and positional difference. The EulerFormer involves two key technical improvements. First, it employs a new transformation function for efficiently transforming the sequence tokens into polar-form complex vectors using Euler's formula, enabling the unified modeling of both semantic and positional information in a complex rotation form.Secondly, it develops a differential rotation mechanism, where the semantic rotation angles can be controlled by an adaptation function, enabling the adaptive integration of the semantic and positional information according to the semantic contexts.Furthermore, a phase contrastive learning task is proposed to improve the isotropy of contextual representations in EulerFormer. Our theoretical framework possesses a high degree of completeness and generality. It is more robust to semantic variations and possesses moresuperior theoretical properties in principle. Extensive experiments conducted on four public datasets demonstrate the effectiveness and efficiency of our approach.
Paying Attention to Attention: Highlighting Influential Samples in Sequential Analysis
University of New Mexico(新墨西哥大学);Verint Intelligent Self-Service(Verint智能自助服务)
在(Yang et al. 2016)中,创建了一个用于文档分类的分层注意力网络(HAN)。注意力层可用于可视化对文档分类有影响的文本,从而解释模型的预测。我们成功地将HAN应用于一个顺序分析任务,以实时监控会话中的话轮的形式。然而,我们发现注意力权重在停止点处是均匀的(表明所有回合对分类器的影响都是相等的),这阻止了实时人工审查或分类器改进的有意义的可视化。我们观察到,注意力的权重轮波动的会话进展,表明轮有不同的影响,会话状态的基础上。利用这一观察结果,我们开发了一种方法来创建更多信息的实时视觉效果(由人类评论家证实),在统一的注意力权重的情况下,使用随着时间的推移而变化的重要性。
Conditionally Learn to Pay Attention for Sequential Visual Task
Nanjing University of Information Science and Technology(南京信息工程大学);Nanjing Normal University(南京师范大学)
顺序视觉任务通常要求在先前观察的基础上注意当前感兴趣的对象。与目前流行的软注意力机制不同,本文提出了一种新的注意力框架,通过引入一种新的条件全局特征来表示当前关注对象的弱特征描述符。具体而言,对于标准CNN(卷积神经网络)流水线,具有不同感受野的卷积层用于通过测量卷积特征如何与条件全局特征对齐来产生注意力图。条件全局特征可以根据不同的视觉任务采用不同的递归结构生成,如简单的递归神经网络用于多目标识别,或适度复杂的语言模型用于图像字幕。实验结果表明,在SVHN(Street View House Numbers)数据集上,无论是否有额外的限界框,我们提出的条件注意力模型都取得了最好的性能;对于图像标题,我们的注意力模型都比流行的软注意力模型产生更好的分数。
Deep Attention-based Sequential Ensemble Learning for BLE-Based Indoor Localization in Care Facilities
School of Computing(计算学院);Information Systems The University of Melbourne Melbourne, Australia(信息系统学院 澳大利亚墨尔本大学);Faculty of Applied Science Ho Chi Minh City University of Technology Vietnam National University - Ho Chi Minh City Ho Chi Minh City, Vietnam(应用科学学院 广西河内技术大学 越南国家河内大学)
Rethinking Convolutional Networks for Attribute-Aware Sequential Recommendation
Information Systems and Machine Learning Lab (ISMLL), University of Hildesheim, Germany(希尔德斯海姆大学信息系统与机器学习实验室);VWFS Data Analytics Research Center (VWFS DARC), University of Hildesheim, Germany(希尔德斯海姆大学VWFS数据分析研究中心);Volkswagen Financial Services AG, Germany(德国大众金融服务有限公司)
Sequential Weakly Labeled Multi-Activity Localization and Recognition on Wearable Sensors using Recurrent Attention Networks
School of Electrical and Automation Engineering, Nanjing Normal University(南京师范大学电气与自动化工程学院);School of Electronic and Information Engineering, Nanjing University of Information Science and Technology(南京信息工程大学电子与信息工程学院)
Drug-Target Interaction Prediction via Hierarchical Sequential Cross-Attention over Chemical and Protein Language Models
I2A institute, TÉLUQ University(I2A研究所,TÉLUQ大学);LIO, CRCHUM(LIO,蒙特利尔大学医院研究中心);LCSI, ESI(LCSI,阿尔及尔国立高等信息学院);CoMeT UR 24344, Universite de Poitiers(CoMeT UR 24344,普瓦捷大学);University of Ottawa(渥太华大学);Lebanese American University(黎巴嫩美国大学)
John A. Paulson School of Engineering and Applied Sciences, Harvard University(哈佛大学约翰·A·保罗森工程与应用科学学院);Kempner Institute for the Study of Natural and Artificial Intelligence, Harvard University(哈佛大学自然与人工智能研究所);Society of Fellows and Center for Brain Science, Harvard University(哈佛大学 fellows 会与脑科学中心)
Feature based Sequential Classifier with Attention Mechanism
Lister Hill National Center for Biomedical Communications(李斯特希尔国家生物医学通信中心);National Library of Medicine(美国国家医学图书馆);National Institutes of Health(美国国立卫生研究院);Missouri University of Science and Technology(密苏里科技大学);University of Oklahoma Health Sciences Center(俄克拉荷马大学健康科学中心);University of Missouri Hospitals and Clinics(密苏里大学医院及诊所);Stoecker & Associates(斯托克联合事务所)
Fundamental limits of learning in sequence multi-index models and deep attention networks: High-dimensional asymptotics and sharp thresholds
Emanuele Troiani Statistical Physics Of Computation Laboratory, École Polytechnique Fédérale de Lausanne (EPFL)(埃因斯坦理工大学统计物理计算实验室);Hugo Cui Center of Mathematical Sciences and Applications, Harvard University(哈佛大学数学科学中心);Yatin Dandi Statistical Physics Of Computation Laboratory, École Polytechnique Fédérale de Lausanne (EPFL) Information Learning and Physics Laboratory, École Polytechnique Fédérale de Lausanne (EPFL)(埃因斯坦理工大学统计物理计算实验室);Florent Krzakala Information Learning and Physics Laboratory, École Polytechnique Fédérale de Lausanne (EPFL)(埃因斯坦理工大学信息学习与物理实验室);Lenka Zdeborová Statistical Physics Of Computation Laboratory, École Polytechnique Fédérale de Lausanne (EPFL)(埃因斯坦理工大学统计物理计算实验室)
BlossomRec: Block-level Fused Sparse Attention Mechanism for Sequential Recommendations
City University of Hong Kong(香港城市大学);Rutgers University(罗格斯大学);Michigan State University(密歇根州立大学);Tencent(腾讯);Zhejiang University of Technology(浙江工业大学)