arXiv:2610.20229stat.MLOct 2026

Manuscript Offprint

arXiv:2610.20229

The minimal width of neural networks and immersions of real projective space

BaoZhi Chu, Ben Weinkove

BAOZHI CHU AND BEN WEINKOVE

ABSTRACT. We investigate the minimal width of deep neural networks that can approximate all continuous functions from Rn\mathbb{R}^n to Rm\mathbb{R}^m in the topology of uniform convergence on compact subsets. We show that whenever the real projective space RPn−1\mathbb{R}\mathbb{P}^{n-1} admits a smooth immersion into Rn\mathbb{R}^n, the minimal width is at least n+min⁡{n,m}n + \min\{n, m\}, assuming that the activation function is continuous and monotone. As a consequence, the minimal width of ReLU networks is n+mn + m whenever nn is equal to 2, 3, 4, 7 or 8 and 1≤m≤n1 \leq m \leq n, extending results of Hanin-Sellke and Hwang. This suggests an intriguing connection between the approximation theory of neural networks and differential topology.

1. INTRODUCTION

A fundamental problem concerning expressivity of neural networks is to understand what architectures can approximate arbitrary continuous functions.

We define a neural network F:Rn→RmF : \mathbb{R}^n \to \mathbb{R}^m to be a map of the form

F=A(L)∘σ∘A(L−1)∘⋯∘σ∘A(1),F=A^{(L)}\circ\sigma\circ A^{(L-1)}\circ\cdots\circ\sigma\circ A^{(1)},

where A(ℓ):Rdℓ−1→RdℓA^{(\ell)} : \mathbb{R}^{d_{\ell-1}} \to \mathbb{R}^{d_{\ell}} are affine maps, LL is a positive integer called the depth and

n=d0,d1,…,dL−1,dL=mn=d_{0},d_{1},\ldots,d_{L-1},d_{L}=m

are the dimensions of FF. The map σ:R→R\sigma: \mathbb{R} \to \mathbb{R} is a continuous activation function, which is extended to arbitrary dimensions σ:Rk→Rk\sigma: \mathbb{R}^k \to \mathbb{R}^k by σ(x1,…,xk)=(σ(x1),…,σ(xk))\sigma(x_1, \ldots, x_k) = (\sigma(x_1), \ldots, \sigma(x_k)). The architecture of FF consists of the dimensions d0,…,dLd_0, \ldots, d_L and the choice of activation σ\sigma. The width of FF is

width(F):=max⁡0≤ℓ≤Ldℓ.\mathrm{width}(F):=\max_{0\leq\ell\leq L}d_{\ell}.

A now classical result is the universal approximation theorem for shallow networks. This states that networks of depth 2 (shallow networks) and arbitrarily large width can approximate any continuous function f:Rn→Rmf : \mathbb{R}^n \to \mathbb{R}^m uniformly on compact subsets, as long as the activation function is not a polynomial [2, 3, 5, 12].

On the other hand, narrow deep networks, which have bounded width but arbitrarily large depth, have powerful approximation properties (see [17, 18], for example). A natural question that arises is the minimal width problem. Given an activation σ\sigma, we ask for the least integer ww such that any continuous function f:Rn→Rmf : \mathbb{R}^n \to \mathbb{R}^m can be approximated uniformly on compact subsets by networks of arbitrary depth and width at most ww. Surprisingly, for most values of nn and mm, and standard activations, this minimal width, which we denote by wmin⁡(n,m)w_{\min}(n, m), remains unknown. Here and throughout the paper, we set wmin⁡(n,m)=∞w_{\min}(n, m) = \infty if the minimal width does not exist.

For the ReLU activation,

σ(x)=max⁡{x,0},\sigma(x)=\max\{x,0\},

Hanin-Sellke [4] showed that

(1.1)

wmin⁡(n,m)≤n+m,w_{\min}(n,m)\leq n+m,

and equality holds when the output dimension m is 1:

wmin⁡(n,1)=n+1.w_{\min}(n,1)=n+1.

When the output dimension is strictly larger than 1, the space of maps f:Rn→Rmf : \mathbb{R}^n \to \mathbb{R}^m is much richer from a geometric-topological point of view. When m=2m = 2, Park-Yun-Lee-Shin [14] showed that equality holds in (1.1) for n=1n = 1, namely

wmin⁡(1,2)=3.w_{\min}(1,2)=3.

Combining results of Kim–Min–Park [11, Theorem 3] and Hanin-Sellke [4, Theorem 1], this can be generalized to

wmin⁡(n,m)≥max⁡{n,m}+1,ifm≤2n.w_{\min}(n,m)\geq\max\{n,m\}+1,\quad if m\leq2n.

Hwang [8] proved that

(1.2)

wmin⁡(2,2)=4.w_{\min}(2,2)=4.

