arXiv:2610.21562cs.LGOct 2026

Manuscript Offprint

arXiv:2610.21562

A Quantum Machine Learning Approach to Content-Based Media Recommendation

Mina Abbaszadeh, Ouissal Moumou, Anna Pearson, Bob Coecke, Rob Cooper, Alessandro Piscopo, Mehrnoosh Sadrzadeh

Mina Abbaszadeh ∗^{*} †^{\dagger}

University College London

United Kingdom

Ouissal Moumou ∗^{*}

Quantinuum

United Kingdom

Anna Pearson

Quantinuum

United Kingdom

Rob Cooper

British Broadcasting

Corporation

United Kingdom

Bob Coecke †^{\dagger}

Relational Intelligence

United Kingdom

Alessandro Piscopo

British Broadcasting

Corporation

United Kingdom

Mehrnoosh Sadrzadeh †^{\dagger}

University College London

United Kingdom

Abstract

We use quantum machine learning techniques to develop a content-based media recommender system and evaluate its performance on TV programmes using textual descriptions from one week of BBC iPlayer data. Grounded in the Quantum Natural Language Processing framework (QNLP), programme synopses are mapped to variational quantum circuits using their semantic structure. The parameters of these circuits are trained via a supervised pairwise similarity learning task.

We benchmark the quantum recommender against a classical BiLSTM baseline trained on the same dataset and objective. While both models achieve comparable performance on the similarity learning task, the quantum model requires significantly fewer parameters (47k vs. 17.8M). When the BiLSTM is constrained to a matching parameter budget, its performance degrades substantially (by 3.63 percentage points in Mean Average Precision (MAP)), indicating that the structured quantum representation provides a highly parameter-efficient alternative in this setting. We demonstrate the feasibility of executing the trained models on quantum hardware by deploying the circuits on Quantinuum's System Model H2 (and accompanying emulator) using a SWAP-test-based protocol. The results confirm that the similarity signal is preserved under realistic, noisy conditions. Taken together, these findings highlight the potential of variational quantum circuits for recommendation tasks and represent a practical step toward their real-world deployment.

1 Introduction

In the rapidly evolving landscape of Video-on-Demand (VoD), defined by the recent UK Media Act 2024 [1], public service broadcasters like the BBC face a dual challenge: ensuring content prominence while delivering hyper-personalized user experiences (Ofcom, 2026 [24]). Content-based recommender systems are central to this mission, particularly in addressing the ‘cold-start’ problem, where new content lacks the interaction history required for collaborative filtering [2, 30, 31].

However, modern content-based recommenders struggle with the explosive growth of content metadata. Classical deep learning models often encounter the ‘readout problem’ and high-dimensional feature sparsity when mapping thousands of niche attributes across millions of items [27]. This leads to over-specialization and a lack of ‘serendipity’ in user discovery.

Quantum Machine Learning (QML) offers a paradigm shift. While early foundational work focused on polylogarithmic run times for matrix factorisation and explored their applications to collaborative filtering recommender systems [15][15], this paper identifies a more immediate benefit via using quantum features and proposes a quantum content-based recommender.

The proposed methodology leverages Quantum Natural Language Processing (QNLP)[9, 20, 32] to transform program synopses into quantum states using their semantic content. Unlike standard NLP, which represents semantics in high-dimensional Euclidean space, this approach encodes textual assets directly onto a variational quantum circuit (VQC) and represents semantics in Hilbert space. The work uses the QNLP software Lambeq [8, 10, 14, 17, 19], which extracts the semantic relations within a piece of text and embeds them into the gate structure of a VQC. The parameters of the circuits are learnt by maximising the overlap between the quantum circuits, leading to an objective function based on the semantic similarity between program synopses. The similarities are subsequently inputted to a standard KNN recommender system to generate recommendations and are evaluated on a BBC iPlayer benchmark of a week's TV programmes. A subset of the test set is also evaluated on a quantum computer: Quantinuum's H2 device [21].

