Babysit A Language Model From Scratch: Interactive Language Learning by Trials and Demonstrations

Ziqiao Ma, Zekun Wang, Joyce Chai
5/22/2024
cs.CLcs.AI

No official code found. Best implementation: sled-group/TnD (2 stars, last commit 2024-05-20).

Abstract

Humans are efficient language learners and inherently social creatures. Our language development is largely shaped by our social interactions, for example, the demonstration and feedback from caregivers. Contrary to human language learning, recent advancements in large language models have primarily adopted a non-interactive training paradigm, and refined pre-trained models through feedback afterward. In this work, we explore how corrective feedback from interactions influences neural language acquisition from scratch through systematically controlled experiments, assessing whether it contributes to word learning efficiency in language models. We introduce a trial-and-demonstration (TnD) learning framework that incorporates three distinct components: student trials, teacher demonstrations, and a reward conditioned on language competence at various developmental stages. Our experiments reveal that the TnD approach accelerates word acquisition for student models of equal and smaller numbers of parameters, and we highlight the significance of both trials and demonstrations. We further show that the teacher's choices of words influence students' word-specific learning efficiency, and a practice-makes-perfect effect is evident by a strong correlation between the frequency of words in trials and their respective learning curves. Our findings suggest that interactive language learning, with teacher demonstrations and active trials, can facilitate efficient word learning in language models.

View on arXivView PDF

Code Implementations(1)

sled-group/TnDCommunity100%

Official Code for NAACL 2025: Babysit A Language Model From Scratch: Interactive Language Learning by Trials and Demonstrations

21Shell, PythonMay 18, 20242 years ago

Similar Papers

Cite this paper

@article{ma2024babysit,
  title  = {Babysit A Language Model From Scratch: Interactive Language Learning by Trials and Demonstrations},
  author = {Ziqiao Ma and Zekun Wang and Joyce Chai},
  year   = {2024},
  eprint = {2405.13828},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.13828v2}
}

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/2405.13828.svg)](https://codeofpaper.com/paper/2405.13828)

Discussion