TL;DR
The paper introduces Experience-Free Autonomous Reward Specification (EARS), a novel method that learns alignment-ready reward functions from preferences without requiring any environment interaction. By leveraging a structured LLM dialogue to generate reward features and actively sampling "imagined" trajectories within that feature space, EARS completely bypasses the costly and potentially unsafe rollout phases typical of standard Reinforcement Learning from Human Feedback (RLHF).
What Problem Does This Paper Address?
To deploy reinforcement learning (RL) agents safely and effectively, we must provide them with accurate reward functions. While Reinforcement Learning from Human Feedback (RLHF) has emerged as a powerful way to learn rewards from human preferences, traditional online RLHF is incredibly expensive. It requires an iterative loop: training a policy, rolling it out in the environment to sample trajectories, getting human feedback, and updating the reward model.
In real-world applications—like controlling humanoid robots or running complex, physics-based climate simulators—sampling these trajectories is computationally prohibitive, financially costly, or outright dangerous. While one could simply prompt a Large Language Model (LLM) to write a reward function directly, the authors show that even highly detailed prompts often yield poorly aligned rewards. EARS addresses this gap by enabling preference-based reward design with zero environment sampling.
Methods
EARS splits the reward specification process into two distinct stages:
Stage 1: Designing a Set of Reward Features
Instead of asking an LLM to write a complex reward function from scratch, EARS sets up a structured conversation between two LLM roles: a Stakeholder (representing human objectives) and a Facilitator. Given a basic task description and the environment's observation space (provided as Python code), they collaborate to produce:
- A small set of interpretable reward features implemented as executable Python functions.
- Speculative minimum and maximum ranges for what values these features might take over a given time horizon.
Stage 2: Learning Weights over Imagined Trajectories
Rather than running a live policy to collect trajectories, EARS constructs "imagined" trajectories by directly sampling feature values uniformly from the ranges defined in Stage 1.
To minimize the number of queries needed, EARS uses active learning to strategically select pairs of imagined trajectories that exhibit the highest uncertainty under the current reward model. A preference labeler (either a ground-truth reward function or an LLM conditioned on natural language objectives) evaluates these pairs. Finally, the system optimizes the feature weights using either cross-entropy loss (for stochastic preferences) or linear programming (for noiseless preferences) to construct the final reward function.
Datasets
The authors evaluated EARS across three long-horizon benchmark environments, testing two distinct ground-truth reward functions ($r_1$ and $r_2$) for each:
- Pandemic Mitigation: Designing COVID-19 lockdown regulations using a modified SEIR simulator.
- Glucose Monitoring: Administering insulin to Type II diabetes patients using an FDA-approved simulator.
- Traffic Control: Controlling an autonomous vehicle fleet on a highway using the FLOW simulator.
Key Insights and Ideas
- The Power of "Imagined" Trajectories: Even though uniformly sampled feature combinations might not be physically possible or realistic within the actual environment, preferences over these abstract pairs provide enough geometric constraint to accurately learn reward weights.
- The "Noisy-TV" Problem in Raw Observations: Bypassing the LLM feature-generation stage and sampling directly from raw observation variables drastically degrades performance. Raw observation spaces contain too many irrelevant, redundant features, which misleads active learning uncertainty metrics.
- Direct Prompting Has a Low Ceiling: Directly prompting an LLM to generate a reward function performs poorly. Surprisingly, providing the LLM with an incredibly detailed, "privileged" description of the target reward math often fails to improve its direct-generation performance over providing no description at all.
Key Results
The primary evaluation metric used is the Trajectory Alignment Coefficient (TAC), which measures the Kendall-Tau correlation between how the learned reward function and the ground-truth reward function rank a set of 500 evaluation trajectories.
- Outperforming Direct Prompting: As shown in Table 2, EARS consistently achieves high TAC scores across almost all settings (e.g., reaching up to $0.96$ in the Pandemic domain), whereas direct prompting baselines frequently yield negative or near-zero correlations.
- Matching Real-Trajectory Baselines: When compared against methods that actually sample real trajectories from the environment (like Offline-RLHF and Learning to Rank Real Trajectories), EARS matches or exceeds their data efficiency while saving 100% of the environment interaction costs.
Limitations and Future Work
- Linearity Assumption: EARS assumes that the final reward function can be represented as a linear combination of the generated features. If a task requires highly non-linear feature interactions, the current formulation may struggle.
- Human Cognitive Load: While the paper successfully uses an LLM as a preference labeler, it remains an open question whether human stakeholders can easily reason about abstract, potentially non-physical "imagined" trajectories during the active learning phase.
- Code Generation Dependency: The success of Stage 1 heavily relies on the LLM's ability to output bug-free, executable Python code for the reward features.
Summary updated