STRAPPER: Preference-based Reinforcement Learning via Self-training Augmentation and Peer Regularization

Yachen Kang, Li He, Jinxin Liu, Zifeng Zhuang, Donglin WangarXiv 2023 · DOI

Abstract

Preference-based Reinforcement Learning (PbRL) enables agents to learn complex behaviors from human feedback rather than hand-crafted reward functions. However, the high cost of human labels often necessitates semi-supervised learning (SSL) to leverage unlabeled trajectory segments. We identify a fundamental challenge in applying standard SSL to PbRL: the "Similarity Trap," where nearly identical trajectories require opposite preference labels due to critical, fine-grained differences. Standard consistency-based SSL "smooths" these differences, leading to unconfident reward models. We propose STRAPPER (Self-training Augmented Preference-based learning via Peer Regularization), which employs a teacher-student self-training loop combined with Peer Regularization. Our experiments on DeepMind Control and Meta-world benchmarks demonstrate that STRAPPER significantly outperforms existing state-of-the-art methods, particularly in precision-demanding robotic manipulation tasks.

Introduction

Designing reward functions for reinforcement learning (RL) is notoriously difficult, often leading to unintended agent behaviors. Preference-based RL (PbRL) offers a solution by allowing humans to provide binary preferences between pairs of trajectory segments. While elegant, the human-in-the-loop requirement creates a significant bottleneck. Semi-supervised learning (SSL) is a natural candidate to improve sample efficiency by utilizing the vast amount of unlabeled data generated during agent interaction. However, standard SSL techniques often fail in this context due to a phenomenon we call the "Similarity Trap."

The Similarity Trap

The core issue lies in the sensitivity of human preferences. In many tasks, a minute change in behavior can lead to a drastic change in perceived quality. For instance, in autonomous driving, two trajectories might be identical except for a single moment where one car fails to brake for a pedestrian. While the trajectories are numerically similar, a human would rate one as successful and the other as catastrophic.

Illustration of the Similarity Trap: small behavioral changes like hitting a pedestrian can flip preferences for otherwise similar trajectories.

Standard SSL methods, such as consistency regularization, assume that similar inputs should have similar labels. When applied to PbRL, these methods attempt to "smooth" the reward landscape, causing the model to become unconfident (predicting a neutral 0.5/0.5 preference) for these critical edge cases. This "Similarity Trap" prevents the agent from learning the fine-grained distinctions necessary for success in complex environments like robotic manipulation.

The STRAPPER Framework

To address this, we introduce STRAPPER (Self-training Augmented Preference-based learning via Peer Regularization). The framework utilizes an iterative self-training process where a teacher model, trained on limited human feedback, provides pseudo-labels for a larger set of unlabeled segments. A student model is then trained on the combined dataset.

Overview of the STRAPPER framework, featuring an iterative teacher-student loop with Peer Regularization.

The "secret sauce" is Peer Regularization. Inspired by noise-robust loss functions, Peer Regularization adds a penalty when the model predicts the same preference label for two independently sampled, unrelated trajectory pairs. Since random pairs are unlikely to share meaningful information, penalizing the model for giving them the same "uninformative" neutral label forces it to make more polarized, confident predictions. This mathematical nudge helps the student model distinguish between "almost perfect" and "perfect" behaviors, effectively escaping the Similarity Trap.

Experimental Evaluation

We evaluated STRAPPER on the DeepMind Control Suite (locomotion) and Meta-world (robotic manipulation) benchmarks. In locomotion tasks like Walker-walk, where small deviations are less likely to be fatal, STRAPPER performs competitively with existing methods. However, in manipulation tasks like Drawer Open or Button Press, STRAPPER shows a significant advantage. In these environments, missing a handle by a centimeter is the difference between success and total failure, making the Similarity Trap a major hurdle for standard SSL methods like SURF.

Furthermore, STRAPPER demonstrates remarkable robustness to noisy human feedback. When tested against simulated "non-expert" annotators, STRAPPER maintained high performance while baseline algorithms like PEBBLE saw significant degradation. By effectively "recycling" unlabeled experience, STRAPPER achieves superior sample efficiency.

Conclusion and Future Work

STRAPPER provides a robust solution to the Similarity Trap in PbRL. By combining self-training with Peer Regularization, it enables reward models to learn from unlabeled data without sacrificing the confidence needed to distinguish critical behavioral differences. While current experiments rely on simulated preferences, future work will explore STRAPPER's performance with real human psychology and its application to offline PbRL settings.

Summary updated

BibTeX
@misc{kang2023strapper,
  author = {Yachen Kang and Li He and Jinxin Liu and Zifeng Zhuang and Donglin Wang},
  title = {{STRAPPER: Preference-based Reinforcement Learning via Self-training Augmentation and Peer Regularization}},
  year = {2023},
  eprint = {2307.09692},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.09692},
}
Figure