Network Flow Based Post Processing for Sales Diversity

Arda Antikacioglu, R. RaviarXiv 2017

Abstract

Collaborative filtering (CF) algorithms often suffer from popularity bias, where a small number of items receive the majority of recommendations, leaving a "long tail" of items under-exposed. This paper introduces a novel post-processing framework that treats recommendation diversity as a minimum-cost network flow (MCNF) problem. By reducing the challenge of matching a target item distribution to a graph optimization task, the authors provide a method that achieves high sales diversity while maintaining recommendation quality in polynomial time.

Introduction

Modern recommendation systems are the primary drivers of discovery on platforms like Netflix and Amazon. However, standard Collaborative Filtering (CF) techniques are prone to the "rich-get-richer" phenomenon. Because these models learn from historical interaction data, they naturally favor popular items, creating feedback loops that marginalize the long-tail catalog.

For businesses, this lack of "sales diversity"—the variety of items recommended across the entire user base—is a significant hurdle. Surfacing a broader range of products can increase catalog utilization and long-term user satisfaction. Existing solutions to this problem generally fall into two categories: simple heuristics that often sacrifice too much accuracy, or complex optimization problems (often NP-hard) that fail to scale to production environments. This research proposes a middle ground: an exact, efficient optimization framework that balances relevance with a designer-specified item distribution.

Methodology: Diversity as Network Flow

The authors model the recommendation task as a subgraph selection problem within a bipartite graph of users and items. The goal is to select a fixed number of edges (recommendations) for each user that collectively satisfy a global distribution goal.

1. Defining Discrepancy

The core objective is to minimize "discrepancy," defined as the $L_1$ distance between the actual recommendation frequency of items and a desired "target degree distribution." This target can be uniform (where every item is recommended equally) or a custom distribution that smooths out the popularity curve.

2. The MCNF Reduction

The technical breakthrough of this work is the proof that discrepancy minimization can be reduced to a Minimum-Cost Network Flow (MCNF) problem. By constructing a flow network with specialized source and sink nodes and specific capacity constraints, the optimal solution—the one with the lowest possible discrepancy—can be found using efficient, polynomial-time algorithms like the Network Simplex method.

3. The Two-Pass Optimization Strategy

To ensure that the pursuit of diversity does not come at the expense of recommendation relevance, the authors employ a two-pass approach:

  • Pass 1 (Discrepancy Minimization): The system identifies the minimum possible discrepancy value achievable for the given constraints.
  • Pass 2 (Relevance Maximization): Among all possible solutions that achieve that minimum discrepancy, the system selects the one that maximizes the total recommendation weight (the predicted ratings or quality scores).

This ensures that the final output is the most relevant set of recommendations possible under the required diversity constraints.

Experimental Evaluation

The framework was evaluated using three industry-standard datasets: MovieLens-1m, MovieLens-10m, and a subsampled version of the Netflix Prize Dataset. These datasets were used to generate "super-graphs" of candidate recommendations via standard CF techniques, which the network flow model then post-processed.

Key Results

  • Significant Diversity Gains: The flow-based model reduced normalized discrepancy by over 50% compared to standard CF baselines.
  • Manageable Quality Trade-offs: These gains in diversity resulted in only a 15-30% drop in average precision. While any diversification involves a trade-off, this performance significantly outperformed previous reranking heuristics.
  • Computational Efficiency: Despite the complexity of the optimization, the use of MCNF allowed the system to process millions of candidate recommendations in seconds or minutes on standard hardware.
  • Display Constraint Performance: The method proved particularly robust when the number of items shown to each user was small (e.g., a top-5 list). In these constrained scenarios, the global coordination of the network flow model far exceeded the performance of independent, user-level reranking.

Discussion and Limitations

While the MCNF approach is highly effective, the authors note several areas for further development. Scalability remains a challenge for truly massive datasets; for the MovieLens-10m set, the user base had to be processed in batches, which can slightly reduce global optimality. Additionally, while the second pass (relevance maximization) is effective, it is more computationally intensive than the first pass.

Finally, it is important to distinguish between sales diversity (system-wide variety) and intra-list diversity (variety within a single user's list). This framework specifically targets the former. While increasing sales diversity often naturally improves the variety seen by individual users, the model does not explicitly prevent a single user from receiving a list of very similar items (e.g., five different Action movies). Integrating both system-level and user-level diversity remains a promising direction for future research.

Conclusion

By reframing recommendation diversity as a combinatorial optimization problem, this research provides a mathematically rigorous and computationally feasible path toward breaking popularity bias. The network flow approach allows platform designers to precisely control the exposure of their catalog, ensuring that the long tail is not just preserved, but actively utilized.

Summary updated

BibTeX
@misc{antikacioglu2017network,
  author = {Arda Antikacioglu and R. Ravi},
  title = {{Network Flow Based Post Processing for Sales Diversity}},
  year = {2017},
  eprint = {1702.05446},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1702.05446},
}
Figure