Internalized Self-Correction for Large Language Models

Nishanth Upadhyaya, Raghavendra Sridharamurthy
12/21/2024
cs.AI

No confident code implementation found for this paper. 2 possible matches can be shown below.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{upadhyaya2024internalized,
  title  = {Internalized Self-Correction for Large Language Models},
  author = {Nishanth Upadhyaya and Raghavendra Sridharamurthy},
  year   = {2024},
  eprint = {2412.16653},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.16653v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.16653.svg)](https://codeofpaper.com/paper/2412.16653)

Discussion