Skip to main content
QUICK REVIEW

[Paper Review] D3TW: Discriminative Differentiable Dynamic Time Warping for Weakly Supervised Action Alignment and Segmentation

Chien-Yi Chang, De-An Huang|arXiv (Cornell University)|Jan 9, 2019
Human Pose and Action RecognitionComputer Science41 references10 citations
TL;DR

This paper proposes D3TW, a discriminative differentiable dynamic time warping framework for weakly supervised action alignment and segmentation using only action order supervision. By introducing a continuous relaxation of the min-operator in dynamic programming, D3TW enables end-to-end training with a differentiable discriminative loss that avoids degenerate single-frame alignments, achieving state-of-the-art performance on two benchmark datasets across multiple metrics.

ABSTRACT

We address weakly supervised action alignment and segmentation in videos, where only the order of occurring actions is available during training. We propose Discriminative Differentiable Dynamic Time Warping (D3TW), the first discriminative model using weak ordering supervision. The key technical challenge for discriminative modeling with weak supervision is that the loss function of the ordering supervision is usually formulated using dynamic programming and is thus not differentiable. We address this challenge with a continuous relaxation of the min-operator in dynamic programming and extend the alignment loss to be differentiable. The proposed D3TW innovatively solves sequence alignment with discriminative modeling and end-to-end training, which substantially improves the performance in weakly supervised action alignment and segmentation tasks. We show that our model is able to bypass the degenerated sequence problem usually encountered in previous work and outperform the current state-of-the-art across three evaluation metrics in two challenging datasets.

Motivation & Objective

  • To address the challenge of weakly supervised action alignment and segmentation where only the order of actions is available during training.
  • To overcome the degenerate sequence problem common in prior methods, where actions are incorrectly aligned to single frames.
  • To develop a differentiable, discriminative loss function that enables end-to-end training despite the non-differentiable nature of dynamic programming-based losses.
  • To improve performance in both action segmentation and alignment tasks using only action order supervision.
  • To demonstrate the effectiveness of discriminative modeling with continuous relaxation in structural sequence prediction under weak supervision.

Proposed method

  • Proposes a continuous relaxation of the min-operator in dynamic programming to make the alignment loss differentiable.
  • Introduces a discriminative loss that minimizes the cost of aligning a video to the correct (positive) transcript while maximizing the cost to negative transcripts.
  • Uses a differentiable DTW formulation (D3TW) to enable end-to-end training with gradient-based optimization.
  • Employs a contrastive learning strategy where the model learns to distinguish correct action orderings from random negative ones.
  • Supports both fully weakly supervised and semi-supervised settings by incorporating frame-level supervision as path constraints in the dynamic programming framework.
  • Applies the framework to two real-world datasets: Breakfast and Hollywood Extended, with evaluation on action segmentation and alignment tasks.

Experimental results

Research questions

  • RQ1Can a discriminative model with a differentiable loss function improve weakly supervised action alignment and segmentation beyond surrogate loss-based approaches?
  • RQ2Does continuous relaxation of the min-operator in dynamic programming enable end-to-end training for structural sequence prediction with weak supervision?
  • RQ3Can the proposed method avoid degenerate alignments where actions are mapped to single frames, a common failure mode in prior work?
  • RQ4How does the combination of discriminative modeling and differentiable dynamic time warping affect performance on action segmentation and alignment tasks?
  • RQ5To what extent does the differentiable and discriminative formulation generalize across different weakly supervised video understanding benchmarks?

Key findings

  • D3TW achieves state-of-the-art performance on both action segmentation and alignment tasks across two challenging datasets: Breakfast and Hollywood Extended.
  • On the Breakfast dataset, D3TW achieves 57.0% frame accuracy and 56.3% IoD in action alignment, outperforming all baselines.
  • On the Hollywood Extended dataset, D3TW achieves 59.4% frame accuracy and 50.9% IoD, setting new SOTA results.
  • Ablation studies confirm that both the discriminative modeling and differentiable relaxation are essential, as removing either leads to significant performance drops.
  • In the semi-supervised setting, D3TW significantly improves performance over the uniform baseline and ECTC, demonstrating robustness and generalization.
  • The model successfully bypasses the degenerated sequence problem, avoiding single-frame alignments that plague previous methods.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.