Abstract
A key challenge in reward learning from human input is that desired agent behavior often changes based on context. Traditional methods typically treat each new context as a separate task with its own reward function. For example, if a previously ignored stove becomes too hot to be around, the robot must learn a new reward from scratch, even though the underlying preference for prioritizing safety over efficiency remains unchanged. We observe that context influences not the underlying preference itself, but rather the saliency—or importance—of reward features. For instance, stove heat affects the importance of the robot’s proximity, yet the human’s safety preference stays the same. Existing multi-task and meta IRL methods learn context-dependent representations implicitly—without distinguishing between preferences and feature importance—resulting in substantial data requirements. Instead, we propose explicitly modeling context-invariant preferences separately from context-dependent feature saliency, creating modular reward representations that adapt to new contexts. To achieve this, we introduce calibrated features—representations that capture contextual effects on feature saliency—and present specialized paired comparison queries that isolate saliency from preference for efficient learning. Experiments with simulated users show our method significantly improves sample efficiency, requiring 10x fewer preference queries than baselines to achieve equivalent reward accuracy, with up to 15% better performance in low-data regimes (5–10 queries). An in-person user study (N=12) demonstrates that participants can effectively teach their unique personal contextual preferences using our method, enabling more adaptable and personalized reward learning.
Introduction
A major hurdle in robot reward learning is that "good" behavior is often context-dependent. For example, a robot should keep a wide berth from a stove when it’s hot, but can pass closely when it’s off. Traditional frameworks (like Inverse Reinforcement Learning) often treat these different contexts as entirely separate tasks. This is inefficient because the underlying high-level preference—such as "prioritize safety"—usually remains constant. The authors argue that context doesn't change the preference itself, but rather the saliency (relevance) of specific features.
Methodology: Calibrated Features
The authors propose a two-step approach to decouple context from preference:
- Calibrated Features ($\Phi^c$): Instead of using raw features, the robot learns "calibrated" versions. A calibrated feature takes a base feature (e.g., distance to stove) and the environment state (e.g., stove temperature) as input and outputs a reshaped value. If the stove is off, the calibrated feature might map all distances to a single "safe" value, effectively making the feature irrelevant to the reward function.
- Contextual Feature Queries: To learn these calibrations efficiently, the authors introduce a new type of human input. Instead of asking which trajectory a human prefers, they show two states and ask: "In which context is this specific feature (e.g., laptop distance) better respected?" This isolates the effect of context on a single feature at a time.
- Modular Composition: Because these features are learned individually, they can be "plugged in" to new reward functions for different tasks without retraining the contextual model.
Experimental Evaluation
The researchers evaluated their method using three PyBullet simulation environments (Weighted Block, Cup, and Utensil) and an in-person study with 12 participants. For large-scale benchmarking, they simulated human responses using predefined mathematical functions to represent "true" contextual preferences.
Key Results
- Sample Efficiency: The proposed method requires 10x fewer queries than multi-task baselines to reach the same level of reward accuracy.
- Low-Data Performance: In extremely data-constrained scenarios (5–10 queries), the method outperformed baselines by up to 15%.
- User Study Validation: Real users were able to effectively communicate diverse personal preferences (e.g., varying caution levels with sharp objects) using the contextual query interface.
Discussion and Insights
The core insight is that context modulates feature importance, not the user's fundamental values. By focusing human feedback on this modulation, the learning problem becomes much simpler. Furthermore, the authors found that allowing humans to label two states as "equivalent" is crucial for identifying "dead zones" where context makes a feature completely irrelevant (e.g., distance to a cold stove).
Because calibrated features are modular, a robot that learns how "weight" affects "carrying height" in one task can immediately apply that knowledge to a completely different task involving the same objects, enabling zero-shot reuse.
Limitations and Future Work
Currently, the method relies on semantically meaningful "base features" and requires learning a new calibration for every feature. Future directions include using vision-language models to extract features from raw images and exploring "category-level" calibrations (e.g., a single calibration for all "fragile" objects).
Summary updated