From Weight-Based to State-Based Fine-Tuning: Further Memory Reduction on LoRA with Parallel Control

Chi Zhang, Ren Lianhai, Jingpu Cheng, Qianxiao LiICML 2025

Introduction

Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA have democratized the training of large language models. However, GPU memory remains a massive bottleneck. Most research focuses on reducing the number of trainable parameters, but this overlooks a critical issue: the primary memory hog in modern training isn't the parameters—it's the activations (forward states) that must be stored to compute gradients during backpropagation.

This paper introduces a "state-based" fine-tuning framework that shifts the focus from modifying model weights to perturbing the forward activations of a network. By applying low-rank "Parallel Control" across entire residual blocks, this method significantly reduces GPU memory by bypassing the need to store intermediate activations. Remarkably, this enables the training of 7B and 8B parameter models on consumer-grade 24GB GPUs without relying on quantization.

The Activation Bottleneck

Even "efficient" variants like DoRA only offer marginal memory savings because they still require storing large intermediate states within transformer blocks. For instance, in an 8B model, halving the LoRA rank barely moves the needle on memory because activations, not weights, dominate the GPU VRAM. The challenge is to find a way to fine-tune models that reduces both parameter count and the "activation memory" footprint without sacrificing performance.

Comparison of memory consumption between LoRA and the proposed Control method.

Proposed Method: State-Based Fine-Tuning

The authors propose a shift from Weight-Based Fine-Tuning (Weight-FT) to State-Based Fine-Tuning (State-FT).

  1. State-FT Framework: Instead of updating a weight matrix ($W' = W + \Delta W$), the neural network is treated as a computational graph where parameterized perturbations are introduced directly to the states.
  2. Parallel Control: In a standard transformer block, LoRA typically injects adapters inside the sub-layers. In contrast, "Parallel Control" adds a low-rank bypass ($g(x) = ABx$) across the entire block.
  3. Memory Releasing: Because the adapter path is parallel to the original block and only depends on the block's input, the system can "release" the memory used by the large intermediate activations inside the original block during the forward pass. It only needs to store the input to the block to compute the adapter's gradients.
  4. Control Theory Inspiration: The authors frame this as a "control-affine" system ($\dot{x} = f(x) + g(x)u$), arguing it is more theoretically robust and adaptable than the "non-affine" structure of standard LoRA.
Computational graphs comparing LoRA, Control, and DoubleControl architectures.

Experiments and Key Results

The method was evaluated across a diverse set of architectures and tasks, including Vision (CIFAR-100 with ViT-B), General NLP (GLUE benchmark with RoBERTa), and LLM Reasoning (Commonsense Reasoning with LLaMA2-7B and LLaMA3-8B).

  • Memory & Speed: On a ViT-B model, the "Control" method reduced GPU memory usage from 18.0GB to 12.3GB (~32% reduction) and cut training time by 27% compared to LoRA, while maintaining slightly better accuracy.
  • Performance: On the GLUE benchmark, the Control method outperformed both LoRA and DoRA on 7 out of 8 tasks. On the CoLA dataset, it beat LoRA by 2.05%.
  • Consumer GPU Training: The most striking result is the ability to train LLaMA2-7B and LLaMA3-8B on a single Nvidia 3090 (24GB) without quantization. For LLaMA2-7B, their "Double Control" approach used only 59% of the memory and 47% of the time required by DoRA, with nearly identical performance.

Limitations and Future Work

  • Granularity Trade-offs: In ViT, treating the entire residual block (Attention + MLP) as a single unit led to a small performance drop (0.43%). This suggests an optimal "granularity" exists for grouping layers that balances memory savings with model expressivity.
  • Scope of Edges: The current work focuses on edges already present in the residual structure. Future work could explore adding entirely new "control edges" between non-adjacent layers in the computational graph.
  • Theoretical Depth: While the paper introduces the control-affine perspective, a more comprehensive theoretical analysis of the resulting dynamical system remains a task for the future.

Summary updated

BibTeX
@inproceedings{zhang2025from,
  author = {Chi Zhang and REN Lianhai and Jingpu Cheng and Qianxiao Li},
  title = {{From Weight-Based to State-Based Fine-Tuning: Further Memory Reduction on LoRA with Parallel Control}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=x4qvBVuzzu},
}
Figure