Introduction
Traditional Multilayer Perceptrons (MLPs) are the workhorses of artificial intelligence, yet they suffer from two fundamental limitations: spectral bias and parameter explosion. Spectral bias causes MLPs to struggle with high-frequency signals, such as sharp edges in images or complex audio waveforms, as they naturally prioritize fitting smooth, low-frequency patterns. Additionally, as the demand for model expressivity grows, the fully connected nature of MLPs leads to a massive increase in parameter counts and computational costs.
Quantum Neural Networks (QNNs) based on Data Re-uploading Quantum Circuits (DRQC) are theoretically superior at fitting these high-frequency components. However, current quantum hardware is too noisy and small-scale for practical AI tasks. Researchers have developed Q-RUN (Quantum-Inspired Data Re-uploading Network) to port the mathematical paradigm of quantum circuits into a "relaxed" classical implementation that runs on existing GPUs.
Methodology
Q-RUN translates the quantum data re-uploading strategy into a classical layer that can be used as a drop-in replacement for standard fully connected (FC) layers. The architecture consists of three primary components:
- Data Re-uploading via Angle Encoding: Instead of a single input pass, Q-RUN "re-uploads" data multiple times using sinusoidal functions. This mimics the rotation gates of a quantum circuit, allowing the model to express a $d$-dimensional Fourier series with up to $3^{dn}$ frequency components.
- Relaxed Implementation: To maintain efficiency on classical hardware, Q-RUN avoids the exponential memory growth of true quantum Hilbert spaces by using feature concatenation.
- Element-wise Observable Module: The measurement process of a quantum circuit is approximated using a small, three-layer MLP. This module is shared across all input dimensions, which significantly reduces the total parameter count while maintaining high parallelism.
Key Results and Insights
The primary advantage of Q-RUN is its inductive bias. By being mathematically "wired" to understand periodic and high-frequency patterns, it achieves remarkable performance across diverse domains:
- Implicit Representation: In image and audio reconstruction, Q-RUN outperformed state-of-the-art models like SIREN, reducing error by significant margins while using fewer parameters.
- Energy Modeling: On molecular potential energy tasks, Q-RUN achieved a 449x improvement over Tanh-based MLPs and a 13x gain over the best-performing Fourier-based baseline (FAN).
- Large Language Models: Replacing the feed-forward networks in BERT with Q-RUN reduced trainable parameters by 40% while maintaining sentiment classification accuracy.
- Parameter-Efficient Fine-tuning: When used as an adapter for Mistral-7B, Q-RUN outperformed standard methods like LoRA and DoRA in irony detection accuracy.
Conclusion
Q-RUN demonstrates that the expressivity of quantum circuits can be harnessed on classical hardware to overcome the limitations of traditional MLPs. While the repeated sinusoidal encodings introduce some computational overhead in terms of FLOPs, the gains in parameter efficiency and high-frequency fitting represent a significant step forward for robust and efficient neural network design.
Summary updated