atlas

Research map / Architectures and efficiency / Attention and transformers

Transformers Learn Low Sensitivity Functions: Investigations and Implications

ICLR 2025 · Architectures and efficiency › Attention and transformers · approach: Transformer expressivity and learnability · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes token-wise input sensitivity as a unified inductive-bias metric showing transformers learn lower-sensitivity functions than MLPs, CNNs, ConvMixers and LSTMs, and links it to robustness, flat minima, and grokking progress.

Problem

Understanding what inductive biases distinguish transformers from other architectures, across modalities beyond Boolean inputs, and how those biases relate to robustness, generalization and training dynamics.

Approach

Extends Boolean-cube sensitivity to real-valued data by measuring output changes when individual tokens are perturbed with isotropic Gaussian noise, and uses it as a unified simplicity measure; supports it with a weak spectral bias result for linear-attention transformers in the NTK/CK regime.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use transformer (ViT) architecture instead of CNNs/MLPs/ConvMixerimage classification · CIFAR-10, Fashion-MNIST, SVHNsensitivity (lower is better)Helped
Replace token-wise noise with random full-input noise for sensitivity measurement (ablation)ViT-small vs ResNet-18 on CIFAR-10 · CIFAR-10sensitivity gap between architectures: ResNet-18 0.0172 vs ViT-small 0.0082 (random) vs 0.0827 vs 0.0050 (token-wise)Mixed
Add sensitivity regularization (augmentation with Gaussian noise or MSE on noisy patch) during ViT training (ablation)ViT-small · CIFAR-10 flatness (ShOp, ShPred)sharpness (lower is flatter): ShOp 39.166 -> 9.025; ShPred 0.5346 -> 0.3982Helped
Use RoBERTa with ReLU attention instead of softmax attention (ablation)RoBERTa language model · QQP training sensitivitysensitivity: 0.03 -> 0.02Helped
Use RoBERTa with ReLU attention instead of softmax attention (ablation)RoBERTa language model · MRPC training sensitivitysensitivity: 0.002 -> 0.001Helped
Use RoBERTa (transformer) instead of LSTMlanguage classification · MRPC and QQP training sensitivitysensitivity: MRPC 0.15 -> 0.002; QQP 0.09 -> 0.03Helped
Use transformer with sensitivity-based progress measure on modular addition grokkingone-layer Transformer on a+b mod 113 · grokking progress measuresensitivity decreases from epoch 3000 while test accuracy flatHelped
Train ViT with Adam instead of SGD (ablation)ViT-small on CIFAR-10 · CIFAR-10 sensitivitysensitivityNo clear effect
Vary ViT depth and number of heads (ablation)ViT-small on CIFAR-10 · CIFAR-10 sensitivitysensitivityNo clear effect
Use RoBERTa depth 4 vs 8 or 12 layers (ablation)RoBERTa · QQP sensitivitysensitivityNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 ImageNet-1k Fashion-MNIST SVHN MNIST MRPC QQP CIFAR-10-C synthetic sentiment-style vocabulary dataset modular addition

Benchmarks: CIFAR-10-C CIFAR-10 ImageNet-1k Fashion-MNIST SVHN MRPC QQP MNIST

Metrics: sensitivity test accuracy corruption accuracy sharpness (ShOp, ShPred) train accuracy

Baselines: ResNet-18 DenseNet-121 ConvMixer MLP LSTM ConvNext GPT-2

Builds on: spectral bias neural tangent kernel Boolean sensitivity grokking

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy