Learning to Repair: Repairing model output errors after deployment using a dynamic memory of feedback

Niket Tandon, Aman Madaan, Peter Clark, Yiming Yang
12/16/2021
cs.CLcs.AI

Official code: allenai/interscript (12 stars, HTML, Apache-2.0, last commit 2021-12-15).

Abstract

Large language models (LMs), while powerful, are not immune to mistakes, but can be difficult to retrain. Our goal is for an LM to continue to improve after deployment, without retraining, using feedback from the user.

Show full abstract

Our approach pairs an LM with (i) a growing memory of cases where the user identified an output error and provided general feedback on how to correct it (ii) a corrector model, trained to translate this general feedback into specific edits to repair the model output. Given a new, unseen input, our model can then use feedback from similar, past cases to repair output errors that may occur. We instantiate our approach using an existing, fixed model for script generation, that takes a goal (e.g., "bake a cake") and generates a partially ordered sequence of actions to achieve that goal, sometimes containing errors. Our memory-enhanced system, FBNet, learns to apply user feedback to repair such errors (up to 30 points improvement), while making a start at avoiding similar past mistakes on new, unseen examples (up to 7 points improvement in a controlled setting). This is a first step towards strengthening deployed models, potentially broadening their utility. Our code and data is available at https://github.com/allenai/interscript/.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

The InterScript dataset contains interactive user feedback on scripts generated by a T5-XXL model.

120HTMLDec 15, 20214 years agoApache-2.0

Similar Papers

Cite this paper

@article{tandon2021learning,
  title  = {Learning to Repair: Repairing model output errors after deployment using a dynamic memory of feedback},
  author = {Niket Tandon and Aman Madaan and Peter Clark and Yiming Yang},
  year   = {2021},
  eprint = {2112.09737},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.09737}
}

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

Discussion