Saved in:
Bibliographic Details
Main Authors: Kim, Kyung Geun, Lee, Byeong Tak
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2310.18932
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909484513755136
author Kim, Kyung Geun
Lee, Byeong Tak
author_facet Kim, Kyung Geun
Lee, Byeong Tak
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2310_18932
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Self Attention with Temporal Prior: Can We Learn More from Arrow of Time?
Kim, Kyung Geun
Lee, Byeong Tak
Artificial Intelligence
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.
title Self Attention with Temporal Prior: Can We Learn More from Arrow of Time?
topic Artificial Intelligence
url https://arxiv.org/abs/2310.18932