paper-with-me

홈 › Papers

An empirical study of LoRA-based fine-tuning of large language models for automated test case generation

2026-04-08 · Milad Moradi, Ke Yan, David Colwell, Rhona Asgari arxiv

Automated test case generation from natural language requirements remains a challenging problem in software engineering due to the ambiguity of requirements and the need to produce structured, executable test artifacts. Recent advances in LLMs have shown promise in addressing this task; however, their effectiveness depends on task-specific adaptation and efficient fine-tuning strategies. In this paper, we present a comprehensive empirical study on the use of parameter-efficient fine-tuning, specifically LoRA, for requirement-based test case generation. We evaluate multiple LLM families, including open-source and proprietary models, under a unified experimental pipeline. The study systematically explores the impact of key LoRA hyperparameters, including rank, scaling factor, and dropout, on downstream performance. We propose an automated evaluation framework based on GPT-4o, which assesses generated test cases across nine quality dimensions. Experimental results demonstrate that LoRA-based fine-tuning significantly improves the performance of all open-source models, with Ministral-8B achieving the best results among them. Furthermore, we show that a fine-tuned 8B open-source model can achieve performance comparable to pre-fine-tuned GPT-4.1 models, highlighting the effectiveness of parameter-efficient adaptation. While GPT-4.1 models achieve the highest overall performance, the performance gap between proprietary and open-source models is substantially reduced after fine-tuning. These findings provide important insights into model selection, fine-tuning strategies, and evaluation methods for automated test generation. In particular, they demonstrate that cost-efficient, locally deployable open-source models can serve as viable alternatives to proprietary systems when combined with well-designed fine-tuning approaches.

📄 PDF Abstract BibTeX arXiv:2604.06946

Code (0)

등록된 구현이 없습니다.

Tasks

parameter-efficient fine-tuning

Similar Papers 제목 키워드 기반

Parameter Efficient Instruction Tuning: An Empirical Study

2024-11-25 · Pengfei He

Instruction tuning has become an important step for finetuning pretrained language models to better follow human instructions and generalize on various tasks. Nowadays, pretrained language models become increasingly larg…

Instruction FollowingMemorization

An Empirical Study of Scaling Instruct-Tuned Large Multimodal Models

2023-09-18 · Yadong Lu, Chunyuan Li, Haotian Liu, Jianwei Yang 외

Visual instruction tuning has recently shown encouraging progress with open-source large multimodal models (LMM) such as LLaVA and MiniGPT-4. However, most existing studies of open-source LMM are performed using models w…

Visual Question Answering

Low-Rank Adaptation for Multilingual Summarization: An Empirical Study

2023-11-14 · Chenxi Whitehouse, Fantine Huot, Jasmijn Bastings, Mostafa Dehghani 외

Although the advancements of pre-trained Large Language Models have significantly accelerated recent progress in NLP, their ever-increasing size poses significant challenges for conventional fine-tuning, especially in me…

Cross-Lingual Transferparameter-efficient fine-tuning

Charting Empirical Laws for LLM Fine-Tuning in Scientific Multi-Discipline Learning

2026-02-11 · Lintao Wang, Zhuqiang Lu, Yilin Zhu, Kun Hu 외 arxiv

While large language models (LLMs) have achieved strong performance through fine-tuning within individual scientific domains, their learning dynamics in multi-disciplinary contexts remains poorly understood, despite the …

Parameter-Efficient Fine-Tuning of State Space Models

2024-10-11 · Kevin Galim, Wonjun Kang, Yuchen Zeng, Hyung Il Koo 외

Deep State Space Models (SSMs), such as Mamba (Gu & Dao, 2024), have emerged as powerful tools for language modeling, offering high performance with efficient inference and linear scaling in sequence length. However, the…

Language ModelingLanguage ModellingMambaparameter-efficient fine-tuning+1