Quantum Kernels for Narrative Coherence: An Application to Path Optimization in Document Graphs for Storyline Extraction
Authors:
- Brian Keith-NorambuenaBrian Keith-Norambuena
- Javiera CanalesJCJaviera Canales
- Maximiliano ArayaMAMaximiliano Araya
- Carolina Rojas-CórdovaCRCarolina Rojas-Córdova
- Claudio Meneses-VillegasCMClaudio Meneses-Villegas
- Elizabeth Lam-EsquenaziElizabeth Lam-Esquenazi
- Angélica Flores-BustosAFAngélica Flores-Bustos
Open Access
- 18 May 2026
- journal article
- research article
- Published by MDPI AG in Mathematics
- Vol. 14 (10) , 1734
Abstract
Narrative extraction algorithms construct storylines by finding coherent paths through document collections. The Narrative Trails algorithm frames this as maximum-capacity path optimization, where path quality depends on a coherence function measuring document relationships. We introduce quantum kernels as coherence functions for narrative extraction—to the best of our knowledge, the first systematic characterisation of quantum kernel methods for storyline extraction—and compare them against classical baselines on two corpora using a multi-seed protocol. The sweep covers 93 method evaluations (54 quantum kernels across three encoder families—RY+CNOT-ring, IQP/ZZ-feature-map, and a projected quantum kernel—and 39 classical kernels—cosine, RBF, and the cluster-aware Narrative Trails baseline). On 11,215 human navigation paths from Wikispeedia, evaluation metrics divide into two clusters that disagree with each other: alignment-based metrics (length-normalised DTW and per-step DTW similarity) favour methods that produce long alignment-rich paths, while set-overlap metrics (Jaccard and F1) favour methods that produce shorter paths with higher article overlap. On LLM-judged coherence for Cuban news storylines, evaluated under a 12-method × 5-seed × 30-endpoint-pair × 2-judge design (Claude Sonnet 4.5 and GPT-4o, both at via structured tool calling), the cluster-aware classical baseline is the top method in terms of mean overall coherence; the 5-method quantum-kernel pool and the 7-method classical-kernel pool on matched projection input show no significant differences after Holm correction. Cross-task analysis reveals that LLM coherence rank correlates with alignment-cluster Wikispeedia metrics (Spearman ) and anti-correlates with overlap-cluster metrics (). A closed-form theoretical analysis shows that the depth-1 RY+CNOT-ring kernel reduces to a classical product-of-cosines kernel order equivalent to RBF, explaining the absence of empirical separation at low depth; deeper encoders break the cancellation but exponentially concentrate kernel values, eroding inter-pair distinguishability. Our results characterise quantum coherence kernels as competitive with classical kernels on the same projected input rather than decisively superior, with the cluster-aware classical baseline retaining a modest advantage attributable to its explicit topical structure.
Keywords
Funding Information
- ANID FONDEF (ID25I10072)
This publication has 37 references indexed in Scilit:
- Quantum Natural Language ProcessingKI - Künstliche Intelligenz, 2024
- Exponential concentration in quantum kernel methodsNature Communications, 2024
- A survey on narrative extraction from textual dataArtificial Intelligence Review, 2023
- A rigorous and robust quantum speed-up in supervised machine learningNature Physics, 2021
- Power of data in quantum machine learningNature Communications, 2021
- Machine Learning with Quantum Computers2021
- Dimensionality reduction for visualizing single-cell data using UMAPNature Biotechnology, 2018
- Embedding and Implementation of Quantum Computational Concepts in Digital Narratives2015
- Database-friendly random projections: Johnson-Lindenstrauss with binary coinsJournal of Computer and System Sciences, 2003
- The LCA Problem Revisited2000