Universal approximation of symmetric and anti-symmetric functions

Jiequn Han, Yingzhou Li, Lin Lin, Jianfeng Lu, Jiefu Zhang, Linfeng Zhang

This paper provides the first rigorous mathematical proof and explicit error bounds for the universal approximation of symmetric and anti-symmetric functions in any dimension. By bridging combinatorial formulas with neural network architectures, the authors validate why popular models like Deep Sets work and offer a theoretical foundation for next-generation quantum physics simulations.

TL;DR

The authors establish the first constructive universal approximation theorems with explicit parameter bounds for functions that are invariant (symmetric) or change sign (anti-symmetric) under variable permutations. This work provides a solid mathematical footing for neural network architectures used in everything from point cloud processing to quantum many-body problems.

What Problem Does This Paper Address?

In many scientific fields, the order of inputs shouldn't change the output. For example, the energy of a molecule shouldn't change if you swap the labels of two identical atoms (symmetry). In quantum mechanics, swapping two electrons must flip the sign of the wavefunction (anti-symmetry).

While researchers have developed "symmetry-aware" neural networks (like Deep Sets or PointNet) that perform well in practice, a major theoretical gap remained. Previous proofs of "universal approximation"—the guarantee that a network can represent any continuous function—mostly applied to one-dimensional inputs ($d=1$). In higher dimensions ($d>1$), the lack of a natural "order" for points makes the math significantly harder. This paper aims to prove that these specialized architectures are indeed universal for any dimension and to quantify exactly how many parameters are needed to reach a specific accuracy ($\epsilon$).

Methods

The paper focuses on two main types of functions:

  1. Symmetric Functions: $f(x_1, ..., x_N) = f(x_{\sigma(1)}, ..., x_{\sigma(N)})$ for any permutation $\sigma$.
  2. Anti-symmetric Functions: $f(x_1, ..., x_N) = (-1)^\sigma f(x_{\sigma(1)}, ..., x_{\sigma(N)})$.

To prove universality, the authors use two primary mathematical tools:

  • The Ryser Formula: A combinatorial method for calculating the "permanent" of a matrix. They use this to show that symmetric polynomials can be decomposed into a form that matches the "Deep Sets" architecture: $\phi(\sum g(x_i))$.
  • Lattice Partitioning: They divide the input space into a grid (lattice) and use piecewise-constant functions to approximate the target. By applying the Ryser formula to these indicator functions, they derive explicit bounds on the number of feature variables ($M$) required.
  • Vandermonde Determinants: For the anti-symmetric case, they combine the symmetric ansatz with Vandermonde-like products to ensure the sign-flipping property is maintained while remaining universal.

Datasets

Not discussed in the paper. This is a purely theoretical work focused on mathematical proofs and complexity bounds rather than empirical benchmarking.

Key Insights and Ideas

  • Breaking the 1D Barrier: The authors show that the "Deep Sets" architecture is universal for $d > 1$ without needing a global sorting operation, which was a limitation in previous theoretical treatments.
  • The Permanent Connection: The realization that symmetric functions are deeply related to matrix permanents allowed the authors to leverage the Ryser formula to provide a constructive proof.
  • Explicit Error Bounds: Unlike previous existence proofs, this paper provides a concrete (though "pessimistic") bound on the number of parameters. It quantifies the "curse of dimensionality" for these constrained functions.
  • Vandermonde vs. Slater: In quantum chemistry, "Slater determinants" are the standard way to enforce anti-symmetry but are computationally expensive ($O(N^3)$). The authors prove that a simpler Vandermonde-based ansatz ($O(N^2)$) is also universal, potentially offering a more efficient path for certain simulations.

Key Results

  • Theorem 1.1 (Symmetric): Proves that for a given error $\epsilon$, there exists a symmetric neural network where the number of feature variables $M$ is bounded by $2^N (\dots) / (\epsilon^{Nd} N!)$.
  • Theorem 1.2 (Anti-symmetric): Establishes a similar universal approximation for anti-symmetric functions using a sum of $K$ terms, each consisting of a symmetric function multiplied by a permutation-equivariant mapping.
  • Complexity: The authors acknowledge that their bounds are "pessimistic" (exponential in $N$), but they represent the first time such bounds have been rigorously defined for these symmetry constraints.

Limitations and Future Work

  • The Curse of Dimensionality: The parameter bounds still scale exponentially with the number of particles ($N$) and dimensions ($d$). Finding "Barron-like" spaces where this curse can be mitigated is a suggested next step.
  • Discontinuity: The specific construction used in the proof relies on indicator functions, which are discontinuous. In physical applications like molecular dynamics, smooth (continuous) approximations are required to ensure energy conservation. The authors suggest using smooth cutoff functions to address this but leave the formal error bounds for future work.
  • Generalization: The paper proves the expressive power of these networks, but not how easily they can be trained or how well they generalize to unseen data. The authors point to recent work on "Barron spaces" for symmetric functions as a promising direction for understanding generalization.

Summary updated

BibTeX
@misc{han2019universal,
  author = {Jiequn Han and Yingzhou Li and Lin Lin and Jianfeng Lu and Jiefu Zhang and Linfeng Zhang},
  title = {{Universal approximation of symmetric and anti-symmetric functions}},
  year = {2019},
  eprint = {1912.01765},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.01765},
}
Figure