journal article·2022-04-08Open access

Parameter-Free Ordered Partial Match Alignment with Hidden State Time Warping

Claire Chang, Thaxter Shaw, Arya Goutam, Christina Lau, Mengyi Shan, Timothy J. Tsai

Applied Sciences· Volume 12· Issue 8

Abstract

This paper investigates an ordered partial matching alignment problem, in which the goal is to align two sequences in the presence of potentially non-matching regions. We propose a novel parameter-free dynamic programming alignment method called hidden state time warping that allows an alignment path to switch between two different planes: a “visible” plane corresponding to matching sections and a “hidden” plane corresponding to non-matching sections. By defining two distinct planes, we can allow different types of time warping in each plane (e.g., imposing a maximum warping factor in matching regions while allowing completely unconstrained movements in non-matching regions). The resulting algorithm can determine the optimal continuous alignment path via dynamic programming, and the visible plane induces a (possibly) discontinuous alignment path containing matching regions. We show that this approach outperforms existing parameter-free methods on two different partial matching alignment problems involving speech and music.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Music and Audio Processing · Time Series Analysis and Forecasting · Video Analysis and Summarization

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Engineering, Harvey Mudd College, 301 Platt Blvd, Claremont, CA 91711, USA

Department of Engineering, Cornell University, Ithaca, NY 14850, USA

School of Computer Science & Engineering, University of Washington, Box 352350, Seattle, WA 98195, USA

Funding

National Science Foundation

References (30)

