Papers
Topics
Authors
Recent
Search
2000 character limit reached

Normalized Weighted Least Squares (NWLS)

Updated 1 February 2026
  • NWLS is a function approximation strategy that uses Christoffel weights to stabilize least squares systems and achieve near-optimal recovery from finite samples.
  • It employs a normalized weighted design matrix ensuring uniform row norms, minimal variance, and robust error bounds even in high-dimensional or irregular domains.
  • NWLS is applied in uncertainty quantification, polynomial approximation, and numerical solutions for parametric and stochastic PDEs, offering proven stability and efficiency.

Normalised Weighted Least Squares (NWLS) is a methodology for function approximation in finite-dimensional spaces, achieving stable and near-optimal recovery from finite, possibly noisy samples. It leverages the Christoffel function and related sampling measures to guarantee well-conditioned least-squares systems and robust error bounds even in high-dimensional, irregular, or unbounded domains. The foundational principle is the normalization of the weighted design matrix, enabling uniform row norms and minimal variance in the empirical projection operator. NWLS underpins modern approaches in uncertainty quantification, polynomial approximation, and numerical solutions of parametric and stochastic PDEs (Cohen et al., 2016, Migliorati, 2019, Narayan et al., 2014).

1. Mathematical Formulation and Theoretical Framework

NWLS operates in a probability space (X,ρ)(X, \rho) where dρd\rho is a probability measure on XRdX\subset \mathbb{R}^d. Let VmL2(X,dρ)V_m\subset L^2(X, d\rho) be an mm-dimensional space with an L2L^2-orthonormal basis {Lj}j=1m\{L_j\}_{j=1}^m. The Christoffel function is defined as

km,ρ(x):=j=1mLj(x)2.k_{m, \rho}(x) := \sum_{j=1}^m |L_j(x)|^2.

NWLS specifies the weight and sampling measure as

w(x)=mkm,ρ(x),dμ(x)=km,ρ(x)mdρ(x).w(x) = \frac{m}{k_{m, \rho}(x)}, \quad d\mu(x) = \frac{k_{m, \rho}(x)}{m} d\rho(x).

Given nn independent samples {xi}i=1nμ\{x^i\}_{i=1}^n \sim \mu, the weighted least-squares estimator uWVmu_W\in V_m minimizes the weighted empirical risk:

uW=argminvVm1ni=1nw(xi)(v(xi)u(xi))2.u_W = \arg\min_{v\in V_m} \frac{1}{n}\sum_{i=1}^n w(x^i)\left(v(x^i)-u(x^i)\right)^2.

In matrix terms, with Gram matrix Gjk=1ni=1nw(xi)Lj(xi)Lk(xi)G_{jk} = \frac{1}{n}\sum_{i=1}^n w(x^i)L_j(x^i)L_k(x^i) and right-hand side dj=1niw(xi)u(xi)Lj(xi)d_j = \frac{1}{n}\sum_i w(x^i) u(x^i) L_j(x^i), the coefficients vv solve Gv=dGv = d (Cohen et al., 2016, Narayan et al., 2014).

2. Christoffel Function and Sampling Measures

The Christoffel function km,ρk_{m,\rho} plays a central role in sample weighting and measure design. Its reciprocal, normalized as w(x)=m/km,ρ(x)w(x) = m / k_{m, \rho}(x), ensures that the weighted design matrix w(x)Lj(x)\sqrt{w(x)} L_j(x) has row norms equal to unity. Under the sampling measure dμd\mu, the Christoffel-weighted sum km,w(x):=j=1mw(x)Lj(x)2=mk_{m,w}(x):=\sum_{j=1}^m w(x) |L_j(x)|^2=m is constant, minimizing the supremum Km,wK_{m, w} and regularizing the least-squares system. For general bounded domains, the approximation space VnL2(Ω,μ)V_n\subset L^2(\Omega, \mu) (with orthonormal basis {Lj}\{L_j\}) yields kn(x)=j=1nLj(x)2k_n(x)=\sum_{j=1}^n |L_j(x)|^2, normalized via w(x)=n/kn(x)w(x)=n/k_n(x) and corresponding sampling measure dσn(x)=(kn(x)/n)dμ(x)d\sigma_n(x) = (k_n(x)/n) d\mu(x) (Migliorati, 2019).

