The Wanderings of Odysseus in 3D Scenes

Yan Zhang, Siyu Tang

TL;DR

GAMMA (GenerAtive Motion primitive via body surface MArkers) is a framework for populating 3D scenes with realistic, controllable, and perpetual digital humans. By navigating the latent space of a generative model with a reinforcement learning policy, it allows diverse 3D bodies to "wander" through complex environments toward specific goals while maintaining high physical plausibility.

What Problem Does This Paper Address?

Populating digital worlds—whether for games, VR, or architectural simulations—requires virtual humans that move naturally and interact correctly with their surroundings. Current methods face a "trilemma": they struggle to generate infinitely long motion, fail to scale across diverse body shapes (often relying on simple skeletons), and frequently produce artifacts like jittering or "foot-skating" (where feet slide across the floor).

Existing data-driven models often produce only a few seconds of motion before breaking down. Meanwhile, traditional animation techniques like motion matching don't scale well to massive populations with varied behaviors. The authors of "The Wanderings of Odysseus in 3D Scenes" aim to bridge this gap with a scalable, automatic solution for perpetual, goal-directed motion.

Methods

The core of the proposed solution is GAMMA. Its approach rests on three pillars:

  1. Motion Primitives: Instead of modeling long sequences directly, GAMMA decomposes motion into short "primitives" of ~0.25 seconds. This duration is inspired by human reaction times; these short bursts are more deterministic and easier for a neural network to model accurately.
  2. Marker-Based Representation: Rather than using a joint-based skeleton, GAMMA uses 67 surface markers. This captures detailed body shape information and provides better constraints for the model, ensuring that characters with different physiques (e.g., thin vs. heavy) move realistically.
  3. Recursive Generation & Control:
  4. A Conditional Variational Autoencoder (CVAE) learns to predict the next motion primitive based on a short "seed" from the previous one.
  5. To make the motion goal-directed, the authors train a Policy Network using Reinforcement Learning (PPO). Instead of conditioning the model on a goal directly, the policy learns to pick the optimal "latent variables" within the CVAE to steer the character.
  6. A Tree-based Search is used during inference to sample multiple possible next steps and keep only the ones with the best physical plausibility (e.g., best foot-ground contact).
Figure 2. GAMMA architectures. The first two diagrams illustrate the marker predictor and the body regressor, respectively. The bot- tom two show their combinations. Random motion can be synthe- sized via sampling z from the standard normal distribution, and goal-driven motion can be synthesized via sampling z from the policy output. The red arrows denote the sampling operation, and the dash curves denote implementing motion primitive models re- cursively. See respective sections for detailed demonstrations.

Datasets

The models were trained and evaluated using several large-scale motion capture datasets:

  • AMASS: The primary source for training the marker predictors, including sub-datasets like CMU, MPI HDM05, BMLmovi, KIT, and Eyes Japan.
  • Additional Training Data: For the body regressor, the authors also utilized BMLrub, Transitions, and TotalCapture.
  • Evaluation Benchmarks: Performance was tested on motion primitives from HumanEva and ACCAD.

Key Insights and Ideas

  • The "Unconscious" Primitive: By focusing on 0.25s intervals, the model captures "unconscious body dynamics" which are less affected by high-level cognitive uncertainty, making them more stable to learn.
  • Steering via Latent Space: A major "aha" moment is using RL to navigate the generative model's latent space. This avoids the common problem where conditioning a model directly on a goal leads to "out-of-distribution" errors when the goal is unusual or far away.
  • Markers > Joints: Surface markers provide a much richer signal for diverse body shapes than skeletons, significantly reducing artifacts like body deformation or unrealistic poses for different body types.
  • Search as a Safety Net: Even the best probabilistic models occasionally produce "bad" samples (like floating feet). A simple tree search at test time acts as a robust filter to maintain high quality over long durations.

Key Results

GAMMA demonstrates significant improvements over state-of-the-art methods like HuMoR:

  • Superior Realism: In user studies, GAMMA's goal-driven motions received higher perceptual scores (4.61/6.0) compared to HuMoR (4.45/6.0).
  • Better Physical Plausibility: GAMMA consistently outperformed baselines in "contact scores," indicating much more realistic foot-ground interactions and less "skating."
  • Scalability and Speed: The system is highly efficient, capable of driving 256 SMPL-X bodies simultaneously in real-time on a single NVIDIA GPU.
  • Goal Success: The policy-based control achieved a near 100% success rate in reaching goals, far exceeding standard goal-conditioned generative baselines.
Perceptual study results showing GAMMA (ours-ro-policy) outperforming the state-of-the-art HuMoR model.

Limitations and Future Work

While GAMMA is a leap forward, the authors note several areas for improvement:

  • Physical Constraints: The model is purely data-driven and doesn't explicitly model physics (like gravity or torque). This can occasionally lead to unnatural tilting.
  • Motion Variety: While realistic, the generated motions still have a gap compared to real high-quality mocap sequences.
  • Complex Interactions: Currently, the model focuses on "wandering" (walking/running). Future work aims to include more complex body-scene interactions like sitting on chairs or climbing stairs.
  • Efficiency of Goal Reaching: The policy-driven motion can sometimes take longer to reach a nearby goal than a human would, as it prioritizes motion realism over pure speed.

Summary updated

BibTeX
@misc{zhang2021wanderings,
  author = {Yan Zhang and Siyu Tang},
  title = {{The Wanderings of Odysseus in 3D Scenes}},
  year = {2021},
  eprint = {2112.09251},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.09251},
}
Figure