Baby's CoThought: Leveraging Large Language Models for Enhanced Reasoning in Compact Models

Zheyu Zhang, Han Yang, Bolei Ma, David Rügamer, Ercong Nie
8/3/2023
cs.CL

No official code found. Best implementation: oooranz/Baby-CoThought (17 stars, last commit 2025-01-10).

Abstract

Large Language Models (LLMs) demonstrate remarkable performance on a variety of natural language understanding (NLU) tasks, primarily due to their in-context learning ability. This ability could be applied to building babylike models, i.e. models at small scales, improving training efficiency. In this paper, we propose a "CoThought" pipeline, which efficiently trains smaller "baby" language models (BabyLMs) by leveraging the Chain of Thought prompting of LLMs. Our pipeline restructures a dataset of less than 100M in size using GPT-3.5-turbo, transforming it into task-oriented, human-readable texts that are comparable to the school texts for language learners. The BabyLM is then pretrained on this restructured dataset in a RoBERTa fashion. In evaluations across 4 benchmarks, our BabyLM outperforms the vanilla RoBERTa in 10 linguistic, NLU, and question-answering tasks by more than 3 points, showing a superior ability to extract contextual information. These results suggest that compact LMs pretrained on small, LLM-restructured data can better understand tasks and achieve improved performance.

View on arXivView PDF

Code Implementations(1)

🍼 Baby's CoThought: Leveraging LLMs for Enhanced Reasoning in Compact Models (BabyLM Challenge)

173Shell, PythonJul 29, 20231 years ago
language-modelingllmsnlp

Similar Papers

Cite this paper

@article{zhang2023babys,
  title  = {Baby's CoThought: Leveraging Large Language Models for Enhanced Reasoning in Compact Models},
  author = {Zheyu Zhang and Han Yang and Bolei Ma and David Rügamer and Ercong Nie},
  year   = {2023},
  eprint = {2308.01684},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.01684v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.01684.svg)](https://codeofpaper.com/paper/2308.01684)

Discussion