Abstract
This paper introduces Quantum Tensor Hybrid Adaptation (QTHA), a novel framework for parameter-efficient fine-tuning (PEFT) of Large Language Models (LLMs). By integrating Matrix Product Operators (MPO) with variational Quantum Neural Networks (QNN), QTHA addresses the representation bottlenecks found in classical methods like LoRA. Experimental results show that QTHA reduces trainable parameters by 76% while achieving a 17% lower training loss and superior performance on conversational and reasoning tasks. Crucially, this work demonstrates the first practical implementation of LLM tasks on physical superconducting quantum hardware.
Introduction
Fine-tuning massive models such as Llama or Qwen is computationally expensive. The current industry standard, Low-Rank Adaptation (LoRA), reduces costs by training small low-rank matrices. However, LoRA often fails to capture the complex, high-dimensional dependencies required for intricate reasoning. QTHA overcomes these limitations by leveraging the high-dimensional expressivity of quantum circuits. Unlike previous theoretical models, QTHA is designed for real-world engineering pipelines, utilizing physical quantum processors via cloud services.
Methods
The QTHA architecture replaces standard linear layers with a hybrid structure that combines classical tensor networks and quantum circuits:
- Matrix Product Operators (MPO): A tensor network technique that decomposes large weight matrices into chains of smaller tensors, providing massive exponential parameter compression while preserving data structure.
- Quantum Neural Networks (QNN): A variational circuit using angle embedding and entanglement (Controlled-Z gates). The QNN excels at capturing high-dimensional features (truncated Fourier series) that are difficult for classical networks to learn.
In the hybrid workflow, input data is compressed via MPO and processed through a classical MLP and a QNN in parallel. The final output is a weighted combination of these features, allowing the model to optimize its representation dynamically.
Experimental Evaluation
The researchers evaluated QTHA on three distinct datasets:
- CPsyCoun: 16K multi-turn Chinese psychological counseling dialogues.
- R1-Distill-SFT: K-12 math QA with step-by-step solutions.
- CH-R1-Math: A large-scale math instruction-tuning dataset distilled from DeepSeek-R1.
Key Results
Parameter Efficiency and Convergence
QTHA achieved a 76% reduction in trainable parameters compared to LoRA (0.30M vs 1.26M). It also demonstrated superior convergence, reaching a 17% lower training loss and a steeper descent rate during early training stages.
Task Performance
On the CPsyCoun dataset, QTHA improved test metrics (BLEU-4 and ROUGE) by up to 17%. In mathematical reasoning tasks, the version running on the Origin Wukong superconducting chip achieved 100% Strict Accuracy, matching or exceeding classical baselines.
Discussion
QTHA breaks the "rank barrier" of classical adaptation by using quantum superposition to represent high-dimensional features with fewer parameters. Interestingly, the authors hypothesize that the inherent noise in physical quantum hardware may act as a natural regularizer, filtering out minor perturbations in token probability distributions and enhancing reasoning robustness.
Conclusion and Future Work
QTHA represents a significant advancement in merging quantum computing with LLM fine-tuning. Future work will focus on scaling this architecture to models exceeding 100 billion parameters and exploring large-scale quantum pre-training schemes.
Reference: Kong, X., et al. (2025). Quantum-Enhanced LLM Efficient Fine Tuning. arXiv:2503.12790v2 [quant-ph].
Summary updated