A principal innovation is the prescription to sample from the measure induced by km,ρk_{m,\rho} (or the pluripotential equilibrium measure in some settings), which yields stability and accuracy guarantees unattainable with naive Monte Carlo sampling from the orthogonality measure alone (Narayan et al., 2014).

3. Algorithmic Procedures

NWLS methodology can be summarized by the following steps:

  1. Basis Construction: Identify an L2L^2-orthonormal basis {Lj}\{L_j\} (analytically or via discrete surrogate orthogonalization when unavailable in closed form, as for irregular domains) (Migliorati, 2019).
  2. Christoffel Function Evaluation: Compute km,ρ(x)k_{m,\rho}(x) for all evaluation points.
  3. Sampling Measure: Draw sample points {xi}\{x^i\} i.i.d. from dμ(x)=km,ρ(x)mdρ(x)d\mu(x)=\frac{k_{m, \rho}(x)}{m}d\rho(x) or, for irregular domains, from an empirical surrogate measure.
  4. Weight Calculation: Assign weights w(xi)=m/km,ρ(xi)w(x^i)=m/k_{m,\rho}(x^i).
  5. Weighted Gram Matrix Assembly: Form Gjk=1ni=1nw(xi)Lj(xi)Lk(xi)G_{jk} = \frac1n\sum_{i=1}^n w(x^i)L_j(x^i)L_k(x^i).
  6. Empirical Right-hand Side: Assemble dj=1ni=1nw(xi)u(xi)Lj(xi)d_j = \frac1n\sum_{i=1}^n w(x^i)u(x^i)L_j(x^i).
  7. Solve Normal Equations: Compute coefficients vv via Gv=dGv=d.
  8. Estimator Construction: Return uW(x)=j=1mvjLj(x)u_W(x) = \sum_{j=1}^m v_j L_j(x). In practice, truncation is used to enforce bounds on uT(x)|u_T(x)|.

For irregular, non-tensor-product, or empirical domains, an additional Stage A constructs a discrete near-orthonormal basis via QR factorization of a Vandermonde-like matrix, at cost O(m~n2)O(\widetilde m n^2) with m~\widetilde m scaling with the Christoffel function supremum KnK_n (Migliorati, 2019).

4. Theoretical Guarantees: Stability and Error Bounds

NWLS provides high-probability stability and quasi-optimal error guarantees:

  • Condition Number Bound: With probability at least 12nr1-2n^{-r}, if mκ(r)n/lnnm \leq \kappa(r) n / \ln n, cond(G)3\mathrm{cond}(G) \leq 3 (Cohen et al., 2016).
  • Error Convergence: The mean-square error of the clipped estimator uTu_T satisfies

EuuTL2(dρ)2(1+ϵn)em(u)2+64nr,    ϵn0 as n.\mathbb{E}\|u-u_T\|^2_{L^2(d\rho)} \leq (1+\epsilon_n) e_m(u)^2 + 64 n^{-r},\;\; \epsilon_n \rightarrow 0 \text{ as } n\to\infty.

  • Sample Complexity: In both regular and irregular domains, stable estimation requires nmlnmn \gtrsim m\ln m samples (or mnlnnm \gtrsim n\ln n for the number of samples fitting an nn-dimensional space), a substantial efficiency improvement over classical unweighted least squares. The key analysis for irregular domains also shows that, provided KnnK_n \sim n or n2n^2, overall computational cost remains tractable up to nn in the thousands (Migliorati, 2019, Narayan et al., 2014).
  • Bias Control: Exact sampling from the Christoffel-induced measure yields clean minimax-type error bounds, while sampling from approximate equilibrium measures risks persistent bias terms (Cohen et al., 2016).

