Skip to main content
QUICK REVIEW

[Paper Review] Drop-DTW: Aligning Common Signal Between Sequences While Dropping Outliers

Nikita Dvornik, Isma Hadji|arXiv (Cornell University)|Aug 26, 2021
Human Pose and Action RecognitionComputer Science54 references26 citations
TL;DR

Drop-DTW extends Dynamic Time Warping to align common signals between sequences while automatically dropping outliers, yielding a differentiable, end-to-end method for robust sequence alignment used in weakly supervised video tasks and audio-visual retrieval.

ABSTRACT

In this work, we consider the problem of sequence-to-sequence alignment for signals containing outliers. Assuming the absence of outliers, the standard Dynamic Time Warping (DTW) algorithm efficiently computes the optimal alignment between two (generally) variable-length sequences. While DTW is robust to temporal shifts and dilations of the signal, it fails to align sequences in a meaningful way in the presence of outliers that can be arbitrarily interspersed in the sequences. To address this problem, we introduce Drop-DTW, a novel algorithm that aligns the common signal between the sequences while automatically dropping the outlier elements from the matching. The entire procedure is implemented as a single dynamic program that is efficient and fully differentiable. In our experiments, we show that Drop-DTW is a robust similarity measure for sequence retrieval and demonstrate its effectiveness as a training loss on diverse applications. With Drop-DTW, we address temporal step localization on instructional videos, representation learning from noisy videos, and cross-modal representation learning for audio-visual retrieval and localization. In all applications, we take a weakly- or unsupervised approach and demonstrate state-of-the-art results under these settings.

Motivation & Objective

  • Motivate robust alignment of sequences with interspersed outliers where standard DTW fails.
  • Introduce Drop-DTW to jointly optimize alignment and outlier dropping in a single dynamic program.
  • Demonstrate Drop-DTW as a differentiable loss for training representations and as an effective inference method for step localization.
  • Showcase state-of-the-art results on instructional video step localization and cross-modal retrieval under weak supervision.

Proposed method

  • Extend DTW by relaxing endpoint continuity to allow dropping elements in either sequence.
  • Introduce drop costs d^x_j and d^z_i and a modified objective that includes drop penalties (Eq. 2).
  • Implement as a differentiable dynamic program using a smoothMin approximation to the min operator (Eq. 7).
  • Define pairwise match costs C_i,j (symmetric: 1 - cos(z_i, x_j) or asymmetric variant for representation learning).
  • Provide learnable or percentile-based drop costs to control outlier rejection (Eq. 5, Eq. 6).
  • Demonstrate Drop-DTW as both a training loss and an inference mechanism for alignment, localization, and representation learning.

Experimental results

Research questions

  • RQ1Can Drop-DTW robustly align sequences with interspersed outliers while jointly dropping irrelevant elements?
  • RQ2How does Drop-DTW perform as a differentiable loss for weakly supervised sequence-to-sequence tasks?
  • RQ3What are the effects of percentile-based vs learnable drop costs on downstream tasks like step localization and cross-modal retrieval?
  • RQ4Can Drop-DTW improve instructional video step localization and audio-visual retrieval without framewise labels?

Key findings

  • Drop-DTW outperforms standard DTW and several differentiable DTW variants across multiple tasks with outliers.
  • As an inference method, Drop-DTW yields higher accuracy and IoU for multi-step localization on CrossTask, COIN, and YouCook2 datasets.
  • Using Drop-DTW as a loss for representation learning improves Kendall’s Tau on contaminated PennAction data, demonstrating robustness to outliers.
  • In audio-visual localization on AVE, Drop-DTW surpasses SmoothDTW and OTAM and even approaches supervised performance in some cases.
  • Drop-DTW enables effective learning with weak supervision by aligning sequences while labeling background frames without explicit background models.

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.