Fairness in Streaming Submodular Maximization: Algorithms and Hardness

Marwa El Halabi, Slobodan Mitrovic, Ashkan Norouzi-Fard, Jakab Tardos, Jakub Tarnawski

Overview

In the era of "Big Data," summarizing massive datasets on the fly is a critical challenge. Whether it is a news aggregator selecting a diverse set of stories from a million-article stream or a social network identifying influential users, submodular maximization serves as the mathematical workhorse to balance "coverage" with "diversity."

However, standard submodular algorithms are often blind to sensitive attributes. If a movie recommendation engine only picks action movies, or a hiring tool only selects candidates from a single demographic, the system exhibits bias. While "fair" versions of these algorithms exist for offline data, they have historically been unavailable for streaming data—where an algorithm sees each item only once and operates with strictly limited memory.

This paper introduces the first streaming algorithms for fair submodular maximization. The authors prove that it is possible to enforce strict representation requirements (such as gender or age balance) with minimal loss in utility and optimal memory usage, even without storing the full dataset.

The Challenge of Streaming Fairness

Adapting fairness to streaming data introduces two primary hurdles:

  1. Feasibility: How can an algorithm guarantee it will select enough individuals from a minority group if it does not know how many members of that group remain in the unseen stream?
  2. Utility: How can the algorithm maintain the overall quality (the "submodular value") of the summary while being forced to satisfy these rigid fairness constraints?

Methodology

The authors' core theoretical breakthrough is a clever reduction: they demonstrate that fairness constraints (specifically, lower and upper bounds on group representation) can be mathematically treated as a matroid constraint. By proving that the set of all "extendable" fair solutions forms a matroid, they successfully leverage decades of existing research on matroid-constrained optimization.

The Monotone Case (FAIR-STREAMING)

For monotone functions—where adding an item to the summary always increases or maintains its value—the authors developed a two-part approach:

  • The Core: The system runs a standard streaming algorithm (such as the Chakrabarti-Kale algorithm) to select a high-quality set that satisfies upper bounds.
  • The Backup: In parallel, it maintains a small "backup" buffer of elements for each demographic group to satisfy lower bounds.
  • The Merge: At the end of the stream, if the core set lacks representatives from a specific group, the algorithm swaps in elements from the backup buffer. Because the function is monotone, adding these elements does not degrade the approximation ratio.

The Non-Monotone Case (FAIR-SAMPLE-STREAMING)

Non-monotone functions (where adding an item might decrease total value, common in certain diversity metrics) are significantly harder to optimize. To solve this, the authors introduce the excess ratio ($q$), a measure of how much "freedom" the algorithm has to pick elements. They utilize reservoir sampling to maintain backup buffers, ensuring the final summary is a fair, randomized representation of the stream.

Experimental Validation

The authors validated their algorithms across four diverse, real-world tasks:

  • Pokec Social Network: A maximum coverage problem selecting influential users, with fairness constraints based on age and BMI.
  • MovieLens 1M: A movie recommendation task enforcing fairness across 18 different genres.
  • Census Income Dataset: Data summarization using Determinantal Point Processes (DPP) with fairness based on race.
  • Bank-Marketing Dataset: Exemplar-based clustering to find representative customer "types," with fairness based on age groups.

Key Findings and Results

  • The Cost of Fairness is Low: Empirically, the "price of fairness"—the drop in the objective value when constraints are added—was consistently less than 15%.
  • Strong Approximation Guarantees: For monotone functions, the algorithms achieved a 1/2-approximation (using exponential memory relative to the summary size $k$) and a 1/4-approximation (using linear $O(k)$ memory). These match the best-known theoretical limits for unfair streaming algorithms.
  • High Efficiency: The FAIR-STREAMING-CK algorithm is exceptionally fast, requiring only 2 oracle calls (function evaluations) per element and operating in $O(\log k)$ time.
  • Bias is Natural in Baselines: Experiments revealed that "unfair" state-of-the-art algorithms almost always violate fairness constraints significantly (e.g., making hundreds of representation errors) if not explicitly corrected. In contrast, the proposed fair algorithm achieved nearly the same utility as the unfair "Greedy" baseline on the MovieLens dataset while perfectly satisfying all 18 genre constraints.
  • The "Excess Ratio" Hardness: The authors proved a hardness result for non-monotone functions: if a group is extremely rare in the stream (a low excess ratio), it is mathematically impossible to achieve a good approximation without storing almost the entire stream.

Limitations and Future Work

The primary limitation of the study lies in the non-monotone streaming case. While the authors provide a $q/5.82$ approximation, this guarantee depends heavily on the excess ratio $q$. If the algorithm is forced to select almost every single member of a rare group that appears in the stream, its performance guarantee drops.

Future research directions include:

  • Overlapping Groups: The current framework assumes each item belongs to exactly one group (e.g., a single age bracket). Real-world fairness often involves intersectional identities (e.g., race and gender).
  • Dynamic Streams: Adapting these fair summaries to "sliding windows," where only the most recent data matters, remains an open challenge for real-time applications.

Summary updated

BibTeX
@inproceedings{halabi2020fairness,
  author = {Marwa El Halabi and Slobodan Mitrovic and Ashkan Norouzi-Fard and Jakab Tardos and Jakub Tarnawski},
  title = {{Fairness in Streaming Submodular Maximization: Algorithms and Hardness}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure