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



Table 2: Comparison of algorithm performance on the GLUE benchmark. We report the overall (matched and mismatched)

accuracy for MNLI, Matthew’s correlation for CoLA, Pearson correlation for STS-B, and accuracy for other tasks.



 Model & Method           MNLI           SST-2       MRPC            CoLA         QNLI         QQP          RTE          STS-B      Avg

 Robbase (LoRA)         87.53˘0.08     95.11˘0.23   88.64˘0.23   63.27˘0.81     93.06˘0.15   90.79˘0.04   75.79˘1.57   90.74˘0.09   85.62

 Robbase (DoRA)         86.28˘0.13     94.84˘0.09   88.40˘0.11   63.64˘0.33     92.96˘0.07   90.11˘0.05   76.05˘1.67   90.78˘0.08   85.38

 Robbase (Control)      87.57˘0.16     95.26˘0.06   89.30˘0.31   65.32˘0.44     93.12˘0.04   91.04˘0.02   76.89˘0.78   90.59˘0.15   86.14

 Roblarge (LoRA)        90.89˘0.12     96.56˘0.19   90.52˘0.30   68.13˘0.12     95.13˘0.08   91.79˘0.06   84.48˘0.29   92.00˘0.16   88.69

 Roblarge (DoRA)        90.03˘0.33     96.63˘0.19   90.85˘0.24   68.82˘0.03     95.15˘0.07   90.25˘0.05   84.72˘0.85   92.45˘0.13   88.61

 Roblarge (Control)     90.91˘0.11     96.67˘0.25   90.94˘1.23   69.85˘0.31     95.21˘0.10   91.94˘0.04   86.28˘0.36   92.45˘0.10   89.28







Table 3: Number of parameters, GPU memory and the                           other hand, the double control approach achieves the lowest

training time (on a single Nvidia-3090) for RoBERTa base                    GPU memory usage and training time, consuming only 59%

on the RTE dataset. Batch size is 256, and epoch is 80.                     of the memory and 47% of the time required by DoRA,

                                                                            while delivering nearly identical performance (79.6 for dou-

 Algorithm      # of Params      GPU MemoryÓ        Training TimeÓ          ble control versus 79.7 for DoRA). For the 8B model, the

 LoRA                0.88 M          14.030 GB         5m 33s               trends are consistent. The double control method achieves

 DoRA                0.91 M          16.286 GB         7m 10m               competitive performance (average score 85.3) while requir-

 Control             0.88 M          12.634 GB         4m 59s               ing only 67% of DoRA’s memory and 51% of its training

                                                                            time.

                                                                            It is important to highlight that the reduction in memory is

LoRA and 30.4% faster than DoRA.                                            not primarily due to the decrease in the number of parame-

                                                                            ters. For instance, halving the rank results in approximately

Finally, the control approach primarily focuses on tuning

                                                                            a 50% reduction in parameters; however, the memory us-

the MLP layers using a parallel scheme, whereas LoRA

                                                                            age of DoRA only sees a marginal decrease of 0.256 GB.

and DoRA are designed to tune the Q and V blocks, con-

                                                                            This indicates that the primary factor influencing memory

sistent with their original configurations. Furthermore, in

                                                                            consumption is not the parameter count but rather the in-

Appendix B.2, we provide results demonstrating that the par-

                                                                            termediate states that need to be stored during the training

allel control approach also outperforms a modified version

                                                                            process. By skipping these intermediate states, the con-

of LoRA adapted to tune the MLP layers.

                                                                            trol approaches maximally reduce the memory cost, while

                                                                            preserving or improving the overall performance.

5.3. Scaling Up to Llama-2 and Llama-3

We extend our experiments to larger backbones, specifi-                     5.4. Training 7B/8B Models on Nvidia-3090

cally LLaMA2-7B (Touvron et al., 2023) and LLaMA3-

                                                                            Tuning 7B/8B models typically demands high-end GPUs,

8B (Dubey et al., 2024), on the “Commonsense Benchmark”.

                                                                            such as the Nvidia A100 with 80GB of memory. With the

These experiments were first considered in DoRA (Liu et al.,

                                                                            memory reduction provided by our approach, we investigate

2024), and we follow this pioneering work with an identical

                                                                            training these models on consumer-level hardware, specif-

setup. Note that DoRA fine-tunes five components—Q, K,

                                                                            ically the Nvidia 3090 with 24GB memory. In contrast to

V, U, and D—for optimal performance, and we adopt this

                                                                            the prior method (Zhao et al., 2024) on the 7B model, we

design. Specifically, we extend the control approach with

                                                                            refrain from using quantization in our approach: the pre-

two proposed solutions: the first combines control-based

                                                                            trained 7B/8B models are loaded in FP16, while the control

tuning for U and D with LoRA-based tuning for Q, K, and V,

                                                                            weights remain in FP32.

while the second adopts a unified double-control approach,

tuning all five components using the control mechanism.                     By reducing the batch size to 4 and applying gradient ac-

                                                                            cumulation with a single step, the proposed control-based

The results, as reported in Table 4, illustrate the perfor-

                                                                            approach exhibits only a minor performance degradation

mance of four fine-tuning methods on the LLaMA2-7B and

                                                                            on the 7B model. For example, the double-control variant

LLaMA3-8B models. For the 7B model, the hybrid ap-

                                                                            experiences a drop of just 0.7 points in accuracy. Despite

proach of Control(UD)+LoRA(QKV) outperforms DoRA

                                                                            this slight decrease, the model remains trainable on a single

in both accuracy and efficiency. With an average score of

                                                                            NVIDIA 3090 GPU, with a memory of only 20.656 GB.

80.0, it surpasses DoRA while significantly reducing 21G

                                                                            Notably, the performance degradation is even smaller on the

less memory and requiring almost half training time, demon-

                                                                            8B model, highlighting the scalability and practicality of

strating the advantages of strategically combining control

                                                                            the method on resource-constrained hardware.

mechanisms and LoRA for selective edge updates. On the



                                                                       8

