NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Path Generation and Evaluation in Video Games: A Nonparametric Statistical Approach

Daniel Campa, Mehdi Saeedi, Ian Colbert, Srinjoy Das

TL;DR

This paper introduces a novel statistical framework for generating and evaluating realistic navigation paths in video games. By combining nonparametric time-series transformations with copulas, it offers a flexible and interpretable alternative to complex deep learning models, allowing for controlled generation of diverse and human-like player movements.

What Problem Does This Paper Address?

Generating realistic navigation paths for non-player characters (NPCs) is crucial for enhancing player engagement and creating believable game worlds. While deep learning methods have shown promise, the video game industry is hesitant to adopt them due to their demanding training requirements, high retraining costs, and lack of interpretability. Existing statistical methods often rely on strong parametric assumptions that may not hold for complex, real-world game data. Furthermore, evaluating the quality of generated paths—specifically, whether they are too similar (overfitting) or too different (underfitting) from real player data—is challenging. This paper addresses the need for a statistically sound, interpretable, and flexible approach to both generate and validate synthetic navigation paths that can capture nuanced player behaviors without the drawbacks of deep learning.

Methods

The proposed approach has two main components:

  • Path Generation (MF-Copula):
    • Model-Free (MF) Transformation: This technique is applied independently to each dimension (e.g., x, y, z coordinates) of the path data. It uses kernel density estimation to capture the time-varying, non-stationary characteristics of each dimension without assuming a specific underlying distribution. This results in IID standard normal residuals for each dimension.
  • Copula Modeling: A Gaussian copula is then used to model the spatial correlations between these residuals across different dimensions. Copulas are statistical tools that allow for the flexible modeling of dependencies between variables, even when their marginal distributions are complex. This step captures how different spatial coordinates (x, y, z) relate to each other over time.
  • Diversity Control: Two mechanisms are introduced to control the diversity of generated paths:
  • Correlation Matrix Manipulation: The correlation structure of the MF residuals can be explicitly modified using Cholesky decomposition to create synthetic paths with different inter-dimensional dependencies.
  • Scaling Parameter (λ): A scaling factor allows for controlling the variance of the generated paths, enabling them to be more or less spread out compared to the original data.
  • Path Evaluation (Nonparametric Three-Sample Hypothesis Test):
    • The authors adapt a nonparametric three-sample hypothesis test, originally proposed for general data evaluation, to assess the quality of generated paths. This test compares the proximity of synthetic samples (Q) to both the original training data (T) and a separate held-out test set (Pn).
  • The test statistic helps determine if the synthetic paths are "overfitting" (too close to the training data) or "underfitting" (too far from the training data).
  • To handle time-series data, the method embeds subsequences of the paths into a higher-dimensional space, allowing the test to capture local temporal dependencies. This approach is more interpretable and less reliant on distributional assumptions than traditional methods.

Datasets

The paper evaluates its approach on two gaming datasets:

  • AMD Schola's Tag Example: This dataset consists of navigation paths from a game scenario where three "Chaser" agents pursue a "Runner" agent. All agents are controlled by a single, pre-trained Reinforcement Learning (RL) neural network.
  • Navigation Turing Test (NTT) Dataset: This dataset, previously introduced in [8], contains 3D path data from human players and two types of artificial agents (symbolic and hybrid) within a representative AAA video game environment.

Key Insights and Ideas

  • Bridging Statistics and Game AI: The paper successfully demonstrates how principled nonparametric statistical methods can offer a viable and interpretable alternative to complex deep learning models for game path generation.
  • Controlled Diversity: The MF-Copula framework provides explicit control over path generation through parameters like bandwidth (b), target correlation matrices, and a scaling factor (λ). This allows designers to tune the "human-likeness" or variability of generated paths.
  • Interpretable Evaluation: The adapted three-sample hypothesis test offers a statistically rigorous way to diagnose overfitting or underfitting in generated paths, providing actionable feedback for the generation process.
  • Handling Non-Stationarity: The model-free transformation effectively handles non-stationary time-series data, a common characteristic of navigation paths, without requiring strong assumptions about the data's underlying structure.
  • Agent-Specific Modeling: The approach's ability to model paths agent-by-agent (as shown in the Schola example) allows for capturing unique behavioral characteristics of different entities within a game.

Key Results

  • The MF-Copula method successfully generates synthetic paths that are visually plausible and exhibit varying degrees of similarity to the original data, as confirmed by the three-sample hypothesis test.
  • By adjusting parameters (b and λ), the authors show a clear transition from overfitting (negative $C_T$ values) to near-optimal fit and underfitting (positive $C_T$ values) in both the Schola and NTT datasets.
  • The evaluation results (Table I and II) indicate that the method can produce synthetic paths that are either very close to the original data or exhibit controlled deviations, demonstrating its flexibility.
  • When comparing generated human-like paths against artificial agent paths from the NTT dataset (Table III), the method shows it can produce paths that are either closer to human behavior or exhibit greater variability, as desired.

Limitations and Future Work

  • Computational Cost: While more efficient than some deep learning methods, the MF transformation and copula fitting still involve computations that can be intensive, especially for very long paths or high-dimensional data.
  • Time-Varying Cross-Correlations: The paper notes that if cross-correlations are highly time-varying, the path may need to be segmented, and a separate copula applied to each segment. This adds complexity.
  • Future Work: The authors explicitly mention leveraging these synthetic paths for RL-based training of agents as a key future direction. They also aim to further explore how these synthetic paths can be used to guide NPC movement strategies and emulate human opponent behaviors.

Summary updated

BibTeX
@inproceedings{campa2025path,
  author = {Daniel Campa and Mehdi Saeedi and Ian Colbert and Srinjoy Das},
  title = {{Path Generation and Evaluation in Video Games: A Nonparametric Statistical Approach}},
  booktitle = {Cog},
  year = {2025},
  doi = {10.1109/cog64752.2025.11114403},
}
Figure