Unveiling the Generalization Power of Fine-Tuned Large Language Models

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Yang, Haoran, Zhang, Yumeng, Xu, Jiaqi, Lu, Hongyuan, Heng, Pheng Ann, Lam, Wai
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917614020722688
author Yang, Haoran
Zhang, Yumeng
Xu, Jiaqi
Lu, Hongyuan
Heng, Pheng Ann
Lam, Wai
author_facet Yang, Haoran
Zhang, Yumeng
Xu, Jiaqi
Lu, Hongyuan
Heng, Pheng Ann
Lam, Wai
contents While Large Language Models (LLMs) have demonstrated exceptional multitasking abilities, fine-tuning these models on downstream, domain-specific datasets is often necessary to yield superior performance on test sets compared to their counterparts without fine-tuning. However, the comprehensive effects of fine-tuning on the LLMs' generalization ability are not fully understood. This paper delves into the differences between original, unmodified LLMs and their fine-tuned variants. Our primary investigation centers on whether fine-tuning affects the generalization ability intrinsic to LLMs. To elaborate on this, we conduct extensive experiments across five distinct language tasks on various datasets. Our main findings reveal that models fine-tuned on generation and classification tasks exhibit dissimilar behaviors in generalizing to different domains and tasks. Intriguingly, we observe that integrating the in-context learning strategy during fine-tuning on generation tasks can enhance the model's generalization ability. Through this systematic investigation, we aim to contribute valuable insights into the evolving landscape of fine-tuning practices for LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2403_09162
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Unveiling the Generalization Power of Fine-Tuned Large Language Models
Yang, Haoran
Zhang, Yumeng
Xu, Jiaqi
Lu, Hongyuan
Heng, Pheng Ann
Lam, Wai
Computation and Language
While Large Language Models (LLMs) have demonstrated exceptional multitasking abilities, fine-tuning these models on downstream, domain-specific datasets is often necessary to yield superior performance on test sets compared to their counterparts without fine-tuning. However, the comprehensive effects of fine-tuning on the LLMs' generalization ability are not fully understood. This paper delves into the differences between original, unmodified LLMs and their fine-tuned variants. Our primary investigation centers on whether fine-tuning affects the generalization ability intrinsic to LLMs. To elaborate on this, we conduct extensive experiments across five distinct language tasks on various datasets. Our main findings reveal that models fine-tuned on generation and classification tasks exhibit dissimilar behaviors in generalizing to different domains and tasks. Intriguingly, we observe that integrating the in-context learning strategy during fine-tuning on generation tasks can enhance the model's generalization ability. Through this systematic investigation, we aim to contribute valuable insights into the evolving landscape of fine-tuning practices for LLMs.
title Unveiling the Generalization Power of Fine-Tuned Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2403.09162