[Paper Review] A Comparative Study between Full-Parameter and LoRA-based Fine-Tuning on Chinese Instruction Data for Instruction Following Large Language Model
This study compares full-parameter fine-tuning and LoRA-based fine-tuning on Chinese instruction data using LLaMA models, demonstrating that LoRA achieves competitive performance with significantly lower training costs. Key findings show that model size, data scale, and base model choice critically influence LoRA effectiveness, with larger models and more data yielding better results, and LoRA performing comparably to full fine-tuning when applied to instruction-tuned bases.
Recently, the instruction-tuning of large language models is a crucial area of research in the field of natural language processing. Due to resource and cost limitations, several researchers have employed parameter-efficient tuning techniques, such as LoRA, for instruction tuning, and have obtained encouraging results In comparison to full-parameter fine-tuning, LoRA-based tuning demonstrates salient benefits in terms of training costs. In this study, we undertook experimental comparisons between full-parameter fine-tuning and LoRA-based tuning methods, utilizing LLaMA as the base model. The experimental results show that the selection of the foundational model, training dataset scale, learnable parameter quantity, and model training cost are all important factors. We hope that the experimental conclusions of this paper can provide inspiration for training large language models, especially in the field of Chinese, and help researchers find a better trade-off strategy between training cost and model performance. To facilitate the reproduction of the paper's results, the dataset, model and code will be released.
Motivation & Objective
- To evaluate the trade-offs between full-parameter fine-tuning and LoRA-based tuning for instruction-following in Chinese-language LLMs.
- To investigate how base model choice, training data scale, and model parameters affect LoRA performance.
- To provide empirical guidance for researchers seeking cost-effective, high-performing instruction-tuned LLMs in the Chinese NLP domain.
- To release code, data, and models to enable reproducibility and further research.
Proposed method
- Fine-tuned LLaMA-7B and LLaMA-13B using both full-parameter fine-tuning and LoRA-based methods on Chinese instruction datasets.
- Trained models on varying data scales: 0.6M, 2M, and 4M samples to assess data scale effects.
- Applied LoRA with low-rank adaptation matrices, tuning only a small subset of parameters while keeping the main model frozen.
- Evaluated models on a 1,000-sample benchmark across 9 real-world use cases to measure instruction-following accuracy.
- Conducted task-specific fine-tuning on math data using both LoRA and incremental full fine-tuning for comparison.
- Used a standardized evaluation protocol with human-annotated prompts to ensure consistent performance measurement.
Experimental results
Research questions
- RQ1How does LoRA-based tuning compare to full-parameter fine-tuning in terms of instruction-following performance on Chinese data?
- RQ2How do model size and training data scale affect the effectiveness of LoRA-based tuning?
- RQ3Does the choice of base model (instruction-tuned vs. non-instruction-tuned) significantly impact LoRA performance?
- RQ4Can LoRA achieve performance comparable to full fine-tuning when applied to an instruction-tuned base model?
- RQ5How do training costs and inference efficiency trade off between LoRA and full fine-tuning?
Key findings
- LoRA-based tuning on a non-instruction-tuned base model (LLaMA-7B) achieved on average 10 points lower performance than full fine-tuning, indicating limited effectiveness without prior instruction tuning.
- When applied to an instruction-tuned base model, LoRA achieved performance comparable to full fine-tuning, especially in tasks like math, where it improved scores to 0.586.
- Doubling the training data (from 0.6M to 2M) improved average performance by approximately 2 points, showing consistent gains with more data.
- LLaMA-13B + LoRA(2M) outperformed LLaMA-7B + LoRA(4M), indicating that model size has a greater impact on LoRA performance than data scale.
- Full fine-tuning required 3–5 times more training time than LoRA, highlighting LoRA’s efficiency advantage despite slightly lower performance on non-instruction-tuned bases.
- LoRA tuning on a fine-tuned base model improved math performance to 0.586, while full fine-tuning achieved 0.559, showing that LoRA can be highly effective when applied to a strong base.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.