Abstract
Determinantal Point Processes (DPPs) are powerful tools for modeling diversity and quality in subset selection. However, standard training via Maximum Likelihood Estimation (MLE) often fails by assigning high probabilities to unrealistic, unobserved sets. We propose Contrastive Estimation (CE), a novel framework that incorporates negative samples to sharpen the model's discriminative power. By leveraging a low-rank factorization, we achieve linear complexity in conditioning, making CE viable for large-scale recommendation tasks. Experimental results on real-world retail datasets demonstrate significant improvements in predictive accuracy and ranking metrics.
The Challenge: The "Half-Blind" Nature of MLE
DPPs are widely used in recommendation systems to ensure that suggested items (e.g., a grocery basket) are both relevant and diverse. Traditionally, these models are trained using MLE, which maximizes the likelihood of observed positive samples.
The primary drawback of MLE is that it is "half-blind": it focuses exclusively on seen data without penalizing the model for assigning high probability to nonsensical or random collections of items. This leads to "confusable modes," where the model cannot distinguish between a logical set and a random one. In practical terms, this results in poor "next-item" predictions.
Methodology: Contrastive Estimation (CE)
To address this, we introduce Contrastive Estimation. The CE objective function maximizes the log-likelihood of positive samples ($A^+$) while simultaneously minimizing the expected log-likelihood of negative samples ($A^-$) drawn from a negative distribution $\nu$.
We explore two variants:
- Static Negatives (ExpCE): The negative distribution is fixed, typically based on item frequencies.
- Dynamic Negatives (DynCE): The negative distribution evolves with the model. This "corrective" approach identifies sets the current model erroneously favors and uses them as negative examples to refine parameters, similar to adversarial training.
Scaling to Large Datasets
A significant hurdle for DPPs is the $O(|\mathcal{Y}|^2)$ complexity of conditioning, where $|\mathcal{Y}|$ is the total number of items. We derive a computational optimization using a low-rank factorization of the DPP kernel ($L = VV^\top$). This reduces the complexity to $O(|\mathcal{Y}|)$, allowing the model to scale to catalogs with tens of thousands of items in reasonable time.
Experimental Results
We evaluated CE on two large-scale retail datasets: a UK dataset (~20,000 subsets) and a Belgian supermarket dataset (~88,000 subsets).
As shown in the table below, CE provides substantial gains over standard low-rank MLE (LR). On the Belgian dataset, the Mean Percentile Rank (MPR) improved by nearly 10 points. Furthermore, the Area Under the ROC Curve (AUC), which measures the model's ability to distinguish real baskets from random ones, increased from ~0.61 to nearly 0.98.
Beyond accuracy, CE is highly efficient. On the Belgian dataset, one iteration of CE took only 5 minutes, compared to 11 hours for other contrastive methods like Noise Contrastive Estimation (NCE).
Conclusion
Contrastive Estimation transforms DPPs from theoretical models into robust tools for large-scale recommendation. By explicitly teaching the model what not to like through corrective negative sampling, we achieve sharper decision boundaries and superior predictive performance. Future work will focus on refining negative sampler designs and incorporating domain-specific knowledge.
Summary updated