Article · Wikipedia archive · Last revised Jul 3, 2026

Barron space

In functional analysis, the Barron space is a function space. It is a Banach space. It originated from the study of universal approximation properties of two-layer neural networks. It has applications in approximation theory and statistical learning theory.

Last revised
Jul 3, 2026
Read time
≈ 9 min
Length
2,124 w
Citations
15
Source

In functional analysis, the Barron space is a function space. It is a Banach space. It originated from the study of universal approximation properties of two-layer neural networks. It has applications in approximation theory and statistical learning theory.

It is named after Andrew R. Barron, who did work on the functional analysis of two-layer neural networks, though he did not define Barron space in his works.1

Setup

We quote the following universal approximation theorem:

Universal approximation theoremLet C ( X , R m ) {\displaystyle C(X,\mathbb {R} ^{m})} denote the set of continuous functions from a subset X {\displaystyle X} of a Euclidean R n {\displaystyle \mathbb {R} ^{n}} space to a Euclidean space R m {\displaystyle \mathbb {R} ^{m}} . Let σ C ( R , R ) {\displaystyle \sigma \in C(\mathbb {R} ,\mathbb {R} )} . Note that ( σ x ) i = σ ( x i ) {\displaystyle (\sigma \circ x)_{i}=\sigma (x_{i})} , so σ x {\displaystyle \sigma \circ x} denotes σ {\displaystyle \sigma } applied to each component of x {\displaystyle x} .

Then σ {\displaystyle \sigma } is not polynomial if and only if for every n N {\displaystyle n\in \mathbb {N} } , m N {\displaystyle m\in \mathbb {N} } , compact K R n {\displaystyle K\subseteq \mathbb {R} ^{n}} , f C ( K , R m ) , ε > 0 {\displaystyle f\in C(K,\mathbb {R} ^{m}),\varepsilon >0} there exist k N {\displaystyle k\in \mathbb {N} } , A R k × n {\displaystyle A\in \mathbb {R} ^{k\times n}} , b R k {\displaystyle b\in \mathbb {R} ^{k}} , C R m × k {\displaystyle C\in \mathbb {R} ^{m\times k}} such that sup x K f ( x ) g ( x ) < ε {\displaystyle \sup _{x\in K}\|f(x)-g(x)\|<\varepsilon } where g ( x ) = C ( σ ( A x + b ) ) {\displaystyle g(x)=C\cdot (\sigma (A\cdot x+b))}

In words, given a subset X R n {\displaystyle X\subset \mathbb {R} ^{n}} , and a fixed activation function σ {\displaystyle \sigma } that is not a polynomial function, then any continuous function of type X R m {\displaystyle X\to \mathbb {R} ^{m}} can be approximated as a 2-layered neural network with a linear layer ( A , b ) {\displaystyle (A,b)} , followed by the nonlinear activation σ {\displaystyle \sigma } , followed by another linear layer C {\displaystyle C} . Furthermore, given any compact subset K X {\displaystyle K\subset X} , the approximation can be arbitrarily good in the uniform norm.

Usually we only consider the case where the neural network has a single output, that is, the case where m = 1 {\displaystyle m=1} , since for multiple outputs, the outputs can be separately approximated. We assume that m = 1 {\displaystyle m=1} for the rest of the article.

Number of hidden neurons

In the statement of the theorem, the middle layer is the hidden layer. The number k {\displaystyle k} is the number of neurons in the hidden layer. These neurons are called hidden neurons.

Given a compact set X R n {\displaystyle X\subset \mathbb {R} ^{n}} , to approximate a generic continuous function to an accuracy of ϵ {\displaystyle \epsilon } in the uniform norm over X {\displaystyle X} , O ( ϵ d ) {\displaystyle O(\epsilon ^{-d})} hidden neurons are needed. This is a manifestation of the curse of dimensionality.

In a 1993 paper, Barron showed that a large class of continuous functions are much more approximable than a generic continuous function. Specifically, he showed that there is a set of continuous functions such that, given any Borel probability measure μ {\displaystyle \mu } , only O ( ϵ 2 ) {\displaystyle O(\epsilon ^{-2})} hidden neurons are needed to approximate f {\displaystyle f} to an accuracy of ϵ {\displaystyle \epsilon } in the L 2 ( μ ) {\displaystyle L^{2}(\mu )} norm. In this sense, these functions are nice, in that they can be efficiently approximated by a neural network without hitting the curse of dimensionality.23

Definition

It is natural to consider the infinite width limit, where the summation turns into an integral: f ( x ) := c σ ( a T x + b ) ρ ( d a , d b , d c ) {\displaystyle f(x):=\int c\,\sigma (a^{T}x+b)\;\rho (da,db,dc)} where a , b , c {\displaystyle a,b,c} takes values in R n , R , R {\displaystyle \mathbb {R} ^{n},\mathbb {R} ,\mathbb {R} } , and ρ {\displaystyle \rho } is a probability distribution over R n × R × R {\displaystyle \mathbb {R} ^{n}\times \mathbb {R} \times \mathbb {R} } .

