English

Approximate Dynamic Programming using Halfspace Queries and Multiscale Monge decomposition

Data Structures and Algorithms 2015-03-13 v2 Computational Geometry

Abstract

Let P=(P1,P2,,Pn)P=(P_1, P_2, \ldots, P_n), Pi\fieldRP_i \in \field{R} for all ii, be a signal and let CC be a constant. In this work our goal is to find a function F:[n]\fieldRF:[n]\rightarrow \field{R} which optimizes the following objective function: minFi=1n(PiFi)2+C×{i:FiFi+1} \min_{F} \sum_{i=1}^n (P_i-F_i)^2 + C\times |\{i:F_i \neq F_{i+1} \} | The above optimization problem reduces to solving the following recurrence, which can be done efficiently using dynamic programming in O(n2)O(n^2) time: OPTi=min0ji1[OPTj+k=j+1i(Pk(m=j+1iPm)/(ij))2]+C OPT_i = \min_{0 \leq j \leq i-1} [ OPT_j + \sum_{k=j+1}^i (P_k - (\sum_{m=j+1}^i P_m)/(i-j) )^2 ]+ C The above recurrence arises naturally in applications where we wish to approximate the original signal PP with another signal FF which consists ideally of few piecewise constant segments. Such applications include database (e.g., histogram construction), speech recognition, biology (e.g., denoising aCGH data) applications and many more. In this work we present two new techniques for optimizing dynamic programming that can handle cost functions not treated by other standard methods. The basis of our first algorithm is the definition of a constant-shifted variant of the objective function that can be efficiently approximated using state of the art methods for range searching. Our technique approximates the optimal value of our objective function within additive ϵ\epsilon error and runs in O~(n1.5log(Uϵ))\tilde{O}(n^{1.5} \log{(\frac{U}{\epsilon}))} time, where U=maxifiU = \max_i f_i. The second algorithm we provide solves a similar recurrence within a factor of ϵ\epsilon and runs in O(nlog2n/ϵ)O(n \log^2n / \epsilon). The new technique introduced by our algorithm is the decomposition of the initial problem into a small (logarithmic) number of Monge optimization subproblems which we can speed up using existing techniques.

Keywords

Cite

@article{arxiv.1003.4942,
  title  = {Approximate Dynamic Programming using Halfspace Queries and Multiscale Monge decomposition},
  author = {Gary L. Miller and Richard Peng and Russell Schwartz and Charalampos E. Tsourakakis},
  journal= {arXiv preprint arXiv:1003.4942},
  year   = {2015}
}

Comments

1) 12 pages 2) Updated 2nd Version: Removed section 3.3 of 1st version, updated references (for more details see www.cs.cmu.edu/~ctsourak/approxdp_note.txt)

R2 v1 2026-06-21T15:02:39.123Z