Abstract
Consensus clustering seeks to combine multiple clusterings of the same dataset into a single partitioning that best reflects the overall structure. While recent work introduced fair variants under proportionate fairness, existing offline approaches are memory-intensive, requiring the storage of all input clusterings. This paper initiates the study of fair consensus clustering in the streaming model, where input clusterings arrive sequentially and memory is limited. We design the first constant-factor algorithm that processes the stream while storing only a logarithmic number of inputs. Our framework integrates closest fair clustering with cluster fitting, providing improved approximation guarantees and fairness-agnostic applicability to any fairness definition for which an approximately close fair clustering can be computed efficiently.
Introduction
Consensus clustering, also known as the median partition problem, is a fundamental "meta-clustering" task essential for merging diverse partitions of a dataset into a unified representative structure. This process is critical in domains such as bioinformatics for gene integration and social network analysis. However, two major hurdles exist in modern applications: fairness and scale. Standard consensus methods often ignore demographic fairness, potentially perpetuating biases present in the input data. Furthermore, modern datasets often arrive as high-velocity streams, making the storage of all input clusterings prohibitively expensive.
A Fairness-Agnostic Streaming Framework
We propose a novel two-phase algorithmic framework designed to handle fair consensus clustering on-the-fly with sublinear space complexity. A key feature of this framework is its modularity; it is fairness-agnostic, meaning it can incorporate any fairness definition (e.g., maintaining specific balances of protected attributes like race or gender) provided there is an efficient subroutine to compute a "closest fair clustering."
Candidate Generation and Cluster Fitting
The algorithm identifies a set of candidate clusterings through two primary techniques:
- Fair Input Selection: Finding fair versions of specific input clusterings.
- Cluster Fitting: This technique constructs a "majority-vote" graph where edges indicate whether pairs of points are co-clustered in a majority of a subset of inputs. Fair correlation clustering is then applied to this graph to derive a candidate.
Sublinear Uniform Sampling
To maintain a low memory footprint, the algorithm utilizes uniform sampling rather than storing the entire stream. We prove that a logarithmic number of sampled inputs ($O(n \log mn)$ bits) is sufficient to reliably approximate the optimal consensus of the entire stream. This allows the algorithm to identify the best candidate clustering while processing massive datasets sequentially.
Key Results and Performance
Our framework provides the first constant-factor approximations for fair consensus clustering in the streaming model.
- 1-Median Consensus: The algorithm achieves a $(\gamma + 1.995)$-approximation, where $\gamma$ is the approximation factor of the underlying fair clustering subroutine. For the common case of equi-proportionate two-color fairness, this results in a 3.01461-approximation.
- k-Median Extension: For the more general $k$-median consensus clustering problem, we achieve a (1.0151$\gamma$ + 1.99951)-approximation using monotone faraway sampling and coreset constructions.
- Space Efficiency: The memory requirement is nearly optimal, scaling logarithmically with the number of inputs, making it suitable for large-scale applications.
Conclusion and Future Directions
This research bridges the gap between fairness and scalability in consensus clustering. By treating the fair clustering component as a "black box," the framework remains adaptable to future algorithmic improvements in fairness subroutines. While we provide strong theoretical guarantees, future work may focus on narrowing the approximation gap further and exploring empirical performance in real-world streaming environments, potentially incorporating machine-learning-based predictors to enhance approximation quality.
Summary updated