arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2206.00826cs.CLcs.AIcs.LG
收藏

BayesFormer:具有不确定性估计的Transformer

BayesFormer: Transformer with Uncertainty Estimation

Meta AI

Karthik Abinav Sankararaman, Sinong Wang, Han Fang

摘要:

Transformer由于其在各种NLP和图像处理任务中的主导性能而变得无处不在。然而,它缺乏对如何为Transformer架构生成数学基础的不确定性估计的理解。配备有这种不确定性估计的模型通常可以提高预测性能,使网络鲁棒,避免过拟合,并用作主动学习中的获取函数。本文介绍了一种基于贝叶斯理论设计的带漏失的Transformer模型BayesFormer。我们提出了一个新的理论框架,以扩展的近似变分推理为基础的辍学,以transformer为基础的架构。通过大量的实验,我们验证了所提出的架构在四个范例,并显示全面的改进:语言建模和分类,长序列的理解,机器翻译和采集功能的主动学习。

英文摘要:

Transformer has become ubiquitous due to its dominant performance in various NLP and image processing tasks. However, it lacks understanding of how to generate mathematically grounded uncertainty estimates for transformer architectures. Models equipped with such uncertainty estimates can typically improve predictive performance, make networks robust, avoid over-fitting and used as acquisition function in active learning. In this paper, we introduce BayesFormer, a Transformer model with dropouts designed by Bayesian theory. We proposed a new theoretical framework to extend the approximate variational inference-based dropout to Transformer-based architectures. Through extensive experiments, we validate the proposed architecture in four paradigms and show improvements across the board: language modeling and classification, long-sequence understanding, machine translation and acquisition function for active learning.

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

↑