Finding Densest Subgraphs with Edge-Color Constraints
Lutz Oettershagen, Honglian Wang, Aristides Gionis
Abstract
We consider a variant of the densest subgraph problem in networks with single or multiple edge attributes. For example, in a social network, the edge attributes may describe the type of relationship between users, such as friends, family, or acquaintances, or different types of communication. For conceptual simplicity, we view the attributes as edge colors. The new problem we address is to find a diverse densest subgraph that fulfills given requirements on the numbers of edges of specific colors. When searching for a dense social network community, our problem will enforce the requirement that the community is diverse according to criteria specified by the edge attributes. We show that the decision versions for finding exactly, at most, and at least h colored edges densest subgraph, where h is a vector of color requirements, are NP-complete, for already two colors. For the problem of finding a densest subgraph with at least h colored edges, we provide a linear-time constantfactor approximation algorithm when the input graph is sparse. On the way, we introduce the related at least ℎ (non-colored) edges densest subgraph problem, show its hardness, and also provide a linear-time constant-factor approximation. In our experiments, we demonstrate the efficacy and efficiency of our new algorithms. CCS CONCEPTS • Information systems → Social networks; • Theory of computation → Graph algorithms analysis.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 5b10aa9a-d5cd-4750-a99e-29214a84f286Cited by top-tier papers5
- Exposing Weaknesses of Large Reasoning Models through Graph Algorithm ProblemsQifan Zhang, Jianhao Ruan, Aochuan Chen, Kang Zeng et al.ICLR 2026 · 4 citations
- X-Blossom: Massive Parallelization of Graph Maximum MatchingDayi Fan, Rubao Lee, Xiaodong ZhangVLDB 2025 · 3 citations
- Efficient 푘-Clique Densest Subgraph Discovery: Towards Bridging Practice and TheoryYingli Zhou, Qingshuo Guo, Yixiang FangVLDB 2025 · 2 citations
- A Unified Core Structure in Multiplex Networks: From Finding the Densest Subgraph to Modeling User EngagementFarnoosh Hashemi, Ali BehrouzKDD 2024 · 2 citations
- Fair Minimum Labeling: Efficient Temporal Network Activations for Reachability and EquityLutz Oettershagen, Othon MichailNeurIPS 2025 · 1 citation
Builds on3
- Flowless: Extracting Densest Subgraphs Without Flow ComputationsDigvijay Boob, Yu Gao, Richard Peng, Saurabh Sawlani et al.WWW 2020 · 84 citations
- Densest Subgraph: Supermodularity, Iterative Peeling, and FlowChandra Chekuri, Kent Quanrud, Manuel R. TorresSODA 2022 · 34 citations
- Densest Diverse Subgraphs: How to Plan a Successful Cocktail Party with DiversityAtsushi Miyauchi, Tianyi Chen, Konstantinos Sotiropoulos, Charalampos E. TsourakakisKDD 2023 · 12 citations
Related papers
- Effective and Efficient Relational Community Detection and Search in Large Dynamic Heterogeneous Information NetworksXun Jian, Yue Wang, Lei ChenVLDB 2020 · 52 citations
- A Convex-Programming Approach for Efficient Directed Densest Subgraph DiscoveryChenhao Ma, Yixiang Fang, Reynold Cheng, Laks V. S. Lakshmanan et al.SIGMOD 2022 · 30 citations
- Efficient and Scalable Directed Densest Subgraph DiscoveryYingli Zhou, Luocheng Liang, Yixiang FangSIGMOD 2026 · 3 citations
- Dense Subgraph Discovery Meets Strong Triadic ClosureChamalee Wickrama Arachchi, Iiro Kumpulainen, Nikolaj TattiKDD 2024 · 2 citations
- KClist++: A Simple Algorithm for Finding k-Clique Densest Subgraphs in Large GraphsBintao Sun, Maximilien Danisch, T.-H. Hubert Chan, Mauro SozioVLDB 2020 · 54 citations
