第11章注意機構とTransformer
11.2.4. Summary11.2.4 まとめ
Nadaraya–Watson kernel regression is an early precursor of the current attention mechanisms. It can be used directly with little to no training or tuning, either for classification or regression. The attention weight is assigned according to the similarity (or distance) between query and key, and according to how many similar observations are available.
英語のヒント
ナダラヤ・ワトソンのカーネル回帰は、今の注意機構の初期の先駆けである。分類にも回帰にも、訓練や調整をほとんど、あるいはまったくせずに、直接使える。注意の重みは、クエリとキーのあいだの類似度(あるいは距離)と、似た観測がどれだけあるかに応じて割り当てられる。