Positive-Unlabeled Constraint Learning for Inferring Nonlinear Continuous Constraints Functions from Expert Demonstrations
Baiyu Peng, Aude Billard
TL;DR
The paper addresses inferring unknown nonlinear continuous constraints from expert demonstrations by formulating constraint learning as a two-step Positive-Unlabeled problem (PUCL). It alternates policy updates with constraint inference, first identifying reliable infeasible data via a distance-based score and then training a constraint classifier from feasible demonstrations and reliable infeasible data. The method yields flexible constraint boundaries without requiring explicit parameterization or environmental models and outperforms baselines in multiple constrained settings, enhancing policy safety. It also accommodates two policy representations (constrained RL and DSM) and demonstrates transfer to variant tasks, suggesting practical impact for robotics applications with implicit user preferences.
Abstract
Planning for diverse real-world robotic tasks necessitates to know and write all constraints. However, instances exist where these constraints are either unknown or challenging to specify accurately. A possible solution is to infer the unknown constraints from expert demonstration. This paper presents a novel two-step Positive-Unlabeled Constraint Learning (PUCL) algorithm to infer a continuous constraint function from demonstrations, without requiring prior knowledge of the true constraint parameterization or environmental model as existing works. We treat all data in demonstrations as positive (feasible) data, and learn a control policy to generate potentially infeasible trajectories, which serve as unlabeled data. The proposed two-step learning framework first identifies reliable infeasible data using a distance metric, and secondly learns a binary feasibility classifier (i.e., constraint function) from the feasible demonstrations and reliable infeasible data. The proposed method is flexible to learn complex-shaped constraint boundary and will not mistakenly classify demonstrations as infeasible as previous methods. The effectiveness of the proposed method is verified in four constrained environments, using a networked policy or a dynamical system policy. It successfully infers the continuous nonlinear constraints and outperforms other baseline methods in terms of constraint accuracy and policy safety. This work has been published in IEEE Robotics and Automation Letters (RA-L). Please refer to the final version at https://doi.org/10.1109/LRA.2024.3522756