We trained two QNLP models: an ideal formulation (evaluated with post-selection) and a practical variant (evaluated with discard). With only 47K parameters, both quantum models significantly outperformed a parameter-matched BiLSTM baseline (13.33% for the ideal model and 12.93% for the practical one vs. 9.40% MAP). The ideal QNLP model also marginally exceeded the performance of the full classical BiLSTM equipped with 17.8M parameters (13.33% vs. 13.03% MAP). While the practical model experienced a minor performance reduction to 12.93% MAP, it remained substantially superior to the parameter-matched classical baseline. During training, both quantum variants demonstrated stable convergence, achieving training, validation, and test accuracies in the high 80% and 90% range. In contrast, the parameter-matched BiLSTM struggled to learn effectively, with its train, validation, and test metrics lingering near chance level. The full-scale BiLSTM converged successfully, reaching classification accuracies comparable to those of the quantum models. To assess the importance of semantic structure, we also benchmarked against a Quantum Bag-of-Words baseline (Q-BOW),

∗^{*}These authors contributed equally to this work.

†^{\dagger}Corresponding authors: Mina Abbaszadeh (m.abbaszadeh@ucl.ac.uk) and Mehrnoosh Sadrzadeh (m.sadrzadeh@ucl.ac.uk).

∗^{*}This work was carried out whilst at Quantinuum

Mina Abbaszadeh, Ouissal Moumou, Anna Pearson, Bob Coecke, Rob Cooper, Alessandro Piscopo, and Mehrnoosh Sadrzadeh

which encodes unordered sets of words without accounting for semantic sentence or text structure; this also performed just above chance level at 58.58% and failed to learn effectively.

The performance of the quantum models improved substantially when integrated with classical content-based baselines, specifically neural topic representations. This hybrid ensemble yielded a 0.46 point gain in MAP, reaching from 12.93% to 13.39% and narrowing the gap with collaborative filtering (16.00%). In contrast, combining the classical BiLSTM with these same content-based models provided a smaller performance benefit, improving from 13.03% to 13.44% MAP. Complementary evaluation metrics, including NDCG, Intra-List Diversity (ILD), surprisal, and catalog coverage, exhibited trends consistent with the MAP findings. Q-BOW exhibited poor generalization: although it attained a training accuracy of 71.79%, its validation and test accuracies degraded to 58.58% and 65.65%, respectively. Furthermore, its downstream recommendation performance was poor, yielding a MAP of just 9.30%—falling below even the parameter-matched BiLSTM baseline. It is worth noting that despite the fact that the classical content-based baseline was trained on the full transcripts of the programmes rather than short synopses, its MAP was only 0.3% above the practical quantum model and lagged behind the ideal quantum model by 0.1%.

When executed on the Quantinuum H2 platform, both noisy-emulator and physical-hardware executions preserved the predicted similarity structure. We validated this using the Pearson correlation coefficient (r). The noisy-emulator SWAP-test overlaps remained strongly correlated with the classical training fidelity (r = 0.875), compared with r = 0.910 for the noiseless emulator. On the H2-2 hardware subset, the measured overlaps correlated strongly with the training fidelity (r = 0.963) and with the corresponding noisy-emulator results (r = 0.952). These results demonstrate the viability of variational quantum circuits for real-world tasks such as recommendation generation. Importantly, they show that quantum models can achieve competitive performance with orders of magnitude fewer parameters than classical deep learning architectures such as BiLSTMs, using thousands rather than millions of parameters. This parameter efficiency and resilience to physical device noise represent a promising step toward deploying quantum algorithms in practical commercial settings.

The remainder of this paper is structured as follows. We begin by reviewing the foundational framework of QNLP, detailing how programme synopses are translated into VQCs. Next, we describe the computation of content-based similarities between these synopses and their use in training the VQCs. We then outline our experimental setup and implementation details, followed by the recommendation generation results. Finally, we present a hardware feasibility study on Quantinuum's H2 device, comparing the correlation between classical simulations, the quantum emulator, and real hardware execution.

References (20)