LLMs can learn self-restraint through iterative self-reflection
Not on the map. Why?
Abstract (arXiv)
In order to be deployed safely, Large Language Models (LLMs) must be capable of dynamically adapting their behavior based on their level of knowledge and uncertainty associated with specific topics. This adaptive behavior, which we refer to as self-restraint, is non-trivial to teach since it depends on the internal knowledge of an LLM. By default, LLMs are trained to maximize the next token likelihood, which does not teach the model to modulate its answer based on its level of uncertainty. In order to learn self-restraint, we devise a utility function that can encourage the model to produce responses only when it is confident in them. This utility function can be used to score generation of different length and abstention. To optimize this function, we introduce ReSearch, a process of "self-reflection" consisting of iterative self-prompting and self-evaluation. We use the ReSearch algorithm to generate synthetic data on which we finetune our models. Compared to their original versions, our resulting models generate fewer hallucinations overall at no additional inference cost, for both known and unknown topics, as the model learns to selectively restrain itself. In addition, our method elegantly incorporates the ability to abstain by augmenting the samples generated by the model during the search procedure with an answer expressing abstention.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 30 of its 38 references that are in the map. First posted on arXiv 15 May 2024.
Builds on
30 of 38 references.
References · 30
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
- 2022Language Models (Mostly) Know What They Knowcited by 1,783
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
- 2023FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generationcited by 1,259
- 2023Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedbackcited by 788
- 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 787
- 2017Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithmcited by 723
- 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 695
18 more
- 2023Reinforced Self-Training (ReST) for Language Modelingcited by 486
- 2021Large Dual Encoders Are Generalizable Retrieverscited by 454
- 2023Beyond Human Data: Scaling Self-Training for Problem-Solving with Language Modelscited by 325
- 2023Chain-of-Verification Reduces Hallucination in Large Language Modelscited by 317
- 2017Thinking Fast and Slow with Deep Learning and Tree Searchcited by 245
- 2023Fine-tuning Language Models for Factualitycited by 219
- 2024Language Models with Conformal Factuality Guaranteescited by 128
- 2023A Critical Evaluation of Evaluations for Long-form Question Answeringcited by 111
- 2023Towards Mitigating Hallucination in Large Language Models via Self-Reflectioncited by 81
- 2024Self-Alignment for Factuality: Mitigating Hallucinations in LLMs via Self-Evaluationcited by 79
- 2023Self-Evaluation Improves Selective Generation in Large Language Modelscited by 74
- 2021Scalar reward is not enough: A response to Silver, Singh, Precup and Sutton (2021)cited by 55
- 2022Self-Prompting Large Language Models for Zero-Shot Open-Domain QAcited by 39
- 2023Ever: Mitigating Hallucination in Large Language Models through Real-Time Verification and Rectificationcited by 38
- 2023Examining LLMs' Uncertainty Expression Towards Questions Outside Parametric Knowledgecited by 32
- 2024Calibrating Long-form Generations from Large Language Modelscited by 31
- 2023Improving the Reliability of Large Language Models by Leveraging Uncertainty-Aware In-Context Learningcited by 29
- 2024TOOLVERIFIER: Generalization to New Tools via Self-Verificationcited by 23
Built on by
Citing papers per year: 2024: 2; 2025: 3; 2026: 1.
6 papers.
- 2024Can Large Language Models Faithfully Express Their Intrinsic Uncertainty in Words?cited by 85
- 2025Conformal Linguistic Calibration: Trading-off between Factuality and Specificitycited by 20
- 2024Bridging the Visual Gap: Fine-Tuning Multimodal Models with Knowledge-Adapted Captionscited by 5
- 2025WikiAutoGen: Towards Multi-Modal Wikipedia-Style Article Generationcited by 5
- 2025MARCO: Meta-Reflection with Cross-Referencing for Code Reasoningcited by 0
- 2026Optimal Stopping of Self-Refining Foundation Modelscited by 0
- 2026Optimal Stopping of Self-Refining Foundation Models11 Aug 2026
- 2025MARCO: Meta-Reflection with Cross-Referencing for Code Reasoning23 May 2025
- 2025WikiAutoGen: Towards Multi-Modal Wikipedia-Style Article Generation24 Mar 2025
- 2025Conformal Linguistic Calibration: Trading-off between Factuality and Specificity26 Feb 2025
- 2024Bridging the Visual Gap: Fine-Tuning Multimodal Models with Knowledge-Adapted Captions13 Nov 2024
- 2024Can Large Language Models Faithfully Express Their Intrinsic Uncertainty in Words?27 May 2024