Сохранить в:
Библиографические подробности
Главный автор: Sanger, Terence D
Формат: Preprint
Опубликовано: 2026
Предметы:
Online-ссылка:https://arxiv.org/abs/2602.02521
Метки: Добавить метку
Нет меток, Требуется 1-ая метка записи!
_version_ 1866908807605518336
author Sanger, Terence D
author_facet Sanger, Terence D
contents Scaled dot-product attention (SDPA) is a fundamental component responsible for the success of large-language models and other nonlinear signal processing applications. The rationale for SDPA has been based upon "query, key, value" concepts borrowed from database theory, but these concepts are difficult to reconcile with standard methods in mathematical signal processing. We show that SDPA can be rewritten in a different but mathematically equivalent form as a projection of the input vectors onto a common surface determined by the inputs themselves. Therefore SDPA discovers nonlinear dependencies in the input that are time-dependent and context-dependent. The rewritten form of SDPA permits increased speed of both feedforward and learning algorithms, but more importantly suggests potential extensions. In the context of language, we re-interpret the role of SDPA as finding a time-dependent contextual meaning determined by the surface on which the set of input vectors lies. Input token embeddings are then modified by the local context surface. This interpretation differs substantially from the concept of "self-attention", and provides a strong justification for the use of SDPA for time-series data with time-varying local nonlinear dependencies.
format Preprint
id arxiv_https___arxiv_org_abs_2602_02521
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Scaled Dot-Product Attention implements projection of inputs onto a common surface
Sanger, Terence D
Machine Learning
Artificial Intelligence
Signal Processing
Scaled dot-product attention (SDPA) is a fundamental component responsible for the success of large-language models and other nonlinear signal processing applications. The rationale for SDPA has been based upon "query, key, value" concepts borrowed from database theory, but these concepts are difficult to reconcile with standard methods in mathematical signal processing. We show that SDPA can be rewritten in a different but mathematically equivalent form as a projection of the input vectors onto a common surface determined by the inputs themselves. Therefore SDPA discovers nonlinear dependencies in the input that are time-dependent and context-dependent. The rewritten form of SDPA permits increased speed of both feedforward and learning algorithms, but more importantly suggests potential extensions. In the context of language, we re-interpret the role of SDPA as finding a time-dependent contextual meaning determined by the surface on which the set of input vectors lies. Input token embeddings are then modified by the local context surface. This interpretation differs substantially from the concept of "self-attention", and provides a strong justification for the use of SDPA for time-series data with time-varying local nonlinear dependencies.
title Scaled Dot-Product Attention implements projection of inputs onto a common surface
topic Machine Learning
Artificial Intelligence
Signal Processing
url https://arxiv.org/abs/2602.02521