DSLGMay 19, 2025

Fast and Simple Densest Subgraph with Predictions

arXiv:2505.12600v1h-index: 10
Originality Incremental advance
AI Analysis

This work addresses the densest subgraph problem for graph analysis applications, offering an incremental improvement by integrating predictions into algorithmic design.

The paper tackles the densest subgraph problem by using a machine learning classifier's partial solution to design a linear-time algorithm that achieves a (1 - ε)-approximation, outperforming existing methods in experiments on the Twitch Ego Nets dataset.

We study the densest subgraph problem and its variants through the lens of learning-augmented algorithms. For this problem, the greedy algorithm by Charikar (APPROX 2000) provides a linear-time $ 1/2 $-approximation, while computing the exact solution typically requires solving a linear program or performing maximum flow computations.We show that given a partial solution, i.e., one produced by a machine learning classifier that captures at least a $ (1 - ε) $-fraction of nodes in the optimal subgraph, it is possible to design an extremely simple linear-time algorithm that achieves a provable $ (1 - ε) $-approximation. Our approach also naturally extends to the directed densest subgraph problem and several NP-hard variants.An experiment on the Twitch Ego Nets dataset shows that our learning-augmented algorithm outperforms Charikar's greedy algorithm and a baseline that directly returns the predicted densest subgraph without additional algorithmic processing.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes