TL;DR
This paper introduces a novel method for simulating realistic competitive interactions between multiple avatars by capturing their motions individually and then using a "temporal expansion approach" to plan their strategies. This approach allows for the application of game AI techniques like min-max search to generate dynamic and intelligent opponent behaviors, overcoming the challenges of manual animation and multi-person motion capture.
What Problem Does This Paper Address?
Creating convincing scenes of multiple characters engaged in competitive interactions, such as fighting or sports, is a significant challenge in computer graphics. Manually animating these scenes is incredibly time-consuming because the movements of each character are highly correlated with others. For instance, adjusting a punch requires also adjusting how the opponent reacts to being hit. Capturing the motions of multiple people interacting simultaneously is also problematic due to occlusions, the intrusiveness of motion capture equipment, and how the act of being captured can alter natural performance. This paper aims to solve this by enabling the simulation of dense, competitive interactions using motions captured from individual avatars.
Methods
The core of the proposed method is the temporal expansion approach. This technique transforms continuous-time action planning into a discrete space, enabling the use of established game AI algorithms like min-max search and alpha-beta pruning.
Here's a breakdown of the key steps:
- Individual Motion Capture: Avatars' motions are captured separately, simplifying data acquisition.
- Motion Segmentation and Classification: Captured motions are segmented into semantic actions (e.g., "straight punch," "block," "step") and classified.
- Action-Level Motion Graph: A motion graph is constructed at the action level, rather than the frame level, representing transitions between these semantic actions. This aligns with how humans think about combat.
- Objective Function: A comprehensive objective function is defined to evaluate actions based on three criteria:
- Location Function: Considers the avatar's relative position and orientation to the opponent, as well as adherence to a user-defined path.
- Scoring Function: Evaluates the immediate gain and loss from an action, weighted by damage dealt and received.
- Control Function: Incorporates qualitative aspects like action duration and usage frequency.
- Temporal Expansion: The game tree is expanded to simulate future interactions. The depth of this expansion determines the avatar's "intelligence" level.
- Min-Max Selection: Once the game tree is expanded, the min-max algorithm is used to select the optimal action for each avatar, aiming to maximize its chances of winning.
- Offense/Defense Table: A table is used to explicitly pair offensive and defensive motions, allowing for more nuanced tactical responses than what might be derived solely from the objective function.
- Pruning Non-Plausible Choices: To optimize computation and avoid unnatural animations, invalid action combinations (e.g., attacking out of range, defending when not attacked, bodies penetrating) are pruned from the game tree.
- Physical Interactions: Repulsive forces are applied during collisions, and bodies are modeled using simplified shapes (spheres, cylinders) for efficient collision detection. Reactive motions are blended with captured data.
Datasets
The paper describes using optical motion capture data of a kickboxer performing shadow boxing. Specific details on the datasets used for training and evaluation are:
- Motions captured from one actor at a time.
- Frame rate: 60 postures per second.
- Captured motions:
- Energetic kick boxer: 7 minutes.
- Tired boxer: 7 minutes.
- Running-around motion: 1.5 minutes.
- Automatically segmented actions: 279, 240, and 215 actions, respectively.
- Avatar model: 6 degrees of freedom for root translation/orientation, 72 degrees of freedom for joint orientation.
The paper does not introduce new benchmark datasets but uses existing motion capture data to demonstrate its method.
Key Insights and Ideas
- Decoupling Capture and Simulation: The core idea of capturing motions individually and then simulating interactions using AI is a significant simplification over traditional methods. This makes acquiring data much more feasible.
- Action-Level Motion Graphs: Moving from frame-level to action-level graphs for planning is a more intuitive and human-like approach to simulating complex behaviors.
- Temporal Expansion for Intelligence: The temporal expansion approach effectively translates game AI concepts into character animation, allowing for varying levels of "intelligence" by adjusting the game tree depth. This is a powerful way to control character behavior.
- Unified Objective Function: The combination of location, scoring, and control functions provides a flexible framework for defining diverse competitive behaviors and styles (e.g., infighter vs. outboxer).
- Pruning for Efficiency and Realism: Identifying and pruning non-plausible action combinations is crucial for both computational efficiency and generating believable animations.
Key Results
The paper demonstrates the effectiveness of its method through several simulated scenarios:
- Intelligent vs. Less Intelligent Fighters: A "smart" fighter (deeper game tree expansion) consistently defeats a "less intelligent" one.
- Energetic vs. Tired Fighter: When intelligence levels are equal, the energetic fighter wins. However, a tired fighter can win if it expands the game tree much deeper.
- Simulating Fighting Styles: The method successfully simulates distinct fighting styles like infighting (close-range, aggressive) and outboxing (long-range, evasive) by adjusting the objective function parameters (preferred distance, scoring weights).
- Path Following: Avatars can be made to fight while simultaneously following predefined paths, with the location function guiding them to waypoints.
- Chasing Scenarios: The system can simulate chasing behaviors, where the chaser's objective is to catch the opponent, and the opponent's is to escape.
- Cooperative Chasing: In a three-avatar scenario, the two chasers cooperate to catch the fleeing avatar, demonstrating the system's ability to handle multi-agent coordination.
- Computational Efficiency: For a 30-second video with a three-level game tree expansion, the system takes approximately 5 minutes on a Pentium 4 Dual core (3GHz) with 1GB RAM. The pruning policies can reduce computational cost by half.
Limitations and Future Work
Limitations:
- Expert-Defined Pruning Rules: The rules for pruning non-plausible action combinations currently require expert knowledge of the interaction domain.
- Continuous Contact: The system cannot currently handle continuous physical contacts like those found in wrestling. However, the authors note this is less critical for many martial arts and sports.
Future Work:
- Collaborative Activities: Extending the method to simulate collaborative tasks, such as two robots carrying luggage together.
- Probabilistic Control: Investigating a probabilistic approach to action selection, rather than a purely deterministic min-max strategy.
- Mass Crowd Simulation: Developing strategies for efficiently simulating large crowds by breaking them into interacting groups.
- Robotics Applications: Applying the methodology to control robots for collaborative tasks.
Summary updated