CLAILGJun 2, 2022

BayesFormer: Transformer with Uncertainty Estimation

arXiv:2206.00826v126 citationsh-index: 21
Originality Incremental advance
AI Analysis

This work addresses uncertainty estimation for Transformers, which is important for improving predictive performance and robustness in NLP and image processing, though it appears incremental as it extends existing dropout methods.

The authors tackled the lack of mathematically grounded uncertainty estimates in Transformer architectures by introducing BayesFormer, a model with Bayesian dropout, and demonstrated improvements in language modeling, classification, long-sequence understanding, machine translation, and active learning.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes