mlsanityData to 7 Oct 2026

LLMs can learn self-restraint through iterative self-reflection

arXiv 2405.13022 ↗First posted 15 May 2024cs.CL cs.LGcited by 6

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

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  4. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  5. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
  6. 2022Language Models (Mostly) Know What They Knowcited by 1,783
  7. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
  8. 2023FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generationcited by 1,259
  9. 2023Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedbackcited by 788
  10. 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 787
  11. 2017Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithmcited by 723
  12. 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 695
18 more
  1. 2023Reinforced Self-Training (ReST) for Language Modelingcited by 486
  2. 2021Large Dual Encoders Are Generalizable Retrieverscited by 454
  3. 2023Beyond Human Data: Scaling Self-Training for Problem-Solving with Language Modelscited by 325
  4. 2023Chain-of-Verification Reduces Hallucination in Large Language Modelscited by 317
  5. 2017Thinking Fast and Slow with Deep Learning and Tree Searchcited by 245
  6. 2023Fine-tuning Language Models for Factualitycited by 219
  7. 2024Language Models with Conformal Factuality Guaranteescited by 128
  8. 2023A Critical Evaluation of Evaluations for Long-form Question Answeringcited by 111
  9. 2023Towards Mitigating Hallucination in Large Language Models via Self-Reflectioncited by 81
  10. 2024Self-Alignment for Factuality: Mitigating Hallucinations in LLMs via Self-Evaluationcited by 79
  11. 2023Self-Evaluation Improves Selective Generation in Large Language Modelscited by 74
  12. 2021Scalar reward is not enough: A response to Silver, Singh, Precup and Sutton (2021)cited by 55
  13. 2022Self-Prompting Large Language Models for Zero-Shot Open-Domain QAcited by 39
  14. 2023Ever: Mitigating Hallucination in Large Language Models through Real-Time Verification and Rectificationcited by 38
  15. 2023Examining LLMs' Uncertainty Expression Towards Questions Outside Parametric Knowledgecited by 32
  16. 2024Calibrating Long-form Generations from Large Language Modelscited by 31
  17. 2023Improving the Reliability of Large Language Models by Leveraging Uncertainty-Aware In-Context Learningcited by 29
  18. 2024TOOLVERIFIER: Generalization to New Tools via Self-Verificationcited by 23

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 3; 2026: 1.

6 papers.