TikTokActions: A TikTok-Derived Video Dataset for Human Action Recognition

Yang Qian, Yinan Sun, Ali Kargarandehkordi, Onur Cezmi Mutlu, Saimourya Surabhi, Pingyi Chen, Zain Jabbar, Dennis Paul Wall, Peter WashingtonarXiv 2024 · DOI

Abstract

Traditional human action recognition (HAR) models often struggle with the spontaneous and culturally diverse nature of real-world movements. This paper introduces TikTokActions, a novel dataset comprising approximately 284,000 unlabeled TikTok clips. By leveraging the unique characteristics of short-form social media content, we demonstrate that a domain-specific foundation model can achieve state-of-the-art results on major benchmarks, outperforming larger, more generic datasets through superior data diversity and density.

Introduction: The Challenge of Real-World Action Recognition

Human Action Recognition (HAR) is a critical component in various technological sectors, including security monitoring, gesture-based gaming, and healthcare analytics. Despite its importance, the field faces a significant bottleneck: the reliance on structured, long-form video datasets like Kinetics (sourced primarily from YouTube). These datasets often fail to capture the "messy," rapid, and context-driven movements found in everyday life, such as viral dance challenges or niche athletic maneuvers.

Furthermore, the prevailing research paradigm has focused on "brute force" scaling—assuming that larger datasets are the primary path to better foundation models. This research challenges that assumption, exploring whether a smaller, more dynamic, and unlabeled "in-the-wild" dataset can produce superior spatiotemporal representations.

Methodology

To process the TikTokActions dataset, the researchers employed VideoMAE V2, a state-of-the-art framework that integrates Masked Autoencoders (MAE) with Vision Transformers (ViT). The core of this approach is self-supervised learning: the model is tasked with reconstructing masked portions of a video, forcing it to learn deep spatiotemporal features without the need for manual labels.

The data preparation pipeline involved three key stages:

  1. Scene Detection: Using PySceneDetect to isolate distinct scenes and select the longest continuous clips.
  2. Human-Centric Filtering: Utilizing YOLOv8 to ensure the presence of human figures, filtering out irrelevant content like landscapes or animals.
  3. Backbone Scaling: Testing both ViT-base and ViT-giant (a billion-parameter model) to evaluate the dataset's potential at different scales.

Dataset Curation and TikTokActions

The TikTokActions dataset consists of 283,582 unique, unlabeled video clips. These clips were curated based on a specific hashtag-driven logic to ensure high engagement and relevance.

Hashtag selection and modification logic for dataset curation.

As shown in the curation flowchart, the team filtered hashtags based on view counts to ensure the model trained on popular, representative content. In cases where a specific hashtag (e.g., #playingpiano) had lower relative volume, the system modified the query to a broader, high-volume parent tag (e.g., #piano) to maximize data density.

Example view counts for hashtags used in the selection process.

This process resulted in a dataset categorized by 386 distinct hashtags, ranging from sports like #basketball to niche activities like #shoerepair. The model's performance was subsequently validated against industry-standard benchmarks, including UCF101, HMDB51, Kinetics-400 (K400), and Something-Something V2 (SSv2).

Key Insights

Quality Over Quantity

A pivotal finding of this study is that the TikTok-trained model (0.28M videos) performed nearly as well as models trained on the "UnlabeledHybrid" dataset, which contains 1.35M videos. This suggests that the diversity and rapid transitions inherent in TikTok content provide a richer training signal than larger, more generic video collections.

The Scaling Asymptote

The researchers identified a clear point of diminishing returns in pre-training. While performance improved significantly when scaling from 1,000 to 3,000 videos, the gains plateaued thereafter. This observation challenges standard scaling laws and emphasizes the importance of data selection over sheer volume.

Results

The model achieved state-of-the-art (SOTA) or near-SOTA performance using the ViT-giant backbone:

  • UCF101: 99.05% accuracy
  • HMDB51: 86.08% accuracy
  • Kinetics-400: 85.51% accuracy
  • Something-Something V2: 74.27% accuracy

These results confirm that the "foundation" learned from TikTok's non-standard movements (memes, specific dance steps, etc.) is highly transferable to traditional action recognition tasks.

Limitations and Future Directions

While the results are promising, the use of social media data presents ethical challenges. The researchers implemented face obfuscation and utilized the official TikTok Research API to maintain privacy standards, but they advocate for more robust "opt-out" guidelines for users on these platforms.

Future work will focus on Active Learning, developing algorithms that can automatically identify the most informative videos for training. Additionally, the team proposes a "weekly self-supervised learning" cycle to keep the model updated with evolving viral trends and cultural shifts.

Summary updated

BibTeX
@misc{qian2024tiktokactions,
  author = {Yang Qian and Yinan Sun and Ali Kargarandehkordi and Onur Cezmi Mutlu and Saimourya Surabhi and Pingyi Chen and Zain Jabbar and Dennis Paul Wall and Peter Washington},
  title = {{TikTokActions: A TikTok-Derived Video Dataset for Human Action Recognition}},
  year = {2024},
  eprint = {2402.08875},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.08875},
}
Figure