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,000andN = 2,000,FaXruns 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 approximateApXmethod. - Sub-2ms p99 serving latency: Reranking
N = 20items (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 forEntropyon Netflix. - Moderate diversity improves relevance: Sweeping the relevance-diversity weight
thetaon Netflix Prize pushes Mean Reciprocal Rank (MRR) and popularity-weighted recall higher attheta ≈ 0.5-0.7than pure relevance (theta = 1.0). - Linear-time sliding window: Restricting repulsion to the
w - 1most recent neighbors (w = 10forN = 100items) cuts complexity toO(w N M)via a rank-1 Cholesky downdate, beatingMMRandMSDacross both long-sequence benchmarks.
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 maximizestheta * 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>) / 2keepsS_{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.41msp99) andMMR(0.50msp99) remain cheaper in raw CPU time thanDPP(1.75msp99), though sub-2ms fits comfortably behind a two-stage recommender. - Rank limit without a window: Theorem 1 proves
d_{j_k} > 0only whilekdoes not exceedrank(L). Returning lists longer than the embedding dimensionDhits 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 oftheta(the online A/B test ran only atN = 8without 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.


