Skip to main content
QUICK REVIEW

[Paper Review] Shape-Constrained Regression using Sum of Squares Polynomials

Mihaela Curmei, Georgina Hall|arXiv (Cornell University)|Apr 8, 2020
Machine Learning and AlgorithmsComputer Science5 citations
TL;DR

This paper proposes a semidefinite programming (SDP) hierarchy using sum-of-squares (SOS) polynomials to solve shape-constrained multivariate polynomial regression, enforcing convexity or monotonicity over a box. It establishes theoretical consistency of the estimators and proves SOS-convex and SOS-monotone polynomials are dense in their respective convex and monotone polynomial sets, with numerical results showing low optimality gaps and strong performance on large-scale, low-dimensional problems including optimal transport and value function estimation.

ABSTRACT

We present a hierarchy of semidefinite programs (SDPs) for the problem of fitting a shape-constrained (multivariate) polynomial to noisy evaluations of an unknown shape-constrained function. These shape constraints include convexity or monotonicity over a box. We show that polynomial functions that are optimal to any fixed level of our hierarchy form a consistent estimator of the underlying shape-constrained function. As a byproduct of the proof, we establish that sum-of-squares-convex polynomials are dense in the set of polynomials that are convex over an arbitrary box. A similar sum of squares type density result is established for monotone polynomials. In addition, we classify the complexity of convex and monotone polynomial regression as a function of the degree of the polynomial regressor. While our results show NP-hardness of these problems for degree three or larger, we can check numerically that our SDP-based regressors often achieve similar training error at low levels of the hierarchy. Finally, on the computational side, we present an empirical comparison of our SDP-based convex regressors with the convex least squares estimator introduced in [Hildreth, 1954] and [Holloway, 1979] and show that our regressor is valuable in settings where the number of data points is large and the dimension is relatively small. We demonstrate the performance of our regressor for the problem of computing optimal transport maps in a color transfer task and that of estimating the optimal value function of a conic program. A real-time application of the latter problem to inventory management contract negotiation is presented.

Motivation & Objective

  • To develop a scalable, consistent estimator for shape-constrained polynomial regression under convexity or monotonicity constraints.
  • To establish theoretical density results showing SOS-convex and SOS-monotone polynomials are dense in the sets of convex and monotone polynomials over a box.
  • To characterize the computational complexity of convex and monotone polynomial regression, showing NP-hardness for degree ≥3.
  • To demonstrate empirical advantages of the SOS-based estimator over existing methods like CLSE and MAE in terms of generalization error and computational efficiency.
  • To apply the method to real-world problems: production function estimation, optimal transport for color transfer, and real-time inventory management via value function estimation.

Proposed method

  • Formulates a hierarchy of semidefinite programs (SDPs) parameterized by degree $d$ and hierarchy level $r$ to enforce shape constraints via sum-of-squares representations.
  • Uses SOS representations to encode convexity and monotonicity constraints globally over a box, enabling convex optimization-based verification and training.
  • Employs a moment-SOS relaxation framework to approximate the solution to shape-constrained polynomial regression problems.
  • Introduces a convex optimization-based gap bounding method to compare the optimal value of the true shape-constrained problem with that of the SOS-relaxed problem.
  • Applies the method to three applications: econometric production function fitting, optimal transport map computation via color transfer, and optimal value function estimation in conic programs.
  • Employs strong duality and semidefinite relaxation techniques to ensure the validity and computational tractability of the constraints.

Experimental results

Research questions

  • RQ1Can a hierarchy of SOS-based SDPs consistently estimate a shape-constrained function under convexity or monotonicity constraints?
  • RQ2Are SOS-convex polynomials dense in the set of polynomials that are convex over a compact box?
  • RQ3What is the computational complexity of convex and monotone polynomial regression as a function of the polynomial degree?
  • RQ4How does the generalization error of the SOS estimator compare to established methods like CLSE and MAE in large-scale, low-dimensional settings?
  • RQ5Can the SOS-based method effectively estimate optimal transport maps and value functions in real-time applications?

Key findings

  • The proposed SOS-based estimators are consistent for any fixed hierarchy level $r$, proving theoretical convergence to the true shape-constrained function.
  • SOS-convex polynomials are dense in the set of polynomials convex over any compact box, extending sum-of-squares density results to convexity constraints.
  • SOS-monotone polynomials are dense in the set of monotone polynomials over a box, establishing a similar density result for monotonicity.
  • The optimal value gap between the true shape-constrained regression problem and the SOS-relaxed problem is very small—less than 2% even at low hierarchy levels $r=1$ for degree $d=3$.
  • In large-scale, low-dimensional settings, the SOS estimator outperforms CLSE and MAE in generalization error, particularly when fast, repeated predictions are needed.
  • The method achieves state-of-the-art performance in color transfer tasks, outperforming CLSE-based approaches, and enables real-time estimation of value functions in inventory management contract negotiation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.