计算机科学 > 机器学习
[提交于 2020年5月19日]
标题:Normalized Attention Without Probability Cage
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Attention architectures are widely used; they recently gained renewed popularity with Transformers yielding a streak of state of the art results. Yet, the geometrical implications of softmax-attention remain largely unexplored. In this work we highlight the limitations of constraining attention weights to the probability simplex and the resulting convex hull of value vectors. We show that Transformers are sequence length dependent biased towards token isolation at initialization and contrast Transformers to simple max- and sum-pooling - two strong baselines rarely reported. We propose to replace the softmax in self-attention with normalization, yielding a hyperparameter and data-bias robust, generally applicable architecture. We support our insights with empirical results from more than 25,000 trained models. All results and implementations are made available.
提交历史
来自:Oliver Richter[v1] 2020年5月19日 星期二 16:26:34 UTC