What Makes Instruction Learning Hard? An Investigation and a New Challenge in a Synthetic Environment

Matthew Finlayson, Kyle Richardson, Ashish Sabharwal, Peter Clark
4/19/2022
cs.CLcs.AI
transformer-attention

Official code: allenai/RegSet (2 stars, Python, last commit 2022-04-19).

Abstract

The instruction learning paradigm -- where a model learns to perform new tasks from task descriptions alone -- has become popular in general-purpose model research. The capabilities of large transformer models as instruction learners, however, remain poorly understood.

Show full abstract

We use a controlled synthetic environment to characterize such capabilities. Specifically, we use the task of deciding whether a given string matches a regular expression (viewed as an instruction) to identify properties of tasks, instructions, and instances that make instruction learning challenging. For instance, we find that our model, a fine-tuned T5-based text2text transformer, struggles with large regular languages, suggesting that less precise instructions are challenging for models. Additionally, instruction executions that require tracking longer contexts of prior steps are also more difficult. We use our findings to systematically construct a challenging instruction learning dataset, which we call Hard RegSet. Fine-tuning on Hard RegSet, our large transformer learns to correctly interpret only 65.6% of test instructions (with at least 90% accuracy), and 11%-24% of the instructions in out-of-distribution generalization settings. We propose Hard RegSet as a challenging instruction learning task, and a controlled environment for studying instruction learning.

View on arXivView PDF

Code Implementations(1)

allenai/RegSetOfficial100%
20PythonNov 16, 20214 years ago

Similar Papers

Cite this paper

@article{finlayson2022what,
  title  = {What Makes Instruction Learning Hard? An Investigation and a New Challenge in a Synthetic Environment},
  author = {Matthew Finlayson and Kyle Richardson and Ashish Sabharwal and Peter Clark},
  year   = {2022},
  eprint = {2204.09148},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.09148}
}

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

Discussion