Learning from Failures: Understanding LLM Alignment through Failure-Aware Inverse RL

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Patel, Nyal, Bou, Matthieu, Jagota, Arjun, Krishna, Satyapriya, Parbhoo, Sonali
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909992915828736
author Patel, Nyal
Bou, Matthieu
Jagota, Arjun
Krishna, Satyapriya
Parbhoo, Sonali
author_facet Patel, Nyal
Bou, Matthieu
Jagota, Arjun
Krishna, Satyapriya
Parbhoo, Sonali
contents Reinforcement Learning from Human Feedback (RLHF) aligns Large Language Models (LLMs) with human preferences, yet the underlying reward signals they internalize remain hidden, posing a critical challenge for interpretability and safety. Existing approaches attempt to extract these latent incentives using Inverse Reinforcement Learning (IRL), but treat all preference pairs equally, often overlooking the most informative signals: those examples the extracted reward model misclassifies or assigns nearly equal scores, which we term \emph{failures}. We introduce a novel \emph{failure-aware} IRL algorithm that focuses on misclassified or difficult examples to recover the latent rewards defining model behaviors. By learning from these failures, our failure-aware IRL extracts reward functions that better reflect the true objectives behind RLHF. We demonstrate that failure-aware IRL outperforms existing IRL baselines across multiple metrics when applied to LLM detoxification, without requiring external classifiers or supervision. Crucially, failure-aware IRL yields rewards that better capture the true incentives learned during RLHF, enabling more effective re-RLHF training than standard IRL. This establishes failure-aware IRL as a robust, scalable method for auditing model alignment and reducing ambiguity in the IRL process.
format Preprint
id arxiv_https___arxiv_org_abs_2510_06092
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Learning from Failures: Understanding LLM Alignment through Failure-Aware Inverse RL
Patel, Nyal
Bou, Matthieu
Jagota, Arjun
Krishna, Satyapriya
Parbhoo, Sonali
Machine Learning
Computation and Language
Reinforcement Learning from Human Feedback (RLHF) aligns Large Language Models (LLMs) with human preferences, yet the underlying reward signals they internalize remain hidden, posing a critical challenge for interpretability and safety. Existing approaches attempt to extract these latent incentives using Inverse Reinforcement Learning (IRL), but treat all preference pairs equally, often overlooking the most informative signals: those examples the extracted reward model misclassifies or assigns nearly equal scores, which we term \emph{failures}. We introduce a novel \emph{failure-aware} IRL algorithm that focuses on misclassified or difficult examples to recover the latent rewards defining model behaviors. By learning from these failures, our failure-aware IRL extracts reward functions that better reflect the true objectives behind RLHF. We demonstrate that failure-aware IRL outperforms existing IRL baselines across multiple metrics when applied to LLM detoxification, without requiring external classifiers or supervision. Crucially, failure-aware IRL yields rewards that better capture the true incentives learned during RLHF, enabling more effective re-RLHF training than standard IRL. This establishes failure-aware IRL as a robust, scalable method for auditing model alignment and reducing ambiguity in the IRL process.
title Learning from Failures: Understanding LLM Alignment through Failure-Aware Inverse RL
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2510.06092