GRACE: A Language Model Framework for Explainable Inverse Reinforcement Learning
Silvia Sapora, R. Devon Hjelm, Omar Attia, Alexander Toshev, Bogdan Mazoure
摘要
Inverse Reinforcement Learning aims to recover reward models from expert demonstrations, but traditional methods yield black-box models that are difficult to interpret and debug. In this work, we introduce GRACE (Generating Rewards As CodE), a method for using Large Language Models within an evolutionary search to reverse-engineer an interpretable, code-based reward function directly from expert trajectories. The resulting reward function is executable code that can be inspected and verified. We empirically validate GRACE on the MuJoCo, BabyAI and AndroidWorld benchmarks, where it efficiently learns highly accurate rewards, even in complex, multi-task settings. Further, we demonstrate that the resulting reward leads to strong policies, compared to both competitive Imitation Learning and online RL approaches with ground-truth rewards. Finally, we show that GRACE is able to build complex reward APIs in multi-task setups.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Language Agent Tree Search Unifies Reasoning, Acting, and Planning in Language Models 引用了 Self-Refine: Iterative Refinement with Self-Feedback
- CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis 引用了 InCoder: A Generative Model for Code Infilling and Synthesis
- Self-Refine: Iterative Refinement with Self-Feedback 引用了 CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis
- Self-Refine: Iterative Refinement with Self-Feedback 引用了 Training language models to follow instructions with human feedback
- InCoder: A Generative Model for Code Infilling and Synthesis 引用了 Training language models to follow instructions with human feedback
它引用的 Paper12
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- Self-Refine: Iterative Refinement with Self-FeedbackAman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan 等NeurIPS 2023 · 4,972 次引用
- Language Agent Tree Search Unifies Reasoning, Acting, and Planning in Language ModelsAndy Zhou, Kai Yan, Michal Shlapentokh-Rothman, Haohan Wang 等ICML 2024 · 443 次引用
- CodeGen: An Open Large Language Model for Code with Multi-Turn Program SynthesisErik Nijkamp, Bo Pang, Hiroaki Hayashi, Lifu Tu 等ICLR 2023 · 234 次引用
- InCoder: A Generative Model for Code Infilling and SynthesisDaniel Fried, Armen Aghajanyan, Jessy Lin, Sida Wang 等ICLR 2023 · 140 次引用
相关 Paper
- Text2Reward: Reward Shaping with Language Models for Reinforcement LearningTianbao Xie, Siheng Zhao, Chen Henry Wu, Yitao Liu 等ICLR 2024 · 142 次引用
- REvolve: Reward Evolution with Large Language Models using Human FeedbackRishi Hazra, Alkis Sygkounas, Andreas Persson, Amy Loutfi 等ICLR 2025
- Mapping Language to Programs using Multiple Reward Components with Inverse Reinforcement LearningSayan Ghosh, Shashank SrivastavaEMNLP Findings 2021 · 2 次引用
- GRACE: Generative Representation Learning via Contrastive Policy OptimizationJiashuo Sun, Shixuan Liu, Zhaochen Su, Xianrui Zhong 等ICLR 2026 · 7 次引用
- Master Skill Learning with Policy-Grounded Synergy of LLM-based Reward Shaping and ExploringYanbin Chang, Junfan Lin, Jie Jiang, Runhao Zeng 等ICLR 2026
