Automated Temporal Segmentation of Orofacial Assessment Videos

Saeid Alavi Naeini, Leif E. R. Simmatis, Deniz Jafar, Diego L. Guarin, Yana Yunusova, Babak Taati

Introduction

Orofacial assessments are a cornerstone of clinical evaluation for neurological disorders such as Amyotrophic Lateral Sclerosis (ALS), Parkinson’s disease, and stroke. By observing tasks like mouth opening or sentence repetition, clinicians can identify motor impairments. While video-based analysis allows for the calculation of objective kinematic metrics—such as jaw speed and range of motion—the process is currently hindered by a significant manual bottleneck: temporal segmentation.

To derive meaningful metrics, a trained expert must manually annotate the start and end of every repetition within a video. This process is labor-intensive, expensive, and difficult to scale. This research explores the application of RepNet, a transformer-based deep learning model, to automate this segmentation process, comparing its performance against traditional landmark-tracking methods.

The Challenge of Automated Parsing

Traditional automated approaches typically rely on Landmark-based Parsing. These methods use tools like the Face Alignment Network (FAN) to track specific facial coordinates (e.g., lip position). While effective for simple, linear movements like maximum mouth opening (the "OPEN" task), these methods often fail during complex speech tasks, such as repeating the sentence "Buy Bobby a Puppy" (the "BBP" task). In speech, the jaw does not follow a simple up-and-down trajectory, leading to "noisy" data that confuses standard peak-detection algorithms.

Methodology: RepNet vs. Landmarks

The study compared two distinct computer vision strategies:

  1. Landmark-based Baseline: This method tracks 68 facial landmarks to calculate vertical lip distance. It relies on hand-engineered peak detection to identify repetitions, making it brittle when faced with varying head postures or complex gestures.
  2. RepNet (Deep Learning): A pre-trained transformer model designed to detect periodicity in video. RepNet generates a Temporal Self-Similarity Matrix (TSM)—a heatmap representing how each frame relates to every other frame. By analyzing these patterns, the model can identify and count repetitions regardless of the specific movement geometry.

To optimize RepNet for clinical use, the researchers implemented a preprocessing step that automatically crops the video to the mouth and jaw area. This focus prevents the model from being distracted by background movement or non-relevant facial expressions.

Experimental Setup

The models were evaluated using the Toronto NeuroFace Dataset, which includes recordings of 11 Healthy Controls (HC) and 11 individuals with ALS. Two primary tasks were analyzed:

  • OPEN: Maximum mouth opening (5 repetitions).
  • BBP: Repeating "Buy Bobby a Puppy" (10 repetitions).

Performance was measured against ground-truth manual annotations provided by trained research assistants.

Key Results and Clinical Utility

The study found that RepNet significantly outperformed the landmark-based approach, particularly in complex scenarios:

  • Accuracy: RepNet achieved a mean Intersection-over-Union (IoU) of over 70% for both tasks. In contrast, the landmark method’s accuracy dropped to ~43-45% during the speech task (BBP).
  • Discriminative Power: The ultimate goal of automated parsing is to maintain the clinical "signature" of a disease. RepNet-parsed data successfully differentiated ALS patients from healthy controls based on repetition duration ($p < 0.001$). The landmark-based method failed to maintain this statistical significance for the speech task ($p = 0.21$), effectively losing the clinical signal.
  • Robustness: RepNet demonstrated greater consistency across different participants, whereas landmark methods showed high variability and wider confidence intervals.

Limitations and Future Work

While promising, the research identified areas for improvement. RepNet, originally trained on short clips, shows a slight decrease in accuracy as video length and repetition counts increase. Furthermore, the current model relies solely on visual data. Future iterations could benefit from multi-modal inputs—combining video with audio—to improve precision during speech-heavy tasks. Additionally, fine-tuning the transformer on specific clinical datasets, rather than general "videos in the wild," could further enhance performance.

Conclusion

Automating the temporal segmentation of orofacial videos removes a major barrier to objective clinical assessment. By leveraging deep learning models like RepNet, researchers have demonstrated that it is possible to achieve high-accuracy parsing that preserves critical clinical insights. This work paves the way for "clinic-in-a-pocket" applications, where smartphone-recorded videos could provide instant, objective data on disease progression and treatment efficacy.

Summary updated

BibTeX
@inproceedings{naeini2022automated,
  author = {Saeid Alavi Naeini and Leif E. R. Simmatis and Deniz Jafar and Diego L. Guarin and Yana Yunusova and Babak Taati},
  title = {{Automated Temporal Segmentation of Orofacial Assessment Videos}},
  booktitle = {BHI},
  year = {2022},
  doi = {10.1109/bhi56158.2022.9926863},
}
Figure