English

Internalized Self-Correction for Large Language Models

Artificial Intelligence 2024-12-24 v1

Abstract

In this article, we introduce 'Internalized Self-Correction' (InSeC) for large language models (LLMs). While many approaches exist for self-reflection at inference time, we propose a novel method that combines ideas from negative sampling, self-reflection during training, and inference time. InSeC allows LLMs to correct themselves by introducing mistakes and their corresponding corrections during training, thereby converting the learning process into a true supervised learning task with both positive and negative examples. This approach can be extended to improve instruction following and correct hallucinations or incorrect sentences generated by LLMs.

Keywords

Cite

@article{arxiv.2412.16653,
  title  = {Internalized Self-Correction for Large Language Models},
  author = {Nishanth Upadhyaya and Raghavendra Sridharamurthy},
  journal= {arXiv preprint arXiv:2412.16653},
  year   = {2024}
}
R2 v1 2026-06-28T20:45:01.402Z