paper-with-me

홈 › Papers

Simplicity Bias in Transformers and their Ability to Learn Sparse Boolean Functions

2022-11-22 · Satwik Bhattamishra, Arkil Patel, Varun Kanade, Phil Blunsom

Despite the widespread success of Transformers on NLP tasks, recent works have found that they struggle to model several formal languages when compared to recurrent models. This raises the question of why Transformers perform well in practice and whether they have any properties that enable them to generalize better than recurrent models. In this work, we conduct an extensive empirical study on Boolean functions to demonstrate the following: (i) Random Transformers are relatively more biased towards functions of low sensitivity. (ii) When trained on Boolean functions, both Transformers and LSTMs prioritize learning functions of low sensitivity, with Transformers ultimately converging to functions of lower sensitivity. (iii) On sparse Boolean functions which have low sensitivity, we find that Transformers generalize near perfectly even in the presence of noisy labels whereas LSTMs overfit and achieve poor generalization accuracy. Overall, our results provide strong quantifiable evidence that suggests differences in the inductive biases of Transformers and recurrent models which may help explain Transformer's effective generalization performance despite relatively limited expressiveness.

📄 PDF Abstract BibTeX arXiv:2211.12316

Code (1)

satwik77/transformer-simplicity 공식 구현 pytorch

Tasks

Sensitivity

Similar Papers 제목 키워드 기반

Simplicity Bias of Transformers to Learn Low Sensitivity Functions

2024-03-11 · Bhavya Vasudeva, Deqing Fu, Tianyi Zhou, Elliott Kau 외

Transformers achieve state-of-the-art accuracy and robustness across many tasks, but an understanding of the inductive biases that they have and how those biases are different from other neural network architectures rema…

Sensitivity

A distributional simplicity bias in the learning dynamics of transformers

2024-10-25 · Riccardo Rende, Federica Gerace, Alessandro Laio, Sebastian Goldt

The remarkable capability of over-parameterised neural networks to generalise effectively has been explained by invoking a ``simplicity bias'': neural networks prevent overfitting by initially learning simple classifiers…

Neural networks trained with SGD learn distributions of increasing complexity

2022-11-21 · Maria Refinetti, Alessandro Ingrosso, Sebastian Goldt

The ability of deep neural networks to generalise well even when they interpolate their training data has been explained using various "simplicity biases". These theories postulate that neural networks avoid overfitting …

Trapped by simplicity: When Transformers fail to learn from noisy features

2026-02-09 · Evan Peters, Ando Deng, Matheus H. Zambianco, Devin Blankespoor 외 arxiv

Noise is ubiquitous in data used to train large language models, but it is not well understood whether these models are able to correctly generalize to inputs generated without noise. Here, we study noise-robust learning…

Neural Redshift: Random Networks are not Random Functions

2024-03-04 · CVPR 2024 1 · Damien Teney, Armand Nicolicioiu, Valentin Hartmann, Ehsan Abbasnejad

Our understanding of the generalization capabilities of neural networks (NNs) is still incomplete. Prevailing explanations are based on implicit biases of gradient descent (GD) but they cannot account for the capabilitie…