mlsanityData to 7 Oct 2026

Explaining Learned Reward Functions with Counterfactual Trajectories

arXiv 2402.04856 ↗First posted 7 Feb 2024cs.AI cs.LGcited by 1

On the map: LLM alignment / RLHF / preference optimisation → Reward modeling and RLHF

Abstract (arXiv)

Learning rewards from human behaviour or feedback is a promising approach to aligning AI systems with human values but fails to consistently extract correct reward functions. Interpretability tools could enable users to understand and evaluate possible flaws in learned reward functions. We propose Counterfactual Trajectory Explanations (CTEs) to interpret reward functions in reinforcement learning by contrasting an original with a counterfactual partial trajectory and the rewards they each receive. We derive six quality criteria for CTEs and propose a novel Monte-Carlo-based algorithm for generating CTEs that optimises these quality criteria. Finally, we measure how informative the generated explanations are to a proxy-human model by training it on CTEs. CTEs are demonstrably informative for the proxy-human model, increasing the similarity between its predictions and the reward function on unseen trajectories. Further, it learns to accurately judge differences in rewards between trajectories and generalises to out-of-distribution examples. Although CTEs do not lead to a perfect understanding of the reward, our method, and more generally the adaptation of XAI methods, are presented as a fruitful approach for interpreting learned reward functions.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Reward modeling and RLHF, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 32 of its 76 references that are in the map. First posted on arXiv 7 Feb 2024.

Builds on

32 of 76 references.

Closest ancestors · 6

Same direction, newest first

  1. 2023Open Problems and Fundamental Limitations of Reinforcement Learning from Human Feedback27 Jul
  2. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback12 Apr
  3. 2022Preprocessing Reward Functions for Interpretability25 Mar
  4. 2021Interpretable Preference-based Reinforcement Learning with Tree-Structured Reward Functions20 Dec
  5. 2018Scalable agent alignment via reward modeling: a research direction19 Nov
  6. 2017Deep reinforcement learning from human preferences12 Jun

Other references · 26

  1. 2017Proximal Policy Optimization Algorithmscited by 14,441
  2. 2016Concrete Problems in AI Safetycited by 1,582
  3. 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,201
  4. 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
  5. 2020Deep Reinforcement Learning for Autonomous Driving: A Surveycited by 698
  6. 2017Learning Robust Rewards with Adversarial Inverse Reinforcement Learningcited by 485
  7. 2022The Effects of Reward Misspecification: Mapping and Mitigating Misaligned Modelscited by 312
  8. 2019Reinforcement Learning in Healthcare: A Surveycited by 308
  9. 2018Programmatically Interpretable Reinforcement Learningcited by 192
  10. 2021Reinforcement learning based recommender systems: A surveycited by 187
  11. 2020Counterfactual Explanations and Algorithmic Recourses for Machine Learning: A Reviewcited by 174
  12. 2018Explaining Explanations in AIcited by 136
14 more
  1. 2021If Only We Had Better Counterfactual Explanations: Five Key Deficits to Rectify in the Evaluation of Counterfactual XAI Techniquescited by 82
  2. 2018Establishing Appropriate Trust via Critical Statescited by 47
  3. 2017Occam's razor is insufficient to infer the preferences of irrational agentscited by 44
  4. 2020Understanding Learned Reward Functionscited by 37
  5. 2017Enabling Robots to Communicate their Objectivescited by 34
  6. 2019On the computation of counterfactual explanations -- A surveycited by 33
  7. 2022Misspecification in Inverse Reinforcement Learningcited by 27
  8. 2021MORAL: Aligning AI with Human Norms through Multi-Objective Reinforced Active Learningcited by 24
  9. 2021Meaningful human control: actionable properties for AI system developmentcited by 18
  10. 2017Interpretable Apprenticeship Learning with Temporal Logic Specificationscited by 13
  11. 2022Redefining Counterfactual Explanations for Reinforcement Learning: Overview, Challenges and Opportunitiescited by 12
  12. 2022Explaining Reinforcement Learning Policies through Counterfactual Trajectoriescited by 7
  13. 2022Reasoning about Counterfactuals to Improve Human Inverse Reinforcement Learningcited by 6
  14. 2021Explaining Reward Functions to Humans for Better Human-Robot Collaborationcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2023On The Fragility of Learned Reward Functions
  2. 2026The Trajectory Alignment Coefficient in Two Acts: From Reward Tuning to Reward Learning
  3. 2024Transductive Reward Inference on Graph
  4. 2020Learning "What-if" Explanations for Sequential Decision-Making
  5. 2023A Closer Look at Reward Decomposition for High-Level Robotic Explanations
  6. 2023Explaining RL Decisions with Trajectories
  7. 2019Learning Human Objectives by Evaluating Hypothetical Behavior
  8. 2022Non-Markovian Reward Modelling from Trajectory Labels via Interpretable Multiple Instance Learning