TL;DR
This paper introduces ReCouPLe, a novel framework for preference-based reinforcement learning that tackles the problem of "causal confusion" by leveraging natural language rationales. By treating these rationales as projection axes, ReCouPLe disentangles causal features from spurious correlations, leading to more robust and generalizable reward models that can transfer knowledge across tasks without additional training.
What Problem Does This Paper Address?
Preference-based reinforcement learning (PbRL) is a powerful paradigm for learning reward functions by having humans compare pairs of agent trajectories. However, this approach suffers from a critical vulnerability: causal confusion. When training data contains spurious correlations between certain features and preferred trajectories (e.g., a specific color always appearing with the desired object), the learned reward model can latch onto these irrelevant features. This leads to brittle performance, as the model fails when these correlations change or disappear in new environments or tasks. The core problem is that sparse binary feedback alone doesn't provide enough information to distinguish true causal factors from mere co-occurrences.
Methods
ReCouPLe introduces a lightweight framework that augments pairwise trajectory comparisons with natural language rationales (e.g., "I prefer this trajectory because it avoids collisions"). The key innovation lies in how these rationales are used:
- Rationale as a Projection Axis: The framework treats the embedding of the rationale as a directional guide in a shared trajectory-language representation space.
- Orthogonal Decomposition: The trajectory's representation is decomposed into two components: a "reason-aligned" part that captures features directly related to the rationale, and a "reason-orthogonal" part that captures other task-relevant information.
- Regularization Losses: Specific loss functions are introduced to encourage the reward to be primarily driven by the reason-aligned component, while regularizing the orthogonal component. This includes:
- Reason BT loss: A standard Bradley-Terry loss applied only to the reason-aligned reward component.
- Orthogonal Consistency Loss: This loss aims to ensure that the reason-orthogonal component does not contribute to preference decisions. Two variants are proposed: an equality constraint (ReCouPLe-EC) where the orthogonal components of compared trajectories are forced to be identical, and an inequality constraint (ReCouPLe-IC) that encourages the reason-aligned component to dominate the orthogonal one.
- Frozen Language Encoder: The language encoder is kept frozen, allowing for semantic consistency and enabling the reuse of learned rationale directions across different tasks.
Datasets
The paper evaluates ReCouPLe on two main suites:
- ManiSkill Task Suite: A custom benchmark designed to specifically probe causal robustness. It features visuomotor tasks with object manipulation where visual cues (like color) are deliberately confounded with object size. The tasks include MS-Pick-Larger, MS-Push-Larger, MS-Place-Larger, and MS-Pull-Larger. The key manipulation is swapping colors between tasks to create an out-of-distribution (OOD) setting that exposes spurious correlations.
- Meta-World Task Suite: A widely used benchmark for evaluating multi-task and meta-reinforcement learning. The paper uses a subset of three training tasks (Pick-Place, Pick-Place-Wall, Push-Wall) to test zero-shot transfer to a novel, unseen task (Push).
Key Insights and Ideas
- Rationales as Causal Anchors: Natural language rationales are not just extra information; they act as crucial "anchors" that guide the reward model to focus on the true causal factors behind a preference, rather than superficial correlations.
- Orthogonalization for Robustness: The core idea of projecting trajectory representations into reason-aligned and reason-orthogonal components is a powerful way to disentangle causal signals from noise. This explicit separation is key to achieving robustness.
- Cross-Task Transfer via Shared Semantics: By keeping the language encoder frozen, ReCouPLe can leverage the fact that similar rationales (e.g., "avoids collisions") can appear across different tasks. This allows the learned causal directions to transfer, enabling zero-shot generalization to new tasks.
- ReCouPLe-EC vs. ReCouPLe-IC: The choice between equality and inequality constraints for orthogonal consistency depends on the dataset's nature. For datasets with very similar trajectories except for the causal feature (like ManiSkill), the strict equality constraint (EC) works well. For noisier, more diverse datasets (like Meta-World), the inequality constraint (IC) is more flexible and effective.
Key Results
- ManiSkill (RQ1 - Causal Robustness): ReCouPLe significantly outperforms baselines (BT-Multi, RFP) in preference prediction accuracy on the color-swapped, out-of-distribution (OOD) setting. For example, in the 2-task setting, ReCouPLe-EC achieves accuracies around 0.733-1.000 on OOD tasks, compared to as low as 0.167 for BT-Multi. This demonstrates its robustness against spurious correlations.
- Meta-World (RQ2 - Task Transfer): ReCouPLe shows strong zero-shot transfer capabilities. On the novel Push task, ReCouPLe-IC achieves the highest accuracy (78.9%), significantly outperforming BT-Multi (32.8%) and RFP (69.5%). This highlights its ability to generalize learned reward structures to unseen tasks.
- Robustness to Hyperparameters: The method is shown to be robust to the choice of the ratio hyperparameter (α), with values in [0.2, 0.4] being sufficient to prevent embedding collapse without significantly impacting results.
Limitations and Future Work
- Limitations:
- The paper notes that the strict equality constraint (ReCouPLe-EC) might be too penalizing for real-world, noisy datasets with diverse reasons, suggesting ReCouPLe-IC is often more suitable in such scenarios.
- The current work focuses on reward inference.
- Future Work:
- End-to-End Policy Training: Closing the loop by training policies directly with ReCouPLe's learned reward model.
- Dialog-Style Rationales: Extending the framework to handle more nuanced, conversational rationales.
- Active Querying: Developing strategies to selectively query for rationales only when causal uncertainty is high, improving data efficiency and human alignment.
Summary updated