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

Making CNNs for video parsing accessible: event extraction from DOTA2 gameplay video using transfer, zero-shot, and network pruning

Zijin Luo, Matthew Guzdial, Mark O. RiedlFdg 2019

TL;DR

This paper tackles the challenge of making sophisticated video analysis for esports events accessible on less powerful hardware. They achieve this by exploring techniques like transfer learning, zero-shot learning, and network pruning to significantly reduce the computational cost of training and running CNNs for event extraction in DOTA2 gameplay videos.

What Problem Does This Paper Address?

Extracting structured event logs from gameplay videos, crucial for understanding player behavior, game balance, and even live commentary, traditionally requires access to the game's engine or significant computational resources. This creates a barrier for smaller esports organizers, researchers, and developers who lack these resources. While deep learning, specifically Convolutional Neural Networks (CNNs), shows promise for this task, training and running these models demands substantial computational power and time, making them inaccessible on standard gaming PCs or even modest cloud instances. This paper aims to bridge this gap by developing methods to create "accessible" CNN models – those that can be trained and deployed with minimal computational overhead, enabling real-time event extraction on less powerful hardware.

Methods

The authors explore several techniques to reduce the computational burden of CNNs for video parsing:

  • Standard Method (Baseline): A ResNet152 architecture is used as the baseline, trained from scratch using standard backpropagation. This serves as a benchmark for comparison.
  • Transfer Learning (Teacher-Student): This approach leverages a pre-trained ResNet152 model (trained on ImageNet) as a "teacher." The weights from this teacher are transferred to a smaller "student" model, which is then fine-tuned on the DOTA2 dataset. This significantly reduces training time by avoiding training from scratch.
  • Kernel Neural Style Transfer (KNST): Inspired by neural style transfer, this method aims to adapt the learned features of a pre-trained model to the target domain's aesthetic. They apply style transfer to the kernels of the first layer of a ResNet152 model, attempting to imbue it with DOTA2-like features.
  • Zero-Shot Learning: This technique involves using only a subset of the network's layers (specifically, the first few convolutional layers) to extract features. The idea is that these initial layers capture general features that are often sufficient for classification, thereby reducing computational load and memory requirements. They experiment with using the first 4, 13, and 37 layers of a pre-trained ResNet152.
  • Network Pruning (ThiNet): This method focuses on reducing the size and computational cost of a trained CNN by removing less important neurons or filters. The authors utilize the ThiNet framework, which is designed for efficient compression of CNNs, and evaluate different ThiNet versions (ThiNet30, ThiNet50, ThiNet70) applied to ResNet152.

Datasets

  • DOTA2 Gameplay Videos: The authors collected a dataset of 10 three-second gameplay clips for each of ten distinct DOTA2 events. Frames were extracted at 30 frames per second, resulting in a total dataset of 9,000 frames, each tagged with a single event. This dataset was split into an 80-20 train-test set.
  • ImageNet: Used as the source dataset for pre-training models in the transfer learning approaches.

Key Insights and Ideas

  • Transfer Learning is Highly Effective: The teacher-student transfer learning approach significantly outperforms the standard method in terms of training time and achieves higher accuracy, demonstrating the power of leveraging pre-trained models.
  • Aesthetic Differences Matter for Style Transfer: Kernel Neural Style Transfer, while an interesting idea, did not yield significant improvements in training time or accuracy for DOTA2, suggesting that the aesthetic differences between ImageNet and DOTA2 might have hindered its effectiveness. However, it showed potential for more stylized games.
  • Zero-Shot Learning Trades Accuracy for Speed: Using only a subset of layers in the zero-shot approach dramatically reduces execution time and GPU memory usage but comes at a substantial cost to prediction accuracy, making it unsuitable for real-time, high-accuracy applications on its own.
  • Network Pruning Balances Performance and Efficiency: Network pruning with ThiNet effectively reduces model parameters and GPU memory usage while maintaining high prediction accuracy, making it a strong candidate for deploying models on resource-constrained hardware.
  • Combinatorial Potential: The paper highlights that these techniques (training acceleration and execution optimization) are largely independent and can be combined for even greater benefits.

Key Results

  • Teacher-Student Transfer Learning: Achieved near 100% training accuracy within 5 iterations, compared to the standard method which took roughly 50 iterations. Final test accuracy was 99.8% for teacher-student versus 94.6% for the standard method.
  • Zero-Shot Learning: Reduced execution time by approximately one-third compared to the full ResNet152. However, accuracy dropped significantly, with the best variation (37 layers) achieving only 56.25% accuracy.
  • Network Pruning (ThiNet): ThiNet models (ThiNet30, ThiNet50, ThiNet70) significantly reduced parameters and GPU memory usage (nearly halved compared to ResNet152) while maintaining high test accuracy (above 99.8%) and comparable execution times to the full ResNet152.

Limitations and Future Work

  • Teacher Model Dependency: The teacher-student approach relies on the availability of a suitable pre-trained teacher model. For games with vastly different aesthetics (e.g., pixelated retro games), existing ImageNet-trained models may not transfer as effectively, requiring new, domain-specific teacher models.
  • KNST Limitations: The Kernel Neural Style Transfer experiment was limited by using only a single image for stylization, and the dual training process slowed convergence. Future work could explore more robust stylization strategies.
  • Zero-Shot Accuracy Tradeoff: The significant accuracy drop in zero-shot learning makes it impractical for direct deployment in high-stakes scenarios. However, it could be useful as an initial processing step in a larger pipeline.
  • Real-World Deployment: The authors acknowledge that they did not deploy these methods in a live scenario, and future work should focus on real-world application to further validate their effectiveness and address practical challenges like financial and technical accessibility.
  • Broader Applicability: While demonstrated on DOTA2, future work could explore applying these techniques to other esports genres (e.g., FPS, card games) and even non-gaming domains like real-world sports.

Summary updated

BibTeX
@inproceedings{luo2019making,
  author = {Zijin Luo and Matthew Guzdial and Mark O. Riedl},
  title = {{Making CNNs for video parsing accessible: event extraction from DOTA2 gameplay video using transfer, zero-shot, and network pruning}},
  booktitle = {Fdg},
  year = {2019},
  doi = {10.1145/3337722.3337755},
}
Figure