QPMeL - Quantum-Aware Classically-Trained Embeddings via Projective Metric Learning
Vinayak Sharma, Ashish Padhy, Sourav Behera, Lord Sen, Shyamapada Mukherjee, Aviral Shrivastava
TL;DR
QPMeL introduces a quantum-aware, classically trained embedding framework that maps classical data to a unified spherical feature space via angular encodings, enabling low-depth, hardware-efficient quantum representations on NISQ devices. It replaces quantum circuit training with a classical encoder and a Projective Metric Function (PMeF) that approximates quantum fidelity using real-valued angular coordinates, thereby avoiding barren plateaus. Empirically, QPMeL achieves state-of-the-art or competitive results on standard MNIST and Fashion-MNIST benchmarks, few-shot learning tasks, and multi-modal few-shot learning, while using as few as $20$ qubits and shallow circuits. The work provides a promising direction for quantum embeddings that leverage classical training while preserving quantum geometric structure, with potential cross-modal applications.
Abstract
Deep metric learning has recently shown extremely promising results in the classical data domain, creating well-separated feature spaces. This idea was also adapted to quantum computers via Quantum Metric Learning(QMeL). QMeL consists of a 2-step process with a classical model to compress the data to fit into the limited number of qubits, then train a Parameterized Quantum Circuit(PQC) to create better separation in Hilbert Space. However, on Noisy Intermediate Scale Quantum (NISQ) devices. QMeL solutions result in high circuit width and depth, both of which limit scalability. We propose Quantum Polar Metric Learning (QPMeL) that uses a classical model to learn the parameters of the polar form of a qubit. We then utilize a shallow PQC with $R_y$ and $R_z$ gates to create the state and a trainable layer of $ZZ(θ)$-gates to learn entanglement. The circuit also computes fidelity via a SWAP Test for our proposed Fidelity Triplet Loss function, used to train both classical and quantum components. When compared to QMeL approaches, QPMeL achieves 3X better multi-class separation, while using only 1/2 the number of gates and depth. We also demonstrate that QPMeL outperforms classical networks with similar configurations, presenting a promising avenue for future research on fully classical models with quantum loss functions.
