Saved in:
Bibliographic Details
Main Authors: Ballout, Mohamad, Krumnack, Ulf, Heidemann, Gunther, Kuehnberger, Kai-Uwe
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2402.07543
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929240888311808
author Ballout, Mohamad
Krumnack, Ulf
Heidemann, Gunther
Kuehnberger, Kai-Uwe
author_facet Ballout, Mohamad
Krumnack, Ulf
Heidemann, Gunther
Kuehnberger, Kai-Uwe
contents Our research demonstrates the significant benefits of using fine-tuning with explanations to enhance the performance of language models. Unlike prompting, which maintains the model's parameters, fine-tuning allows the model to learn and update its parameters during a training phase. In this study, we applied fine-tuning to various sized language models using data that contained explanations of the output rather than merely presenting the answers. We found that even smaller language models with as few as 60 million parameters benefited substantially from this approach. Interestingly, our results indicated that the detailed explanations were more beneficial to smaller models than larger ones, with the latter gaining nearly the same advantage from any form of explanation, irrespective of its length. Additionally, we demonstrate that the inclusion of explanations enables the models to solve tasks that they were not able to solve without explanations. Lastly, we argue that despite the challenging nature of adding explanations, samples that contain explanations not only reduce the volume of data required for training but also promote a more effective generalization by the model. In essence, our findings suggest that fine-tuning with explanations significantly bolsters the performance of large language models.
format Preprint
id arxiv_https___arxiv_org_abs_2402_07543
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Show Me How It's Done: The Role of Explanations in Fine-Tuning Language Models
Ballout, Mohamad
Krumnack, Ulf
Heidemann, Gunther
Kuehnberger, Kai-Uwe
Computation and Language
Artificial Intelligence
Machine Learning
Our research demonstrates the significant benefits of using fine-tuning with explanations to enhance the performance of language models. Unlike prompting, which maintains the model's parameters, fine-tuning allows the model to learn and update its parameters during a training phase. In this study, we applied fine-tuning to various sized language models using data that contained explanations of the output rather than merely presenting the answers. We found that even smaller language models with as few as 60 million parameters benefited substantially from this approach. Interestingly, our results indicated that the detailed explanations were more beneficial to smaller models than larger ones, with the latter gaining nearly the same advantage from any form of explanation, irrespective of its length. Additionally, we demonstrate that the inclusion of explanations enables the models to solve tasks that they were not able to solve without explanations. Lastly, we argue that despite the challenging nature of adding explanations, samples that contain explanations not only reduce the volume of data required for training but also promote a more effective generalization by the model. In essence, our findings suggest that fine-tuning with explanations significantly bolsters the performance of large language models.
title Show Me How It's Done: The Role of Explanations in Fine-Tuning Language Models
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2402.07543