Dual-path temporal map optimization for make-up temporal video grounding

Jiaxiu Li, Kun Li, Guoliang Chen, Meng Wang, Dan Guo

TL;DR

The DPTMO framework tackles the challenge of "fine-grained" video grounding—specifically in the make-up domain—where actions are subtle and visually similar. By employing a dual-path 2D temporal map and a novel "outer product" feature aggregation strategy, the model significantly outperforms existing methods on the challenging YouMakeup dataset.

What Problem Does This Paper Address?

Temporal Video Grounding (TVG) is the task of localizing a specific segment in an untrimmed video based on a natural language query (e.g., "find where the person applies eyeliner"). While general TVG has seen success in broad activities like "cooking" or "playing sports," it struggles with fine-grained domains like make-up.

In make-up videos, the background remains static, the subject is the same, and the actions are incredibly subtle—distinguishing between "applying concealer" and "applying foundation" requires the model to notice tiny changes in tools, facial regions, and product textures. Existing methods often use "max-pooling" to represent video segments, which the authors argue "blurs" the distinct semantic cues needed to differentiate these nearly identical steps.

Methods

The authors propose the Dual-Path Temporal Map Optimization Network (DPTMO), which introduces two major innovations:

  1. Dual-Path Architecture: Instead of a single matching module, DPTMO uses two complementary paths:
  2. Query-agnostic path: Focuses on visual relations and boundary moments within the video itself to identify potential activity segments.
  3. Query-conditioned path: Focuses on the multi-modal fusion between the video features and the specific text query.
  4. The final prediction is a joint optimization of both paths, which helps filter out "noise" (segments that look like activities but don't match the query).
  5. Outer Product Strategy: Standard models typically use max-pooling to aggregate features across a time span. DPTMO instead uses an outer product of the start and end frame features. This preserves the specific information at the boundaries of an action, making it easier for the model to distinguish between steps that occur in the same facial area.
  6. Intra-modal Enhancement: Before fusion, both video and text features are passed through Transformer encoder layers to capture long-range dependencies (e.g., understanding how one make-up step relates to the sequence of the whole tutorial).

Datasets

The model was evaluated on the YouMakeup dataset:

  • Scale: 2,800 videos (approx. 420 hours) crawled from YouTube.
  • Complexity: Contains over 30,000 annotated steps.
  • Characteristics: High intra-class similarity (many steps look alike) and significant variation in video length (15 seconds to over an hour).

Key Insights and Ideas

  • Boundary Information is King: In fine-grained tasks, the "middle" of an action looks very similar to other actions. The "start" and "end" (the moment a brush touches the skin vs. leaves it) provide the most discriminative signals. The outer product captures this better than max-pooling.
  • Complementary Supervision: By using both IoU regression (predicting how much a segment overlaps with the truth) and cross-modal matching (how well the text matches the video), the model achieves a more robust "confidence score" for each proposal.
  • The "Same Background" Trap: The paper highlights that general video models over-rely on background cues. In MTVG, the background is a constant, forcing the model to actually "learn" the nuances of the action rather than just recognizing the setting.

Key Results

DPTMO sets a new state-of-the-art on the YouMakeup dataset, significantly outperforming the previous baseline (MMN):

  • Using I3D Features: DPTMO achieved a 28.99% accuracy at R@1, [email protected], compared to MMN's 20.08% (a ~44% relative improvement).
  • Using C3D Features: Accuracy at R@1, [email protected] rose from 11.78% (MMN) to 19.23% (DPTMO).
  • Qualitative Success: Visualization shows the model is much better at ignoring "interference" candidates—segments that look like the target action but are actually different steps (e.g., correctly picking "apply blush" even when "apply eyeshadow" looks visually similar in the 2D map).

Limitations and Future Work

  • Extreme Similarity: While better than previous models, DPTMO still occasionally struggles when actions are nearly identical in color and shape (e.g., different shades of foundation or very similar eyeliner/eyeshadow applications).
  • Facial Landmarks: The authors suggest that future work could incorporate facial landmarks or skeleton points to provide even more precise spatial cues for where an action is occurring on the face.
  • Pre-training: Leveraging large-scale contrastive vision-language pre-training (like CLIP, but for video) could further enhance the model's semantic understanding.

Summary updated

BibTeX
@inproceedings{li2024dual,
  author = {Jiaxiu Li and Kun Li and Jia Li and Guoliang Chen and Meng Wang and Dan Guo},
  title = {{Dual-path temporal map optimization for make-up temporal video grounding}},
  booktitle = {Multimedia},
  year = {2024},
  doi = {10.1007/s00530-024-01340-w},
}
Figure