Performance-Driven QUBO for Recommender Systems on Quantum Annealers

Jiayang Niu, Jie Li, Ke Deng, Mark Sanderson, Nicola Ferro, Yongli Ren

TL;DR

This paper introduces PDQUBO, a novel approach that uses quantum annealing to select the most impactful features for recommender systems. By leveraging "counterfactual analysis" to understand how removing features affects recommendation quality, PDQUBO directly optimizes for better recommendations, outperforming existing quantum and classical methods.

What Problem Does This Paper Address?

Recommender systems often rely on a vast number of features, which can lead to increased computational costs, slower performance, and even diminished accuracy due to redundant or irrelevant information. Feature selection aims to identify the most informative subset of features. While quantum annealers show promise for solving complex optimization problems like those found in feature selection, existing quantum approaches often struggle to directly align their optimization objectives with the ultimate goal: improving recommendation performance. This paper bridges this gap by proposing a method that explicitly links feature selection to the actual performance of recommender models.

Methods

The core innovation is PDQUBO (Performance-Driven QUBO). It works by:

  1. Training a Base Recommender Model: A standard recommender system is trained using all available features.
  2. Counterfactual Analysis: This is the key novel step. The authors systematically "mask" (remove) individual features and pairs of features from the trained model's input. They then measure how this removal impacts the model's recommendation performance (e.g., using nDCG). This process quantifies the "performance impact" of each feature and feature pair.
  3. Constructing the QUBO Matrix: The performance impacts measured through counterfactual analysis are used to build the coefficient matrix (Q) for a Quadratic Unconstrained Binary Optimization (QUBO) problem. Crucially, the QUBO formulation is designed to minimize the "energy" (which corresponds to maximizing the performance impact) of the selected features.
  4. Quantum Annealing: The constructed QUBO problem is then fed into a quantum annealer (or a classical solver as a baseline). The annealer finds the optimal binary selection vector, indicating which features to keep.
  5. Evaluation: The selected features are used to retrain the recommender model, and its performance is evaluated.

This approach is "performance-driven" because the QUBO optimization directly reflects the impact of features on recommendation quality, unlike previous methods that might rely on statistical measures or model outputs without directly assessing performance changes. It's also "model-agnostic" and "evaluation-metric-independent."

Datasets

The authors evaluated their method on several datasets:

  • QuantumCLEF Datasets: 150_ICM and 500_ICM. These are described as sparse features for items and are used for benchmarking quantum annealing in information retrieval and recommender systems.
  • Industrial Recommendation Datasets: KuaiRec and KuaiRand. These are larger-scale datasets used for a "fully retrained" evaluation.
  • CTR Prediction Datasets: Avazu, Criteo, and ICM datasets (adapted for CTR tasks).

Key Insights and Ideas

  • Performance-Driven Optimization is Crucial: Directly linking feature selection to recommendation performance via counterfactual analysis leads to better results than methods relying solely on statistical feature relevance or model outputs.
  • Quadratic Terms Matter: Including pairwise feature interactions (off-diagonal elements in the QUBO matrix) significantly improves performance compared to only considering individual feature impacts. This highlights the importance of modeling feature dependencies.
  • Quantum Annealer Instability: The paper investigates the stability of quantum annealers, finding that their performance can be sensitive to problem size and sample size, especially compared to classical optimization methods like Simulated Annealing and Hybrid approaches.
  • Efficiency Gains: While constructing the QUBO matrix can be computationally intensive, the actual solving phase on a quantum annealer can be significantly faster than classical methods for large problems.

Key Results

  • Superior Performance: PDQUBO consistently outperformed existing QUBO-based feature selection methods (CQFS, MIQUBO, COQUBO, QUBO-Boosting) across various datasets, base models, and optimization methods.
  • Competitive with Classical: PDQUBO achieved competitive or improved performance compared to traditional feature selection methods in many cases, especially in CTR prediction tasks.
  • Significant Improvements: For example, on the 150_ICM dataset with the Item-KNN model and SA optimization, PDQUBO showed an 11.7% improvement in nDCG@10 over the best baseline.
  • Robustness: The method demonstrated robustness even under adaptive retraining and across diverse industrial datasets.
  • Quantum Annealing Efficiency: For larger problem scales, quantum annealers (especially hybrid approaches) showed significantly faster solving times compared to classical methods, though with some stability concerns.

Limitations and Future Work

  • Quantum Annealer Instability: The authors acknowledge the instability of quantum annealers, particularly with increasing problem size. This can lead to less reliable solutions compared to classical methods in certain scenarios.
  • Computational Cost of Matrix Construction: Building the QUBO matrix via counterfactual analysis involves a significant number of model inferences, which can be computationally expensive. While parallelization can help, it remains a bottleneck.
  • Future Work:
    • Higher-Order Interactions: Extending PDQUBO to model feature interactions beyond pairwise dependencies.
  • Gate-Based Quantum Computers: Adapting the formulation for gate-based quantum computers and exploring variational quantum algorithms.
  • Hybrid Solvers: Further investigating hybrid quantum-classical solvers for large-scale recommender systems.

Summary updated

BibTeX
@misc{niu2024performance,
  author = {Jiayang Niu and Jie Li and KE DENG and Mark Sanderson and Nicola Ferro and Yongli Ren},
  title = {{Performance-Driven QUBO for Recommender Systems on Quantum Annealers}},
  year = {2024},
  eprint = {2410.15272},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.15272},
}
Figure