cs.ROOct 13, 2026

Learning Keypoint Constraints from Visual Demonstrations for Safe Motion Planning

Authors: Zheng Qiu, Zhouyu Zhang, Ninghan Zhong, Glen Chou

Abstract

We present Keypoint Constraint Learning (KCL), a framework for learning task-relevant motion constraints from visual demonstrations and for planning safely with the extracted constraints. To make constraint learning tractable from RGB-D observations, we represent demonstrations using sparse 3D object-centric keypoints and semantic mask centroids extracted through segmentation, visual feature clustering, and point tracking. In this reduced geometric space, we learn keypoint dynamics and infer distance- and orientation-based constraints that make the expert trajectories feasible and approximately locally optimal by enforcing KKT optimality conditions in the reduced state space. We then plan with the learned constraints under uncertainty, using robustness margins derived from accumulated prediction error, and provide a theoretical analysis of how keypoint perception error and learned dynamics error affect the recovered constraints. We evaluate KCL on visual demonstrations from navigation to rigid/deformable manipulation, showing that it recovers multi-stage geometric constraints and outperforms baselines in downstream safe planning.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Learning Unknown Constraints without Unsafe Data via Optimality and Counterfactual Regularization

    Oct 7, 2026Zhouyu Zhang, Chih-Yuan Chiu, Glen ChouConstrained RLLearning from Demonstration

  2. KeyGen: Unsupervised Keypoint based Object-Centric Representations for Category-Level Policy Generalization

    Sep 23, 2026Shuxin Cao, Liquan Wang, Masoud Moghani +2Point Cloud LearningGeneralization in Robotic Manipulation

  3. AFFORD2ACT: How Far Can Sparse Keypoints Go for Robot Manipulation?

    Oct 1, 2025Anukriti Singh, Kasra Torshizi, Khuzema Habib +3Robotic ManipulationData-Efficient Robot Learning