Complexity of Combinatorial Matrix Completion With Diameter Constraints

Tomohiro Koana, Vincent Froese, Rolf NiedermeierarXiv 2020

Abstract

This paper explores the computational complexity of completing binary matrices under pairwise row distance constraints. Given a binary matrix with missing entries, the goal is to fill them such that the Hamming distance between any two rows is between $\alpha$ and $\beta$. We establish a detailed complexity landscape, showing that the problem is polynomial-time solvable for small diameters ($\beta \le 3$) or single missing entries per row ($k=1$), but generally NP-hard otherwise. Our proofs utilize Deza’s Theorem to identify sunflower structures in the matrix rows.

Introduction

The Diameter Matrix Completion (DMC) problem is a fundamental combinatorial task with applications in coding theory and bioinformatics. Unlike standard matrix completion, which seeks low-rank structures, DMC focuses on local pairwise constraints. Specifically, for a given range $[\alpha, \beta]$, we ask if an incomplete matrix $M$ can be completed to $M'$ such that for all rows $i, j$, $\alpha \le d_H(r_i, r_j) \le \beta$.

Methods and Theoretical Framework

Our primary tool is Deza’s Theorem from extremal set theory. This theorem allows us to characterize the structure of rows that satisfy tight diameter constraints. For large matrices, rows must eventually form a "sunflower" (or $\Delta$-system), where they share a common core and have disjoint differences. This structural insight enables reductions to 2-SAT and graph factor problems, specifically finding $(g, f)$-factors in bipartite graphs.

The Complexity Landscape

We provide a fine-grained analysis of DMC's complexity based on three parameters: the lower bound $\alpha$, the upper bound $\beta$, and the maximum number of missing entries per row $k$.

Figure 1: Complexity of DMC as a function of missing entries $k$ and the range $\beta - \alpha$. Green regions denote polynomial-time algorithms, while red regions denote NP-hardness.

As shown in Figure 1, the problem is tractable when $k=1$ regardless of the distance range. However, for $k \ge 2$, the problem becomes NP-hard if the range $\beta - \alpha$ is at least 3.

Figure 2: Complexity landscape for the diameter bounds $\alpha$ and $\beta$. The plot highlights the transition to NP-hardness as $\beta$ increases beyond 3.

Figure 2 illustrates the complexity with respect to the absolute bounds $\alpha$ and $\beta$. We prove that for $\alpha=0$, the problem is in P for $\beta \le 3$ and NP-hard for $\beta \ge 4$. An interesting observation is the role of parity; odd values of $\alpha$ often simplify the problem due to the triangle inequality constraints on Hamming distances between three rows.

Key Results

  • Diameter Threshold: DMC is solvable in $O(n\ell^4)$ for $\beta \le 3$ (where $n$ is rows and $\ell$ is columns).
  • Missing Entry Complexity: $k=1$ is always in P; $k=2$ is NP-hard for sufficiently large distance ranges.
  • Sunflower Reduction: We demonstrate that for large $n$, the problem can be solved by focusing on a small subset of "representative" rows that form the sunflower core.

Discussion and Future Work

While we have mapped much of the complexity landscape, several open questions remain. The "white cells" in our diagrams represent specific parameter combinations where the complexity is still unknown (e.g., $\alpha=1, \beta=4$). Additionally, extending these results to non-binary alphabets remains a significant challenge, as the combinatorial properties of Hamming distances change significantly in higher dimensions. Future work may also investigate if the problem is Fixed-Parameter Tractable (FPT) when considering diameter and missing entries together as parameters.

Conclusion

By combining techniques from extremal set theory and combinatorial optimization, we have provided a near-complete picture of the complexity of binary matrix completion under diameter constraints. This work paves the way for more efficient algorithms in sequence analysis and data cleaning where missing values are prevalent.

Summary updated

Abstract

We thoroughly study a novel but basic combinatorial matrix completion problem: Given a binary incomplete matrix, fill in the missing entries so that every pair of rows in the resulting matrix has a Hamming distance within a specified range. We obtain an almost complete picture of the complexity landscape regarding the distance constraints and the maximum number of missing entries in any row. We develop polynomial-time algorithms for maximum diameter three based on Deza's theorem [Discret. Math. 1973] from extremal set theory. We also prove NP-hardness for diameter at least four. For the number of missing entries per row, we show polynomial-time solvability when there is only one and NP-hardness when there can be at least two. In many of our algorithms, we heavily rely on Deza's theorem to identify sunflower structures. This paves the way towards polynomial-time algorithms which are based on finding graph factors and solving 2-SAT instances.
BibTeX
@misc{koana2020complexity,
  author = {Tomohiro Koana and Vincent Froese and Rolf Niedermeier},
  title = {{Complexity of Combinatorial Matrix Completion With Diameter Constraints}},
  year = {2020},
  eprint = {2002.05068},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.05068},
}

Loading related content...

Figure