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

Randomized Rounding over Dynamic Programs

Étienne Bamas, Shi Li, Lars Rohwedder

This academic paper, recently appearing on arXiv, introduces a powerful new framework for solving complex optimization problems by bridging the gap between two pillars of algorithm design: Dynamic Programming (DP) and Randomized Rounding.

TL;DR

The authors present a general framework to solve Dynamic Programming problems that are burdened by additional, global "packing" constraints (like budgets or capacities). By linearizing the DP structure into a specialized Linear Program (LP) and applying a novel randomized rounding scheme, they achieve polylogarithmic approximations for a wide array of "notorious" problems, including Robust Shortest Path and Directed Steiner Tree.

What Problem Does This Paper Address?

Dynamic Programming is the bread and butter of algorithm design for problems with "optimal substructure"—think Shortest Path or Longest Common Subsequence. However, DP breaks down the moment you add a global constraint that doesn't fit neatly into the local subproblems. For example, "find the shortest path, but ensure the total 'risk' across all edges doesn't exceed a certain threshold."

To handle such constraints in a standard DP, you usually have to add them to the "state," which leads to an exponential explosion in the number of subproblems (the "curse of dimensionality"). This paper asks: Can we find a way to satisfy these global constraints approximately without the exponential time penalty?

Methods

The authors develop a multi-step pipeline to transform "hard" constrained problems into manageable ones:

  1. Additive-DP Formalization: They define a class of DPs where subproblems are combined via vector addition. This captures most "textbook" DPs.
  2. Linearization (Flexible Tree Labeling): They reinterpret the DP recurrence as a network design problem. Instead of just filling a table, the algorithm seeks a "labeling" of a tree that represents the recursion.
  3. Structural Simplification: They prove that any such DP tree can be decomposed and restructured into a Perfect Binary Tree of logarithmic height. This is a crucial "aha" moment because a shorter tree means less error accumulation during rounding.
  4. Recursive LP Relaxation: They construct a strong Linear Programming relaxation that mimics the tree's recursive structure.
  5. Semi-Random Rounding: Finally, they apply a sophisticated randomized rounding technique (drawing inspiration from recent breakthroughs in the Directed Steiner Tree problem). This process converts the fractional "probabilities" from the LP into a concrete, integer solution that satisfies the global constraints within a provable approximation factor.

Datasets

As a theoretical computer science paper, this work does not use empirical datasets or benchmarks. Instead, it evaluates its framework against established computational complexity classes and "notorious" optimization problems from the literature, such as:

  • Robust Shortest Path
  • Integer Generalized Flow
  • Bounded-Repetition Longest Common Subsequence
  • Directed Steiner Tree
  • Santa Claus Problem (Max-Min Fair Allocation)

Key Insights and Ideas

  • DP as a Graph Problem: The core insight is that a DP execution is essentially a tree. By treating the branching decisions as "labels" in a network design problem, they can use the heavy machinery of Linear Programming.
  • The Power of Logarithmic Depth: By forcing the DP structure into a balanced binary tree, the authors limit the "noise" introduced by randomized rounding. This allows them to achieve polylogarithmic approximations in quasi-polynomial time, or $n^\epsilon$ approximations in polynomial time.
  • Generality through Emulation: Surprisingly, the framework isn't just for "packing" (staying under a budget). They show that "covering" constraints (ensuring you hit enough targets) can often be emulated using their packing framework, making it a "Swiss Army Knife" for approximation algorithms.

Key Results

The paper provides a unified "Main Theorem" (Theorem 1.1) that yields:

  • State-of-the-Art Recovery: They recover the best-known approximation ratios for the Directed Steiner Tree and Santa Claus problems.
  • New Polynomial-Time Results: They provide the first non-trivial polynomial-time approximations for Integer Generalized Flow and Robust Bipartite Matching.
  • Bicriteria Guarantees: For a problem with $m$ constraints, they find a solution that satisfies the original cost objective while violating the packing constraints by only a factor of $O(\frac{n^\epsilon}{\epsilon^2} \log m)$.

Limitations and Future Work

  • Bicriteria Nature: The solutions are "approximate" in two ways—they might cost slightly more than the optimum, and they might slightly violate the packing constraints. In some real-world scenarios (like hard physical capacities), any violation is unacceptable.
  • Additive Restriction: The "Additive-DP" model requires that subproblems combine via addition. While this covers many problems, it doesn't easily capture DPs that use min, max, or more complex non-linear combinations in their transition steps.
  • High Polynomials: While the algorithms are "polynomial time" for constant $\epsilon$, the exponents ($n^{O(1/\epsilon)}$) can be quite large, meaning practical implementation would require further optimization or heuristics.

The authors suggest that extending this framework to more complex "circuits" beyond simple tree-based addition is a promising direction for future research.

Summary updated

BibTeX
@inproceedings{bamas2026randomized,
  author = {Étienne Bamas and Shi Li and Lars Rohwedder},
  title = {{Randomized Rounding over Dynamic Programs}},
  booktitle = {STOC},
  year = {2026},
  doi = {10.1145/3798129.3800892},
}
Figure