Abstract
We propose Quantum-informed Tensor Adaptation (QuanTA), a novel, easy-to-implement, fine-tuning method with no inference overhead for large-scale pre-trained language models. By leveraging quantum-inspired methods derived from quantum circuit structures, QuanTA enables efficient high-rank fine-tuning, surpassing the limitations of Low-Rank Adaptation (LoRA)—low-rank approximation may fail for complicated downstream tasks. Our approach is theoretically supported by the universality theorem and the rank representation theorem to achieve efficient high-rank adaptations. Experiments demonstrate that QuanTA significantly enhances commonsense reasoning, arithmetic reasoning, and scalability compared to traditional methods. Furthermore, QuanTA shows superior performance with fewer trainable parameters compared to other approaches and can be designed to integrate with existing fine-tuning algorithms for further improvement, providing a scalable and efficient solution for fine-tuning large language models and advancing state-of-the-art in natural language processing.
Introduction
Adapting massive Large Language Models (LLMs) to specific tasks via full fine-tuning is prohibitively expensive in terms of compute and memory. To address this, Parameter-Efficient Fine-Tuning (PEFT) methods have become the standard. The most prominent among these, Low-Rank Adaptation (LoRA), operates on the hypothesis that task-specific weight updates live in a low-dimensional "intrinsic rank" subspace.
However, as LLMs are applied to increasingly complex tasks, the limitations of the low-rank assumption have become apparent. For tasks requiring discrete reasoning or complex arithmetic, the low-rank updates provided by LoRA often fail to capture the necessary complexity, leading to performance plateaus. This paper introduces QuanTA (Quantum-informed Tensor Adaptation), a method that enables high-rank weight updates with extreme parameter efficiency and zero inference overhead.
The High-Rank Necessity
The core motivation for QuanTA is the observation that "simpler" tasks (like textual entailment) may indeed have low intrinsic rank, but "harder" tasks (like the DROP benchmark) require high-rank updates. While existing high-rank alternatives to LoRA exist, they typically introduce significant inference latency or require a prohibitive number of trainable parameters. QuanTA bridges this gap by drawing inspiration from quantum mechanics to represent high-rank matrices efficiently.
Methodology
Quantum-Inspired Structure
QuanTA parameterizes weight updates using a sequence of tensors, directly analogous to how a quantum circuit is composed of one- and two-qubit gates. Instead of a simple matrix product (like LoRA’s $A \times B$), QuanTA reshapes the input vector into a multi-dimensional tensor and applies "gates"—smaller trainable tensors—to specific axes.
Theoretical Foundations
Unlike LoRA, which is mathematically restricted by its rank $r$, QuanTA is designed for high-rank expressivity. The authors provide a universality theorem, proving that this tensor-gate structure can represent any arbitrary matrix. Furthermore, the rank representation theorem supports the method's ability to achieve efficient high-rank adaptations that LoRA cannot reach.
Zero Inference Overhead
One of the primary advantages of QuanTA is its deployment efficiency. Because the tensor operations are linear, the entire sequence of tensor "gates" can be mathematically collapsed into a single matrix after training. This matrix is then merged into the original pre-trained weights. Consequently, the final model maintains the exact architecture and inference speed of the original LLM.
Smart Initialization
To ensure stable training and proper gradient flow from the start, QuanTA employs a subtraction-based initialization. A frozen copy of the initial QuanTA operator is subtracted from the trainable operator, ensuring that at the start of fine-tuning, the total update is zero and the model begins exactly at its pre-trained state.
Experimental Results
Reasoning and Arithmetic Benchmarks
The researchers evaluated QuanTA across a wide range of challenging benchmarks, including DROP (Discrete Reasoning Over Paragraphs), GSM8K (arithmetic), and a suite of eight commonsense reasoning datasets (e.g., HellaSwag, ARC, BoolQ).
- Outperforming Full Fine-Tuning: On the DROP dataset with LLaMA2-7B, QuanTA achieved an $F_1$ score of 59.6 using only 0.26% trainable parameters. This performance exceeded both full fine-tuning (59.4) and LoRA (56.2).
- Scalability to 70B Models: On LLaMA2-70B, QuanTA outperformed LoRA by over 5 points on the DROP benchmark while using nearly half the trainable parameters (0.014% vs 0.024%).
- State-of-the-Art PEFT: Across commonsense reasoning tasks, QuanTA consistently outperformed both LoRA and DoRA (Weight-Decomposed Low-Rank Adaptation).
- Arithmetic Gains: In GSM8K, QuanTA surpassed full fine-tuning, suggesting that its structured parameterization may act as a beneficial regularizer, preventing overfitting on smaller mathematical datasets.
Discussion and Future Work
QuanTA demonstrates that the "low-rank" ceiling in PEFT can be broken without sacrificing efficiency. By utilizing the structural advantages of quantum-inspired tensor networks, the method achieves high-rank expressivity with fewer parameters than traditional low-rank methods.
Future work will focus on hardware-level optimizations. Currently, the sequential application of small tensors can lead to GPU underutilization; custom CUDA kernels could significantly accelerate the training phase. Additionally, exploring the optimal "gate" arrangements for different model architectures remains an open area of research. While currently validated on the LLaMA series and RoBERTa, the principles of QuanTA are broadly applicable to any transformer-based architecture.
Summary updated