[Paper Review] Best Friends Forever (BFF): Finding Lasting Dense Subgraphs
This paper introduces the Best Friends Forever (BFF) problem to identify the most densely connected node sets that remain stable across multiple graph snapshots over time. It proposes efficient algorithms for the BFF and its relaxed variant, On-Off BFF (O²BFF), proving NP-completeness and demonstrating strong performance on real and synthetic datasets, with key contributions in temporal dense subgraph detection and scalability.
Graphs form a natural model for relationships and interactions between entities, for example, between people in social and cooperation networks, servers in computer networks, or tags and words in documents and tweets. But, which of these relationships or interactions are the most lasting ones? In this paper, we study the following problem: given a set of graph snapshots, which may correspond to the state of an evolving graph at different time instances, identify the set of nodes that are the most densely connected in all snapshots. We call this problem the Best Friends For Ever (BFF) problem. We provide definitions for density over multiple graph snapshots, that capture different semantics of connectedness over time, and we study the corresponding variants of the BFF problem. We then look at the On-Off BFF (O^2BFF) problem that relaxes the requirement of nodes being connected in all snapshots, and asks for the densest set of nodes in at least $k$ of a given set of graph snapshots. We show that this problem is NP-complete for all definitions of density, and we propose a set of efficient algorithms. Finally, we present experiments with synthetic and real datasets that show both the efficiency of our algorithms and the usefulness of the BFF and the O^2BFF problems.
Motivation & Objective
- Identify the most densely connected node sets that persist across all snapshots of a time-evolving graph.
- Address the challenge of detecting long-term, stable relationships in dynamic networks such as social or collaboration graphs.
- Formalize multiple definitions of density over multiple snapshots to capture different semantics of temporal connectedness.
- Introduce and solve the O²BFF problem, which finds the densest subgraph in at least k out of n snapshots, relaxing the all-snapshots requirement.
- Develop efficient, scalable algorithms for both BFF and O²BFF variants while proving NP-completeness for all density definitions.
Proposed method
- Define multiple variants of graph density over multiple snapshots to model different notions of persistent connectivity.
- Formulate the BFF problem as finding a node set with maximum density across all snapshots, under each density definition.
- Propose a relaxation of BFF into O²BFF, where a node set must be dense in at least k snapshots, not necessarily all.
- Design efficient approximation and exact algorithms for O²BFF, leveraging submodular optimization and greedy selection strategies.
- Implement and evaluate algorithms using both synthetic and real-world datasets, including social and collaboration networks.
- Use iterative pruning and density computation techniques to efficiently explore candidate subgraphs while maintaining scalability.
Experimental results
Research questions
- RQ1What defines a 'lasting' dense subgraph in a time-evolving network, and how can this be formally modeled?
- RQ2How can we efficiently compute the densest subgraph that remains connected across all snapshots of a dynamic graph?
- RQ3What is the computational complexity of the BFF and O²BFF problems under various density definitions?
- RQ4Can we design scalable algorithms that find high-quality dense subgraphs in at least k snapshots, even when not all snapshots are required?
- RQ5How do the proposed algorithms perform in practice on real and synthetic dynamic network data?
Key findings
- The O²BFF problem is NP-complete for all considered definitions of density, establishing its computational hardness.
- The proposed algorithms scale efficiently and can process large dynamic graphs, with runtime performance orders of magnitude faster than baseline methods.
- Experiments on real datasets show that BFF and O²BFF detect meaningful, stable communities that persist over time, such as long-term collaboration groups.
- The O²BFF formulation successfully identifies dense subgraphs even when full temporal consistency is not required, improving robustness to noise or missing snapshots.
- The algorithms achieve high density scores on both synthetic and real-world networks, with consistent performance across different density definitions.
- The study demonstrates that BFF and O²BFF uncover subgraphs with strong real-world interpretability, such as long-term friend groups or stable research teams.
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.