Fair and Representative Subset Selection from Data Streams

Yanhao Wang, Francesco Fabbri, Michael MathioudakisWWW 2021

Abstract

We study the problem of extracting a small subset of representative items from a large data stream. In many data mining and machine learning applications such as social network analysis and recommender systems, this problem can be formulated as maximizing a monotone submodular function subject to a cardinality constraint $k$. In this work, we consider the setting where data items in the stream belong to one of several disjoint groups and investigate the optimization problem with an additional fairness constraint that limits selection to a given number of items from each group. We then propose efficient algorithms for the fairness-aware variant of the streaming submodular maximization problem. In particular, we first give a $1/2 - \epsilon$-approximation algorithm that requires $O(1/\epsilon)$ passes over the stream for any constant $\epsilon > 0$. Moreover, we give a single-pass streaming algorithm that has the same approximation ratio of $1/2 - \epsilon$ when unlimited buffer sizes and post-processing time are permitted, and discuss how to adapt it to more practical settings where the buffer sizes are bounded. Finally, we demonstrate the efficiency and effectiveness of our proposed algorithms on two real-world applications, namely maximum coverage on large graphs and personalized recommendation.

Introduction

In the era of big data, summarizing massive datasets into a few "representative" items is a critical task. Whether selecting news articles for a daily summary or identifying key users for a marketing campaign, this process is mathematically modeled as submodular maximization. Submodularity captures the property of "diminishing returns," where adding an item to a smaller set provides more marginal utility than adding it to a larger one.

However, standard streaming algorithms for this task face two major hurdles: computational efficiency and algorithmic bias. Classic greedy approaches often require multiple passes over the data, which is impractical for high-velocity streams. Furthermore, without explicit constraints, these algorithms may ignore minority groups, leading to unfair outcomes in sensitive applications like recruitment or personalized recommendations. This paper addresses these challenges by introducing algorithms for Fair Submodular Maximization (FSM) in a streaming environment.

Methodology: MP-FSM and SP-FSM

The authors frame fairness as a partition matroid constraint, where items belong to disjoint groups and the user specifies a quota for each. To solve this efficiently, they move from standard greedy selection to threshold-based selection.

  • MP-FSM (Multi-Pass Fair Submodular Maximization): This algorithm makes a small, fixed number of passes over the data. It first estimates the maximum possible utility of a single item and then uses a decreasing threshold in subsequent passes to accept any item providing a marginal utility gain above that threshold, provided the group's quota is not yet met.
  • SP-FSM (Single-Pass Fair Submodular Maximization): Designed for real-time applications, SP-FSM maintains multiple candidate solutions for different potential threshold values simultaneously. It utilizes a small buffer to store high-utility items that were not initially picked, allowing for a post-processing step to satisfy fairness constraints if the initial pass leaves gaps.

Experimental Evaluation

The algorithms were evaluated on three distinct datasets:

  1. POKEC: A massive social network dataset (1.6M nodes, 30M edges) used for a maximum coverage task, with groups defined by gender and age.
  2. SYN: Synthetic graphs used to test scalability regarding dataset size and the number of groups.
  3. MovieLens: A recommendation dataset where the goal was to select a diverse set of movies categorized by genre.
Utility performance of MP-FSM compared to Greedy and MP-StreamLS across different POKEC configurations.

As shown in Figure 1, the proposed MP-FSM algorithm consistently achieves utility nearly identical to the offline Greedy algorithm across various constraints, including Proportional Representation (PR) and Equal Representation (ER).

Key Findings

The "Price of Fairness"

The experiments reveal that the utility cost of enforcing fairness is often negligible. When enforcing proportional representation, there is almost no loss in utility compared to unconstrained algorithms. However, enforcing equal representation on highly imbalanced data (e.g., small age groups in POKEC) does result in a slightly higher utility trade-off.

Efficiency and Speed

Thresholding proves to be a superior strategy for streaming data. By avoiding the need to find the absolute best item at every step, the algorithms maintain a low memory footprint and high processing speed.

Running time comparison on the POKEC dataset, showing MP-FSM's significant speed advantage.

Figure 3 highlights the dramatic speedup achieved by MP-FSM. It is significantly faster than both the standard Greedy algorithm and existing multi-pass streaming benchmarks like MP-StreamLS, often by orders of magnitude.

Performance Summary

  • Approximation Quality: Both MP-FSM and SP-FSM achieve a $(1/2 - \epsilon)$ approximation ratio. In practice, MP-FSM reached over 99% of the utility of the offline Greedy algorithm.
  • Speedup: MP-FSM demonstrated speeds up to 19x faster than Greedy and over 500x faster than other multi-pass streaming benchmarks.
  • Buffering: The single-pass SP-FSM remains effective even with a small buffer (e.g., twice the size of the target subset $k$), making it highly practical for memory-constrained environments.

Conclusion

This work provides a robust framework for fair and representative subset selection in data streams. By combining threshold-based selection with smart buffering, the proposed algorithms offer near-optimal utility with significantly improved computational efficiency. Future research may explore extending these methods to non-monotone utility functions or handling overlapping protected groups.

Summary updated

BibTeX
@inproceedings{wang2021fair,
  author = {Yanhao Wang and Francesco Fabbri and Michael Mathioudakis},
  title = {{Fair and Representative Subset Selection from Data Streams}},
  booktitle = {The Web Conference},
  year = {2021},
  url = {https://openreview.net/forum?id=UiemGuV-Xc7},
}
Figure