A Parameterized Algorithmics Framework for Digraph Degree Sequence Completion Problems

Robert Bredereck, Vincent Froese, Marcel Koseler, Marcelo Garlet Millani, André Nichterlein, Rolf Niedermeier

Abstract

There has been intensive work on the parameterized complexity of the typically NP-hard task to edit undirected graphs into graphs fulfilling certain given vertex degree constraints. In this work, we lift the investigations to the case of directed graphs; herein, we focus on arc insertions. To this end, we develop a general two-stage framework which consists of efficiently solving a problem-specific number problem and transferring its solution to a solution for the graph problem by applying flow computations. In this way, we obtain fixed-parameter tractability and polynomial kernelizability results, with the central parameter being the maximum vertex in- or outdegree of the output digraph. Although there are certain similarities with the much better studied undirected case, the flow computation used in the directed case seems not to work for the undirected case while $f$-factor computations as used in the undirected case seem not to work for the directed case.

Introduction

Network science frequently involves modifying graphs to meet specific structural criteria, such as target degree distributions or privacy-preserving anonymity profiles. While these "degree sequence completion" problems are well-studied for undirected graphs, directed graphs (digraphs) present a significantly higher complexity because every vertex is governed by two distinct constraints: an in-degree and an out-degree. Most of these modification tasks are NP-hard, making them computationally intractable for large datasets. This paper addresses these challenges by identifying specific parameters that make these problems tractable, specifically focusing on arc insertions.

Methodology: The Two-Stage Framework

The authors introduce a powerful two-stage framework designed to decouple the structural graph problem from its underlying numerical constraints:

  1. The Number Problem: The problem is first abstracted into a purely numerical challenge. Given the current in- and out-degrees, the algorithm identifies target degrees that satisfy global properties (such as $k$-anonymity) while adding a limited number of arcs ($s$).
  2. The Flow Transfer: Once a valid numerical sequence is identified, a maximum flow computation is used to determine if these degrees can be realized by inserting arcs into the input digraph without creating loops or multi-arcs.
Example of a digraph completion process where arcs are added to satisfy specific degree constraints.

A key technical innovation is the use of $\alpha$-block-type sets. This technique identifies "interchangeable" vertices—those with identical degrees and constraints—allowing the researchers to shrink a massive graph into a much smaller "kernel" without changing the problem's solvability.

Key Insights and Applications

A major contribution of this work is the realization that digraphs are uniquely suited for flow networks, whereas undirected graph problems typically rely on $f$-factor theory. The authors demonstrate that if the number of arcs to be added is sufficiently large relative to the maximum degree, a solution is almost guaranteed to be transferable from the numerical sequence to the graph.

Comparison between a 1-anonymous and a 4-anonymous degree sequence completion in a digraph.

Furthermore, the paper identifies an "Anonymity Gap": the directed version of the Degree Anonymity number problem is weakly NP-hard, whereas its undirected counterpart is solvable in polynomial time. This highlights how adding directionality fundamentally changes the underlying combinatorial structure.

Results

The paper provides a suite of new complexity results for three primary problems:

  • Digraph Degree Constraint Completion (DDConC): Achieved a polynomial-size vertex kernel of $O(s(\Delta^*)^3)$.
  • Digraph Degree Sequence Completion (DDSeqC): Proved the numerical version is solvable in $O(n^{2.5})$ time and provided a polynomial kernel for the graph version.
  • Digraph Degree Anonymity (DDA): Proved that while the numerical sub-problem is NP-hard, the overall problem remains Fixed-Parameter Tractable (FPT) with respect to the maximum degree.

Limitations and Future Work

While the framework is robust, it currently only handles arc insertions. It does not yet account for arc deletions or general "editing" (both insertions and deletions), which are common in real-world data cleaning. Additionally, the efficiency of these algorithms depends on the maximum degree ($\Delta^*$) being relatively small. While this is often true in social networks following a power law, it may not hold for extremely dense technical networks. Future work could also extend this framework to weighted directed graphs, where arcs have varying costs or capacities.

Summary updated

Abstract

There has been intensive work on the parameterized complexity of the typically NP-hard task to edit undirected graphs into graphs fulfilling certain given vertex degree constraints. In this work, we lift the investigations to the case of directed graphs; herein, we focus on arc insertions. To this end, we develop a general two-stage framework which consists of efficiently solving a problem-specific number problem and transferring its solution to a solution for the graph problem by applying flow computations. In this way, we obtain fixed-parameter tractability and polynomial kernelizability results, with the central parameter being the maximum vertex in- or outdegree of the output digraph. Although there are certain similarities with the much better studied undirected case, the flow computation used in the directed case seems not to work for the undirected case while $f$-factor computations as used in the undirected case seem not to work for the directed case.
BibTeX
@inproceedings{bredereck2019parameterized,
  author = {Robert Bredereck and Vincent Froese and Marcel Koseler and Marcelo Garlet Millani and André Nichterlein and Rolf Niedermeier},
  title = {{A Parameterized Algorithmics Framework for Digraph Degree Sequence Completion Problems}},
  booktitle = {Algorithmica},
  year = {2019},
  url = {https://openreview.net/forum?id=2aeGef0gQo},
}
Figure