PROF: An LLM-based Reward Code Preference Optimization Framework for Offline Imitation Learning
On the map: LLM alignment / RLHF / preference optimisation → Reward modeling and RLHF
Abstract (arXiv)
Offline imitation learning (offline IL) enables training effective policies without requiring explicit reward annotations. Recent approaches attempt to estimate rewards for unlabeled datasets using a small set of expert demonstrations. However, these methods often assume that the similarity between a trajectory and an expert demonstration is positively correlated with the reward, which oversimplifies the underlying reward structure. We propose PROF, a novel framework that leverages large language models (LLMs) to generate and improve executable reward function codes from natural language descriptions and a single expert trajectory. We propose Reward Preference Ranking (RPR), a novel reward function quality assessment and ranking strategy without requiring environment interactions or RL training. RPR calculates the dominance scores of the reward functions, where higher scores indicate better alignment with expert preferences. By alternating between RPR and text-based gradient optimization, PROF fully automates the selection and refinement of optimal reward functions for downstream policy learning. Empirical results on D4RL demonstrate that PROF surpasses or matches recent strong baselines across numerous datasets and domains, highlighting the effectiveness of our approach.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Reward modeling and RLHF, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 53 of its 84 references that are in the map. First posted on arXiv 14 Nov 2025.
Builds on
53 of 84 references.
Closest ancestors · 4
Same direction, newest first
- 2024A Large Language Model-Driven Reward Design Framework via Dynamic Feedback for Reinforcement Learning18 Oct
- 2023Eureka: Human-Level Reward Design via Coding Large Language Models19 Oct
- 2023Text2Reward: Reward Shaping with Language Models for Reinforcement Learning20 Sep
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Model29 May
Other references · 49
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2023GPT-4 Technical Reportcited by 18,396
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2024GPT-4o System Cardcited by 4,588
- 2013Playing Atari with Deep Reinforcement Learningcited by 3,274
- 2020Offline Reinforcement Learning: Tutorial, Review, and Perspectives on Open Problemscited by 1,920
- 2020D4RL: Datasets for Deep Data-Driven Reinforcement Learningcited by 1,427
- 2021Offline Reinforcement Learning with Implicit Q-Learningcited by 1,293
- 2022Code as Policies: Language Model Programs for Embodied Controlcited by 1,210
- 2019Meta-World: A Benchmark and Evaluation for Multi-Task and Meta Reinforcement Learningcited by 1,204
- 2019Dota 2 with Large Scale Deep Reinforcement Learningcited by 1,103
- 2021A Minimalist Approach to Offline Reinforcement Learningcited by 899
37 more
- 2017Learning Complex Dexterous Manipulation with Deep Reinforcement Learning and Demonstrationscited by 715
- 2022MineDojo: Building Open-Ended Embodied Agents with Internet-Scale Knowledgecited by 478
- 2022VIP: Towards Universal Visual Reward and Representation via Value-Implicit Pre-Trainingcited by 395
- 2023ManiSkill2: A Unified Benchmark for Generalizable Manipulation Skillscited by 327
- 2023Language to Rewards for Robotic Skill Synthesiscited by 312
- 2023Reward Design with Language Modelscited by 261
- 2017Inverse Reward Designcited by 249
- 2023LIV: Language-Image Representations and Rewards for Robotic Controlcited by 188
- 2023Guiding Pretraining in Reinforcement Learning with Large Language Modelscited by 187
- 2019Imitation Learning via Off-Policy Distribution Matchingcited by 183
- 2024RL-VLM-F: Reinforcement Learning from Vision Language Foundation Model Feedbackcited by 156
- 2023Generalized Planning in PDDL Domains with Pretrained Large Language Modelscited by 139
- 2023RoboCLIP: One Demonstration is Enough to Learn Robot Policiescited by 134
- 2020Primal Wasserstein Imitation Learningcited by 121
- 2022Mildly Conservative Q-Learning for Offline Reinforcement Learningcited by 112
- 2020Toward the Fundamental Limits of Imitation Learningcited by 96
- 2022Discriminator-Weighted Offline Imitation Learning from Suboptimal Demonstrationscited by 89
- 2020Offline Learning from Demonstrations and Unlabeled Experiencecited by 72
- 2022How to Leverage Unlabeled Data in Offline Reinforcement Learningcited by 62
- 2022Unpacking Reward Shaping: Understanding the Benefits of Reward Engineering on Sample Complexitycited by 62
- 2023Auto MC-Reward: Automated Dense Reward Design with Large Language Models for Minecraftcited by 61
- 2020Strictly Batch Imitation Learning by Energy-based Distribution Matchingcited by 54
- 2022Versatile Offline Imitation from Observations and Examples via Regularized State-Occupancy Matchingcited by 43
- 2023Optimal Transport for Offline Imitation Learningcited by 42
- 2025Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedbackcited by 41
- 2024DiffStitch: Boosting Offline Reinforcement Learning with Diffusion-based Trajectory Stitchingcited by 36
- 2022LobsDICE: Offline Learning from Observation via Stationary Distribution Correction Estimationcited by 23
- 2024Latent Reward: LLM-Empowered Credit Assignment in Episodic Reinforcement Learningcited by 23
- 2022Double Check Your State Before Trusting It: Confidence-Aware Bidirectional Offline Model-Based Imaginationcited by 21
- 2023CLARE: Conservative Model-Based Reward Learning for Offline Inverse Reinforcement Learningcited by 20
- 2024Learning Reward for Robot Skills Using Large Language Models via Self-Alignmentcited by 20
- 2024Towards an Information Theoretic Framework of Context-Based Offline Meta-Reinforcement Learningcited by 17
- 2024SEABO: A Simple Search-Based Method for Offline Imitation Learningcited by 14
- 2024Video2Reward: Generating Reward Function from Videos for Legged Robot Behavior Learningcited by 9
- 2025VLP: Vision-Language Preference Learning for Embodied Manipulationcited by 8
- 2024ICPL: Few-shot In-context Preference Learning via LLMscited by 7
- 2024SMAC-R1: The Emergence of Intelligence in Decision-Making Taskscited by 6
Built on by
Citing papers per year: 2026: 3.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2025Minimal Ingredients for Reward Assignment from Expert Demonstrations
- 2022A Ranking Game for Imitation Learning
- 2025Search-Based Credit Assignment for Offline Preference-Based Reinforcement Learning
- 2023Inverse Preference Learning: Preference-based RL without a Reward Function
- 2023Benchmarks and Algorithms for Offline Preference-Based Reward Learning
- 2021Offline Preference-Based Apprenticeship Learning
- 2025Online Knowledge Distillation with Reward Guidance
- 2019A New Framework for Query Efficient Active Imitation Learning