Self-attention with temporal prior: can we learn more from the arrow of time?

Front Artif Intell

Medical AI Co., Ltd., Seoul, Republic of Korea.

Published: August 2024

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 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.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC11333831PMC
http://dx.doi.org/10.3389/frai.2024.1397298DOI Listing

Publication Analysis

Top Keywords

temporal dependencies
12
data sets
12
attention-based models
8
short-term temporal
8
self-attention temporal
4
temporal prior
4
prior learn
4
learn arrow
4
arrow time?
4
time? diverse
4

Similar Publications

In the spore-forming bacterium Bacillus subtilis transcription and translation are uncoupled and the translational machinery is located at the cell poles. During sporulation, the cell undergoes morphological changes including asymmetric division and chromosome translocation into the forespore. However, the fate of translational machinery during sporulation has not been described.

View Article and Find Full Text PDF

For a proper representation of the causal structure of the world, it is adaptive to consider both evidence for and evidence against causality. To take punishment as an example, the causality of a stimulus is unlikely if there is a temporal gap before punishment is received, but causality is credible if the stimulus immediately precedes punishment. In contrast, causality can be ruled out if the punishment occurred first.

View Article and Find Full Text PDF

The tomography of photonic quantum states is key in quantum optics, impacting quantum sensing, computing, and communication. Conventional detectors are limited in their temporal and spatial resolution, hampering high-rate quantum communication and local addressing of photonic circuits. Here, we propose to utilize free electron-photon interactions for quantum state tomography, introducing electron homodyne detection with potential for femtosecond-temporal and nanometer-spatial resolutions.

View Article and Find Full Text PDF

Seizures elicited by transcorneal 6 Hz stimulation in developing rats.

PLoS One

January 2025

Department of Developmental Epileptology, Institute of Physiology, Czech Academy of Sciences, Prague, Czech Republic.

Seizures elicited by corneal 6-Hz stimulation are widely acknowledged as a model of temporal lobe seizures. Despite the intensive research in rodents, no studies hint at this model in developing animals. We focused on seven age groups of both male and female rats.

View Article and Find Full Text PDF

Importance: 2021 Advance child tax credit (ACTC) monthly payments were associated with reduced US child poverty rates; however, policymakers have expressed concerns that permanent adoption would increase parental substance use.

Objective: To assess whether 2021 ACTC monthly payments were temporally associated with changes in substance use among parents compared with adults without children.

Design, Setting, And Participants: The primary sample included adults aged 18 to 64 years who responded to the National Survey on Drug Use and Health in 2021.

View Article and Find Full Text PDF

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!