P14-1: Estimating the Reliability of Dynamic Time Warping Alignments Using Circumstantial Evidence

Aanya Pratapneni, Alice Yuan, TJ Tsai

Subjects: ; Analysis tasks ; Open Review ; Alignment, synchronization, and score following

Presented Remote

Abstract:

Recent works have explored ways to handle uncertainty in dynamic time warping (DTW) alignment paths through the use of differentiable variants of DTW like Soft-DTW. In this paper, we approach the issue of uncertainty in DTW alignment paths in a different way. Given a DTW alignment path, we propose a metric that indicates how reliable a local segment of the alignment path is. The intuition for our metric is based on the idea of circumstantial evidence. If DTW has found a very prominent path, then if we re-run the alignment with relaxed boundary conditions, it will still pick the same path. If, on the other hand, DTW has found a “weak” path, then re-running the alignment with relaxed boundary conditions will likely yield a different path. Accordingly, our reliability metric is computed by picking a local section of the DTW alignment path, re-estimating the alignment with FlexDTW (which allows flexibility in the boundary conditions), and then measuring how well the DTW and FlexDTW paths agree. We assess the proposed reliability metric on DTW alignment paths containing both matching and non-matching regions across a range of scenarios on an audio-audio alignment task. We find that the reliability metric correctly identifies reliable regions of the alignment path with an aggregate AUROC of 0.97. This approach provides an unsupervised method for estimating the reliability of a DTW alignment path.

Meta Review:

Q18. Write ONE line (in your own words) with the main take-home message from the paper.

Assessing the reliability of a DTW path can be done by selecting a local section of the alignment and re-estimating it, allowing flexibility in the boundary condition (using FlexDTW).

Q23. Main review and comments for the authors (to be completed before the discussion phase). Please summarize strengths and weaknesses of the paper. It is essential that you justify the reason for the overall evaluation score in detail. Keep in mind that belittling or sarcastic comments are not appropriate.

The paper tackles the problem of estimating the reliability of a DTW alignment path by comparing a local section of the alignment with the result obtained by re-aligning with flexible boundary conditions using FlexDTW. Then, a local reliability metric is obtained by comparing the global and flexible DTW paths, assuming they coincide for a reliable alignment. The paper is well written and organized. The proposed approach and the implemented code constitute a practical contribution to the MIR community, applicable in several scenarios.

Although the proposed solution is conceptually simple, its rationale is clear and suitable. The experimental setup shows the solution is reasonably effective and surpasses a simple baseline in which reliability relies on alignment cost values. The main limitation is that the experimental setup uses synthetic mismatches. However, the experiments enable a controlled, detailed assessment of the proposed approach.

Q25. Meta-review and final comments for authors (to be completed after the discussion phase)

We had a remarkable agreement (four strong accepts) to accept the paper. The main concerns are the not-so-realistic benchmark and the omission of some prior work. Please consider adding the suggested references and following the reviewers' suggestions when preparing the final version of the manuscript.

Review 1:

Q18. Write ONE line (in your own words) with the main take-home message from the paper.

The paper presents two elements: a synthetic benchmark for assessing audio-to-audio alignment confidence and a method that "samples" suboptimal DTW paths and then uses heuristics to approximate alignment reliability, achieving reasonable results on the benchmark.

Q23. Main review and comments for the authors. Please summarize strengths and weaknesses of the paper. It is essential that you justify the reason for the overall evaluation score in detail. Keep in mind that belittling or sarcastic comments are not appropriate.

The paper tackles the question of alignment reliability, which is practically important but not very well studied in MIR.

Introduction.

It's clear and focused. I have only a few remarks that are somewhat outside the main scope of the paper.

It would be useful if the authors added a few references to better motivate the task, for example in relation to alignment for training music transcription models, computer-assisted musicology, and music education.

Also, besides DTW, there is a large body of work on score-to-audio alignment using HMMs and related models. Although the authors restrict themselves to DTW, it may be worth mentioning that probabilistic models are more commonly studied in the context of uncertainty quantification. E.g., in MIR, there's a paper

Maezawa, A., & Yamamoto, K. (2017). MuEns: A multimodal human-machine music ensemble for live concert performance. Conference on Human Factors in Computing Systems - Proceedings, 2017-May, 4290–4301. https://doi.org/10.1145/3025453.3025505

where the confidence of the tracked position is represented by the variance of the posterior distribution.

Besides assessing full posterior, methods such as N-best list or forward-filtering backward-sampling make it possible to sample several trajectories and perform an analysis for HMM-based models similar to what the authors did with DTW. (e.g., see P. Murphy, K. (2012). Machine Learning: A Probabilistic Perspective. The MIT Press)

Proposed method.

Method description is technically sound and well written.

Experimental setup.

Besides synthetic dataset, it would be nice to see a "real life" benchmark, e.g, how mis-alignments are detected in some recordings of the same scores with variations by artists (e.g., different cadenzas) and students (comitting mistakes).

Results and Analysis.

lines 504-519: analysis of failure modes is much appreciated. BTW, the problem of repeated passages in the score was also discussed by Maezawa, who refer to such cases as "content-rooted failures."

