NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Complexity Bounds from Polynomial Sign Patterns and Derivatives

12 concepts8 papers1 proposal

How do we measure the fundamental complexity of a computational model, a neural network, or a geometric configuration? When a system's behavior can be expressed or approximated by polynomials, its ultimate capabilities and limitations are governed by two deep properties of algebraic geometry and linear algebra: sign patterns and derivative spaces.

Sign patterns capture the topological boundaries of a system—how many distinct regions of space a set of functions can carve out. Derivative spaces capture the structural complexity—how many independent sub-components a function generates when broken down. Together, these two lenses provide a unified framework for proving what circuits and networks cannot do, while simultaneously revealing what they can easily learn.

Sign Patterns and Expressive Capacity

Imagine a single polynomial like $f(x) = x^2 - 1$. As $x$ varies across the real line, $f(x)$ can be positive, negative, or zero. If we have a sequence of several polynomials, they collectively yield a sequence of signs (e.g., $+$, $-$, $0$) for any given input. This sequence is called a sign pattern.

Because polynomials of a fixed degree cannot wiggle infinitely, a sequence of polynomials can only produce a limited number of distinct sign patterns. In machine learning and geometric combinatorics, counting these valid sign patterns is the key to bounding the expressive capacity of a model. If a model cannot produce a certain sign pattern, it means there are certain classifications or configurations it simply cannot represent.

Polynomials f₁, f₂, ... fₘ ──> Sign Pattern (+, -, +, ...) ──> Defines a Region in Space
                                                                (Connected Component)

In machine learning, this geometric intuition directly yields bounds on generalization and capacity metrics like the VC-dimension and pseudo-dimension. For example, Khavari et al. model the output of tensor network architectures as polynomial functions of their internal parameters. By applying algebraic geometry techniques to count the possible sign patterns of these polynomials, the authors establish upper bounds on the capacity of tensor networks to shatter data points.

A similar approach resolves complexity questions in deep learning derivatives. When training neural networks using physical laws (known as Sobolev training), gradients are incorporated directly into the loss function. To understand the complexity of this approach, Yang et al. apply polynomial partitioning and sign-pattern counting to the algebraic expressions of network gradients. This allows them to derive nearly optimal VC-dimension and pseudo-dimension bounds, proving that learning from derivatives remains statistically efficient.

This bounding technique originates in real algebraic geometry, where classical results like the Milnor-Thom theorem bound the number of connected components of algebraic varieties. In discrete geometry, The number of polytopes, configurations and real matroids leverages this exact topological machinery to constrain the number of combinatorially distinct geometric objects, such as polytopes and matroids, by analyzing the valid sign patterns of their underlying polynomial constraints.

Even when functions become more intricate—such as the sums of radicals of polynomials used to determine the relative order of points in space—Defant et al. demonstrate that topological arguments regarding connected components can still bound the number of achievable sign patterns. On a purely combinatorial level, counting these patterns can reveal unexpected structure: Kravitz et al. show that when enumerating the zero-patterns of a polynomial's derivatives evaluated at two points, the number of valid configurations corresponds exactly to the Catalan numbers, linking algebraic sign analysis to classical structures like binary trees and Dyck paths.

Derivative Spaces and Circuit Complexity

While sign patterns map out the boundaries of what a function can separate, the vector space spanned by a polynomial's partial derivatives measures how inherently complex that function is to compute.

Consider a simple polynomial like $f(x, y) = xy$. Its partial derivatives are $x$ and $y$. The vector space spanned by these derivatives is tiny. For a highly complex, highly entangled polynomial, taking all possible partial derivatives of all orders yields a massive space of linearly independent polynomials.

In a foundational paper, Wigderson established that the dimension of the linear span of a polynomial's partial derivatives serves as a robust proxy for its computational complexity in arithmetic circuits. The beauty of this measure is its robustness against term cancellation. In non-monotone circuits (where addition and subtraction are allowed), terms can cancel out in complicated ways, making circuit size hard to track. However, because the derivative operator is linear, the dimension of the partial derivative space cleanly tracks the generation of independent monomials throughout the circuit structure, regardless of cancellations.

Low-Dimensional Derivative Space  ──> Simple Structure ──> Small Circuit / Easy to Learn
High-Dimensional Derivative Space ──> Complex Structure ──> Large Circuit Required

If a circuit is small or restricted in depth, it is mathematically incapable of generating a high-dimensional space of partial derivatives. Therefore, to prove that a target polynomial is "hard" to compute, one must show that the polynomial spans a massive derivative space, while any restricted circuit can only produce a small one.

To push this boundary further, Gupta et al. utilized a more sensitive metric: the shifted derivative complexity measure. This evaluates the dimension of the vector space spanned by the $l$-shifted $k$-th order derivatives of a polynomial (multiplying the derivatives by monomials of degree $l$). By reducing this algebraic property to a combinatorial problem of counting monomials that contain increasing subsequences, the authors proved that computing the permanent of a matrix requires exponential size for depth-four arithmetic circuits.

The Symmetrical Payoff: Learnability

If a massive derivative space serves as a mathematical barrier that prevents small circuits from computing a polynomial, what happens when the derivative space is small?

It turns out that a low-dimensional partial derivative space implies the existence of a tight, regular algebraic structure. Klivans et al. bridged the gap between algebraic complexity and computational learning theory by demonstrating that this dimension serves as a direct metric for learnability.

The authors proved that any arithmetic circuit maintaining a low-dimensional space of partial derivatives can be exactly reconstructed or learned in polynomial time using multiplicity automata. This unifies the two domains in an elegant symmetry: a high-dimensional derivative space is an obstacle to efficient computation, but a low-dimensional derivative space is an open invitation for efficient learning.

Key Foundational Work

Lower Bounds on Arithmetic Circuits via Partial Derivatives (Preliminary Version) (1995) — contributed 2 concept elements to this direction.
The number of polytopes, configurations and real matroids (1986) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_polynomial_sign_pattern_analysis_6cbe6955,
  title = {polynomial sign pattern analysis},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/polynomial-sign-pattern-analysis/rdr_6cbe695516434097be22eb534dabe11d},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-28},
}

This exact version (version 1, frozen text):

@misc{lacuna_polynomial_sign_pattern_analysis_6cbe6955_v1,
  title = {polynomial sign pattern analysis},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/polynomial-sign-pattern-analysis/rdr_6cbe695516434097be22eb534dabe11d/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-28},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake