A Scalable Quantum Non-local Neural Network for Image Classification

Sparsh Gupta, Debanjan Konar, Vaneet Aggarwal
7/26/2024
cs.CVcs.AIcs.IT

No official code found. Best implementation: sparshgup/QNL-Net (5 stars, MIT, last commit 2024-09-05).

Abstract

Non-local operations play a crucial role in computer vision enabling the capture of long-range dependencies through weighted sums of features across the input, surpassing the constraints of traditional convolution operations that focus solely on local neighborhoods. Non-local operations typically require computing pairwise relationships between all elements in a set, leading to quadratic complexity in terms of time and memory. Due to the high computational and memory demands, scaling non-local neural networks to large-scale problems can be challenging. This article introduces a hybrid quantum-classical scalable non-local neural network, referred to as Quantum Non-Local Neural Network (QNL-Net), to enhance pattern recognition. The proposed QNL-Net relies on inherent quantum parallelism to allow the simultaneous processing of a large number of input features enabling more efficient computations in quantum-enhanced feature space and involving pairwise relationships through quantum entanglement. We benchmark our proposed QNL-Net with other quantum counterparts to binary classification with datasets MNIST and CIFAR-10. The simulation findings showcase our QNL-Net achieves cutting-edge accuracy levels in binary image classification among quantum classifiers while utilizing fewer qubits.

View on arXivView PDF

Code Implementations(1)

sparshgup/QNL-NetCommunity100%
MIT

A Scalable Quantum Non-local Neural Network for Image Classification (AAAI QC+AI Workshop 2025)

50Python, Jupyter NotebookNov 23, 20232 years agoMIT
computer-visionmachine-learningnon-local-networkqiskitquantum-machine-learning

Similar Papers

Cite this paper

@article{gupta2024scalable,
  title  = {A Scalable Quantum Non-local Neural Network for Image Classification},
  author = {Sparsh Gupta and Debanjan Konar and Vaneet Aggarwal},
  year   = {2024},
  eprint = {2407.18906},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.18906v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.18906.svg)](https://codeofpaper.com/paper/2407.18906)

Discussion