paper-with-me

Papers

Teaching Autoregressive Language Models Complex Tasks By Demonstration

2021-09-05 · Gabriel Recchia

This paper demonstrates that by fine-tuning an autoregressive language model (GPT-Neo) on appropriately structured step-by-step demonstrations, it is possible to teach it to execute a mathematical task that has previously proved difficult for Transformers - longhand modulo operations - with a relatively small number of examples. Specifically, we fine-tune GPT-Neo to solve the numbers__div_remainder task from the DeepMind Mathematics Dataset; Saxton et al. (arXiv:1904.01557) reported below 40% accuracy on this task with 2 million training examples. We show that after fine-tuning on 200 appropriately structured demonstrations of solving long division problems and reporting the remainders, the smallest available GPT-Neo model achieves over 80% accuracy. This is achieved by constructing an appropriate dataset for fine-tuning, with no changes to the learning algorithm. These results suggest that fine-tuning autoregressive language models on small sets of well-crafted demonstrations may be a useful paradigm for enabling individuals without training in machine learning to coax such models to perform some kinds of complex multi-step tasks.

📄 PDF Abstract BibTeX arXiv:2109.02102

Code (1)

mesotron/teaching_transformers 공식 구현

Tasks

Language ModelingLanguage Modelling

Methods 이 논문이 사용한 방법론

GPT-Neo An implementation of model & data parallel GPT3-like models using the mesh-tensorflow

Similar Papers 제목 키워드 기반

Characterizing tradeoffs between teaching via language and demonstrations in multi-agent systems

2023-05-19 · Dhara Yu, Noah D. Goodman, Jesse Mu

Humans teach others about the world through language and demonstration. When might one of these modalities be more effective than the other? In this work, we study the factors that modulate the effectiveness of language …

The Sample Complexity of Teaching-by-Reinforcement on Q-Learning

2020-06-16 · Xuezhou Zhang, Shubham Kumar Bharti, Yuzhe ma, Adish Singla 외

We study the sample complexity of teaching, termed as "teaching dimension" (TDim) in the literature, for the teaching-by-reinforcement paradigm, where the teacher guides the student through rewards. This is distinct from…

Q-Learningreinforcement-learningReinforcement LearningReinforcement Learning (RL)

Show or Tell? Demonstration is More Robust to Changes in Shared Perception than Explanation

2020-12-16 · Theodore R. Sumers, Mark K. Ho, Thomas L. Griffiths

Successful teaching entails a complex interaction between a teacher and a learner. The teacher must select and convey information based on what they think the learner perceives and believes. Teaching always involves misa…

Sequentially Teaching Sequential Tasks $(ST)^2$: Teaching Robots Long-horizon Manipulation Skills

2025-10-23 · Zlatan Ajanović, Ravi Prakash, Leandro de Souza Rosa, Jens Kober arxiv

Learning from demonstration has proved itself useful for teaching robots complex skills with high sample efficiency. However, teaching long-horizon tasks with multiple skills is challenging as deviations tend to accumula…

Quantifying Teaching Behaviour in Robot Learning from Demonstration

2019-05-10 · Aran Sena, Matthew J. Howard

Learning from demonstration allows for rapid deployment of robot manipulators to a great many tasks, by relying on a person showing the robot what to do rather than programming it. While this approach provides many oppor…

Robot Manipulation