paper-with-me

Papers

Natural Quantization of Neural Networks

2025-03-19 · Richard Barney, Djamil Lakhdar-Hamina, Victor Galitski

We propose a natural quantization of a standard neural network, where the neurons correspond to qubits and the activation functions are implemented via quantum gates and measurements. The simplest quantized neural network corresponds to applying single-qubit rotations, with the rotation angles being dependent on the weights and measurement outcomes of the previous layer. This realization has the advantage of being smoothly tunable from the purely classical limit with no quantum uncertainty (thereby reproducing the classical neural network exactly) to a quantum case, where superpositions introduce an intrinsic uncertainty in the network. We benchmark this architecture on a subset of the standard MNIST dataset and find a regime of "quantum advantage," where the validation error rate in the quantum realization is smaller than that in the classical model. We also consider another approach where quantumness is introduced via weak measurements of ancilla qubits entangled with the neuron qubits. This quantum neural network also allows for smooth tuning of the degree of quantumness by controlling an entanglement angle, $g$, with $g=\frac\pi 2$ replicating the classical regime. We find that validation error is also minimized within the quantum regime in this approach. We also observe a quantum transition, with sharp loss of the quantum network's ability to learn at a critical point $g_c$. The proposed quantum neural networks are readily realizable in present-day quantum computers on commercial datasets.

📄 PDF Abstract BibTeX arXiv:2503.15482

Code (1)

Galitski-theory-group/quantum-nn pytorch

Tasks

Quantization

Similar Papers 제목 키워드 기반

LoftQ: LoRA-Fine-Tuning-Aware Quantization for Large Language Models

2023-10-12 · Yixiao Li, Yifan Yu, Chen Liang, Pengcheng He 외

Quantization is an indispensable technique for serving Large Language Models (LLMs) and has recently found its way into LoRA fine-tuning. In this work we focus on the scenario where quantization and LoRA fine-tuning are …

Natural Language UnderstandingQuantizationQuestion AnsweringText Generation

Cluster-Promoting Quantization with Bit-Drop for Minimizing Network Quantization Loss

2021-09-05 · ICCV 2021 10 · Jung Hyun Lee, Jihun Yun, Sung Ju Hwang, Eunho Yang

Network quantization, which aims to reduce the bit-lengths of the network weights and activations, has emerged for their deployments to resource-limited devices. Although recent studies have successfully discretized a fu…

Quantization

An Investigation on Different Underlying Quantization Schemes for Pre-trained Language Models

2020-10-14 · Zihan Zhao, Yuncong Liu, Lu Chen, Qi Liu 외

Recently, pre-trained language models like BERT have shown promising performance on multiple natural language processing tasks. However, the application of these models has been limited due to their huge size. To reduce …

ClusteringQuantization

Benchmarking the Robustness of Quantized Models

2023-04-08 · Yisong Xiao, Tianyuan Zhang, Shunchang Liu, Haotong Qin

Quantization has emerged as an essential technique for deploying deep neural networks (DNNs) on devices with limited resources. However, quantized models exhibit vulnerabilities when exposed to various noises in real-wor…

BenchmarkingQuantization

Accelerating Large-Scale Inference with Anisotropic Vector Quantization

2019-08-27 · ICML 2020 1 · Ruiqi Guo, Philip Sun, Erik Lindgren, Quan Geng 외

Quantization based techniques are the current state-of-the-art for scaling maximum inner product search to massive databases. Traditional approaches to quantization aim to minimize the reconstruction error of the databas…

BenchmarkingQuantization