Learning from Mistakes: Negative Reasoning Samples Enhance Out-of-Domain Generalization

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Tian, Xueyun, Ma, Minghua, Xu, Bingbing, Lyu, Nuoyan, Li, Wei, Dong, Heng, Chu, Zheng, Wang, Yuanzhuo, Shen, Huawei
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917191289405440
author Tian, Xueyun
Ma, Minghua
Xu, Bingbing
Lyu, Nuoyan
Li, Wei
Dong, Heng
Chu, Zheng
Wang, Yuanzhuo
Shen, Huawei
author_facet Tian, Xueyun
Ma, Minghua
Xu, Bingbing
Lyu, Nuoyan
Li, Wei
Dong, Heng
Chu, Zheng
Wang, Yuanzhuo
Shen, Huawei
contents Supervised fine-tuning (SFT) on chain-of-thought (CoT) trajectories demonstrations is a common approach for enabling reasoning in large language models. Standard practices typically only retain trajectories with correct final answers (positives) while ignoring the rest (negatives). We argue that this paradigm discards substantial supervision and exacerbates overfitting, limiting out-of-domain (OOD) generalization. Specifically, we surprisingly find that incorporating negative trajectories into SFT yields substantial OOD generalization gains over positive-only training, as these trajectories often retain valid intermediate reasoning despite incorrect final answers. To understand this effect in depth, we systematically analyze data, training dynamics, and inference behavior, identifying 22 recurring patterns in negative chains that serve a dual role: they moderate loss descent to mitigate overfitting during training and boost policy entropy by 35.67% during inference to facilitate exploration. Motivated by these observations, we further propose Gain-based LOss Weighting (GLOW), an adaptive, sample-aware scheme that exploits such distinctive training dynamics by rescaling per-sample loss based on inter-epoch progress. Empirically, GLOW efficiently leverages unfiltered trajectories, yielding a 5.51% OOD gain over positive-only SFT on Qwen2.5-7B and boosting MMLU from 72.82% to 76.47% as an RL initialization.
format Preprint
id arxiv_https___arxiv_org_abs_2601_04992
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Learning from Mistakes: Negative Reasoning Samples Enhance Out-of-Domain Generalization
Tian, Xueyun
Ma, Minghua
Xu, Bingbing
Lyu, Nuoyan
Li, Wei
Dong, Heng
Chu, Zheng
Wang, Yuanzhuo
Shen, Huawei
Computation and Language
Supervised fine-tuning (SFT) on chain-of-thought (CoT) trajectories demonstrations is a common approach for enabling reasoning in large language models. Standard practices typically only retain trajectories with correct final answers (positives) while ignoring the rest (negatives). We argue that this paradigm discards substantial supervision and exacerbates overfitting, limiting out-of-domain (OOD) generalization. Specifically, we surprisingly find that incorporating negative trajectories into SFT yields substantial OOD generalization gains over positive-only training, as these trajectories often retain valid intermediate reasoning despite incorrect final answers. To understand this effect in depth, we systematically analyze data, training dynamics, and inference behavior, identifying 22 recurring patterns in negative chains that serve a dual role: they moderate loss descent to mitigate overfitting during training and boost policy entropy by 35.67% during inference to facilitate exploration. Motivated by these observations, we further propose Gain-based LOss Weighting (GLOW), an adaptive, sample-aware scheme that exploits such distinctive training dynamics by rescaling per-sample loss based on inter-epoch progress. Empirically, GLOW efficiently leverages unfiltered trajectories, yielding a 5.51% OOD gain over positive-only SFT on Qwen2.5-7B and boosting MMLU from 72.82% to 76.47% as an RL initialization.
title Learning from Mistakes: Negative Reasoning Samples Enhance Out-of-Domain Generalization
topic Computation and Language
url https://arxiv.org/abs/2601.04992