Skip to yearly menu bar Skip to main content


Poster
in
Workshop: Bridging the Gap Between Practice and Theory in Deep Learning

Simplicity Bias of Transformers to Learn Low Sensitivity Functions

Bhavya Vasudeva · Deqing Fu · Tianyi Zhou · Elliott Kau · Youqi Huang · Vatsal Sharan


Abstract:

Transformers achieve state-of-the-art accuracy and robustness results across many tasks, but an understanding of the inductive biases that they have and how those biases are different from other neural network architectures remains elusive. Various neural network architectures such as fully connected networks have been found to have a simplicity bias towards simple functions of the data; one version of this simplicity bias is a spectral bias to simple functions in the Fourier space. In this work, we identify the notion of sensitivity of the model to random changes in the input as a notion of simplicity bias which provides a unified metric to explain the simplicity and spectral bias of Transformers across different data modalities. We show that Transformers have lower sensitivity than alternative architectures, such as LSTMs, MLPs and CNNs across both vision and language tasks. We also show that sensitivity bias correlates with improved robustness; furthermore, it can also be used as an efficient intervention to further improve the robustness of Transformers.

Chat is not available.