arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.04856cs.AIcs.LG
收藏

用反事实轨迹解释学习到的奖励函数

Explaining Learned Reward Functions with Counterfactual Trajectories

CISPA Helmholtz Center for Information Security(CISPA亥姆霍兹信息安全中心);Delft University of Technology(代尔夫特理工大学)

Jan Wehner, Frans Oliehoek, Luciano Cavalcante Siebert

AI总结:

提出反事实轨迹解释(CTEs)及蒙特卡洛生成算法,通过对比原始与反事实轨迹解释强化学习奖励函数,提升代理人类模型对奖励的预测与泛化能力。

摘要:

从人类行为或反馈中学习奖励是将AI系统与人类价值观对齐的一种有前景的方法,但无法始终如一地提取正确的奖励函数。可解释性工具能够使用户理解并评估学习到的奖励函数中可能存在的缺陷。我们提出了反事实轨迹解释(CTEs),通过将原始轨迹与反事实部分轨迹及其各自获得的奖励进行对比,来解释强化学习中的奖励函数。我们为CTEs推导了六项质量标准,并提出了一种基于蒙特卡洛的新颖算法来生成CTEs,以优化这些质量标准。最后,我们通过在CTEs上训练代理人类模型,来衡量生成的解释对该模型的信息量。CTEs对代理人类模型具有明显的信息量,提高了其预测结果与奖励函数在未见轨迹上的相似度。此外,它学会了准确判断轨迹之间的奖励差异,并能泛化到分布外示例。尽管CTEs未能实现对奖励的完美理解,但我们的方法,以及更广泛地XAI方法的改进,被视为解释学习到的奖励函数的一种富有成效的方法。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