POLAR: Preference Optimization and Learning Algorithms for Robotics

Maegan Tucker, Kejun Li, Yisong Yue, Aaron D. AmesarXiv 2022 · DOI

Abstract

Tuning robotic parameters for complex behaviors like exoskeleton gaits or quadrupedal locomotion often relies on manual adjustment, a process frequently described as a "black art." This paper introduces POLAR (Preference Optimization and Learning Algorithms for Robotics), an open-source MATLAB toolbox that formalizes this process by learning directly from subjective human feedback. By unifying diverse preference-based learning (PBL) algorithms, POLAR allows researchers to optimize high-dimensional robotic systems without the need for predefined mathematical reward functions.

Introduction

Achieving "natural" or "smooth" behavior in robotics—particularly in human-centric systems like prosthetics or exoskeletons—is notoriously difficult. Engineers face three primary hurdles: the lack of clear mathematical metrics for subjective qualities like comfort, the extreme scarcity of data due to human fatigue and hardware wear, and the high dimensionality of the parameter search space. Traditional Reinforcement Learning (RL) is often inapplicable because it requires a rigorous reward function. POLAR addresses these challenges by treating the human operator as the reward function, utilizing Preference-Based Learning to guide optimization through simple, subjective queries.

Methodology

The POLAR framework unifies three critical components of human-in-the-loop learning: subjective feedback modeling, probabilistic reward mapping, and efficient sampling strategies.

The POLAR workflow: mapping parameterized robotic behavior to Gaussian Process reward models via human feedback and strategic sampling.

Subjective Feedback Modeling

Unlike traditional systems limited to pairwise comparisons, POLAR supports a "mixed-initiative" approach that incorporates multiple feedback modalities:

  • Pairwise Preferences: Comparing two distinct behaviors (e.g., "I prefer A over B").
  • Coactive Feedback: Incorporating user-directed adjustments (e.g., "make the step longer").
  • Ordinal Labels: Utilizing categorical rankings such as "Good," "Neutral," or "Bad."

Probabilistic Reward Mapping

POLAR employs Gaussian Processes (GP) to model the underlying preference landscape. To maintain computational tractability during real-time interaction, the toolbox uses a Laplace approximation to estimate the Bayesian posterior of the reward function.

Sampling and Dimensionality Reduction

To navigate high-dimensional spaces, POLAR offers two primary sampling strategies:

  • Thompson Sampling: Optimized for regret minimization to find the best parameters as quickly as possible.
  • Information Gain (via ROIAL): Focused on characterizing the entire preference landscape within a specific "Region of Interest."

Dimensionality reduction techniques like LineCoSpar are integrated to restrict search spaces to one-dimensional subspaces (lines) through the current best estimate, significantly accelerating GP updates.

Experimental Evaluation

The toolbox was validated through both synthetic benchmarks and deployments on diverse robotic platforms.

POLAR has been successfully deployed across various high-DOF systems, including exoskeletons, prostheses, and quadrupeds.

Benchmarks and Platforms

  • Synthetic Tests: The Hartmann 3-D and 6-D functions were used to simulate reward landscapes and evaluate the impact of human noise on learning performance.
  • Real-World Systems: Applications included the Atalante Exoskeleton (18 DOF), the AMPRO3 Prosthesis, the AMBER-3M biped, and the Unitree A1 Quadruped (18 DOF).

Key Results and Insights

Experimental results demonstrate that combining multiple feedback types significantly improves sample efficiency, allowing for faster convergence on optimal parameters compared to pairwise preferences alone. The toolbox also effectively models human "noise," acknowledging that users may be less consistent when assigning ordinal labels than when making pairwise comparisons.

In practical applications, such as tuning the Unitree A1 quadruped, POLAR successfully navigated the trade-off between conservative safety bounds (via Control Barrier Functions) and high-performance locomotion. Furthermore, the Region of Interest (ROI) Filtering prevented the robot from exploring dangerous or obviously suboptimal parameter regions, enhancing both safety and efficiency.

Conclusion

POLAR provides a robust, unified framework for preference-based learning in robotics, lowering the barrier to entry for human-in-the-loop optimization. While current limitations include the cubic scaling of Gaussian Processes and the inherent bottleneck of human interaction speed, the toolbox represents a significant step toward making robotic tuning more accessible. Future developments aim to address computational scaling and expand the ecosystem to include Python-based implementations.

Summary updated

BibTeX
@misc{tucker2022polar,
  author = {Maegan Tucker and Kejun Li and Yisong Yue and Aaron D. Ames},
  title = {{POLAR: Preference Optimization and Learning Algorithms for Robotics}},
  year = {2022},
  eprint = {2208.04404},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.04404},
}
Figure