On the Representational Geometry of Dynamic Programs
Organizations: Departments of Mathematics and Computer Science, Bowdoin College, Brunswick, Maine · Department of Operations Research, Naval Postgraduate School, Monterey, California · Department of Mathematical Sciences, Aalborg University, Denmark
Abstract
Standard neural architectures often fail to generalize to longer inputs for dynamic programming (DP) targets. We investigate what makes this hard geometrically. Every finite min-plus DP is a shortest path on a DAG, which is equivalently a tropical polynomial whose extended Newton polyhedron encodes the decision boundary of which path wins. We prove these three descriptions (graph, polynomial, polyhedron) form isomorphic semirings at two levels --- formal polynomials and their computed functions --- connected by operations that characterize all structural redundancies. We then address the length-generalization question geometrically: does the decision boundary at length decide the boundary at ? We present two structural negatives. The semiring's two native ways to reduce dimension (setting a variable to each identity) are neither injective nor always closed within the DP. Series and parallel composition fail to construct all DAG topologies from smaller sub-DAGs, and even all terminal-only operations do not capture all DP compositions.
Figures & tables
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| graph operation | tropical semiring property |
|---|---|
| series-run reweighting : redistribute weights along an unbranched run, sum preserved | associative, commutative |
| parallel-bundle bookkeeping : permute or delete/adjoin a dominated branch | assoc., comm., idempotent |
| -edge adjunction : add/remove -weighted edges (preserving 2-terminality) | , |
| vertex splitting / merging : split edges at an internal vertex into two copies, or merge | distributivity of over |
| mediant deletion : delete a path whose monomial lies weakly above the lower hull of the others | redundant monomials may be deleted by convexity |
Dynamic Programming
Dynamic programming decomposes sequential optimization into smaller state-based subproblems, enabling planning, control, and combinatorial search.
See all 31 papers