Synthesizing Physical Character-Scene Interactions

Mohamed Hassan, Yunrong Guo, Tingwu Wang, Michael J. Black, Sanja Fidler, Xue Bin Peng

Abstract

Generating realistic interactions between physically simulated characters and their environments remains a significant challenge in computer graphics. This paper presents a framework that enables characters to perform complex tasks—such as sitting, lying down, or carrying objects—with high fidelity and robustness. By conditioning an adversarial imitation learning system on scene context, the model generalizes from limited motion capture data to interact with a vast array of unseen objects. The resulting system achieves success rates exceeding 90% across various tasks while maintaining physical plausibility and resilience to external perturbations.

Introduction

Creating lifelike animations of characters interacting with their surroundings is often considered a "holy grail" of computer graphics. Historically, researchers have relied on two primary paradigms: kinematic methods and physics-based simulation. Kinematic methods, which utilize motion capture (MoCap) data, produce visually impressive results but are inherently brittle; they struggle to adapt when environmental parameters, such as the height of a chair, are altered. Conversely, physics-based methods using reinforcement learning (RL) offer robustness but are notoriously difficult to tune. Without meticulously crafted reward functions, RL agents often exhibit "robotic" or unnatural movement patterns.

Furthermore, many existing frameworks require extensive manual data annotation to define the phases of an interaction. This paper introduces a scene-conditioned framework that bridges the gap between the realism of MoCap and the flexibility of physics simulation, requiring no manual labeling of motion data.

Methodology

Scene-Conditioned Adversarial Learning

The proposed framework builds upon Adversarial Motion Priors (AMP). In a standard AMP architecture, a discriminator network is trained to distinguish between reference human motion and the movements generated by a simulated character. The character’s policy is then trained to complete a specific task while simultaneously attempting to "fool" the discriminator into perceiving its motion as authentic.

The core innovation of this work is the introduction of Scene-Conditioned Adversarial Learning. Recognizing that motions like sitting are only meaningful in the context of an object, the authors modified both the policy and the discriminator to be context-aware. The networks receive input regarding the object’s features, including its position, orientation, and bounding box dimensions. This allows the system to learn the specific relationship between the character's body and the environment's geometry.

Generalization via Domain Randomization

To prevent the model from simply memorizing specific object geometries, the researchers employed domain randomization during the training phase. By randomly varying the placement, size, and physical properties of objects, the RL agent is forced to learn the underlying mechanics of an interaction—such as identifying a support surface—rather than a fixed sequence of joint rotations. This approach enables the character to generalize its learned behaviors to hundreds of previously unseen 3D models.

Experimental Setup and Datasets

The framework was evaluated using a combination of established and custom datasets:

  • SAMP Dataset: Approximately 100 minutes of MoCap data were used to train sitting and lying down behaviors.
  • Custom Carry Dataset: A minimal set of 15 MoCap clips, totaling roughly five minutes, showing a person carrying a single box.
  • ShapeNet: To test the limits of generalization, the authors utilized approximately 350 unique 3D models from ShapeNet, including various stools, armchairs, sofas, and beds.

Results

Performance and Success Rates

The framework demonstrated high efficacy across three primary interaction tasks. The system achieved success rates of 90.4% for sitting, 90.2% for lying down, and 94.3% for carrying when tested against a wide variety of unseen objects. Notably, the model learned to carry boxes of diverse weights and sizes despite being trained on data from a single box type.

Realism and Robustness

Compared to prior state-of-the-art methods like the Neural State Machine (NSM), this approach significantly reduced common artifacts such as object penetration and "foot skating." Because the character operates within a rigid-body physics simulation, the physics engine acts as a natural regularizer, enforcing constraints that purely kinematic models often violate.

The system also exhibited remarkable physical resilience. In stress tests where characters were struck by 1.2kg projectiles while attempting to sit, the agents were able to recover their balance and successfully complete the interaction, a feat difficult to achieve with non-physics-based methods.

Discussion and Future Work

While the framework represents a major advancement in character-scene interaction, several limitations remain. Currently, the system utilizes single-task policies; a separate "brain" must be trained for each specific interaction. Developing a unified, multi-task policy remains a key challenge for future research.

Additionally, the character's perception is currently simplified to direct coordinate data. Future iterations could incorporate "virtual eyes" or vision-based sensing to allow characters to navigate and interact within more complex, cluttered environments. Finally, while the current work focuses on single-object interactions, scaling the framework to handle complex, multi-object scenes is the next logical step in the evolution of autonomous digital characters.

Conclusion

By integrating scene context into adversarial imitation learning, this framework provides a robust solution for synthesizing realistic character-scene interactions. The ability to generalize from sparse data to a wide variety of environmental geometries marks a significant step toward creating truly autonomous and lifelike virtual agents.

Summary updated

BibTeX
@inproceedings{hassan2023synthesizing,
  author = {Mohamed Hassan and Yunrong Guo and Tingwu Wang and Michael J. Black and Sanja Fidler and Xue Bin Peng},
  title = {{Synthesizing Physical Character-Scene Interactions}},
  booktitle = {SIGGRAPH (Conference Paper Track)},
  year = {2023},
  url = {https://openreview.net/forum?id=Dv1hhRUjhg},
}
Figure