Lune

ICML2024Top-tier venue

Vocabulary for Universal Approximation: A Linguistic Perspective of Mapping Compositions

Yongqiang Cai

Abstract

In recent years, deep learning-based sequence modelings, such as language models, have received much attention and success, which pushes researchers to explore the possibility of transforming non-sequential problems into a sequential form. Following this thought, deep neural networks can be represented as composite functions of a sequence of mappings, linear or nonlinear, where each composition can be viewed as a word. However, the weights of linear mappings are undetermined and hence require an infinite number of words. In this article, we investigate the finite case and constructively prove the existence of a finite vocabulary V={ϕi:Rd→Rd∣i=1,...,n}V=\{\phi_i: \mathbb{R}^d \to \mathbb{R}^d | i=1,...,n\} with n=O(d2)n=O(d^2) for the universal approximation. That is, for any continuous mapping f:Rd→Rdf: \mathbb{R}^d \to \mathbb{R}^d, compact domain Ω\Omega and ε>0\varepsilon>0, there is a sequence of mappings ϕi1,...,ϕim∈V,m∈Z+\phi_{i_1}, ..., \phi_{i_m} \in V, m \in \mathbb{Z}_+, such that the composition ϕim∘...∘ϕi1\phi_{i_m} \circ ... \circ \phi_{i_1} approximates ff on Ω\Omega with an error less than ε\varepsilon. Our results demonstrate an unusual approximation power of mapping compositions and motivate a novel compositional model for regular languages.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Vocabulary In-Context Learning in Transformers: Benefits of Positional Encoding cites Minimum Width for Universal Approximation
  • Vocabulary In-Context Learning in Transformers: Benefits of Positional Encoding cites Language Models are Few-Shot Learners
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites Language Models are Few-Shot Learners
  • Decision Transformer: Reinforcement Learning via Sequence Modeling cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Decision Transformer: Reinforcement Learning via Sequence Modeling cites Language Models are Few-Shot Learners
  • Do Residual Neural Networks discretize Neural Ordinary Differential Equations? cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Vocabulary In-Context Learning in Transformers: Benefits of Positional EncodingQian Ma, Ruoxiang Xu, Yongqiang CaiNeurIPS 2025

Builds on9

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. Decision Transformer: Reinforcement Learning via Sequence ModelingLili Chen, Kevin Lu, Aravind Rajeswaran, Kimin Lee et al.NeurIPS 2021 · 2,557 citations
  4. Minimum Width for Universal ApproximationSejun Park, Chulhee Yun, Jaeho Lee, Jinwoo ShinICLR 2021 · 148 citations
  5. Do Residual Neural Networks discretize Neural Ordinary Differential Equations?Michael E. Sander, Pierre Ablin, Gabriel PeyréNeurIPS 2022 · 42 citations

Related papers

  1. On Enhancing Expressive Power via Compositions of Single Fixed-Size ReLU NetworkShijun Zhang, Jianfeng Lu, Hongkai ZhaoICML 2023 · 9 citations
  2. Are Transformers universal approximators of sequence-to-sequence functions?Chulhee Yun, Srinadh Bhojanapalli, Ankit Singh Rawat, Sashank J. Reddi et al.ICLR 2020 · 481 citations
  3. A closer look at the approximation capabilities of neural networksKai Fong Ernest ChongICLR 2020 · 18 citations
  4. Universal approximation power of deep residual neural networks via nonlinear control theoryPaulo Tabuada, Bahman GharesifardICLR 2021 · 31 citations
  5. Understanding Robust Generalization in Learning Regular LanguagesSoham Dan, Osbert Bastani, Dan RothICML 2022 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines