Q-SCOPE: Towards characterizing Quantum State geometry for Out-of-distribution Prediction and benchmark Evaluation
Discuss this preprint
Start a discussion What are Sciety discussions?Listed in
This article is not in any list yet, why not save it to one of your lists.Abstract
Hybrid classical-quantum neural network (HCQNN) models have recently emerged as a powerful approach for classification problems, due to their strong computational representation capabilities coming along with the integration of neural networks and quantum computing. However, these models are not free from the fundamental issue of poor separation between the in-distribution (ID) and Out-Of-Distribution (OOD) samples in the classification output space, which is observed in classical neural network classifiers too. Despite this, to the best of our knowledge, there is no current work that systematically studies the OOD detection problem in the context of the HCQNN models. Towards this end, we benchmark the existing approaches for OOD detection in the classical neural network literature domain on the HCQNN classifier models using the standard datasets and metrics and note their limitations. Thereby we propose a novel strategy suitable for OOD prediction in the HCQNN classifier models using the representational properties of the quantum features' space. Particularly, we find subspaces within the feature space based on their categorical label information, and make use of a metric called the fidelity score that is extensively used in the quantum computing literature for measuring the similarity between the quantum states. Finally, we substantiate our claims on the efficacy of the fidelity score for OOD detection by demonstrating empirically that we can separate the ID from OOD samples across many standard benchmarks using the class-wise boundary defined charaterized by the fidelity scores.