arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2007.02876stat.MLcs.LG

A Mathematical Theory of Attention

Mila(Mila(魁北克人工智能研究所));Université de Montréal(蒙特利尔大学);Microsoft Research Montreal(微软研究院蒙特利尔分院);Microsoft(微软)

James Vuckovic, Aristide Baratin, Remi Tachet des Combes

英文摘要:

Attention is a powerful component of modern neural networks across a wide variety of domains. However, despite its ubiquity in machine learning, there is a gap in our understanding of attention from a theoretical point of view. We propose a framework to fill this gap by building a mathematically equivalent model of attention using measure theory. With this model, we are able to interpret self-attention as a system of self-interacting particles, we shed light on self-attention from a maximum entropy perspective, and we show that attention is actually Lipschitz-continuous (with an appropriate metric) under suitable assumptions. We then apply these insights to the problem of mis-specified input data; infinitely-deep, weight-sharing self-attention networks; and more general Lipschitz estimates for a specific type of attention studied in concurrent work.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