[Paper Review] Reconstructing 3-colored grids from horizontal and vertical projections is NP-hard
This paper proves that reconstructing a 3-colored grid from given horizontal and vertical projections is NP-hard, closing a long-standing gap in discrete tomography. The authors reduce from a known NP-hard problem using a tiling construction with three distinct tile types, demonstrating that even with three colors, the problem remains computationally intractable, extending prior results that showed NP-hardness for four or more colors.
We consider the problem of coloring a grid using k colors with the restriction that in each row and each column has an specific number of cells of each color. In an already classical result, Ryser obtained a necessary and sufficient condition for the existence of such a coloring when two colors are considered. This characterization yields a linear time algorithm for constructing such a coloring when it exists. Gardner et al. showed that for k>=7 the problem is NP-hard. Afterward Chrobak and Durr improved this result, by proving that it remains NP-hard for k>=4. We solve the gap by showing that for 3 colors the problem is already NP-hard. Besides we also give some results on tiling tomography problems.
Motivation & Objective
- To close the complexity gap in 3-colored grid reconstruction by proving NP-hardness for three colors, completing the classification of k-color tomography problems.
- To extend prior results showing NP-hardness for k ≥ 4 and k ≥ 7 to the case k = 3.
- To establish that the 3-color tomography problem is computationally intractable despite the existence of polynomial-time algorithms for the 2-color case.
- To provide a constructive reduction using tiling patterns with specific modular constraints to simulate the required projections.
Proposed method
- Construct a reduction from a known NP-hard problem to the 3-color grid reconstruction problem using a block-based tiling scheme with three distinct tile types T₁, T₂, T₃.
- Define tile placements such that each tile T_c is placed only at positions (i,j) where i ≡ 1 (mod p_c) and j ≡ 1 (mod q_c), ensuring that projections are non-zero only at specific rows and columns.
- Use the conjugate vector concept and dominance ordering (r ≼ s*) to characterize feasible 2-color solutions, extending the framework to three colors via block decomposition.
- Apply Lemma 6 to show that any solution must consist of exactly three block types: M̄ᴿ (red), M̄ᴳ (green), and M̄ʸ (yellow), based on projection constraints and modular placement rules.
- Leverage the fact that vertical or horizontal separations between tiles must occur only at positions where both tiles satisfy the modular condition, enforcing structural consistency across blocks.
- Prove that the only feasible solutions are the three predefined tilings (M̄ᴿ, M̄ᴳ, M̄ʸ), thereby ensuring the reduction preserves feasibility and correctness.
Experimental results
Research questions
- RQ1Is the 3-color grid reconstruction problem from row and column projections NP-hard?
- RQ2Does the NP-hardness of k-color tomography extend to k = 3, closing the gap between k = 2 (polynomial time) and k ≥ 4 (NP-hard)?
- RQ3Can a tiling-based reduction be constructed such that only three specific block configurations satisfy the projection constraints?
- RQ4What structural constraints on tile placement ensure that only predefined tilings are feasible solutions?
Key findings
- The 3-color grid reconstruction problem from horizontal and vertical projections is NP-hard, resolving the open case for k = 3.
- The proof establishes that even with three colors, no polynomial-time algorithm exists unless P = NP.
- The reduction uses a tiling construction with three tile types T₁, T₂, T₃, each placed only at positions satisfying specific modular conditions (i ≡ 1 mod p_c, j ≡ 1 mod q_c).
- Any solution must consist of exactly three block types: M̄ᴿ (tiled with T₁ and T₂), M̄ᴳ (tiled with T₂ and T₃), and M̄ʸ (tiled entirely with T₃), based on projection constraints.
- The modular placement rule ensures that transitions between tiles can only occur at valid positions, which enforces the uniqueness of the three tiling configurations.
- The construction proves that the original 3-color tomography instance is feasible if and only if the tiling instance has a solution, establishing the correctness of the reduction.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.