Enumerating Fair Packages for Group Recommendations

Ryoma Sato

TL;DR

Most group recommendation systems struggle to find a single "perfect" package that satisfies everyone fairly. This paper introduces FAPE, an algorithm that uses Zero-suppressed Decision Diagrams (ZDDs) to efficiently enumerate all fair packages above a certain threshold, allowing groups to choose from trillions of valid options in seconds.

What Problem Does This Paper Address?

Recommending items to a group (like a movie for a family or a playlist for a car ride) is significantly harder than recommending to an individual. You have to balance the preferences of multiple people while ensuring fairness—you don't want one person to be miserable just because the rest of the group is happy.

Current state-of-the-art "fair" algorithms typically output exactly one "optimal" package. However, in the real world, users prefer having choices (a "top-k" list). Furthermore, a package that looks mathematically optimal might be rejected by the group for unobserved reasons (e.g., "we saw that movie last week").

The challenge is that finding the fairest package is NP-hard. Enumerating every fair package is even more daunting because the number of possible combinations grows exponentially with the number of items.

Methods

The author proposes FAPE (FAir Package Enumeration). The core innovation lies in combining two theoretical computer science concepts:

  1. Zero-suppressed Decision Diagrams (ZDDs): This is a specialized data structure used to represent families of sets compactly. Instead of listing every single package (which could be in the trillions), a ZDD stores the paths to reach them. This allows for massive compression; a ZDD with a few thousand nodes can represent a trillion packages.
  2. Fixed-Parameter Tractability (FPT): The author proves that while the problem is generally NP-hard, it is "tractable" if the group size is small. Since most group recommendations are for families or small circles of friends (usually <10 people), the algorithm remains efficient even as the number of available items grows into the millions.

FAPE constructs these ZDDs from the bottom up. Once the ZDD is built, it supports powerful operations like Intersection (to find packages that are both fair and fit a specific category), Optimization (to find the highest-rated package within the fair set), and Sampling (to give users a diverse set of options).

Datasets

The study evaluates the algorithm using:

  • MovieLens (100k to 25M versions): A standard benchmark for movie recommendations. The 25M version was used to test extreme scalability.
  • Amazon Home and Kitchen: A dataset used to simulate "bundle" recommendations in e-commerce.
  • Synthetic Groups: The researchers created three types of groups: Random, Similar (users with high correlation), and Divergent (users with very different tastes) to see how the algorithm handles conflicting preferences.

Key Insights and Ideas

  • Fairness as a Constraint, Not Just a Score: Instead of trying to maximize a fairness "score," FAPE treats fairness as a threshold. This shifts the focus from finding "the best" to finding "the set of all acceptable" solutions.
  • The Power of Compression: The "aha moment" is realizing that we don't need to iterate through every package to provide choices. By manipulating the ZDD structure directly, we can perform complex filtering (like "show me only fair packages that contain at least one comedy") in linear time relative to the ZDD size, not the number of packages.
  • Theoretical Guarantee: By proving the problem is FPT, the author provides a mathematical guarantee that the system will scale to massive item catalogs as long as the group size remains modest.

Key Results

  • Massive Enumeration: FAPE can enumerate over one trillion ($10^{12}$) packages in just a few seconds.
  • Linear Scalability: The time consumption scales linearly with the number of items in the dataset, confirming the FPT theory.
  • Superior Balancing: Compared to greedy baselines (like SPGreedy or EFGreedy), FAPE achieved higher "Total Scores" by better balancing proportionality, envy-freeness, and overall preference.
  • Quality of Choice: The researchers found that even the 100th-best package in the fair set was still significantly fairer and more preferred than the single output of many baseline algorithms.

Limitations and Future Work

  • Group Size Bottleneck: Because the complexity is exponential relative to group size, the algorithm would struggle with very large groups (e.g., recommending a movie for an entire theater of 200 people).
  • ZDD Construction Time: While operations on ZDDs are fast, building complex domain-specific constraint ZDDs (like "no two items from the same brand") can be time-consuming, though these can often be pre-computed and reused.
  • User Interface: The paper focuses on the backend enumeration; how to best present "trillions of options" to a human group without overwhelming them remains an open UX challenge.

Summary updated

BibTeX
@inproceedings{sato2022enumerating,
  author = {Ryoma Sato},
  title = {{Enumerating Fair Packages for Group Recommendations}},
  booktitle = {WSDM},
  year = {2022},
  doi = {10.1145/3488560.3498432},
}
Figure