Different ρ {\displaystyle \rho } may lead to the same f {\displaystyle f} . That is, the representation of a function as an infinite-width neural network is not unique. However, among these, one may be selected as having lowest regularization loss, as usual in statistical learning theory.

ReLU activation

If σ {\displaystyle \sigma } is the ReLU function, define as follows.

For any p [ 1 , ] {\displaystyle p\in [1,\infty ]} , define the regularization loss of representation ρ {\displaystyle \rho } as ρ p := E ( a , b , c ) ρ [ | c ( a 1 + | b | ) | p ] 1 / p {\displaystyle \|\rho \|_{p}:=\mathbb {E} _{(a,b,c)\sim \rho }{\Big [}|c(\|a\|_{1}+|b|)|^{p}{\Big ]}^{1/p}} if p [ 1 , ) {\displaystyle p\in [1,\infty )} , and ρ p := sup ( a , b , c ) supp ρ | c ( a 1 + | b | ) | {\displaystyle \|\rho \|_{p}:=\sup _{(a,b,c)\in \operatorname {supp} \rho }|c(\|a\|_{1}+|b|)|} if p = {\displaystyle p=\infty } . This is defined in analogy to Lp spaces, and is motivated by the previous result on the number of hidden neurons.

The special case of p = 1 {\displaystyle p=1} is also called the path norm, since it is interpreted as the path weight c ( a 1 + | b | ) {\displaystyle c(\|a\|_{1}+|b|)} , averaged across all paths from the inputs to the output of the neural network.

The p-Barron norm of f {\displaystyle f} is defined as f B p := inf ρ  represents  f ρ p {\displaystyle \|f\|_{B_{p}}:=\inf _{\rho {\text{ represents }}f}\|\rho \|_{p}} The p-Barron space over X R n {\displaystyle X\subset \mathbb {R} ^{n}} is the set of continuous functions of type X R {\displaystyle X\to \mathbb {R} } of finite p-Barron norm.

It can be proven that if f B p < {\displaystyle \|f\|_{B_{p}}<\infty } for some p [ 1 , ] {\displaystyle p\in [1,\infty ]} , then f B p {\displaystyle \|f\|_{B_{p}}} is the same for all p [ 1 , ] {\displaystyle p\in [1,\infty ]} . Therefore, all these are the same, and we drop the p and call all of B p {\displaystyle \|\cdot \|_{B_{p}}} the same Barron norm, and the space of them the Barron space. It is written as B {\displaystyle {\mathcal {B}}} 1

The Barron space is a Banach space.3: Thm. 2.3 

Non-ReLU activation

If σ {\displaystyle \sigma } is not the ReLU function, then define the p-extended Barron norm: ρ p := E ( a , b , c ) ρ [ | c ( a 1 + | b | + 1 ) | p ] 1 / p {\displaystyle \|\rho \|_{p}:=\mathbb {E} _{(a,b,c)\sim \rho }{\Big [}|c(\|a\|_{1}+|b|\color {red}{+1}\color {black})|^{p}{\Big ]}^{1/p}} f B ~ p := inf ρ  represents  f ρ p {\displaystyle \|f\|_{{\tilde {B}}_{p}}:=\inf _{\rho {\text{ represents }}f}\|\rho \|_{p}} Similarly, define the p-extended Barron spaces.

In general, they are not the same for different values of p.

Multilayer version

There is a generalization for multilayer neural networks with ReLU activations.4

Properties

Basic properties

Theorem.1: Thm. 1  Given f B {\displaystyle f\in {\mathcal {B}}} , then for any positive integer k {\displaystyle k} , there exists a two-layer ReLU network with M {\displaystyle M} hidden neurons f M ( x ) = 1 M i = 1 M c i ReLU ( a i x + b i ) {\displaystyle f_{M}(x)={\frac {1}{M}}\sum _{i=1}^{M}c_{i}\;\operatorname {ReLU} (a_{i}\cdot x+b_{i})} such that f M f L 2 ( Ω ) 2 3 f B 2 M {\displaystyle \left\|f_{M}-f\right\|_{L^{2}(\Omega )}^{2}\leq {\frac {3\|f\|_{B}^{2}}{M}}} , and 1 M i = 1 M | c i | ( a i 1 + | b i | ) 2 f B {\displaystyle {\frac {1}{M}}\sum _{i=1}^{M}|c_{i}|(\|a_{i}\|_{1}+|b_{i}|)\leq 2\|f\|_{B}} .

