Parameterized Algorithms for Matrix Completion with Radius Constraints

Tomohiro Koana, Vincent Froese, Rolf Niedermeier

TL;DR

This paper tackles NP-hard matrix completion problems where the goal is to fill in missing entries (wildcards) such that all rows stay within a small Hamming distance to a single center string. The authors resolve open questions from prior work, fix an algorithmic flaw in the literature, establish a sharp complexity dichotomy between radius $d=1$ and $d=2$, and present several faster fixed-parameter algorithms.

What Problem Does This Paper Address?

Incomplete datasets with missing values are ubiquitous in machine learning, computational biology, and data mining. When completing an incomplete matrix (where missing entries are marked with wildcards $*$), one common objective is to minimize geometric or structural metrics like rank.

This paper studies completion under radius constraints—intimately tied to consensus string problems like Closest String:

  • Minimum Radius Matrix Completion (MinRMC) (or Closest String with Wildcards): Given an incomplete matrix $S \in (\Sigma \cup \{*\})^{n \times \ell}$ and integer $d$, can we replace every $*$ with an alphabet symbol such that there exists a center string $v$ within Hamming distance at most $d$ from every row?
  • Constraint Radius Matrix Completion (ConRMC): A generalization where each row $i$ has an individual distance bound $d_i$.
  • Minimum Local Radius Matrix Completion (MinLRMC): A variant where the center vector $v$ must be chosen from one of the rows of the completed matrix itself.

Because Closest String is already NP-hard on complete binary matrices, these problems are NP-hard in general. The authors explore parameterized complexity to identify which restrictions make them tractable.

Methods

  • 2-SAT Encoding for $d = 1$: The authors construct a compact 2-CNF formula that reduces ConRMC to 2-SAT. By utilizing Sinz's sequential counter encoding for "at-most-one" constraints ($C_{\le 1}$), the reduction requires only $O(n\ell)$ clauses and variables, enabling a linear-time solution.
  • Search-Tree Branching on Missing Entries: To parameterize by the maximum number of wildcards per row ($k$) and radius $d$, the authors introduce an exact branching algorithm. At each step where a candidate row violates the distance bound, the algorithm branches on a restricted set of $d_i + 1$ positions (including wildcard coordinates), reducing the search tree depth.
  • Neighboring String with Dummies (NSD): To speed up computation when the alphabet size $|\Sigma|$ is small, the authors introduce a dummy character $\diamond$ and adapt Ma and Sun's distance-halving technique for Closest String, bounding search-tree explosion using Stirling's approximation and convexity arguments.

Datasets

Not discussed in the paper. The work is purely theoretical and does not evaluate empirical benchmarks.

Key Insights and Ideas

  • Fixing a Literature Flaw: Hermelin and Rozenberg (CPM 2014 / TCS 2016) previously claimed an algorithm parameterized by $d + k$ running in $O^*((d+1)^d)$ time. Koana et al. show this algorithm was fundamentally flawed by providing a concrete counter-example: an instance where their method outputs "No" despite a valid solution existing. The flaw stemmed from assuming all optimal radius solutions can be enumerated in $O^*((d+1)^d)$ time, which fails because there can be $\Omega(\ell^d)$ solutions.
  • Dichotomy at $d = 1$ vs. $d = 2$: While the problem is NP-hard for binary inputs at radius $d = 2$, setting $d = 1$ is solvable in linear time ($O(n\ell)$) for arbitrary alphabet sizes, answering an open question posed by Hermelin and Rozenberg.
  • Local vs. Global Radius Tractability: MinLRMC (local center) behaves much better with respect to wildcards alone: it is fixed-parameter tractable parameterized solely by $k$ (the maximum missing entries per row), solvable in $O^*(k^k)$ time. In contrast, global MinRMC remains NP-hard even when $k = 0$ (no missing entries).

Key Results

Problem Parameter / Case Running Time Significance / Context
ConRMC $d = 1$ $O(n\ell)$ Linear time for arbitrary alphabets; answers open question from [Hermelin & Rozenberg 2016].
MinLRMC $d = 1$ $O(n^2\ell)$ Polynomial-time dichotomy bound ($d=2$ is NP-hard).
ConRMC Column count $\ell$ $O(n\ell^{\ell+1})$ Matches the conditional ETH lower bound $\ell^{o(\ell)} n^{O(1)}$.
ConRMC $d + k$ $O(n\ell + (d+1)^{d+k+1}n)$ Rigorous FPT algorithm repairing the flawed prior claim.
ConRMC $d + k + |\Sigma|$ $O(n\ell + 2^{4d+k} \cdot |\Sigma|^{d+k} \cdot n(d+k))$ Significantly faster than the general search tree when $|\Sigma| < d / 16$.
MinLRMC Missing entries $k$ $O(n^2\ell + n^2 k^{k+1})$ Shows MinLRMC is FPT by $k$ alone, unlike MinRMC.

Limitations and Future Work

  • Exponential Dependence Base: While the algorithm handles small alphabets in $O^*(2^{4d+k} |\Sigma|^{d+k})$ time, extensive work on classic Closest String has reduced similar bases. The authors pose whether these modern speedups can translate to matrices with wildcards.
  • Outliers: A natural extension is matrix completion with outliers (finding a center string close to at least $n - t$ rows). Whether this outlier variant is FPT with respect to $d + k + t$ remains open.
  • Maximization (Farthest String with Wildcards): The dual problem—completing the matrix such that every row has distance at least $d$ from a string—remains open regarding fixed-parameter tractability parameterized by $|\Sigma| + d$.

Summary updated

Abstract

Considering matrices with missing entries, we study NP-hard matrix completion problems where the resulting completed matrix should have limited (local) radius. In the pure radius version, this means that the goal is to fill in the entries such that there exists a "center string" which has Hamming distance to all matrix rows as small as possible. In stringology, this problem is also known as Closest String with Wildcards. In the local radius version, the requested center string must be one of the rows of the completed matrix. Hermelin and Rozenberg [CPM 2014, TCS 2016] performed a parameterized complexity analysis for Closest String with Wildcards. We answer one of their open questions, fix a bug concerning a fixed-parameter tractability result in their work, and improve some running time upper bounds. For the local radius case, we reveal a computational complexity dichotomy. In general, our results indicate that, although being NP-hard as well, this variant often allows for faster (fixed-parameter) algorithms.
BibTeX
@inproceedings{koana2020parameterized,
  author = {Tomohiro Koana and Vincent Froese and Rolf Niedermeier},
  title = {{Parameterized Algorithms for Matrix Completion with Radius Constraints}},
  booktitle = {CPM},
  year = {2020},
  url = {https://openreview.net/forum?id=UorCUbE7wn},
}

Loading related content...

Figure