Source-linked AI summary
NP-hardness of Deciding Convexity of Quartic Polynomials and Related Problems
Amir Ali Ahmadi, Alex Olshevsky, Pablo A. Parrilo, John N. Tsitsiklis
TL;DR
The paper addresses the long-standing question of deciding convexity for quartic polynomials. It analyzes degree-dependent complexity and finds strong hardness for several even-degree properties, while odd-degree quasiconvexity and pseudoconvexity are decidable in polynomial time.
Problem
The complexity of deciding whether a quartic polynomial is convex remained an open question since Shor posed it in 1992.
Source: §1 · p. 1Method
The paper analyzes degree-dependent decision complexity, including a gradient-structure test for odd-degree quasiconvexity and hardness results for even degrees.
Source: §4.2.1 · p. 14, §5 · p. 17Results
Unless P=NP, polynomial- or pseudo-polynomial-time algorithms cannot decide the listed properties for even-degree polynomials of degree four or higher, while odd-degree quasiconvexity and pseudoconvexity have polynomial-time algorithms.
Source: §1 · p. 2, §5 · p. 17Takeaways & Limitations
Without additional structure, ensuring that a polynomial has convexity is likely intractable.
Source: §5 · p. 17The complexity analysis assumes rational polynomial coefficients, which can be cleared to integers.
Source: §2.1 · p. 4
Abstract
from arXiv · showhide
We show that unless P=NP, there exists no polynomial time (or even pseudo-polynomial time) algorithm that can decide whether a multivariate polynomial of degree four (or higher even degree) is globally convex. This solves a problem that has been open since 1992 when N. Z. Shor asked for the complexity of deciding convexity for quartic polynomials. We also prove that deciding strict convexity, strong convexity, quasiconvexity, and pseudoconvexity of polynomials of even degree four or higher is strongly NP-hard. By contrast, we show that quasiconvexity and pseudoconvexity of odd degree polynomials can be decided in polynomial time.
1 Introduction
The introduction frames quartic convexity testing as a long-standing complexity question with practical relevance, then presents strong NP-hardness results and a degree-dependent account of related convexity properties.
1 Introduction
- Shor’s 1992 question asks about quartic convexity, the first nontrivial degree because odd-degree convexity is trivial and quadratic convexity reduces to a positive-semidefinite matrix check.Convexity testing matters in global polynomial minimization and in searching over families of convex polynomials.Source: §1 · pp. 1–2
- Deciding convexity of degree-4 polynomials is strongly NP-hard, ruling out polynomial- or pseudo-polynomial-time algorithms unless P=NP.The authors also suggest that exact characterizations of convexity and its variants may therefore be inefficient to check for polynomials.Source: §1 · pp. 2–3
- The hardness results extend to strict convexity, strong convexity, quasiconvexity, and pseudoconvexity, each of which has stated uses in optimization or related applications.For example, quasiconvexity can certify convexity of feasible sets defined by polynomial inequalities, while pseudoconvexity ensures local minima are global.Source: §1 · p. 2
1.1 Related Literature
- Prior work establishes hardness for quartic and biquadratic nonnegativity, while Guo’s work on convexity over simplices does not prove NP-hardness.The paper also relates quartic-form convexity to nonnegativity of a special class of biquadratic forms.Source: §1.1 · p. 3
- SOS-convexity is a semidefinite-program-checkable sufficient condition for convexity, but some convex polynomials are not SOS-convex.The cited counterexample establishes that the sufficient condition does not capture every convex polynomial.Source: §1.1 · p. 4
1.2 Contributions and organization of the paper
- The paper organizes its degree-dependent complexity results across convexity, strict and strong convexity, and quasiconvexity and pseudoconvexity, including polynomial-time tests for odd-degree quasiconvexity and pseudoconvexity.Its main reduction proves quartic-form convexity hardness, which is extended to strict and strong convexity and to quasiconvexity and pseudoconvexity.Source: §1.2 · p. 4
2 Complexity of deciding convexity
The section establishes the easy cases for deciding polynomial convexity and proves strong NP-hardness beginning at degree four. Its main reduction converts nonnegativity of a biquadratic form into convexity of a homogeneous quartic.
2.1 Definitions and basics
- For computational complexity, polynomial inputs are represented by rational coefficients, and convexity is characterized by a positive semidefinite Hessian.The paper takes rational coefficients as integers after clearing denominators.Source: §2.1 · pp. 4–5
2.2 Degrees that are easy
- Convexity is easy to decide for odd-degree polynomials and quadratics, where it reduces to positive semidefiniteness of a constant matrix.Linear polynomials are convex, while polynomials of odd degree at least three cannot be convex; quadratic convexity is decidable in polynomial time.Source: §2.2 · p. 5
2.3 Degrees that are hard
- Deciding convexity of degree-four polynomials is strongly NP-hard, even when the polynomials are homogeneous.The result extends to every fixed even degree d ≥ 4.Source: §2.3 · pp. 5, 9
- A polynomial matrix need not be a valid Hessian, because mixed third partial derivatives of a polynomial must commute.The reduction addresses this constraint by constructing the polynomial whose Hessian carries the encoded matrix structure.Source: §2.3 · p. 6
- The reduction constructs a quartic form f from a biquadratic form b so that b is nonnegative if and only if f is convex.The construction embeds the relevant matrix structure into a valid Hessian and controls its off-diagonal terms.Source: §2.3 · pp. 6–7
- The same construction links sums of squares biquadratic forms to sos-convex quartic forms and explicitly yields convex quartics that are not sos-convex.The latter construction starts from a positive semidefinite biquadratic form that is not a sum of squares.Source: §2.3 · p. 9
- Hardness also applies to nonnegativity of a structured homogeneous quartic and to deciding convexity of basic closed semialgebraic sets with a degree-four defining polynomial.The first follows from an equivalence with convexity of a quartic; the second uses the epigraph of a quartic polynomial.Source: §2.3 · pp. 9–10
3 Complexity of deciding strict convexity and strong convexity
The section contrasts easy cases for strict and strong convexity with hardness at even degrees four and above. For quadratics, strict and strong convexity coincide and are polynomial-time decidable.
3.2 Degrees that are easy
- For quadratic polynomials, strict convexity and strong convexity are equivalent and can be decided in polynomial time.Strong convexity is equivalent to positive definiteness of the quadratic coefficient matrix.Source: §3.2 · pp. 10–11
- A quadratic polynomial that is not strongly convex cannot be strictly convex: a zero eigenvalue gives a direction along which its restriction is linear.A negative eigenvalue instead makes the polynomial nonconvex.Source: §3.2 · p. 11
3.3 Degrees that are hard
- Deciding strict or strong convexity is NP-hard for polynomials of every fixed even degree d ≥ 4.The reductions extend the quartic convexity hardness result to these properties.Source: §3.3 · p. 11
4 Complexity of deciding quasiconvexity and pseudoconvexity
The section separates easy cases from hard ones: fixed odd-degree quasiconvexity and pseudoconvexity are polynomial-time decidable, while the corresponding even-degree problems are NP-hard from degree four onward. For odd degrees, the algorithms rely on restricted univariate representations; for homogeneous even-degree polynomials, convexity, pseudoconvexity, and quasiconvexity coincide.
4.2 Degrees that are easy
- For quadratic polynomials, convexity, pseudoconvexity, and quasiconvexity are equivalent and can be decided in polynomial time.Source: §4.2 · p. 12
4.2.2 Pseudoconvexity of polynomials of odd degree
- For odd-degree polynomials, quasiconvexity requires a monotonic univariate polynomial in the representation, whereas pseudoconvexity requires its derivative to have no real roots.Source: §4.2.1 · p. 14, §4.2.2 · p. 15
4.2.1 Quasiconvexity of polynomials of odd degree
- For any fixed odd degree, quasiconvexity is polynomial-time decidable by testing whether p(x) has the form h(ξT x) for a monotonic univariate polynomial h.The representation uniquely determines ξ and h after normalizing the first nonzero component of ξ to one.Source: §4.2.1 · pp. 13–14
4.2.2 Pseudoconvexity of polynomials of odd degree
- For any fixed odd degree, pseudoconvexity is polynomial-time decidable when p(x) has a univariate representation whose derivative has no real roots.The algorithm modifies the quasiconvexity test to check this derivative condition.Source: §4.2.2 · p. 15
4.3 Degrees that are hard
- For homogeneous even-degree polynomials, convexity, pseudoconvexity, and quasiconvexity are equivalent, yielding NP-hardness for quasiconvexity and pseudoconvexity from degree four onward.The paper extends the hardness results to any fixed even degree d ≥4.Source: §4.3 · pp. 16–17
5 Summary and conclusions
The paper classifies the complexity of testing convexity and related properties across polynomial degrees. It reports polynomial-time algorithms for odd-degree quasiconvexity and pseudoconvexity, but NP-hardness for the listed properties at even degrees four and higher; it also points to approximation methods as a direction for handling many instances efficiently.
- Unless P=NP, testing the listed properties for even-degree polynomials of degree four or higher has no polynomial-time or pseudo-polynomial-time algorithm.Source: §5 · p. 17
- The paper asks whether other properties might retain attractive consequences of convexity while being easier to check.Source: §5 · p. 18
- The paper identifies semidefinite-programming relaxations, including sum-of-squares methods, as promising techniques for recognizing convexity, while noting the value of finding cases with exactness or performance guarantees.Source: §5 · p. 18