EMNLP2023
Learning from Mistakes via Cooperative Study Assistant for Large Language Models
Danqing Wang, Lei Li
5 citations
Abstract
Large language models (LLMs) have demonstrated their potential to refine their generation based on their own feedback. However, the feedback from LLM itself is often inaccurate, thereby limiting its benefits. In this paper, we propose Study Assistant for Large LAnguage Model (SALAM), a novel framework with an auxiliary agent to assist the main LLM in learning from mistakes through interactive cooperation. In the gathering phase, the student assistant agent probes the main LLM, analyzes its errors, and collects the interaction in a mistake memory. During the examination phase, the study assistant provides guidelines by retrieving relevant cases to help the main LLM anticipate and avoid similar errors. We first investigate the effectiveness of a general study assistant and then customize it to provide LLMspecific guidance through imitation learning from successful guidance experiences. Our experiments on three LLMs using two challenging frameworks demonstrate that SALAM can significantly boost LLMs by an accuracy margin of up to 6.6 on BBH and 12.6 on BBQ 1 . 1 https://dqwang122.github.io/projects/SALAM . Jane thought today is 3/11/2002, but today is in fact Mar 12, which is 1 day later. What is the date a month ago? 02/11/2002 False Guideline: For dates in a problem, identify the correct date from which calculations should be made.