NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Destroying Bicolored P3s by Deleting Few Edges

Niels Grüttemeier, Christian Komusiewicz, Jannik Schestag, Frank Sommer

Abstract

In network analysis, simplifying multilayer graphs while preserving structural integrity is a critical task. This paper introduces the Bicolored $P_3$ Deletion (BPD) problem, which seeks to eliminate paths of three vertices containing edges of two different colors through a minimum number of edge deletions. We demonstrate that BPD is NP-hard, even on graphs with a maximum degree of 8. To address this, we present a fixed-parameter tractable (FPT) algorithm running in $O(1.84^k \cdot nm)$ time and provide a kernelization result. Additionally, we identify specific graph classes where BPD can be solved in polynomial time.

Introduction

Multilayer graphs, where edges represent diverse relationship types (e.g., physical vs. genetic interactions), are ubiquitous in biological and social network analysis. A fundamental goal is to extract meaningful structures from these complex networks. The Bicolored $P_3$ Deletion problem generalizes the classic Cluster Deletion problem to a colored setting. A bicolored $P_3$ is a path of three vertices connected by one red and one blue edge. Removing such structures leads to a graph that adheres to properties similar to Gallai colorings, offering a more nuanced representation of multi-relational data.

Problem Definition

Given a graph $G = (V, E)$ where each edge is colored either red or blue, the Bicolored $P_3$ Deletion (BPD) problem asks for a set of edges $E' \subseteq E$ of size at most $k$ such that the graph $G' = (V, E \setminus E')$ contains no induced bicolored $P_3$.

Complexity and Hardness

The authors establish that BPD is NP-hard through a reduction from a restricted version of the Satisfiability problem, specifically (3,4)-SAT. This reduction demonstrates that the problem remains difficult even for graphs with a maximum degree of 8. Under the Exponential Time Hypothesis (ETH), BPD cannot be solved in subexponential time $2^{o(|V|+|E|)}$.

Reduction gadget used to prove the NP-hardness of the Bicolored $P_3$ Deletion problem.

Algorithmic Approaches

Fixed-Parameter Tractability

To handle the NP-hardness, the paper develops an FPT algorithm. By identifying and branching on small "forbidden" structures—such as the "LC-Diamond" or "CC-Hourglass"—the algorithm achieves a running time of $O(1.84^k \cdot nm)$. This is a significant improvement over naive branching strategies and ensures tractability for instances where the number of allowed deletions $k$ is relatively small.

Kernelization

The authors provide reduction rules to shrink the input graph to a "kernel." They prove that any instance of BPD can be reduced to an equivalent instance with $O(k\Delta \min(k, \Delta))$ vertices, where $\Delta$ is the maximum degree of the graph.

Polynomial-Time Solvable Cases

The problem becomes efficiently solvable in specific scenarios:

  1. Absence of Bicolored Triangles: If the graph contains no triangles with edges of both colors, BPD can be reduced to a Minimum Vertex Cover problem in a bipartite graph.
  2. Restricted Subgraphs: Graphs lacking monochromatic $K_3$ and monochromatic $P_3$ also allow for polynomial-time solutions.

Conclusion and Future Work

This work provides a comprehensive complexity landscape for the Bicolored $P_3$ Deletion problem. While the FPT algorithm and kernelization results are promising, several open questions remain. Future research could explore whether a polynomial kernel exists for the parameter $k$ alone, independent of the maximum degree $\Delta$. Additionally, investigating "Bicolored $P_3$ Editing" (allowing both insertions and deletions) could provide further insights into multilayer graph simplification.

Summary updated

BibTeX
@inproceedings{gruttemeier2019destroying,
  author = {Niels Grüttemeier and Christian Komusiewicz and Jannik Schestag and Frank Sommer},
  title = {{Destroying Bicolored P3s by Deleting Few Edges}},
  booktitle = {Discret. Math. Theor. Comput. Sci},
  year = {2019},
  doi = {10.46298/dmtcs.6108},
}
Figure