[Paper Review] Neural networks and rational functions
This paper establishes a tight equivalence between ReLU neural networks and rational functions in terms of approximation efficiency: both can approximate each other using representations of size polynomial in log(1/ε), unlike polynomials which require degree polynomial in 1/ε. The key result shows that while rational functions can efficiently approximate ReLU networks, the depth of the network leads to an exponential dependence on depth in the rational function's degree, which is proven to be tight via a lower bound construction.
Neural networks and rational functions efficiently approximate each other. In more detail, it is shown here that for any ReLU network, there exists a rational function of degree $O( ext{polylog}(1/ε))$ which is $ε$-close, and similarly for any rational function there exists a ReLU network of size $O( ext{polylog}(1/ε))$ which is $ε$-close. By contrast, polynomials need degree $Ω( ext{poly}(1/ε))$ to approximate even a single ReLU. When converting a ReLU network to a rational function as above, the hidden constants depend exponentially on the number of layers, which is shown to be tight; in other words, a compositional representation can be beneficial even for rational functions.
Motivation & Objective
- To characterize the expressive power of ReLU neural networks more finely by identifying a function class that both approximates and is approximated by them.
- To show that rational functions—ratios of polynomials with positive denominators—form a natural and efficient counterpart to ReLU networks.
- To demonstrate that the approximation of ReLU networks by rational functions incurs a depth-dependent exponential blowup in degree, which is proven to be tight.
- To highlight that even for rational functions, a compositional neural network representation offers advantages over standard rational function representations.
Proposed method
- Constructs a rational function of degree O(poly(log(1/ε))) to approximate any ReLU network of size O(poly(log(1/ε))) with ε-uniform error.
- Uses piecewise affine approximation of rational functions via interval subdivision and tangent/linear approximation to bound error over subintervals.
- Applies a depth-dependent lower bound via a hard-to-approximate ReLU network with 2k layers and 2 nodes per layer, showing any rational function with <2^{k-2} terms must have L1 error ≥1/64 on [0,1].
- Introduces rational networks—neural networks with rational activation functions—as a bridge to show that ReLU networks can be approximated by rational functions with only O(log²(l/ε)) degree.
- Employs convexity and second derivative bounds (f'' ≥ 128/27) on 1/x over [1/2, 3/4] to derive integral error lower bounds for affine approximations.
- Uses interval partitioning and length thresholds (≥1/(8N)) to isolate regions where approximation error is large, enabling summing over significant subintervals.
Experimental results
Research questions
- RQ1Can ReLU networks be efficiently approximated by rational functions, and what is the size complexity of such approximations?
- RQ2Is the approximation of rational functions by ReLU networks also efficient, and how does depth affect this trade-off?
- RQ3Why is the rational function representation more efficient than polynomial approximation for ReLU networks, and what is the quantitative gap?
- RQ4Is the exponential dependence on depth in rational approximation of ReLU networks unavoidable, and can it be proven tight?
- RQ5Does a compositional neural network representation offer advantages even when approximating rational functions?
Key findings
- A ReLU network with O(poly(log(1/ε))) size can be approximated by a rational function of degree O(ln(k/ε)^k * m^k), where m is the number of nodes per layer and k is the number of layers.
- The exponential dependence on depth in the rational approximation of ReLU networks is tight: a lower bound shows that any rational function with fewer than 2^{k-2} terms must have L1 error ≥1/64 on [0,1] when approximating a 2k-layer ReLU network with 2 nodes per layer.
- Polynomials require Ω(poly(1/ε)) degree to approximate even a single ReLU, while rational functions achieve O(poly(log(1/ε))) degree, demonstrating a super-polynomial gap in efficiency.
- A rational network with O(k) layers and O(k) nodes, each using a rational activation of degree O(k), cannot be approximated by any rational function with <2^{k-2} total terms in numerator and denominator with error less than 1/128 in L1 norm.
- The conversion from ReLU networks to rational functions is more efficient when using rational networks: replacing each ReLU with a single rational function of degree O(log²(l/ε)) yields ε-approximation.
- The paper establishes that even for rational functions, a neural network representation provides a significant compression advantage over standard rational function representations, due to compositional depth.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.