Scaling Up Collaborative Filtering Data Sets through Randomized Fractal Expansions

Francois Belletti, Karthik Lakshmanan, Walid Krichene, Nicolas Mayoraz, Yi-Fan Chen, John R. Anderson, Taylor Robie, Tayo Oguntebi, Dan Shirron, Amit BleiwessarXiv 2019

Introduction

In the field of recommender systems (RecSys), a significant "scale gap" exists between academic research and industrial application. While academic benchmarks often rely on public datasets like MovieLens 20M, industrial systems at organizations such as Google or Netflix manage hundreds of millions of users and billions of interactions. This disparity is not merely quantitative; extreme scale introduces unique engineering challenges, including distributed embedding tables and complex classification issues. Due to privacy concerns, massive production datasets are rarely released. This paper introduces a method to bridge this gap by "inflating" small, public datasets into massive, industrial-scale synthetic benchmarks that preserve the essential statistical characteristics of real-world user behavior.

Methodology: Randomized Fractal Expansion

The proposed technique, Randomized Fractal Expansion, leverages the concept of self-similarity in user-item interaction matrices. By treating these matrices as fractals, researchers can generate larger structures that mirror the hierarchical nature of real-world data (e.g., users within demographic groups, items within genres).

The process involves four key components:

  1. Kronecker Products: A matrix operation where elements of a "seed" matrix are replaced with scaled versions of another matrix, creating a hierarchical, self-similar structure.
  2. Stochastic Dropout: To maintain realistic binary interaction data, the values of a reduced matrix serve as probabilities for a Bernoulli distribution, ensuring the synthetic data remains sparse and discrete.
  3. Randomized Shuffling: To avoid the repetitive "blocky" patterns typical of standard Kronecker expansions, the authors implement block-wise shuffling of rows and columns. This increases the complexity of the synthetic data, making it as difficult to factorize as real-world datasets.
  4. Reduced Matrix Generation: Singular Value Decomposition (SVD) is used to create a compact, representative "seed" from the original dataset, allowing for precise control over the expansion scale.

Statistical and Spectral Fidelity

A critical requirement for synthetic data is the preservation of the original dataset's "fingerprints." The authors focus on two primary types of statistics: first-order (popularity distributions) and second-order (spectral properties).

Real-world interaction data typically follows power-law distributions, where a small number of items receive the majority of attention. The randomized fractal expansion mathematically preserves these "fat-tail" distributions. As shown in Figure 6, the log-log plot of item popularity maintains a consistent slope, indicating that the synthetic dataset accurately reflects the popularity dynamics of the original source.

Item-wise rating sums on a log-log scale, demonstrating the preservation of power-law distributions.

Furthermore, the "difficulty" of a recommendation task is often encoded in the matrix's singular values. The authors demonstrate "spectral integrity" by showing that their method preserves the singular value spectrum. Figure 3 illustrates this spectrum on a log-log scale, ensuring that the synthetic task presents a similar computational challenge to the original.

The singular value spectrum on a log-log scale, illustrating the spectral integrity of the expanded dataset.

Results and Benchmarking

The methodology was applied to the MovieLens 20M dataset, scaling it by two orders of magnitude in dimensions and four orders of magnitude in total interactions. The resulting MovieLens 1.2B synthetic dataset contains 1.2 billion ratings across 2.2 million users and 855,000 items.

Empirical evaluations confirm that this synthetic dataset is large enough to trigger memory and latency bottlenecks typical of industrial distributed training systems. By providing a high-fidelity, privacy-safe proxy for production-scale data, this approach enables researchers to test models and hardware (such as TPUs) in environments that closely resemble real-world industrial settings.

Conclusion and Future Work

Randomized fractal expansion offers a robust solution for generating large-scale RecSys benchmarks. While the current method excels at expanding interaction matrices, it does not yet incorporate synthetic metadata (e.g., timestamps or user profiles) or explicitly model temporal dynamics and cold-start scenarios. Future research will focus on extending these fractal techniques to sequential recommendation models and richer feature sets, further narrowing the gap between academic research and industrial reality.

Summary updated

BibTeX
@misc{belletti2019scaling,
  author = {Francois Belletti and Karthik Lakshmanan and Walid Krichene and Nicolas Mayoraz and Yi-Fan Chen and John R. Anderson and Taylor Robie and Tayo Oguntebi and Dan Shirron and Amit Bleiwess},
  title = {{Scaling Up Collaborative Filtering Data Sets through Randomized Fractal Expansions}},
  year = {2019},
  eprint = {1905.09874},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.09874},
}
Figure