ReNIO: Reweighting Negative Trajectory Importance for LLM On-Policy Distillation

Chen Lin, Kedi Chen, Wei Zhang
6/22/2026
cs.LGcs.AI

Official code: BDML-lab/ReNIO (2 stars, MIT, last commit 2026-06-22).

Abstract

On-policy distillation (OPD) improves LLM reasoning by training a student model on its own generated outputs, but standard OPD treats all student-generated outputs (SGOs) equally regardless of their informativeness. We observe a consistent asymmetry in controlled filtering experiments: in both OPD and on-policy self distillation (OPSD), training only on incorrect SGOs outperforms training only on correct ones. Our further analysis suggests that models trained on correct-only SGOs tend to generate shorter reasoning traces and show weaker reflection behavior, while incorrect SGOs better preserve exploratory reasoning near the model's capability boundary. To exploit this signal without requiring full answer-containing rollouts, we introduce ReNIO, which Reweights Negative trajectory Importance for LLM On-policy distillation. By using the student-to-teacher probability ratio, ReNIO identifies pivotal tokens leading to wrong reasoning traces and aggregates their information into a normalized sample weight, inherently assigning larger weights to likely negative trajectories without observing the correctness of final-answer. Since Re-NIO only uses prefix-conditioned token probabilities, it preserves OPD's prefix training advantage over full-rollout reinforcement learning. Across both mathematical reasoning and code generation tasks, ReNIO improves both OPD and OPSD, with representative relative gains of up to 8.90% for Qwen3-1.7B and 10.00% for R1-Distill-Qwen-7B on mathematical reasoning benchmarks. Code repo: https://github.com/BDML-lab/ReNIO.

View on arXivView PDF

Code Implementations(1)

BDML-lab/ReNIOOfficial100%
MIT
20Shell, PythonJun 18, 20264 months agoMIT

Similar Papers

Cite this paper

@article{lin2026renio,
  title  = {ReNIO: Reweighting Negative Trajectory Importance for LLM On-Policy Distillation},
  author = {Chen Lin and Kedi Chen and Wei Zhang},
  year   = {2026},
  eprint = {2606.23104},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.23104v1}
}

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

Discussion