Abstract
We provide an introduction to the Christoffel function (CF), a well-known (and old) tool from the theory of approximation and orthogonal polynomials. We then describe how it provides a simple and easy-to-use tool to address some problems in data analysis and mining, and in approximation and interpolation of discontinuous functions. Finally we also reveal some surprising links of the CF with seemingly different disciplines, including polynomial optimization, positivity certificates, and equilibrium measures of compact sets.
Introduction
The Christoffel function (CF) is a classical mathematical object rooted in the theory of orthogonal polynomials and approximation. While traditionally relegated to specialized textbooks, recent work by Jean B. Lasserre demonstrates its profound utility in modern data science and optimization. This paper provides a synthesis of the CF's properties, revealing its ability to detect outliers without parameter tuning, approximate discontinuous functions without the Gibbs phenomenon, and bridge the gap between probability theory and algebraic geometry.
Mathematical Foundations
The core of the Christoffel function lies in its relationship with the Christoffel-Darboux (CD) kernel. For a given measure $\mu$ (representing a data distribution), the CF $\Lambda_n(\mu, z)$ can be defined through a variational formulation. It is the solution to a quadratic optimization problem: finding a polynomial $p$ of degree at most $n$ that minimizes the integral $\int p^2 d\mu$ subject to the constraint $p(z) = 1$.
This formulation allows the CF to act as a sensitive probe of the measure's support. A critical insight is the growth dichotomy: the inverse of the CF grows polynomially with the degree $n$ for points inside the support of the data, but grows exponentially for points outside. This property makes it an exceptionally sensitive tool for identifying the boundaries of a data cloud.
Applications in Data Analysis and Mining
Parameter-Free Outlier Detection
One of the most practical applications of the CF is in outlier detection. Because of the exponential growth of $1/\Lambda_n$ outside the support, the CF provides a natural "score" for how likely a point is to be an outlier. Unlike popular methods such as Isolation Forests or Kernel Density Estimation (KDE), the CF-based approach is largely parameter-free, requiring no manual tuning of bandwidths or thresholds to identify the underlying geometry of the data.
Support Inference
The CF can be used to infer the "shape" of a data cloud. By analyzing the level sets of the Christoffel function, researchers can reconstruct the support of a measure even in high-dimensional spaces, provided the degree $n$ is sufficiently large to capture the geometric nuances.
Approximation of Discontinuous Functions
A persistent challenge in numerical analysis is the Gibbs phenomenon, where smooth polynomial approximations of discontinuous functions (like step functions) exhibit wild oscillations near the points of discontinuity.
Lasserre introduces a "non-standard" approximation technique to circumvent this. By treating the graph of a discontinuous function $f$ as the support of a measure, the CF can be used to identify this graph in the $(x, y)$ plane. This approach allows for the reconstruction of the function without the oscillations typical of standard $L^2$ polynomial regression. Results on synthetic benchmarks, such as the Eckhoff functions, demonstrate that this method recovers sharp jumps with high fidelity, bypassing the limitations of standard polynomial interpolation.
Theoretical Connections and Extensions
Polynomial Optimization and Positivity Certificates
The paper establishes a direct link between the CF and the Moment-SOS (Sum-of-Squares) hierarchy. It is proven that every SOS polynomial in the interior of a convex cone is essentially the reciprocal of a Christoffel function. This provides a new perspective on "certificates of positivity"—mathematical proofs that a polynomial remains positive over a specific set—which are central to global optimization.
Links to Number Theory
In a surprising cross-disciplinary connection, the author reveals a link between the CF of the Chebyshev measure and the polynomial version of Pell's equation. This suggests that the properties of the CF are deeply intertwined with classical problems in number theory, offering potential new avenues for research in both fields.
Regularized Density Estimation
Traditionally, the CF's asymptotic behavior is tied to the equilibrium measure of a set, which can be difficult to compute. Lasserre introduces a regularized CF using a small parameter $\epsilon$. This regularization "washes out" the dependency on the equilibrium measure, allowing the CF to converge directly to the underlying density $f(x)$ of the measure, significantly simplifying its application in density estimation tasks.
Limitations and Future Directions
Despite its elegance, the Christoffel function faces challenges in high-dimensional settings. The size of the moment matrix required to compute the CF grows combinatorially with the number of variables $d$ and the polynomial degree $n$. This computational cost currently limits its application to moderately sized problems. Future research is directed toward developing more scalable algorithms and further exploring the CF's role in providing faster positivity certificates for large-scale optimization problems.
Summary updated