Skip to main content
QUICK REVIEW

[Paper Review] On the Fine-grained Complexity of One-Dimensional Dynamic Programming

Marvin Künnemann, Ramamohan Paturi|arXiv (Cornell University)|Mar 2, 2017
Optimization and Search ProblemsComputer Science5 citations
TL;DR

This paper introduces a fine-grained complexity framework for one-dimensional dynamic programming problems, focusing on the Least-Weight Subsequence (LWS) problem. By identifying subquadratic equivalences between LWS instantiations and core problems like minimum inner product and pmin, `q-convolution, the authors establish tight conditional lower bounds under SETH, explaining the inherent hardness of many LWS variants and unifying their complexity analysis.

ABSTRACT

In this paper, we investigate the complexity of one-dimensional dynamic programming, or more specifically, of the Least-Weight Subsequence (LWS) problem: Given a sequence of $n$ data items together with weights for every pair of the items, the task is to determine a subsequence $S$ minimizing the total weight of the pairs adjacent in $S$. A large number of natural problems can be formulated as LWS problems, yielding obvious $O(n^2)$-time solutions. In many interesting instances, the $O(n^2)$-many weights can be succinctly represented. Yet except for near-linear time algorithms for some specific special cases, little is known about when an LWS instantiation admits a subquadratic-time algorithm and when it does not. In particular, no lower bounds for LWS instantiations have been known before. In an attempt to remedy this situation, we provide a general approach to study the fine-grained complexity of succinct instantiations of the LWS problem. In particular, given an LWS instantiation we identify a highly parallel core problem that is subquadratically equivalent. This provides either an explanation for the apparent hardness of the problem or an avenue to find improved algorithms as the case may be. More specifically, we prove subquadratic equivalences between the following pairs (an LWS instantiation and the corresponding core problem) of problems: a low-rank version of LWS and minimum inner product, finding the longest chain of nested boxes and vector domination, and a coin change problem which is closely related to the knapsack problem and (min,+)-convolution. Using these equivalences and known SETH-hardness results for some of the core problems, we deduce tight conditional lower bounds for the corresponding LWS instantiations. We also establish the (min,+)-convolution-hardness of the knapsack problem.

Motivation & Objective

  • To understand when one-dimensional dynamic programming problems admit subquadratic algorithms.
  • To identify the inherent computational barriers in succinctly represented LWS problems.
  • To establish conditional lower bounds for LWS instantiations using fine-grained complexity theory.
  • To unify the complexity of diverse LWS problems through subquadratic equivalence to core problems.
  • To explain the near-linear solvability of certain LWS variants via their corresponding core problems' tractability.

Proposed method

  • Proposes a general framework to analyze the fine-grained complexity of succinct LWS instantiations.
  • Identifies a 'core problem' that is subquadratically equivalent to each LWS instantiation.
  • Uses subquadratic equivalence to transfer conditional lower bounds from known hard core problems.
  • Applies SETH-based hardness results from core problems (e.g., minimum inner product, pmin, `q-convolution) to LWS variants.
  • Revisits known near-linear time LWS problems and explains their tractability via the simplicity of their core problems.
  • Employs reductions and reformulations to connect LWS to classical problems like knapsack, LIS, and unbounded subset sum.

Experimental results

Research questions

  • RQ1Under what conditions can LWS problems be solved in subquadratic time?
  • RQ2Which LWS instantiations are inherently hard, and why?
  • RQ3How can subquadratic equivalence be used to transfer conditional lower bounds from core problems to LWS?
  • RQ4Why are some LWS problems solvable in near-linear time despite their apparent complexity?
  • RQ5What is the role of the core problem in determining the complexity of an LWS instantiation?

Key findings

  • The paper establishes subquadratic equivalence between low-rank LWS and minimum inner product, implying SETH-hardness for the former.
  • It proves that the coin change problem related to knapsack is pmin, `q-convolution-hard, establishing a tight conditional lower bound.
  • The knapsack problem is shown to be pmin, `q-convolution-hard, providing a new complexity explanation for its difficulty.
  • The longest increasing subsequence (LIS) problem is shown to be solvable in Õ(n) time by reducing it to a static LWS variant that reduces to sorting.
  • The unbounded subset sum problem is solved in Õ(n) time via a single convolution computation, explaining its near-linear solvability.
  • The concave LWS problem is solved in Õ(n) time using the SMAWK algorithm on totally monotone matrices, explaining its efficiency through the simplicity of its core problem.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.