Evaluating fine-tuning and retrieval-augmented generation for domain-specific language modeling in wood science

Citations

WEB OF SCIENCE

2
Citations

SCOPUS

2

초록

Recent advances in large language models (LLMs) have produced impressive fluency, yet their application to specialized scientific domains like wood science remains limited. This study introduces WoodLLaMA, a domain-specific LLM fine-tuned on metadata from 16,929 wood science research articles, and examines the effects of fine-tuning and retrieval-augmented generation (RAG) on model performance. Evaluation utilized two datasets not included in the training data: a Journal question-answer (QA) set representing domain-specific expertise and a Wood Handbook QA set reflecting fundamental wood science knowledge. Using intrinsic metrics (perplexity) and QA-based metrics (cosine similarity, keyword matching, and BERTScores), along with qualitative case studies, fine-tuning was found to enhance linguistic fluency while RAG improved semantic alignment. Combining fine-tuning and RAG yielded the most robust and consistent performance. These results demonstrate the complementary value of fine-tuning and RAG for building domain-specific LLMs. The study offers a methodological framework for LLM evaluation and identifies future directions-such as leveraging full-text data, enabling multilingual support, integrating multimodal resources, and incorporating human-in-the-loop learning methods-for enhancing the performance and broadening the applicability of WoodLLaMA across a diverse range of domains.

키워드

WoodLLaMA; Large language model; Fine-tuning; Retrieval-augmented generation; Domain-specific modeling; Wood science
제목
Evaluating fine-tuning and retrieval-augmented generation for domain-specific language modeling in wood science
저자
Hwang, Sung-Wook; Lee, Won-Hee; Koo, Bonwook
DOI
10.1186/s10086-026-02257-w
발행일
2026-02-09
유형
Article
저널명
Journal of Wood Science
권
72
호
1