SkillMimic: Learning Basketball Interaction Skills from Demonstrations

Yinhuai Wang, Qihan Zhao, Runyi Yu, Hok Wai Tsui, Ailing Zeng, Jing Lin, Zhengyi Luo, Jiwen Yu, Xiu Li, Qifeng Chen, Jian Zhang, Lei Zhang, Ping Tan · DOI

Introduction

Physically simulated humanoids have made significant strides in basic locomotion tasks like walking and running. However, mastering Human-Object Interaction (HOI)—such as the complex, dynamic maneuvers required for basketball—remains a formidable challenge. Traditional Reinforcement Learning (RL) approaches for HOI typically rely on labor-intensive, handcrafted reward functions that are skill-specific and difficult to generalize.

SkillMimic introduces a unified, data-driven framework that allows agents to learn a wide array of basketball skills directly from human demonstrations. By moving away from manual reward engineering, SkillMimic enables humanoids to perform intricate tasks like dribbling, shooting, and layups with high physical fidelity.

The SkillMimic pipeline: from real-world human demonstrations to physically simulated skills.

Methodology: Hierarchical Control and Contact Modeling

The SkillMimic architecture is built on a hierarchical control scheme designed to separate the "how" of a movement from the "what" of a task.

Hierarchical Architecture

The system consists of two primary layers:

  1. Interaction Skill (IS) Policy: This low-level policy is responsible for the execution of specific movements. It processes the current state and a skill label to predict the joint torques necessary to mimic the reference motion.
  2. High-Level Controller (HLC): This layer manages task-level objectives. It reuses the pre-trained IS skills to achieve long-horizon goals, such as navigating the court to score a basket.
The hierarchical control architecture of SkillMimic, featuring the High-Level Controller (HLC) and the Interaction Skill (IS) Policy.

Technical Innovations

SkillMimic addresses the limitations of purely kinematic imitation through two key innovations:

  • The Contact Graph (CG): Standard imitation methods often focus on joint positions, which can lead to "kinematic local optima" where an agent looks correct but fails to physically interact with the object. The Contact Graph represents the interaction as a graph where nodes are body parts and the object, and edges represent contact states. By rewarding the agent for matching the demonstration's contact patterns, SkillMimic ensures the physics of the interaction are accurately captured.
  • Multiplicative Reward Functions: Instead of summing various sub-rewards (e.g., body posture, ball trajectory, and contact), SkillMimic multiplies them. This "all-or-nothing" approach prevents the agent from finding degenerate solutions where it maximizes an easy reward (like posture) while ignoring the harder task of ball manipulation.

Datasets and Evaluation

To train and validate the system, the researchers developed two basketball-specific datasets:

  • BallPlay-V: Contains 8 basic skills estimated from RGB video footage.
  • BallPlay-M: A high-fidelity dataset featuring 35 minutes of optical motion capture data, providing a comprehensive range of basketball interactions.

The framework was also tested on the GRAB dataset for whole-body grasping to demonstrate its versatility beyond sports.

Key Results and Insights

SkillMimic significantly outperformed existing state-of-the-art locomotion and imitation methods. In the "Pick Up" task, SkillMimic achieved an 86.7% success rate, vastly superior to the 19.6% achieved by DeepMimic and the 0% by AMP. On the GRAB dataset, the system maintained high spatial precision with a Mean Per-Joint Position Error (MPJPE) for the ball of only 78.0mm.

Beyond individual skills, the High-Level Controller demonstrated the ability to chain movements for "Consecutive Scoring." In this scenario, the agent successfully dribbled to random positions, performed layups, and retrieved rebounds in a continuous cycle.

A major insight from the study is that explicit contact modeling is essential for HOI. Without the Contact Graph, agents often developed "glitchy" behaviors, such as balancing the ball on their heads to satisfy kinematic rewards. Furthermore, the researchers found that the framework is highly scalable; as the volume of demonstration data increases, the agent's ability to generalize to unseen starting positions improves significantly.

Conclusion and Future Work

SkillMimic represents a significant step toward general-purpose HOI for physically simulated characters. By utilizing a unified imitation reward and explicit contact modeling, it eliminates the need for manual reward tuning across different skills.

Future research will look to expand the system's capabilities to handle a wider variety of object geometries and multi-agent interactions. Additionally, bridging the "sim-to-real" gap remains a critical goal for deploying these dynamic, contact-heavy skills on physical humanoid robots.

Summary updated

BibTeX
@inproceedings{wang2025skillmimic,
  author = {Yinhuai Wang and Qihan Zhao and Runyi Yu and Hok Wai Tsui and Ailing Zeng and Jing Lin and Zhengyi Luo and Jiwen Yu and Xiu Li and Qifeng Chen and Jian Zhang and Lei Zhang and Ping Tan},
  title = {{SkillMimic: Learning Basketball Interaction Skills from Demonstrations}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.01634},
}
Figure