Euclidean Fast Attention -- Machine Learning Global Atomic Representations at Linear Cost

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Frank, J. Thorben, Chmiela, Stefan, Müller, Klaus-Robert, Unke, Oliver T.
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911183061123072
author Frank, J. Thorben
Chmiela, Stefan
Müller, Klaus-Robert
Unke, Oliver T.
author_facet Frank, J. Thorben
Chmiela, Stefan
Müller, Klaus-Robert
Unke, Oliver T.
contents Long-range correlations are essential across numerous machine learning tasks, especially for data embedded in Euclidean space, where the relative positions and orientations of distant components are often critical for accurate predictions. Self-attention offers a compelling mechanism for capturing these global effects, but its quadratic complexity presents a significant practical limitation. This problem is particularly pronounced in computational chemistry, where the stringent efficiency requirements of machine learning force fields (MLFFs) often preclude accurately modeling long-range interactions. To address this, we introduce Euclidean fast attention (EFA), a linear-scaling attention-like mechanism designed for Euclidean data, which can be easily incorporated into existing model architectures. A core component of EFA are novel Euclidean rotary positional encodings (ERoPE), which enable efficient encoding of spatial information while respecting essential physical symmetries. We empirically demonstrate that EFA effectively captures diverse long-range effects, enabling EFA-equipped MLFFs to describe challenging chemical interactions for which conventional MLFFs yield incorrect results.
format Preprint
id arxiv_https___arxiv_org_abs_2412_08541
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Euclidean Fast Attention -- Machine Learning Global Atomic Representations at Linear Cost
Frank, J. Thorben
Chmiela, Stefan
Müller, Klaus-Robert
Unke, Oliver T.
Machine Learning
Long-range correlations are essential across numerous machine learning tasks, especially for data embedded in Euclidean space, where the relative positions and orientations of distant components are often critical for accurate predictions. Self-attention offers a compelling mechanism for capturing these global effects, but its quadratic complexity presents a significant practical limitation. This problem is particularly pronounced in computational chemistry, where the stringent efficiency requirements of machine learning force fields (MLFFs) often preclude accurately modeling long-range interactions. To address this, we introduce Euclidean fast attention (EFA), a linear-scaling attention-like mechanism designed for Euclidean data, which can be easily incorporated into existing model architectures. A core component of EFA are novel Euclidean rotary positional encodings (ERoPE), which enable efficient encoding of spatial information while respecting essential physical symmetries. We empirically demonstrate that EFA effectively captures diverse long-range effects, enabling EFA-equipped MLFFs to describe challenging chemical interactions for which conventional MLFFs yield incorrect results.
title Euclidean Fast Attention -- Machine Learning Global Atomic Representations at Linear Cost
topic Machine Learning
url https://arxiv.org/abs/2412.08541