Multilayer Perceptron (MLP) is a simple practice of Neural Network (NN) and the cornerstone of research and development of deep learning. Each neuron is connected to all neurons in the previous layer and implements a non-linear mapping through activation functions. MLP can learn complex non-linear relationships among features through the superposition of multiple hidden layers, but it still cannot discover the inherent strong correlation among features. The reason is that each neuron uses a simple weighted summation method to organize all the neurons in the previous layer. Inspired by quantum theory, this paper builds a non-linear NN layer that can mine strong correlations among features based on multi-body quantum systems, and then constructs a multi-layer perceptron, called Quantum-inspired MLP (QiMLP). It is conceivable that QiMLP will have important inspirational significance in reshaping machine learning, deep learning and large language models. We theoretically analyzed the basis for QiMLP to mine strong correlations among features, and implemented experiments on multiple classic deep learning datasets. Experimental results verify that QiMLP not only learns strong correlations among features, but also significantly reduces the number of parameters with hundreds of times improvement.
Multilayer Perceptron (MLP) is a simple practice of Neural Network (NN) and the cornerstone of research and development of deep learning. Each neuron is connected to all neurons in the previous layer and implements a non-linear mapping through activation functions. MLP can learn complex non-linear relationships among features through the superposition of multiple hidden layers, but it still cannot discover the inherent strong correlation among features. The reason is that each neuron uses a simple weighted summation method to organize all the neurons in the previous layer. Inspired by quantum theory, this paper builds a non-linear NN layer that can mine strong correlations among features based on multi-body quantum systems, and then constructs a multi-layer perceptron, called Quantum-inspired MLP (QiMLP). It is conceivable that QiMLP will have important inspirational significance in reshaping machine learning, deep learning and large language models. We theoretically analyzed the basis for QiMLP to mine strong correlations among features, and implemented experiments on multiple classic deep learning datasets. Experimental results verify that QiMLP not only learns strong correlations among features, but also significantly reduces the number of parameters with hundreds of times improvement.
Recently, there has been growing interest in medical image analysis methods based on multi-layer perceptron (MLP), which have demonstrated remarkable performance in this field. Typically, the MLP has been employed to flatten feature maps along the channel and spatial dimensions and encode them to capture the overall feature information. However, for MLP-based architecture, the whole learning process requires high computational complexity, a large number of parameters, and large-scale training datasets. Meanwhile, quantum tensor network (QTN), derived from quantum many-body systems, have gained popularity in machine learning due to their ability to reduce the number of parameters and explore the correlation of remote elements in an image through a tensor contraction operation. In this paper, we propose a novel framework named QTN-MLP based on QTN and MLP to tackle the weaknesses of MLP. This paper has been extensively validated on the COVID-CT dataset and ISIC 2018 dataset, and the experiments show that our method competes with state-of-the-art methods with lower computational complexity and fewer parameters.
In supervised learning, the generative approach is an important one, which obtains the generative model by learning the joint probability between features and categories. In quantum mechanics, Quantum Entanglement (QE) can provide a statistical correlation between subsystems (or attributes) that is stronger than what classical systems are able to produce. It inspires us to use entangled systems (states) to characterize this strong statistical correlation between features and categories, that is, to use the joint probability derived from QE to model the correlation. Based on the separability of the density matrix of entangled systems, this paper formally clarifies the manifestation of the strong statistical correlation revealed by QE, and implements a classification algorithm (called ECA) to verify the feasibility and superiority of the correlation in specific tasks. Since QE arises from the measurement process of entangled systems, the core of ECA is quantum measurement operations. In this paper, we use the GHZ [25] and W [22] states to prepare the entangled system and use a fully connected network layer to learn the measurement operator. It can also be understood as replacing the output layer of the Multi-Layer Perceptron (MLP) with a quantum measurement operation. The experimental results show that ECA is superior to most representative classification algorithms in multiple evaluation metrics.
With the limitations of current noisy intermediate scale quantum (NISQ) devices, there is a need for hybrid quantum-classical learning models to operate more efficiently within existing hardware constraints. The design of cost-effective hybrid quantum-classical learning systems is therefore imperative for various applications, including biosignal processing in the healthcare sector. This motivates the investigation into the reduction of computational complexity of a hybrid quantumclassical neural network. We propose a new hybrid model combining a quantum neural network (QNN) with a binary neural network (BNN), known as quBNN, with the aim to reduce model complexity. For benchmarking, we consider a classical multilayer perceptron (MLP) and a standard nonbinarised version of quBNN that combines a QNN with an MLP, named as quilp. We evaluated all models on a multi-class dataset containing multimodal biosignals. We find that quMLP can outperform the classical MLP with minimal additional complexity, while quBNN maintains performance comparable with the classical MLP, with reduced computational complexity. We apply pruning and quantisation techniques to the QNN within the proposed quBNN model, aiming to further reduce its complexity. This compression yields substantial reductions in parameter and quantum gate count when compiled for quantum hardware, albeit with performance degradation.
Quantum machine learning (QML) is promising for potential speedups and improvements in conventional machine learning (ML) tasks (e.g., classification/regression). The search for ideal QML models is an active research field. This includes identification of efficient classical-to-quantum data encoding scheme, construction of parametric quantum circuits (PQC) with optimal expressivity and entanglement capability, and efficient output decoding scheme to minimize the required number of measurements, to name a few. However, most of the empirical/numerical studies lack a clear path towards scalability. Any potential benefit observed in a simulated environment may diminish in practical applications due to the limitations of noisy quantum hardware (e.g., under decoherence, gate-errors, and crosstalk). We present a scalable quantum-classical hybrid deep neural network (DeepQMLP) architecture inspired by classical deep neural network architectures. In DeepQMLP, stacked shallow Quantum Neural Network (QNN) models mimic the hidden layers of a classical feed-forward multi-layer perceptron network. Each QNN layer produces a new and potentially rich representation of the input data for the next layer. This new representation can be tuned by the parameters of the circuit. Shallow QNN models experience less decoherence, gate errors, etc. which make them (and the network) more resilient to quantum noise. We present numerical studies on a variety of classification problems to show the trainability of DeepQMLP. We also show that DeepQMLP performs reasonably well on unseen data and exhibits greater resilience to noise over QNN models that use a deep quantum circuit. DeepQMLP provided up to 25.3% lower loss and 7.92% higher accuracy during inference under noise than QMLP.
A successful application of quantum annealing to machine learning is training restricted Boltzmann machines (RBM). However, many neural networks for vision applications are feedforward structures, such as multilayer perceptrons (MLP). Backpropagation is currently the most effective technique to train MLPs for supervised learning. This paper aims to be forward-looking by exploring the training of MLPs using quantum annealers. We exploit an equivalence between MLPs and energy-based models (EBM), which are a variation of RBMs with a maximum conditional likelihood objective. This leads to a strategy to train MLPs with quantum annealers as a sampling engine. We prove our setup for MLPs with sigmoid activation functions and one hidden layer, and demonstrated training of binary image classifiers on small subsets of the MNIST and Fashion-MNIST datasets using the D-Wave quantum annealer. Although problem sizes that are feasible on current annealers are limited, we obtained comprehensive results on feasible instances that validate our ideas. Our work establishes the potential of quantum computing for training MLPs.
Quantum neural networks (QNNs) have recently attracted remarkable attention as a potential alternative to classical and deep neural network (NN) models particularly under constraints imposed by noisy intermediate-scale quantum (NISQ) devices, which support only shallow circuits with few quantum bits (qubits) and limited variational depth. However, applying QNNs to natural language processing (NLP) remains challenging because text representations are typically high-dimensional, while NISQ classifiers can only encode a small number of features at a time, requiring classical compression to enable stable training and flexible circuit configuration. In addition, many existing studies integrate QNNs into rich-text representation pipelines, where the quantum circuit is often implemented as a variational quantum circuit (VQC). Here, the VQC acts as an additional component within a larger model, and it remains unclear how the quantum component improves the classification task. Therefore, in this work, we propose a fully reproducible and compact QNN pipeline that provides a controlled setting for studying the contribution of the VQC to text classification. The model is trained end-to-end with a lightweight classical compression layer, and the overall study is supported by systematic ablation analyses of the compression layer, the classifier heads under a shared frozen low-dimensional representation, and quantum circuit structure. Our model uses the term frequency-inverse document frequency (TF-IDF) features with linear compression followed by a shallow four-qubit, two-layer VQC, implemented in PyTorch and PennyLane for end-to-end training. It is evaluated on five benchmark text classification datasets against classical baselines, including logistic regression and multilayer perceptron (MLP) models. Experimental results show that the proposed QNN achieves a competitive performance across all evaluated datasets, yielding the best results on three of the five benchmark datasets.