Universal Approximation with Softmax Attention
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 18:49 UTC · 2c3d0bb7a566 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,25 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "8cj7ydwaaK"- }- ],- "title": "Universal Approximation with Softmax Attention",- "authors": [- "Jerry Yao-Chieh Hu",- "Hude Liu",- "Hong-Yu Chen",- "Weimin Wu",- "Han Liu"- ],- "abstract": "We prove that with linear transformations, both (i) two-layer self-attention and (ii) one-layer self-attention followed by a softmax function are universal approximators for continuous sequence-to-sequence functions on compact domains. \nOur main technique is a new interpolation-based method for analyzing attention’s internal mechanism.\nThis leads to our key insight: self-attention is able to approximate a generalized version of ReLU to arbitrary precision, and hence subsumes many known universal approximators.\nBuilding on these, we show that two-layer multi-head attention or even one-layer multi-head attention followed by a softmax function suffices as a sequence-to-sequence universal approximator.\nIn contrast, prior works rely on feed-forward networks to establish universal approximation in Transformers.\nFurthermore, we extend our techniques to show that, \n(softmax-)attention-only layers are capable of approximating\ngradient descent in-context.\nWe believe these techniques hold independent interest.",- "year": 2026,- "venue": "ICLR 2026 submission",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "25081794-b733-47d7-b06a-458c29477662"}
paper.json added
+++ b/paper.json@@ -0,0 +1,15 @@+{+ "title": "Universal Approximation with Softmax Attention",+ "authors": [+ "Jerry Yao-Chieh Hu",+ "Hude Liu",+ "Hong-Yu Chen",+ "Weimin Wu",+ "Han Liu"+ ],+ "abstract": "We prove that with linear transformations, both (i) two-layer self-attention and (ii) one-layer self-attention followed by a softmax function are universal approximators for continuous sequence-to-sequence functions on compact domains. \nOur main technique is a new interpolation-based method for analyzing attention’s internal mechanism.\nThis leads to our key insight: self-attention is able to approximate a generalized version of ReLU to arbitrary precision, and hence subsumes many known universal approximators.\nBuilding on these, we show that two-layer multi-head attention or even one-layer multi-head attention followed by a softmax function suffices as a sequence-to-sequence universal approximator.\nIn contrast, prior works rely on feed-forward networks to establish universal approximation in Transformers.\nFurthermore, we extend our techniques to show that, \n(softmax-)attention-only layers are capable of approximating\ngradient descent in-context.\nWe believe these techniques hold independent interest.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}