Formula

Epanechikov Attention Kernel

The Epanechikov kernel for attention pooling is defined by the formula α(x)=max(1x,0)\alpha(x) = \max(1 - |x|, 0). It is a translation and rotation invariant kernel that linearly decays as the distance |x| increases up to 1, and assigns a weight of exactly zero to observations beyond a distance of 1. This provides a strictly bounded notion of range and smoothness.

0

1

Updated 2026-06-23

Tags

D2L

Dive into Deep Learning @ D2L