Overall, I think this paper draws attention to the much-overlooked topic of alignment reliability. It is technically sound, well written, and provides convincing experimental results. I therefore recommend it for acceptance. As drawbacks, I would mention the lack of a real-life benchmark, which could be drawn from performance analysis or music education, and the somewhat narrow presentation of the problem, which is limited to DTW-based methods only.

Review 2:

Q18. Write ONE line (in your own words) with the main take-home message from the paper.

The paper proposes an unsupervised reliability metric for DTW alignment paths based on circumstantial evidence.

Q23. Main review and comments for the authors. Please summarize strengths and weaknesses of the paper. It is essential that you justify the reason for the overall evaluation score in detail. Keep in mind that belittling or sarcastic comments are not appropriate.

[Summary] The paper proposes an unsupervised way to estimate how reliable each local region of a DTW alignment path is. The idea is "circumstantial evidence": take a local chunk of the path, re-run the alignment on that chunk with FlexDTW (relaxed boundary conditions), and measure how much the two paths agree. High agreement suggests a prominent path; low agreement suggests a weak path through noise. The method is evaluated on 19 controlled benchmarks built from the Chopin Mazurka dataset, reaching an aggregate AUROC of about 0.97. The core idea is simple, well motivated, and clearly presented.

[Strengths]

  • A simple idea that fills a real gap. Estimating per-region reliability of a DTW path without ground truth is useful, especially for filtering weakly labeled training data from cross-version alignments, and the circumstantial-evidence framing is intuitive.
  • Clean, well-controlled evaluation. Splicing non-matching segments at varied durations and locations isolates where the method works, and the ROC/AUROC metrics suit the variable class balance.

[Weaknesses]

  • Missing prior work and baseline on alignment confidence. The paper does not engage with prior DTW alignment-confidence work, notably Raffel & Ellis (ISMIR 2015; ICASSP 2016), which uses normalized path cost for the same purpose. The only baseline is raw pairwise cost; the normalized-path-cost score is a stronger comparison, already at hand since FlexDTW uses it.
  • The benchmark may not reflect realistic unreliability. Spliced-in segments from a different Mazurka are unrelated noise, whereas real unreliability (Figure 1's cadenza) involves similar-but-misaligned regions, the method's own failure mode. Testing such cases would strengthen the claims.

[Minor]

  • The abstract reports an aggregate AUROC of 0.96 while the introduction and conclusion report 0.970. These should be reconciled.
  • "Reliable" is defined relative to a desired precision ε, so the metric detects correctness-at-a-chosen-tolerance rather than alignment correctness per se. This is reasonable but worth stating prominently, since a reader may otherwise read "reliable" as "correct."
  • Re-running FlexDTW on every overlapping chunk multiplies cost; a short note on the added computation relative to plain DTW would be useful, given that much of the cited related work concerns DTW efficiency.

This is a clean, well-executed paper built on a simple and genuinely useful idea, and it is easy to follow throughout. There are some points that would strengthen the paper if addressed, but none of these undercut the core idea, and I would be glad to see them taken up.

Review 3:

Q18. Write ONE line (in your own words) with the main take-home message from the paper.

A global DTW alignment is compared to Flex-DTW alignments within a neighborhood, and the agreement between these alignment paths is used as a reliability indicator of DTW.

Q23. Main review and comments for the authors. Please summarize strengths and weaknesses of the paper. It is essential that you justify the reason for the overall evaluation score in detail. Keep in mind that belittling or sarcastic comments are not appropriate.

This paper presents a conceptually simple algorithm to estimate the reliability of a DTW alignment. First, a global DTW alignment is computed over the cost matrix. Second, the cost matrix is sliced into chunks along the global path. Third, a Flex-DTW alignment is computed over each chunk, allowing for subsequence alignment. The authors hypothesize that, if the global DTW path is already optimal and unique, it will coincide with the Flex-DTW path. Consequently, the distance between the global DTW path and the Flex-DTW path can be seen as a frame-wise indicator of the alignment reliability.

Overall, the paper is nicely written and presents a valuable contribution to the MIR community. While alignments are often computed between different versions of the same musical piece, the alignment quality remains largely unstudied. The presented approach is conceptually simple, yet meaningful. The experiments are only conducted on a dataset with simulated mismatches; however, the 19 benchmark cases seem to be a meaningful choice that approximates real-world scenarios well. The baseline (rating alignment quality based on the cost values) is a good and natural choice.

Here are some minor remarks:

  • The figure quality and layout are not optimal. E.g., the text in Figure 1 is way too small; Figure 4 has a slight frame; Red/Green paths are not optimal for color-blind readers.
  • "AUROC" and "EER" are not properly introduced as acronyms; especially, AUROC is already used on the first and second pages without explanation
  • The frame rate is never defined exactly, though it would be relevant to rate, e.g., the physical meaning of the chunk length L and \Delta.

Overall, this paper is a really nice ISMIR contribution and I recommend a "strong accept".

Post-Review Updates:

Changes from submitted paper:

  • added several additional references suggested by the reviewers and augmented the discussion of previous work
  • small typos and formatting changes (misspelled words, removed frame around results figure)
  • added text to clarify that our framework is evaluating the reliability of the alignment path, not the alignment accuracy