Computer Science > Computation and Language
arXiv:2401.03385 (cs)
[Submitted on 7 Jan 2024 (v1), last revised 10 Jan 2024 (this version, v2)]
Title:Grimoire is All You Need for Enhancing Large Language Models
View a PDF of the paper titled Grimoire is All You Need for Enhancing Large Language Models, by Ding Chen and 6 other authors
View PDFHTML (experimental)Abstract: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.
Comments: | 9 pages |
Subjects: | Computation and Language (cs.CL) |
Cite as: | arXiv:2401.03385 [cs.CL] |
(orarXiv:2401.03385v2 [cs.CL] for this version) | |
https://doi.org/10.48550/arXiv.2401.03385 arXiv-issued DOI via DataCite |
Submission history
From: Zhiyu Li [view email][v1] Sun, 7 Jan 2024 04:32:29 UTC (594 KB)
[v2] Wed, 10 Jan 2024 08:30:24 UTC (678 KB)
Full-text links:
Access Paper:
- View PDF
- HTML (experimental)
- TeX Source
- Other Formats
View a PDF of the paper titled Grimoire is All You Need for Enhancing Large Language Models, by Ding Chen and 6 other authors
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer(What is the Explorer?)
Connected Papers(What is Connected Papers?)
Litmaps(What is Litmaps?)
scite Smart Citations(What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv(What is alphaXiv?)
CatalyzeX Code Finder for Papers(What is CatalyzeX?)
DagsHub(What is DagsHub?)
Gotit.pub(What is GotitPub?)
Hugging Face(What is Huggingface?)
Papers with Code(What is Papers with Code?)
ScienceCast(What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower(What are Influence Flowers?)
CORE Recommender(What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community?Learn more about arXivLabs.