Self Attention with Temporal Prior: Can We Learn More from Arrow of Time?
Not on the map. Why?
Abstract (arXiv)
Many diverse phenomena in nature often inherently encode both short- and long-term temporal dependencies, which especially result from the direction of the flow of time. In this respect, we discovered experimental evidence suggesting that interrelations of these events are higher for closer time stamps. However, to be able for attention-based models to learn these regularities in short-term dependencies, it requires large amounts of data, which are often infeasible. This is because, while they are good at learning piece-wise temporal dependencies, attention-based models lack structures that encode biases in time series. As a resolution, we propose a simple and efficient method that enables attention layers to better encode the short-term temporal bias of these data sets by applying learnable, adaptive kernels directly to the attention matrices. We chose various prediction tasks for the experiments using Electronic Health Records (EHR) data sets since they are great examples with underlying long- and short-term temporal dependencies. Our experiments show exceptional classification results compared to best-performing models on most tasks and data sets.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 19 of its 34 references that are in the map. First posted on arXiv 29 Oct 2023.
Builds on
19 of 34 references.
References · 19
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2018Relational inductive biases, deep learning, and graph networkscited by 1,360
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
- 2016Recurrent Neural Networks for Multivariate Time Series with Missing Valuescited by 554
- 2017Multitask learning and benchmarking with clinical time series datacited by 290
- 2018Explicit Inductive Bias for Transfer Learning with Convolutional Networkscited by 227
- 2021Unsupervised Representation Learning for Time Series with Temporal Neighborhood Codingcited by 224
- 2019Set Functions for Time Seriescited by 138
- 2016Phased LSTM: Accelerating Recurrent Network Training for Long or Event-based Sequencescited by 99
- 2021Self-Supervised Transformer for Sparse and Irregularly Sampled Multivariate Clinical Time-Seriescited by 96
7 more
- 2019Interpolation-Prediction Networks for Irregularly Sampled Time Seriescited by 89
- 2020Does syntax need to grow on trees? Sources of hierarchical inductive bias in sequence-to-sequence networkscited by 72
- 2021Hi-BEHRT: Hierarchical Transformer-based model for accurate prediction of clinical events using multimodal longitudinal electronic health recordscited by 54
- 2017Learning to Detect Sepsis with a Multitask Gaussian Process RNN Classifiercited by 47
- 2018Relational inductive bias for physical construction in humans and machinescited by 44
- 2016A scalable end-to-end Gaussian process adapter for irregularly sampled time series classificationcited by 27
- 2021Sequential Diagnosis Prediction with Transformer and Ontological Representationcited by 12
Built on by
Citing papers per year: 2026: 1.
1 paper.