Post-Training Large Language Models via Reinforcement Learning from Self-Feedback

Carel van Niekerk, Renato Vukovic, Benjamin Matthias Ruppik, Hsien-Chin Lin, Milica GasicarXiv 2025 · DOI

Introduction

Modern Large Language Models (LLMs) often suffer from poor calibration, exhibiting high confidence even when providing incorrect answers. This overconfidence is frequently exacerbated by standard Reinforcement Learning from Human Feedback (RLHF), where models may prioritize alignment with human preferences over factual accuracy. In complex reasoning tasks like mathematics or logic, this leads to hallucinations presented with unearned certainty.

To address this, researchers have introduced Reinforcement Learning from Self-Feedback (RLSF). This post-training method enables LLMs to improve their reasoning capabilities and calibration without requiring human-labeled datasets or ground-truth answer keys. By leveraging a model's own internal confidence as an intrinsic reward signal, RLSF allows models to "learn from introspection."

Methodology: The RLSF Pipeline

The RLSF framework mimics human self-correction by evaluating internal uncertainty. The process follows four primary stages:

  1. Chain-of-Thought (CoT) Generation: For a given prompt, the model generates $K$ distinct reasoning paths or hypotheses.
  2. Confidence Scoring: The system calculates a "disparity" metric for the final answer. Rather than simply looking at the top token's probability, it measures the gap between the most likely token and the second most likely. A larger gap signifies higher internal certainty.
  3. Synthetic Preference Ranking: The $K$ generated paths are ranked based on these internal confidence scores, creating a synthetic dataset of "preferred" (high confidence) versus "rejected" (low confidence) responses.
  4. Optimization: This synthetic preference data is used to fine-tune the model using standard RL algorithms like Proximal Policy Optimization (PPO) or Direct Preference Optimization (DPO).
The RLSF pipeline: from prompt input to training a reward model based on internal confidence rankings.

Crucially, the reward is entirely intrinsic. The model is not provided with the "correct" answer; instead, it is incentivized to reach conclusions through reasoning paths that yield the highest internal certainty.

Experimental Setup

The effectiveness of RLSF was evaluated across several challenging benchmarks:

  • Arithmetic Reasoning: Multi-Arith and GSM8K.
  • Multiple-Choice QA: CommonsenseQA and ARC Easy.
  • Reward Benchmarking: The Math Reasoning subset of RewardBench was used to determine if self-generated rewards align with human preferences.
  • Safety and Bias: XSTest and AlpacaEval were employed to ensure the self-feedback loop did not amplify harmful biases.

Key Results and Insights

The study yielded several significant findings regarding the performance and behavior of models trained via RLSF:

Performance and Calibration Gains

RLSF consistently improved both accuracy and calibration across models. For instance, a Qwen 2.5 7B model saw its GSM8K accuracy rise from 53.67% to 58.62% using RLSF-PPO. Furthermore, RLSF significantly reduced the Expected Calibration Error (ECE), meaning the model's predicted probabilities became much more representative of its actual success rate.

Comparative performance of RLSF against various baselines across MultiArith and GSM8K benchmarks.

Intrinsic Reward Dynamics

  • Confidence as a Proxy: The core premise—that internal certainty correlates with reasoning quality in capable models—was validated. By maximizing certainty, models naturally gravitated toward more logical, step-by-step reasoning.
  • PPO vs. DPO: The researchers found that PPO generally outperformed DPO for intrinsic rewards. PPO’s online exploration likely helps the model discover more consistent and robust reasoning paths.
  • Efficiency: The reward model learned to favor concise, accurate justifications over verbose explanations that did not contribute to the final answer's certainty.

Discussion and Future Work

While RLSF offers a scalable path for model self-improvement, it faces certain limitations. The method relies on a "bootstrap" effect; the base model must possess a baseline level of reasoning. If a model is consistently and confidently wrong, RLSF may inadvertently reinforce those errors. Additionally, the process is computationally intensive during the post-training phase due to the need for generating multiple reasoning paths per prompt.

Future research directions include extending RLSF to multi-step planning tasks and investigating hybrid pipelines that combine intrinsic self-feedback with extrinsic human rewards to further refine model performance and safety.

Summary updated

BibTeX
@misc{niekerk2025post,
  author = {Carel van Niekerk and Renato Vukovic and Benjamin Matthias Ruppik and Hsien-Chin Lin and Milica Gasic},
  title = {{Post-Training Large Language Models via Reinforcement Learning from Self-Feedback}},
  year = {2025},
  eprint = {2507.21931},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.21931},
}
Figure