The question of minimal width has also been extensively studied under different hypotheses on the activation function and the approximation space (for example, using LpL^{p} instead of C0C^{0} norms). We refer the reader to [1, 9, 10, 11, 13, 14, 15, 16] and the references therein.

The crux of Hwang’s argument for (1.2) is a two-to-one map from the unit circle S1S^1 to itself, which “wraps around twice”. More precisely, one defines a function f:A→R2f: A \to \mathbb{R}^2, for an annulus AA in R2\mathbb{R}^2 containing the unit circle S1S^1, with the property that ff maps S1S^1 onto S1S^1 with winding number 2. Any neural network approximation to ff of width at most 3 would give rise to an injective map from a simple closed curve in R2\mathbb{R}^2 to the cylinder S1×R⊂R3S^1 \times \mathbb{R} \subset \mathbb{R}^3 which, after projection to S1S^1, would wrap around twice. No such injective map exists and hence the width of the network must be at least 4.

Our main result extends Hwang’s geometric-topological argument to higher dimensions. The map x↦−xx \mapsto -x sending a point on the sphere Sn−1S^{n-1} to its antipodal point defines a two-to-one quotient map from Sn−1S^{n-1} to real projective space RPn−1\mathbb{R}\mathbb{P}^{n-1}, the set of lines through the origin in Rn\mathbb{R}^n. Assuming there is a smooth immersion from RPn−1\mathbb{R}\mathbb{P}^{n-1} to Rn\mathbb{R}^n, the composition gives a smooth immersion from Sn−1S^{n-1} onto its image in Rn\mathbb{R}^n. This map, extended to an annulus in Rn\mathbb{R}^n, plays the role of the function ff in Hwang’s argument.

We prove the following minimal width lower bound for continuous and monotone activations, assuming the existence of smooth immersions of RPn−1\mathbb{R}\mathbb{P}^{n-1} into Rn\mathbb{R}^n. We say that σ:R→R\sigma : \mathbb{R} \to \mathbb{R} is monotone if it is either non-increasing on R\mathbb{R} or non-decreasing on R\mathbb{R} (for example, constant functions are monotone).

Theorem 1.1. Assume the activation function σ\sigma is continuous and monotone. Let n≥2n \geq 2 and m≥1m \geq 1. Assume that there is a smooth immersion i:Rn−1→Rni : \mathbb{R}^n - 1 \to \mathbb{R}^n. Then there exist a compactly supported smooth map f∗:Rn→Rmf_* : \mathbb{R}^n \to \mathbb{R}^m, a compact annulus A⊂RnA \subset \mathbb{R}^n, and ε0>0\varepsilon_0 > 0 such that the following holds. For every network F:Rn→RmF : \mathbb{R}^n \to \mathbb{R}^m of width at most n+min⁡{n,m}−1n + \min\{n, m\} - 1, we have

sup⁡A∣f∗−F∣≥ε0.\sup_{A}\left|f_{*}-F\right|\geq\varepsilon_{0}.

In particular,

wmin⁡(n,m)≥n+min⁡{n,m}.w_{\min}(n,m)\geq n+\min\{n,m\}.

Combining this bound with (1.1) and a well-known classification of the dimensions n for which RPn−1\mathbb{R}\mathbb{P}^{n-1} admits a smooth immersion into Rn\mathbb{R}^n, we obtain the following.

Corollary 1.1. For the ReLU activation,

wmin⁡(n,m)=n+mifn∈{2,3,4,7,8} and1≤m≤n.w_{\min}(n,m)=n+m\quad if n\in\{2,3,4,7,8\}\ and1\leq m\leq n.

The upper bound (1.1) extends easily from the ReLU activation to the Leaky ReLU activations defined by σ(x)=max⁡{x,ax}\sigma(x) = \max\{x, ax\}, for a fixed a∈(0,1)a \in (0,1). Therefore, the conclusion of Corollary 1.1 also holds for Leaky ReLU activations.

We do not expect that the formula wmin⁡(n,m)=n+mw_{\min}(n,m) = n + m holds for all values of n,mn, m with 1≤m≤n1 \leq m \leq n, although we cannot yet provide a counterexample. On the other hand, it is known that if m>2n≥4m > 2n \geq 4 then wmin⁡(n,m)=n+mw_{\min}(n,m) = n + m fails [8, Theorem 4.8]. We believe that this question is connected to differential topology in a non-trivial way, and deserves further study.

The paper is organized as follows. In §2, we record a needed homotopy theorem. The construction of the map ff and its key property Theorem 3.1 are established in §3, while a more explicit and shorter construction for the n=2n=2 case is provided in §4. Theorem 1.1 is proved in §5, and Corollary 1.1 is proved in §6.

AI Disclosure. The authors used ChatGPT to help discover the main results. All arguments were independently checked by the authors and the exposition is entirely their own.