[Paper Review] Comparative Analysis of Different Efficient Fine Tuning Methods of Large Language Models (LLMs) in Low-Resource Setting
This paper compares efficient fine-tuning methods for large language models (LLMs) in low-resource settings, evaluating vanilla fine-tuning, pattern-based fine-tuning (PBFT), LoRA, adaptive fine-tuning, and context distillation on OPT-125M and OPT-350M across MNLI and COLA datasets. Context distillation outperforms standard fine-tuning in out-of-domain generalization, while PBFT underperforms vanilla fine-tuning due to suboptimal prompting, highlighting the trade-offs between efficiency, performance, and resource constraints.
In the domain of large language models (LLMs), arXiv:2305.16938 showed that few-shot full-model fine-tuning -- namely Vanilla Fine Tuning (FT) and Pattern-Based Fine Tuning (PBFT) --, and In-Context Learning (ICL) generalize similarly on Out-Of-Domain (OOD) datasets, but vary in terms of task adaptation. However, they both pose challenges, especially in term of memory requirements. In this paper, we further try to push the understanding of different fine-tuning strategies for LLM and aim to bring a myriad of these on the same pedestal for an elaborate comparison with full-model fine-tuning on two diverse datasets. To that end, we conducted a series of experiments, beginning with state-of-the-art methods like vanilla fine-tuning and Pattern-Based Fine-Tuning (PBFT) on pre-trained models across two datasets, COLA and MNLI. We then investigate adaptive fine-tuning and the efficiency of LoRA adapters in a few-shot setting. Finally, we also compare an alternative approach that has gained recent popularity -- context distillation -- with the vanilla FT and PBFT with and without few-shot setup. Our findings suggest that these alternative strategies that we explored can exhibit out-of-domain generalization comparable to that of vanilla FT and PBFT. PBFT under-performs Vanilla FT on out-of-domain (OOD) data, emphasizing the need for effective prompts. Further, our adaptive-fine tuning and LoRA experiments perform comparable or slightly worse than the standard fine-tunings as anticipated, since standard fine-tunings involve tuning the entire model. Finally, our context distillation experiments out-perform the standard fine-tuning methods. These findings underscore that eventually the choice of an appropriate fine-tuning method depends on the available resources (memory, compute, data) and task adaptability.
Motivation & Objective
- To evaluate and compare the performance of various efficient fine-tuning methods for LLMs in low-resource, few-shot settings.
- To assess the generalization capabilities of alternative fine-tuning strategies—such as LoRA, adaptive fine-tuning, and context distillation—against standard fine-tuning (vanilla FT) and pattern-based fine-tuning (PBFT).
- To understand the trade-offs between model performance, computational efficiency, and resource constraints in sequence classification tasks using two diverse datasets: MNLI and COLA.
- To investigate the impact of few-shot learning and prompt engineering on out-of-domain (OOD) generalization, especially in low-data regimes.
Proposed method
- Conducted comparative experiments on OPT-125M and OPT-350M models using two datasets: MNLI (for natural language inference) and COLA (for grammatical acceptability).
- Evaluated standard fine-tuning (vanilla FT) and pattern-based fine-tuning (PBFT) as baselines, with consistent hyperparameters and training procedures for fair comparison.
- Applied Low-Rank Adaptation (LoRA) with rank values from 1 to 64 and a scaling factor α=8, differing from the original authors’ α=32 to assess sensitivity to hyperparameters.
- Explored adaptive fine-tuning to optimize learning dynamics and improve generalization without full model updates.
- Implemented context distillation both with and without few-shot prompting, using in-context examples to distill knowledge into distilled models.
- Used HANS dataset as an OOD benchmark to evaluate robustness against syntactic and lexical heuristics, ensuring generalization beyond distributional shifts.

Experimental results
Research questions
- RQ1Does context distillation achieve better out-of-domain generalization than vanilla fine-tuning and PBFT in low-resource settings?
- RQ2How do LoRA and adaptive fine-tuning compare to full model fine-tuning in terms of performance and efficiency on sequence classification tasks?
- RQ3Why does PBFT underperform vanilla fine-tuning on the COLA dataset, and what does this imply about prompt design in few-shot learning?
- RQ4Can few-shot context distillation achieve performance comparable to full-dataset fine-tuning while reducing training time and resource usage?
- RQ5What is the impact of the LoRA scaling factor α on performance, especially when deviating from the original hyperparameter choice?
Key findings
- Context distillation achieved an in-domain accuracy of 0.7209 on the MNLI dataset with the OPT-125M model, significantly outperforming vanilla fine-tuning and PBFT.
- Few-shot context distillation reached 0.6708 in-domain accuracy at N=128 examples, approaching the performance of full-dataset distillation while reducing training time from 1h51m to 5m19s.
- Vanilla fine-tuning achieved 0.5310 OOD accuracy on COLA (N=16), outperforming PBFT’s 0.5058, indicating that prompt design significantly affects generalization.
- Adaptive fine-tuning improved OOD performance by 0.0290 over vanilla fine-tuning on COLA, suggesting benefits in dynamic optimization for generalization.
- LoRA with α=8 showed minimal performance gains, with OOD deltas of -0.0697 to -0.0445 across ranks, indicating limited improvement compared to full fine-tuning.
- Out-of-domain accuracy on HANS remained stable at ~0.5 across most methods, with slight drops in few-shot distillation, suggesting limited generalization gains on adversarial examples.

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.