Abstract
Parameter-Efficient Fine-Tuning (PEFT) has become the standard for adapting large-scale models to downstream tasks. However, popular methods like LoRA (Low-Rank Adaptation) introduce latent overheads in training time and activation memory due to their reliance on additional adapter layers. This paper introduces Partial Connection Adaptation (PaCA), a novel approach that eliminates additional layers by fine-tuning a random subset of existing weight connections. By performing in-place updates, PaCA reduces training time by 22% and memory usage by 16% compared to LoRA, while maintaining or exceeding state-of-the-art accuracy across diverse benchmarks.
Introduction
Fine-tuning Large Language Models (LLMs) is computationally expensive, leading to the rise of PEFT techniques. LoRA, the most prominent of these, freezes pretrained weights and trains small auxiliary matrices. While LoRA significantly reduces the number of trainable parameters, it suffers from two "hidden" costs: latency overhead and high activation memory. GPUs often process LoRA's small kernels sequentially after the main layers, leading to hardware underutilization. Furthermore, because the adapter requires the full input activations from the pretrained layer to compute gradients, activation memory remains a significant bottleneck.
PaCA addresses these issues by shifting the focus from adding new parameters to selectively updating existing ones. By modifying a subset of the original weight matrix columns, PaCA maintains a monolithic computation structure that maximizes hardware efficiency.
Methodology
In-Place Adaptation
Unlike traditional adapters that add a parallel computation path ($Y = WX + ABX$), PaCA performs adaptation directly within the existing weight matrix. It identifies a subset of columns (defined by a rank $r$) within the pretrained weights to be updated during backpropagation. Because the forward and backward passes remain structurally identical to the original model, there is no additional sequential overhead or kernel management cost.
Activation Memory Efficiency
One of PaCA's primary advantages is the reduction of activation memory. In standard fine-tuning or LoRA, the system must store full input activation tensors to calculate gradients. In PaCA, since only a specific subset of columns is being updated, the model only needs to store the input activations corresponding to those specific columns. This optimization allows for a 16% reduction in total memory usage and enables the processing of up to 23% longer sequences on the same hardware.
Theoretical Convergence and QPaCA
The authors provide a mathematical proof demonstrating that training a subset of connections is sufficient for the loss function to converge, provided the gradient is Lipschitz continuous. Additionally, the method is compatible with 4-bit quantization. QPaCA allows for the fine-tuning of massive models, such as LLaMA 3.1-70B, on a single professional GPU by combining the memory benefits of quantization with the activation efficiency of PaCA.
Experimental Evaluation
Benchmarks and Datasets
The researchers evaluated PaCA across several domains:
- Large Language Models: LLaMA 2 (7B, 13B) and LLaMA 3/3.1 (8B, 70B) were tested on MMLU (academic knowledge) and MT-Bench (instruction following).
- Instruction Tuning: The Oasst1 dataset was utilized for human-query alignment.
- Computer Vision: To demonstrate generalizability, PaCA was applied to Vision Transformers (ViT) and EfficientNet-V2 using CIFAR-10/100 and Oxford-IIIT Pets datasets.
Key Results
- Efficiency Gains: On a LLaMA 3-8B model, PaCA reduced training time by 22% compared to LoRA. While LoRA theoretically reduces FLOPs, the actual wall-clock speedup is often negligible (approx. 0.6%) due to kernel overhead—a bottleneck PaCA successfully bypasses.
- Performance Parity: On the MMLU benchmark, PaCA achieved an average accuracy of 65.4% (LLaMA 3-8B), slightly outperforming LoRA (65.0%) and matching more complex variants like DoRA.
- Throughput: PaCA improved training throughput by 16% on both NVIDIA A100 and Intel Gaudi2 architectures.
- Scalability: Using QPaCA, the team successfully fine-tuned a 70B parameter model on a single A100, achieving superior MT-Bench scores compared to 4-bit quantized baselines.
Discussion
The Role of Randomness
A significant finding of the study is that randomly selecting which connections to tune is as effective as using complex importance-based selection strategies (e.g., gradient-based or weight-magnitude-based selection). This simplicity allows PaCA to be implemented with minimal pre-processing overhead.
Limitations
While random selection is highly effective, it may not be optimal for all architectures. Furthermore, the theoretical convergence relies on Lipschitz continuity; while standard in optimization theory, extremely deep or specialized architectures with sharp activation functions might require further empirical validation.
Conclusion
PaCA represents a shift in PEFT research from simply reducing parameter counts to optimizing actual hardware execution and memory flow. By leveraging in-place updates and partial connection tuning, PaCA offers a more efficient path for fine-tuning state-of-the-art models without sacrificing accuracy or generalizability.
Summary updated