Empirical Insights on Fine-Tuning Large Language Models for Question-Answering
<|reference_start|>Empirical Insights on Fine-Tuning Large Language Models for Question-Answering: Large language models (LLMs) encode extensive world knowledge through pre-training on massive datasets, which can then be fine-tuned for the question-answering (QA) task. However, effective strategies for fine-tuning LLMs for the QA task remain largely unexplored. To address this gap, we categorize supervised fine-tuning (SFT) data based on the extent of knowledge memorized by the pretrained LLMs and conduct a series of empirical analyses. Our experiments, involving four LLMs from three different model families, focus on three key factors: the amount of data required for SFT, the impact of different SFT datasets on model performance, and how data requirements vary across LLMs. The results show that as few as 60 data points during the SFT stage can activate the knowledge encoded during pre-training, enabling LLMs to perform the QA task. Additionally, SFT with data of varying memory levels has a significant impact on LLM performance, with the optimal dataset differing based on the specific model being fine-tuned. Future research will delve deeper into the mechanisms underlying these phenomena.<|reference_end|>
@article{ye2024empirical,
    title={Empirical Insights on Fine-Tuning Large Language Models for
  Question-Answering},
    author={Junjie Ye, Yuming Yang, Qi Zhang, Tao Gui, Xuanjing Huang, Peng Wang,
  Zhongchao Shi, Jianping Fan},
    journal={arXiv preprint arXiv:2409.15825},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.15825},
    primaryClass={cs.CL cs.AI}
}