Dynamic programming speeds maximum-entropy sampling for tridiagonal matrices

Faster dynamic programming for tridiagonal maximum-entropy sampling

Data Structures and Algorithms

Summary

Maximum-entropy sampling is about choosing the best subset of data points based on a matrix summary, which can be very hard to compute quickly. The authors improved the methods for cases where the matrix or its inverse has a tridiagonal structure, meaning it has nonzero values only on the main diagonal and its immediate neighbours. Their new approach speeds up the computation significantly and even provides exact solutions in special cases. They also explored how the problem behaves on more complex structures called spiders and linked complexity to known mathematical limits.

What this means in practice

  • For statistical data analysts: Select subsets of time series or spatial data efficiently when covariance exhibits tridiagonal structure to maximize information gain.
  • For signal processing engineers: Optimize sampling points for signals modeled by autoregressive processes faster using closed-form and linear-time solutions in special cases.

Authors

Marcia Fampa, Jon Lee

Abstract

The maximum-entropy sampling problem (MESP) seeks, for an order-$n$ covariance matrix $C$, a principal submatrix of order $s$ with maximum log-determinant. Mostly for convenience, we assume that $C$ is nonsingular. Al-Thani and Lee (2023) solved MESP in $O(n^5)$ time when $C$ or $C^{-1}$ is tridiagonal. We show that the inner maximization of their recursion depends only on a prefix of the index set and that no piece of a solution is longer than $s$; this gives an $O(ns^2)$-time algorithm that returns the optimal value for every budget $t\le s$. When $C^{-1}$ is tridiagonal, $C$ is, up to scaling, the covariance matrix of an Ornstein--Uhlenbeck process observed at unevenly spaced times, and MESP becomes choosing points on a line under a concave gap function with the Monge property; this gives an $O(ns)$-time algorithm and, in the first-order autoregressive case, a closed-form solution. Given only $C$, we solve MESP in $O(n^2)$ time whenever $C$ or $C^{-1}$ is tridiagonal, up to a symmetric permutation, and we recognize these cases within the same bound. For spiders, we make explicit, and sharpen, the dependence on the number of legs, and, drawing on a hardness result of Ohsaka for stars, we observe that, unless $\mathrm{P}=\mathrm{NP}$, the exponent of the running time must grow with the number of legs.