Greedy maximum a posteriori (MAP) inference for a Determinantal Point Process (DPP) solves list diversification in feature space, but exact algorithms traditionally took O(M^4) time, far too slow for real-time feeds. Laming Chen, Guoxin Zhang, and Hanning Zhou at Hulu eliminated that bottleneck with FaX, an incremental Cholesky factorization update that brings exact greedy selection of N items from M candidates down to O(N^2 M) time (O(M^3) unconstrained) and sliding-window diversification to O(w N M). On Hulu’s live movie recommender, DPP reranking lifted titles watched by 1.33% and watch minutes by 1.52% over an un-diversified control, beating Maximal Marginal Relevance (MMR) (+0.84% and +0.86%).

  • 100x speedup with zero approximation: On synthetic matrices up to M = 6,000 and N = 2,000, FaX runs roughly 100x faster than Lazy greedy evaluation while matching its exact 1.000 log-probability ratio, compared to ~3x speedup and 0.2% accuracy loss (0.998) for the prior approximate ApX method.
  • Sub-2ms p99 serving latency: Reranking N = 20 items (median 735 to 811 candidates) takes 0.73ms avg / 1.75ms p99 on Netflix Prize and 0.76ms avg / 1.46ms p99 on Million Song Dataset, versus 1,332.21ms p99 for coverage (Cover) and 2,883.82ms p99 for Entropy on Netflix.
  • Moderate diversity improves relevance: Sweeping the relevance-diversity weight theta on Netflix Prize pushes Mean Reciprocal Rank (MRR) and popularity-weighted recall higher at theta ≈ 0.5-0.7 than pure relevance (theta = 1.0).
  • Linear-time sliding window: Restricting repulsion to the w - 1 most recent neighbors (w = 10 for N = 100 items) cuts complexity to O(w N M) via a rank-1 Cholesky downdate, beating MMR and MSD across both long-sequence benchmarks.
Online A/B lift (Hulu, N=8) and Netflix Prize 99th-percentile latency (N=20)
4-week live A/B test (vs. un-diversified control)
DPP watch minutes+1.52%
DPP titles watched+1.33%
MMR watch minutes+0.86%
MMR titles watched+0.84%
Netflix Prize avg / p99 runtime (ms, N=20)
MSD (pairwise sum)0.21 / 0.41 ms
MMR (pairwise max)0.23 / 0.50 ms
DPP (FaX Cholesky)0.73 / 1.75 ms
Cover (graph saturation)120.19 / 1,332.21 ms
Entropy regularizer200.74 / 2,883.82 ms

Source: Chen, Zhang, and Zhou (2018), Tables 1 and 2.

How incremental Cholesky DPP works

A DPP scores a candidate subset Y via the determinant det(L_Y) of a positive semidefinite (PSD) kernel L = Diag(r_u) * S * Diag(r_u), where r_u holds item relevance scores and S_{ij} measures pairwise similarity. Geometrically, det(L_Y) is the squared volume spanned by the selected items’ weighted feature vectors: adding a near-duplicate collapses the orthogonal residual to near zero, whereas an item covering a fresh direction expands the volume. Unlike pairwise heuristics (MMR, MSD), a determinant naturally detects when a third candidate is a linear combination of two already selected items.

Instead of recomputing a determinant or matrix inverse for every remaining candidate at every step, FaX maintains the lower-triangular Cholesky factor V of L_{Y_g} and stores each remaining candidate’s projection vector c_i and residual squared norm d_i^2 = L_{ii} - ||c_i||_2^2. Because det(L_{Y_g union {i}}) = det(L_{Y_g}) * d_i^2, picking the largest marginal log-det gain reduces to argmax log(d_i^2). After adding winner j, each remaining candidate i updates in O(k) time at step k: e_i = (L_{ji} - <c_j, c_i>) / d_j and d_i^2 <- d_i^2 - e_i^2.

To adapt DPP for feeds, the authors make two production adjustments:

  • Tunable tradeoff theta in [0, 1]: The objective maximizes theta * r_{u,i} + (1 - theta) * (log det(S_{R_u union {i}}) - log det(S_{R_u})).
  • Nonnegative similarity shift: Setting S_{ij} = (1 + <f_i, f_j>) / 2 keeps S_{ij} in [0, 1] and preserves PSD structure. Without this shift, perfectly opposite vectors (f_i = -f_j) yield determinant zero, confusing maximum opposition with exact duplication.

Key findings and sliding-window scaling

On Netflix Prize (436,674 users, 11,551 movies) and Million Song Dataset (213,949 users, 20,716 songs), Cover edged out DPP on Netflix (N = 20) but collapsed to worst on Million Song Dataset and blew past 1.3 seconds at p99. DPP delivered the strongest consistent relevance-diversity Pareto frontier across both datasets while staying under 2ms at p99. In the 4-week Hulu A/B test (5% user arms, N = 8 movies, daily matrix factorization similarity), DPP nearly doubled MMR’s watch-minute gain (+1.52% vs. +0.86%).

For long scrollable feeds (N = 100, w = 10), global repulsion is counterproductive because viewers only inspect a local viewport at once. Algorithm 2 removes the oldest item from the w - 1 window via a rank-1 Cholesky update (O(w^2) for V plus O(w M) for c_i), bringing total complexity down to O(w N M) and outperforming windowed MMR and MSD on nDCG vs. intra-list local distance (ILALD/ILMLD).

Caveats and builder takeaway

  • Pairwise heuristics are still 3x to 4x faster: MSD (0.41ms p99) and MMR (0.50ms p99) remain cheaper in raw CPU time than DPP (1.75ms p99), though sub-2ms fits comfortably behind a two-stage recommender.
  • Rank limit without a window: Theorem 1 proves d_{j_k} > 0 only while k does not exceed rank(L). Returning lists longer than the embedding dimension D hits singular zero residuals in Algorithm 1 unless you enable the sliding window or add diagonal jitter.
  • Kernel quality caps diversity: DPP only diversifies along features encoded in S, requires manual tuning of theta (the online A/B test ran only at N = 8 without testing the sliding window live), and should be validated with live user tests such as interleaving or A/B experiments.

If you already score hundreds of candidates and have dense item embeddings on hand, FaX gives you geometrically principled set diversification at sub-2ms p99 cost without training a separate listwise model.