5. Sampling Algorithms and Implementation in Multivariate and Irregular Domains

For multivariate problems with non-tensor-product measures dρd\rho, NWLS employs sequential conditional sampling:

  • Each x1kx^k_1 is drawn from a marginal depending on the basis; subsequent coordinates xqkx^k_q are sampled from conditional densities constructed from basis evaluations of prior coordinates.
  • When the Christoffel function or equilibrium measure is defined only empirically (as for irregular domains), surrogate bases are constructed via QR-decomposition of evaluation matrices built on random samples (Migliorati, 2019).
  • Univariate sampling within these algorithms may utilize rejection sampling (envelope method) or inverse transform sampling, both connected directly to the construction of the Christoffel-weighted density or its cumulative (Cohen et al., 2016).

This allows NWLS to be applied to domains with high or infinite dimensions and to polynomial spaces defined on unbounded supports (e.g., multivariate Hermite polynomials under Gaussian measures) (Cohen et al., 2016).

6. Connections, Comparison with Alternative Methods, and Extensions

NWLS generalizes and improves upon standard least-squares and Monte Carlo approaches:

  • In standard least-squares, sampling from the orthogonality measure may yield extremely ill-conditioned Gram matrices when the Christoffel function spikes, resulting in poor accuracy unless a prohibitively large number of samples is used (Narayan et al., 2014).
  • Sampling from the equilibrum measure or the Christoffel-induced measure renders the normalized rows of the design matrix, directly controlling the spectral properties of the Gram matrix and enabling efficient sample complexity independent of the details of ww or VmV_m (Cohen et al., 2016).
  • Recent alternative methods (e.g., Jakeman–Narayan–Zhou) propose sampling from fixed equilibrium measures with Christoffel weights. NWLS analysis demonstrates that only exact pairing of measure and weight achieves unbiased minimax error results (Cohen et al., 2016).
  • NWLS extends to parametric and stochastic PDEs with infinite-dimensional parameter spaces by truncation to finite downward-closed index sets of cardinality mm, with no modification to the overall methodology (Cohen et al., 2016).

A summary table of methodological positions:

Approach Sampling Measure Weights Error/Condition Bounds
Standard Least Squares Orthogonality measure ρ\rho Uniform Potentially poor
NWLS (Christoffel) Christoffel measure μ\mu m/km,ρm/k_{m,\rho} Uniform, minimax
Equilibrium measure + Christoffel Equilibrium measure μ\mu^* m/km,ρm/k_{m,\rho} May introduce bias

7. Computational Complexity and Practical Aspects

The dominant computational cost in NWLS arises in basis orthogonalization (for irregular domains) and assembly of weighted Gram matrices:

  • For regular domains with analytic bases, the cost is O(mn)O(m n) for Gram assembly and O(n3)O(n^3) for solving normal equations.
  • For domains without analytic bases, QR factorization of a m~×n\widetilde m \times n matrix is O(m~n2)O(\widetilde m n^2), with m~\widetilde m scaling with the Christoffel supremum KnK_n.
  • Evaluating basis functions at any point costs O(n)O(n), and total costs remain O(n3logn)O(n^3\log n) provided KnK_n grows mildly with nn (Migliorati, 2019).

Implementation is fully practical up to moderate or high dimensions (nn in the thousands), with complexity and stability tied directly to properties of the Christoffel function for the chosen approximation space and domain.


References:

  • [Optimal weighted least-squares methods, (Cohen et al., 2016)]
  • [Multivariate approximation of functions on irregular domains by weighted least-squares methods, (Migliorati, 2019)]
  • [A Christoffel function weighted least squares algorithm for collocation approximations, (Narayan et al., 2014)]

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Normalised Weighted Least Squares (NWLS).