Bounded Linear Programs for Data-Driven Optimal Control via Moment-Matching

Andrea Martinelli, Lucia Pezzetti, Niklas Schmid, Florian Dorfler, John LygerosarXiv 2026 · DOI

TL;DR

Data-driven optimal control using linear programming (LP) is a powerful model-free approach, but it frequently fails in practice because the resulting LPs yield unbounded (infinite) solutions. This paper introduces a novel moment-matching technique that uses available data to design the LP's cost vector, guaranteeing bounded solutions and excellent control performance even for high-dimensional, nonlinear systems with minimal data.

What Problem Does This Paper Address?

In reinforcement learning and optimal control, framing the search for the optimal Q-function as a Linear Program (LP) is conceptually elegant. However, when dealing with continuous state and action spaces, researchers must approximate the infinite-dimensional LP using a finite set of basis functions and sample constraints from data.

A major roadblock to this approach is that these data-driven approximate LPs often become unbounded—meaning the optimization algorithm flies off to infinity instead of finding a useful control policy. This issue worsens dramatically as the system's dimensionality grows. Existing fixes either require an impractical, exponentially large amount of data or use regularization techniques that distort the final control policy. This paper aims to provide systematic boundedness guarantees without distorting the underlying optimization problem.

Methods

The authors tackle the boundedness problem by analyzing the dual of the data-driven LP. They prove that the LP is bounded if and only if its cost vector (which defines the optimization direction) lies within the conic hull of the data matrix.

For polynomial basis functions, finding a valid cost vector maps directly to a classical mathematical challenge: the moment problem. Instead of fixing the cost vector beforehand (the traditional approach), the authors propose a moment-matching method. They sample a set of auxiliary points in the state-action space and solve a computationally lightweight linear feasibility problem to construct a cost vector directly tailored to the collected data. For quadratic features, this condition is both necessary and sufficient; for higher-order polynomials, it provides a highly effective sufficient guarantee.

Datasets

The paper evaluates the method using simulated control benchmarks rather than static real-world datasets:

  • Linear Time-Invariant (LTI) Systems: Randomly generated controllable systems with state dimensions ranging from $n=2$ up to $n=30$.
  • Nonlinear Mechanical Systems: Multi-dimensional point-mass systems featuring elastic coupling, nonlinear gravitational forces, and cubic velocity drag, explicitly designed to have an unstable origin.

Key Insights and Ideas

  • Objective Alignment over Feasible Bounding: You don't need to bound the entire feasible region of an LP to get a stable solution. You just need to ensure that the direction you are optimizing (the cost vector) is properly aligned with the constraints provided by your data.
  • Data-Driven Objective Design: Instead of guessing a standard integration measure (like a Gaussian or uniform distribution) to define the LP objective, we can let the data dictate the best objective function through moment matching.
  • Closed-Form Policies: By restricting the polynomial Q-function approximation to be quadratic in the control input ($S^{poly}_{u^2}$), the optimal greedy policy can be extracted in an exact, closed-form expression, avoiding expensive online optimization.

Key Results

  • Drastic Dimension Scaling: In LTI systems, the moment-matching approach achieved 100% boundedness for state dimensions up to $n=30$ using just 500 data samples. In contrast, the standard fixed-covariance baseline failed to remain bounded for any dimension above $n=2$.
  • Near-Optimal Performance: The learned policies performed exceptionally well, matching the analytical optimal LQR solution to within approximately 1% error as data size increased.
LTI Boundedness and Performance
  • Nonlinear Stabilization: For highly nonlinear, unstable mechanical systems, the method successfully synthesized polynomial controllers that steered the system back to equilibrium using minimal data, whereas standard methods completely failed due to unboundedness.
Nonlinear System Control

Limitations and Future Work

  • Deterministic Focus: The current formulation is restricted to deterministic systems. Extending the moment-matching math to stochastic dynamics remains an open challenge.
  • Basis Function Constraints: The explicit design method relies heavily on polynomial features; adapting this to richer, non-polynomial basis functions (like neural networks) is left for future work.
  • Ambiguity in Feasibility: Because the linear feasibility problem for finding the cost vector is often underdetermined, there are many valid directions that guarantee boundedness. The authors note that searching for the optimal direction to maximize closed-loop performance is a promising direction for future study.

Summary updated

BibTeX
@misc{martinelli2026bounded,
  author = {Andrea Martinelli and Lucia Pezzetti and Niklas Schmid and Florian Dorfler and John Lygeros},
  title = {{Bounded Linear Programs for Data-Driven Optimal Control via Moment-Matching}},
  year = {2026},
  eprint = {2608.24709},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.24709},
}
Figure