Memory-assisted prompt editing to improve GPT-3 after deployment

01/16/2022
by   Aman Madaan, et al.
0

Large LMs such as GPT-3, while powerful, are not immune to mistakes, but are prohibitively costly to retrain. One failure mode is misinterpreting a user's instruction (e.g., GPT-3 interpreting "What word is similar to good?" to mean a homonym, while the user intended a synonym). Our goal is to allow users to correct such errors directly through interaction – without retraining. Our approach pairs GPT-3 with a growing memory of cases where the model misunderstood the user's intent and was provided with feedback, clarifying the instruction. Given a new query, our memory-enhanced GPT-3 uses feedback from similar, prior queries to enrich the prompt. Through simple proof-of-concept experiments, we show how a (simulated) user can interactively teach a deployed GPT-3, doubling its accuracy on basic lexical tasks (e.g., generate a synonym) where users query in different, novel (often misunderstood) ways. In such scenarios, memory helps avoid repeating similar past mistakes. Our simple idea is a first step towards strengthening deployed models, potentially broadening their utility. All the code and data is available at https://github.com/madaan/memprompt.

READ FULL TEXT
research
12/16/2021

Improving scripts with a memory of natural feedback

How can an end-user provide feedback if a deployed structured prediction...
research
08/28/2023

RefSearch: A Search Engine for Refactoring

Developers often refactor source code to improve its quality during soft...
research
05/26/2023

Improved Instruction Ordering in Recipe-Grounded Conversation

In this paper, we study the task of instructional dialogue and focus on ...
research
12/15/2021

Interscript: A dataset for interactive learning of scripts through error feedback

How can an end-user provide feedback if a deployed structured prediction...
research
05/29/2018

Sapphire: Querying RDF Data Made Simple

RDF data in the linked open data (LOD) cloud is very valuable for many d...
research
06/24/2019

Query-based Interactive Recommendation by Meta-Path and Adapted Attention-GRU

Recently, interactive recommender systems are becoming increasingly popu...
research
06/17/2022

CLEAR: A Fully User-side Image Search System

We use many search engines on the Internet in our daily lives. However, ...

Please sign up or login with your details

Forgot password? Click here to reset