Show source-provided references
1. Dynamic Programming Algorithm Optimization for Spoken Word Recognition10.1109/TASSP.1978.1163055 ↗
2. Minimum Prediction Residual Principle Applied to Speech Recognition10.1109/TASSP.1975.1162641 ↗
3. Salvador, S., and Chan, P. (, 2004). FastDTW: Toward Accurate Dynamic Time Warping in Linear Time and Space. Proceedings of the KDD Workshop on Mining Temporal and Sequential Data, Available online: https://www.researchgate.net/publication/220520264_The_third_SIGKDD_workshop_on_mining_temporal_and_sequential_data_KDDTDM_2004.
4. Müller, M., Mattes, H., and Kurth, F. (2006, January 8–12). An Efficient Multiscale Approach to Audio Synchronization. Proceedings of the International Conference on Music Information Retrieval (ISMIR), Victoria, BC, Canada.
5. Prätzlich, T., Driedger, J., and Müller, M. (2016, January 20–25). Memory-Restricted Multiscale Dynamic Time Warping. Proceedings of the IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP), Shanghai, China.10.1109/ICASSP.2016.7471739 ↗
6. Tsai, T. (2021, January 6–11). Segmental DTW: A Parallelizable Alternative to Dynamic Time Warping. Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Toronto, ON, Canada.10.1109/ICASSP39728.2021.9413827 ↗
7. Zhang, Y., and Glass, J. (2011, January 22–27). An Inner-Product Lower-Bound Estimate for Dynamic Time Warping. Proceedings of the 2011 IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP), Prague, Czech Republic.10.1109/ICASSP.2011.5947644 ↗
8. Supporting Exact Indexing of Arbitrarily Rotated Shapes and Periodic Time Series under Euclidean and Warping Distance Measures10.1007/s00778-008-0111-4 ↗
9. Rakthanmanon, T., Campana, B., Mueen, A., Batista, G., Westover, B., Zhu, Q., Zakaria, J., and Keogh, E. (2012, January 12–16). Searching and Mining Trillions of Time Series Subsequences under Dynamic Time Warping. Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Beijing, China.10.1145/2339530.2339576 ↗
10. Li, J., and Wang, Y. (2007, January 24–26). EA DTW: Early Abandon to Accelerate Exactly Warping Matching of Time Series. Proceedings of the International Conference on Intelligent Systems and Knowledge Engineering, Nanjing, China.10.2991/iske.2007.205 ↗
11. Srikanthan, S., Kumar, A., and Gupta, R. (2011, January 15–17). Implementing the Dynamic Time Warping Algorithm in Multithreaded Environments for Real Time and Unsupervised Pattern Discovery. Proceedings of the 2011 2nd International Conference on Computer and Communication Technology (ICCCT-2011), Allahabad, India.10.1109/ICCCT.2011.6075111 ↗
12. Shabib, A., Narang, A., Niddodi, C.P., Das, M., Pradeep, R., Shenoy, V., Auradkar, P., Vignesh, T., and Sitaram, D. (2015, January 10–13). Parallelization of Searching and Mining Time Series Data using Dynamic Time Warping. Proceedings of the IEEE International Conference on Advances in Computing, Communications and Informatics (ICACCI), Kochi, India.10.1109/ICACCI.2015.7275633 ↗
13. Sart, D., Mueen, A., Najjar, W., Keogh, E., and Niennattrakul, V. (2010, January 13–17). Accelerating Dynamic Time Warping Subsequence Search with GPUs and FPGAs. Proceedings of the IEEE International Conference on Data Mining, Sydney, NSW, Australia.10.1109/ICDM.2010.21 ↗
14. Wang, Z., Huang, S., Wang, L., Li, H., Wang, Y., and Yang, H. (2013, January 11–13). Accelerating Subsequence Similarity Search Based on Dynamic Time Warping Distance with FPGA. Proceedings of the ACM/SIGDA International Symposium on Field Programmable Gate Arrays, Monterey, CA, USA.10.1145/2435264.2435277 ↗
15. Tralie, C.J., and Dempsey, E. (2020, January 11–16). Exact, Parallelizable Dynamic Time Warping Alignment with Linear Memory. Proceedings of the International Conference for Music Information Retrieval (ISMIR), Montreal, QC, Canada.
16. Macrae, R., and Dixon, S. (2010, January 9–13). Accurate Real-time Windowed Time Warping. Proceedings of the International Conference on Music Information Retrieval (ISMIR), Utrecht, The Netherlands.
17. Dixon, S. (2005, January 20–22). Live Tracking of Musical Performances Using On-line Time Warping. Proceedings of the 8th International Conference on Digital Audio Effects, Madrid, Spain. Available online: http://www.eecs.qmul.ac.uk/simond/pub/2005/dafx05.pdf.
18. Fremerey, C., Müller, M., and Clausen, M. (2010, January 9–13). Handling Repeats and Jumps in Score-Performance Synchronization. Proceedings of the International Conference on Music Information Retrieval (ISMIR), Utrecht, The Netherlands.
19. Shan, M., and Tsai, T. (2020, January 11–16). Improved Handling of Repeats and Jumps in Audio-Sheet Image Synchronization. Proceedings of the International Society for Music Information Retrieval (ISMIR), Montreal, QC, Canada.
20. Grachten, M., Gasser, M., Arzt, A., and Widmer, G. (2013, January 4–8). Automatic Alignment of Music Performances with Structural Differences. Proceedings of the International Society for Music Information Retrieval Conference (ISMIR), Curitiba, Brazil.
21. Müller, M., and Appelt, D. (April, January 31). Path-Constrained Partial Music Synchronization. Proceedings of the International Conference on Acoustics, Speech, and Signal Processing (ICASSP), Las Vegas, NV, USA.
22. Müller, M., and Ewert, S. (2008, January 14–18). Joint Structure Analysis with Applications to Music Annotation and Synchronization. Proceedings of the International Society for Music Information Retrieval Conference (ISMIR), Philadelphia, PA, USA.
23. Waloschek, S., and Hadjakos, A. (2018, January 23–27). Driftin’ Down the Scale: Dynamic Time Warping in the Presence of Pitch Drift and Transpositions. Proceedings of the International Conference on Music Information Retrieval (ISMIR), Paris, France.
24. Robust and Efficient Joint Alignment of Multiple Musical Performances10.1109/TASLP.2016.2598318 ↗
25. Sapp, C. (2008, January 14–18). Hybrid Numeric/Rank Similarity Metrics for Musical Performance Analysis. Proceedings of the International Conference for Music Information Retrieval (ISMIR), Philadelphia, PA, USA.
26. Schreiber, H., Zalkow, F., and Müller, M. (2020, January 11–15). Modeling and Estimating Local Tempo: A Case Study on Chopin’s Mazurkas. Proceedings of the International Society for Music Information Retrieval Conference (ISMIR), Montréal, QC, Canada.
27. Grosche, P., Müller, M., and Sapp, C.S. (2010, January 9–13). What Makes Beat Tracking Difficult? A Case Study on Chopin Mazurkas. Proceedings of the International Conference for Music Information Retrieval (ISMIR), Utrecht, The Netherlands.
28. Digital Multimedia Audio Forensics: Past, Present and Future10.1007/s11042-016-4277-2 ↗
29. Deep Fakes: A Looming Challenge for Privacy, Democracy, and National Security
30. A General Method Applicable to the Search for Similarities in the Amino Acid Sequence of Two Proteins10.1016/0022-2836(70)90057-4 ↗