Recommendation Subgraphs for Web Discovery

Arda Antikacioglu, R. Ravi, Srinath SridharWWW 2014

Introduction

In the landscape of modern e-commerce, recommender systems are typically optimized for relevance, often utilizing collaborative filtering or content-based matching. While effective at driving immediate conversions, this focus frequently exacerbates the "digital discovery divide." Popular items continue to receive recommendations, while a vast "long tail" of products remains structurally isolated and undiscovered by users. This paper proposes a shift in perspective, treating recommendation generation as a structural navigability problem aimed at maximizing content discoverability across the entire web graph.

The (c, a)-Recommendation Subgraph Problem

The authors formalize this challenge as the (c, a)-recommendation subgraph problem. Consider a bipartite graph where one set of nodes represents "discovered" pages (high-traffic entry points) and the other represents "undiscovered" pages (the long tail). Each discovered page has a set of $d$ potential candidate recommendations. Due to user interface constraints, only $c$ links can be displayed per page ($c < d$).

The objective is to select these $c$ links for every discovered page to maximize the number of undiscovered pages that receive at least $a$ incoming links. This threshold $a$ represents a baseline for discoverability.

Bipartite graph representation of the (c, a)-recommendation subgraph problem, illustrating the selection of links between discovered and undiscovered nodes.

Finding an optimal solution to this problem is equivalent to solving a maximum bipartite matching problem. However, for real-world platforms with millions of pages, the super-linear time complexity and high memory requirements of optimal matching algorithms make them unscalable.

Algorithmic Approaches

To overcome these computational barriers, the authors evaluate three distinct strategies:

  1. Sampling Algorithm: A lightweight approach that randomly selects $c$ links from the $d$ candidates for each page. It is highly efficient, requiring $O(|E|)$ time and minimal memory, making it suitable for online deployment.
  2. Greedy Algorithm: This heuristic iteratively selects links that help undiscovered nodes reach the target in-degree $a$. By prioritizing nodes closest to the threshold, it maintains a balance between local decisions and global discoverability. It operates in $O(|E|)$ time with $O(|V|)$ space.
  3. Partition Algorithm: A more complex method that partitions edges into $a$ subsets and applies standard bipartite matching (e.g., Hopcroft-Karp) to each. While it offers stronger theoretical guarantees, its $O(|E|\sqrt{|V|})$ complexity limits its use on massive datasets.

Experimental Evaluation and Scalability

The algorithms were tested on both simulated data and large-scale proprietary e-commerce graphs from BloomReach clients, with datasets reaching up to $10^6$ vertices and $10^7$ edges.

A key finding is that simplicity scales. While the Partition algorithm provides high-quality subgraphs for small datasets, it fails to process larger graphs due to memory and time constraints. In contrast, the Greedy and Sampling algorithms scale linearly with the number of edges.

Runtime comparison showing the scalability of the Greedy and Sampling algorithms compared to the super-linear growth of the Partition algorithm.

The Greedy algorithm emerged as the most practical solution, achieving approximately 85% optimality across various real-world merchant datasets while processing tens of millions of edges in a single pass. Furthermore, as the recommendation budget $c$ increases, the performance of even the simple Sampling algorithm approaches optimality, as the probability of missing a target node decreases exponentially.

Conclusion

This research demonstrates that surfacing the "long tail" of web content does not necessarily require computationally expensive graph matching. Simple, greedy heuristics provide a robust and scalable alternative for real-world production environments. Future work aims to incorporate edge weights to account for varying link relevance and click-through rates, further bridging the gap between structural discoverability and user engagement.

Summary updated

BibTeX
@inproceedings{antikacioglu2014recommendation,
  author = {Arda Antikacioglu and R. Ravi and Srinath Sridhar},
  title = {{Recommendation Subgraphs for Web Discovery}},
  booktitle = {The Web Conference},
  year = {2014},
  doi = {10.1145/2736277.2741680},
}
Figure