Abstract
Considering matrices with missing entries, we study NP-hard matrix completion problems where the resulting completed matrix shall have limited (local) radius. In the pure radius version (MinRMC), 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 the local radius version (MinLRMC), the requested center string must be one of the rows of the completed matrix. We answer open questions, fix a bug in previous literature, and improve upper running time bounds. For the local radius case, we reveal a computational complexity dichotomy.
Introduction
Matrix completion is a fundamental task in data mining and computational biology, typically aimed at filling missing entries (wildcards) in a data table. While traditional approaches often focus on rank minimization, this work explores completion under radius constraints. This problem, also known in stringology as Closest String with Wildcards, seeks to make the completed matrix "compact" around a central consensus string.
The authors distinguish between two primary variants:
- MinRMC (Minimum Radius Matrix Completion): The center string can be any string over the alphabet.
- MinLRMC (Minimum Local Radius Matrix Completion): The center string must be one of the rows within the completed matrix itself.
Algorithmic Techniques
The paper employs several parameterized algorithmic strategies to tackle these NP-hard problems:
- 2-SAT Reductions: For the specific case where the radius $d=1$, the authors reduce the problem to 2-Satisfiability. By implementing a clever "at-most-one" constraint encoding, they achieve a linear-time algorithm, $O(n\ell)$, answering a long-standing open question in the field.
- Refined Search Trees: For general radius $d$, the authors use bounded search trees. They improve efficiency by branching on specific columns where a row's distance from a candidate center exceeds the threshold.
- Dummy Character Transformation: To handle small alphabets, wildcards are treated as a special "dummy character" ($\diamond$). This allows the adaptation of high-performance algorithms designed for complete strings to the wildcard setting.
Key Results and Complexity Analysis
A central contribution of this work is the rigorous mapping of the complexity landscape for these problems across various parameters, including the number of rows ($n$), columns ($\ell$), radius ($d$), and maximum wildcards per row ($k$).
Correcting the $d+k$ Parameterization
The authors identify and fix a significant error in previous literature (Hermelin and Rozenberg, 2014). While it was previously claimed that the problem was fixed-parameter tractable (FPT) under certain conditions, the authors provide a counter-example and subsequently develop a correct FPT algorithm for the combined parameter of radius ($d$) and maximum missing entries per row ($k$).
The Local Radius Dichotomy
For the local version (MinLRMC), the paper proves a sharp computational divide: the problem is solvable in polynomial time for radius $d=1$ but becomes NP-hard for any $d \geq 2$. Interestingly, despite both being NP-hard in general, MinLRMC often admits faster parameterized algorithms than its global counterpart, MinRMC.
Conclusion
This research clarifies the complexity of matrix completion with radius constraints. By treating the number of missing entries ($k$) as a primary parameter, the authors demonstrate that matrix completion can be more tractable than standard string problems in specific configurations. Future work may extend these models to handle outliers or explore the "MaxRMC" variant for generating diverse data completions.
Summary updated