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

The ADVANCE toolkit: Automated descriptive video annotation in naturalistic child environments

Naomi K. Middelmann, Jean-Paul Calbimonte, Emily Bernadette Wake, Manon E. Jaquerod, Nastia Junod, Jennifer Glaus, Olga Sidiropoulou, Kerstin Jessica Plessen, Micah M. Murray, Matthew J. Vowels

Abstract: Video recordings are commonplace for observing human and animal behaviours, including interindividual interactions. In studies of humans, analyses for clinical applications remain particularly cumbersome, requiring human-based annotation that is time-consuming, bias-prone, and cost-ineffective. Attempts to use machine learning to address these limitations still oftentimes require highly standardised environments, scripted scenarios, and forward-facing individuals. Here, we provide the ADVANCE toolkit, an automated video annotation pipeline. The versatility of ADVANCE is demonstrated with schoolchildren and adults in an unscripted clinical setting within an art classroom environment that included 2-5 individuals, dynamic occlusions, and large variations in actions. We accurately detected each individual, tracked them simultaneously throughout the duration of the recording (including when an individual left and re-entered the field of view), estimated the position of their skeletal joints, and labelled their poses. By resolving challenges of manual annotation, we radically enhance the ability to extract information from video recordings across different scenarios and settings. This toolkit reduces clinical workload and enhances the ethological validity of video-based assessments, offering scalable solutions for behaviour analyses in naturalistic contexts.

Introduction

In clinical research, particularly when studying children with neurodevelopmental conditions like ADHD or ASD, researchers rely heavily on video recordings to observe behaviors and interactions. However, the analysis of these videos is often a bottleneck. Manual annotation is slow, expensive, and prone to human bias. While computer vision offers a potential solution, most existing tools struggle in "naturalistic" environments—cluttered spaces where individuals move unpredictably, hide behind furniture (occlusion), and leave or re-enter the camera's field of view.

Methodology

The ADVANCE (Automated Descriptive Video Annotation) toolkit addresses these challenges by integrating several state-of-the-art computer vision models into a robust offline pipeline. Unlike real-time trackers that only look at current and previous frames, ADVANCE processes the entire video session at once, allowing it to use future frames to resolve past identity ambiguities.

The ADVANCE toolkit pipeline architecture.

The pipeline consists of five primary stages:

  1. Detection: YOLOv8 identifies individuals in every frame and generates bounding boxes.
  2. Background Removal: MediaPipe masks the background within those boxes, ensuring the system focuses on the person’s appearance (clothing, hair) rather than the surrounding furniture.
  3. Feature Extraction: OSNet (Omni-Scale Network) converts these masked image patches into high-dimensional "embeddings"—mathematical signatures of a person's appearance.
  4. Global Clustering: This is the core innovation. By using K-means clustering on all embeddings from the entire video and specifying the known number of participants (e.g., $k=3$), the system forces every detection into a specific identity. This effectively prevents "identity explosion," where a single person is assigned multiple IDs due to occlusions.
  5. Pose Classification: The pipeline uses OpenPose to map skeletal joints and an XGBoost classifier to label behaviors such as "sitting" or "standing."

Experimental Setup and Validation

The system was validated using a dataset of over 150 videos filmed during art therapy sessions at a day school center. The participants included 14 children (ages 7–12) and 6 adult therapists. The environment was a standard, cluttered art classroom with tables, chairs, and various art materials, providing a high-complexity test for the tracking algorithms.

Example frames from the naturalistic art classroom environment showing automated tracking and identification.

Key Results and Discussion

ADVANCE achieved a median identification accuracy of 89.2% across 36 test videos. Performance was highest with fewer people (97.6% for $N=2$) and decreased as the room became more crowded (76.4% for $N=5$). Crucially, ADVANCE maintained the correct number of identities throughout the recordings, whereas standard trackers like StrongSORT often detected up to 10 "extra" people in a 4-person video due to tracking breaks.

Beyond tracking, the authors demonstrated the toolkit's clinical utility by extracting "neck joint variance" (head movement) as a proxy for motor regulation. They found a statistically significant decrease in this variance over 26 weeks of therapy, suggesting the toolkit can provide objective markers for engagement and motor control.

Limitations and Future Work

The system relies heavily on visual appearance; if two people wear nearly identical clothing, the clustering algorithm may fail. Additionally, single-camera views remain vulnerable to total occlusions. Future directions include integrating multi-camera feeds to mitigate occlusion and expanding the pose library to recognize subtle gestures, such as fine motor skills or gaze direction. The toolkit is designed to be "local-first" to ensure patient data privacy by avoiding cloud-based processing.

Conclusion

The ADVANCE toolkit provides a scalable, automated solution for behavioral analysis in complex, naturalistic settings. By resolving the challenges of manual annotation and identity stability, it enhances the ethological validity of video-based clinical assessments and offers a path toward more objective, data-driven clinical insights.

Summary updated

BibTeX
@inproceedings{middelmann2025advance,
  author = {Naomi K. Middelmann and Jean-Paul Calbimonte and Emily Bernadette Wake and Manon E. Jaquerod and Nastia Junod and Jennifer Glaus and Olga Sidiropoulou and Kerstin Jessica Plessen and Micah M. Murray and Matthew J. Vowels},
  title = {{The ADVANCE toolkit: Automated descriptive video annotation in naturalistic child environments}},
  booktitle = {Behavior},
  year = {2025},
  doi = {10.3758/s13428-025-02883-0},
}
Figure