How much do LLMs learn from negative examples?

Shadi Hamdan, Deniz Yuret
3/18/2025
cs.CL

No official code found. Best implementation: Shamdan17/Likra (1 star, last commit 2025-06-11).

Abstract

Large language models (LLMs) undergo a three-phase training process: unsupervised pre-training, supervised fine-tuning (SFT), and learning from human feedback (RLHF/DPO). Notably, it is during the final phase that these models are exposed to negative examples -- incorrect, rejected, or suboptimal responses to queries. This paper delves into the role of negative examples in the training of LLMs, using a likelihood-ratio (Likra) model on multiple-choice question answering benchmarks to precisely manage the influence and the volume of negative examples. Our findings reveal three key insights: (1) During a critical phase in training, Likra with negative examples demonstrates a significantly larger improvement per training example compared to SFT using only positive examples. This leads to a sharp jump in the learning curve for Likra unlike the smooth and gradual improvement of SFT; (2) negative examples that are plausible but incorrect (near-misses) exert a greater influence; and (3) while training with positive examples fails to significantly decrease the likelihood of plausible but incorrect answers, training with negative examples more accurately identifies them. These results indicate a potentially significant role for negative examples in improving accuracy and reducing hallucinations for LLMs.

View on arXivView PDF

Code Implementations(1)

Shamdan17/LikraCommunity100%

How much do LLMs learn from negative examples?

10Python, MakefileMar 10, 20251 years ago

Similar Papers

Cite this paper

@article{hamdan2025much,
  title  = {How much do LLMs learn from negative examples?},
  author = {Shadi Hamdan and Deniz Yuret},
  year   = {2025},
  eprint = {2503.14391},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.14391v1}
}

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/2503.14391.svg)](https://codeofpaper.com/paper/2503.14391)

Discussion