Concept

Nadaraya-Watson Estimator

The Nadaraya-Watson estimator provides intuition for how attention mechanisms work in a regression setting. In this context, the query corresponds to the target location where the regression is being carried out. The keys represent the locations where past data was previously observed, and the values represent the actual observed regression values themselves. This framework demonstrates how an attention mechanism can aggregate data by pooling these (key, value) pairs based on a given query.

0

1

Updated 2026-05-14

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L

Related