Universal Hirschberg for Width Bounded Dynamic Programs
Logan Nye

TL;DR
This paper generalizes Hirschberg's space-efficient algorithm to a broad class of width-bounded dynamic programs on DAGs, enabling deterministic traceback with significantly reduced space in various sequence analysis problems.
Contribution
It introduces a general framework for space-efficient traceback in width-bounded dynamic programs on DAGs, extending Hirschberg's idea beyond sequence alignment.
Findings
Deterministic traceback in space $O( ext{width} imes ext{log} T)$ for width-bounded DPs.
Near-optimal space bounds for sequence alignment and graph-based DPs.
Structural limitations on space efficiency in streaming models.
Abstract
Hirschberg's algorithm (1975) reduces the space complexity for the longest common subsequence problem from to via recursive midpoint bisection on a grid dynamic program (DP). We show that the underlying idea generalizes to a broad class of dynamic programs with local dependencies on directed acyclic graphs (DP DAGs). Modeling a DP as deterministic time evolution over a topologically ordered DAG with frontier width and bounded in-degree, and assuming a max-type semiring with deterministic tie breaking, we prove that in a standard offline random-access model any such DP admits deterministic traceback in space cells over a fixed finite alphabet, where is the number of states. Our construction replaces backward dynamic programs by forward-only recomputation and organizes the time order into a height-compressed recursion tree…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Advanced Graph Theory Research · Complexity and Algorithms in Graphs
