Grimoire is All You Need for Enhancing Large Language Models

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Chen, Ding, Song, Shichao, Yu, Qingchen, Li, Zhiyu, Wang, Wenjin, Xiong, Feiyu, Tang, Bo
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866914636488507392
author Chen, Ding
Song, Shichao
Yu, Qingchen
Li, Zhiyu
Wang, Wenjin
Xiong, Feiyu
Tang, Bo
author_facet Chen, Ding
Song, Shichao
Yu, Qingchen
Li, Zhiyu
Wang, Wenjin
Xiong, Feiyu
Tang, Bo
contents In-context Learning (ICL) is one of the key methods for enhancing the performance of large language models on specific tasks by providing a set of few-shot examples. However, the ICL capability of different types of models shows significant variation due to factors such as model architecture, volume of learning data, and the size of parameters. Generally, the larger the model's parameter size and the more extensive the learning data, the stronger its ICL capability. In this paper, we propose a method SLEICL that involves learning from examples using strong language models and then summarizing and transferring these learned skills to weak language models for inference and application. This ensures the stability and effectiveness of ICL. Compared to directly enabling weak language models to learn from prompt examples, SLEICL reduces the difficulty of ICL for these models. Our experiments, conducted on up to eight datasets with five language models, demonstrate that weak language models achieve consistent improvement over their own zero-shot or few-shot capabilities using the SLEICL method. Some weak language models even surpass the performance of GPT4-1106-preview (zero-shot) with the aid of SLEICL.
format Preprint
id arxiv_https___arxiv_org_abs_2401_03385
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Grimoire is All You Need for Enhancing Large Language Models
Chen, Ding
Song, Shichao
Yu, Qingchen
Li, Zhiyu
Wang, Wenjin
Xiong, Feiyu
Tang, Bo
Computation and Language
In-context Learning (ICL) is one of the key methods for enhancing the performance of large language models on specific tasks by providing a set of few-shot examples. However, the ICL capability of different types of models shows significant variation due to factors such as model architecture, volume of learning data, and the size of parameters. Generally, the larger the model's parameter size and the more extensive the learning data, the stronger its ICL capability. In this paper, we propose a method SLEICL that involves learning from examples using strong language models and then summarizing and transferring these learned skills to weak language models for inference and application. This ensures the stability and effectiveness of ICL. Compared to directly enabling weak language models to learn from prompt examples, SLEICL reduces the difficulty of ICL for these models. Our experiments, conducted on up to eight datasets with five language models, demonstrate that weak language models achieve consistent improvement over their own zero-shot or few-shot capabilities using the SLEICL method. Some weak language models even surpass the performance of GPT4-1106-preview (zero-shot) with the aid of SLEICL.
title Grimoire is All You Need for Enhancing Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2401.03385