Attention modules, as simple and effective tools, have not only enabled deep neural networks to achieve state-of-the-art results in many domains, but also enhanced their interpretability. Most current models use deterministic attention modules due to their simplicity and ease of optimization. Stochastic counterparts, on the other hand, are less popular despite their potential benefits. The main reason is that stochastic attention often introduces optimization issues or requires significant model changes. In this paper, we propose a scalable stochastic version of attention that is easy to implement and optimize. We construct simplex-constrained attention distributions by normalizing reparameterizable distributions, making the training process differentiable. We learn their parameters in a Bayesian framework where a data-dependent prior is introduced for regularization. We apply the proposed stochastic attention modules to various attention-based models, with applications to graph node classification, visual question answering, image captioning, machine translation, and language understanding. Our experiments show the proposed method brings consistent improvements over the corresponding baselines.
Columbia University(哥伦比亚大学);Columbia University School of Professional Studies(哥伦比亚大学专业研究学院);Department of Statistics(统计学系);Columbia University Department of Computer Science(哥伦比亚大学计算机科学系)
Phase Transitions in Attention: A Bayesian Theory of Copy Head Emergence
Racah Institute of Physics, Hebrew University of Jerusalem(拉卡学院物理研究所,耶路撒冷希伯来大学);John A. Paulson School of Engineering and Applied Sciences, Harvard University(约翰·A·保罗森工程与应用科学学校,哈佛大学);Institute for Advanced Simulation (IAS-6), Computational and Systems Neuroscience, Jülich Research Center(高级模拟研究所(IAS-6),计算与系统神经科学,茹里奇研究中心);Institute of AI for Health, Helmholtz Munich(健康人工智能研究所,海德堡-穆恩);RWTH Aachen University(亚琛工业大学);Department of Physics, Faculty 1, RWTH Aachen University(物理系,亚琛工业大学)
Gradient Dynamics of Attention: How Cross-Entropy Sculpts Bayesian Manifolds
Columbia University(哥伦比亚大学);Columbia University School of Professional Studies(哥伦比亚大学专业研究学院);Department of Statistics(统计学系);Columbia University Department of Computer Science(哥伦比亚大学计算机科学系)
Integrating Response Time and Attention Duration in Bayesian Preference Learning for Multiple Criteria Decision Aiding
School of Management, Xi’an Jiaotong University(西安交通大学管理学院);Institute of Computing Science, Poznan University of Technology(波兹南理工大学计算科学研究所);Hubei University of Economics(湖北经济学院)
Prognostics of Multisensor Systems with Unknown and Unlabeled Failure Modes via Bayesian Nonparametric Process Mixtures
Department of Industrial and Systems Engineering, University of Florida(工业与系统工程系,佛罗里达大学);School of Forest, Fisheries, and Geomatics Sciences, University of Florida(森林、渔业与地理科学学院,佛罗里达大学)
A stochastic model of human visual attention with a dynamic Bayesian network
NTT Communication Science Laboratories, NTT Corporation(日本电信电话株式会社NTT通信科学实验室);Stanford University(斯坦福大学);Okinawa National College of Technology(冲绳工业高等专门学校)
Ampere Software Technology(Ampere软件技术);Institut de mathématiques de Toulouse(图卢兹数学研究所);Institut de Recherche en Informatique de Toulouse(图卢兹信息研究所);Laboratoire Jean Alexandre Dieudonné, Université Côte d’Azur(Jean Alexandre Dieudonné实验室,尼斯大学)