Theorem.1: Thm. 2  (converse to the previous theorem) For any f {\displaystyle f} continuous on X R n {\displaystyle X\subset \mathbb {R} ^{n}} , if there exists a sequence of two-layer ReLU networks f M {\displaystyle f_{M}} with M = 1 , 2 , {\displaystyle M=1,2,\dots } hidden neurons, converging f M f {\displaystyle f_{M}\to f} pointwise, and the Barron norms of these f M {\displaystyle f_{M}} are uniformly bounded by a single C {\displaystyle C} : 1 M i = 1 M | c i | ( a i 1 + | b i | ) C , M = 1 , 2 , 3 , {\displaystyle {\frac {1}{M}}\sum _{i=1}^{M}|c_{i}|(\|a_{i}\|_{1}+|b_{i}|)\leq C,\quad \forall M=1,2,3,\dots } then f B {\displaystyle f\in {\mathcal {B}}} and f B C {\displaystyle \|f\|_{B}\leq C} .

Harmonic analysis

Theorem. For any f {\displaystyle f} continuous on X R n {\displaystyle X\subset \mathbb {R} ^{n}} , define γ ( f ) := inf f ^ R n ω 1 2 | f ^ ( ω ) | d ω {\displaystyle \gamma (f):=\inf _{\hat {f}}\int _{\mathbb {R} ^{n}}\|\omega \|_{1}^{2}|{\hat {f}}(\omega )|d\omega } where f ^ {\displaystyle {\hat {f}}} ranges over Fourier transformations of all possible extensions of f {\displaystyle f} to all of R n {\displaystyle \mathbb {R} ^{n}} , then, if γ ( f ) < {\displaystyle \gamma (f)<\infty } , then f B {\displaystyle f\in {\mathcal {B}}} .

Furthermore, we have the explicit upper bound:1: Prop. 2  f B 2 γ ( f ) + 2 f ( 0 ) 1 + 2 | f ( 0 ) | {\displaystyle \|f\|_{\mathcal {B}}\leq 2\gamma (f)+2\|\nabla f(0)\|_{1}+2|f(0)|}

Statistical learning theory

Let S = { z 1 , z 2 , , z m } Z {\displaystyle S=\{z_{1},z_{2},\dots ,z_{m}\}\subseteq Z} be a sample of points and consider a function class F {\displaystyle {\mathcal {F}}} of real-valued functions over Z {\displaystyle Z} . Then, the empirical Rademacher complexity of F {\displaystyle {\mathcal {F}}} given S {\displaystyle S} is defined as:

Rad S ( F ) = 1 m E σ [ sup f F | i = 1 m σ i f ( z i ) | ] {\displaystyle \operatorname {Rad} _{S}({\mathcal {F}})={\frac {1}{m}}\mathbb {E} _{\sigma }\left[\sup _{f\in {\mathcal {F}}}\left|\sum _{i=1}^{m}\sigma _{i}f(z_{i})\right|\right]}

Theorem.1: Thm. 3  For any C > 0 {\displaystyle C>0} , let F C := { f B : f B C } {\displaystyle {\mathcal {F}}_{C}:=\{f\in {\mathcal {B}}:\|f\|_{B}\leq C\}} , then Rad S ( F C ) 2 C 2 ln ( 2 n ) | S | {\displaystyle \operatorname {Rad} _{S}({\mathcal {F}}_{C})\leq 2C{\sqrt {\frac {2\ln(2n)}{|S|}}}} , where as a reminder n {\displaystyle n} is the number of dimensions of the domain of f {\displaystyle f} .

This result shows that the space of functions bounded in Barron norm has low Rademacher complexity, which according to statistical learning theory, means they are highly learnable. This rhymes with the fact that they are well approximable by a network with few hidden neurons.

See also

See also

References

References

  1. E, Weinan; Ma, Chao; Wu, Lei (2022-02-01). "The Barron Space and the Flow-Induced Function Spaces for Neural Network Models". Constructive Approximation. 55 (1): 369–406. doi:10.1007/s00365-021-09549-y. ISSN 1432-0940.
  2. Barron, A.R. (May 1993). "Universal approximation bounds for superpositions of a sigmoidal function". IEEE Transactions on Information Theory. 39 (3): 930–945. Bibcode:1993ITIT...39..930B. doi:10.1109/18.256500. ISSN 0018-9448.
  3. E., Weinan; Wojtowytsch, Stephan (April 2022). "Representation formulas and pointwise properties for Barron functions". Calculus of Variations and Partial Differential Equations. 61 (2) 46. doi:10.1007/s00526-021-02156-6. ISSN 0944-2669.
  4. E, Weinan; Wojtowytsch, Stephan (2020-07-30), On the Banach spaces associated with multi-layer ReLU networks: Function representation, approximation theory and gradient descent dynamics, arXiv:2007.15623