A Differentiable Alignment Framework for Sequence-to-Sequence Modeling via Optimal Transport

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Kaloga, Yacouba, Kumar, Shashi, Motlicek, Petr, Kodrasi, Ina
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911278481539072
author Kaloga, Yacouba
Kumar, Shashi
Motlicek, Petr
Kodrasi, Ina
author_facet Kaloga, Yacouba
Kumar, Shashi
Motlicek, Petr
Kodrasi, Ina
contents Accurate sequence-to-sequence (seq2seq) alignment is critical for applications like medical speech analysis and language learning tools relying on automatic speech recognition (ASR). State-of-the-art end-to-end (E2E) ASR systems, such as the Connectionist Temporal Classification (CTC) and transducer-based models, suffer from peaky behavior and alignment inaccuracies. In this paper, we propose a novel differentiable alignment framework based on one-dimensional optimal transport, enabling the model to learn a single alignment and perform ASR in an E2E manner. We introduce a pseudo-metric, called Sequence Optimal Transport Distance (SOTD), over the sequence space and discuss its theoretical properties. Based on the SOTD, we propose Optimal Temporal Transport Classification (OTTC) loss for ASR and contrast its behavior with CTC. Experimental results on the TIMIT, AMI, and LibriSpeech datasets show that our method considerably improves alignment performance compared to CTC and the more recently proposed Consistency-Regularized CTC, though with a trade-off in ASR performance. We believe this work opens new avenues for seq2seq alignment research, providing a solid foundation for further exploration and development within the community. Our code is publicly available at: https://github.com/idiap/OTTC
format Preprint
id arxiv_https___arxiv_org_abs_2502_01588
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle A Differentiable Alignment Framework for Sequence-to-Sequence Modeling via Optimal Transport
Kaloga, Yacouba
Kumar, Shashi
Motlicek, Petr
Kodrasi, Ina
Machine Learning
Sound
Audio and Speech Processing
Accurate sequence-to-sequence (seq2seq) alignment is critical for applications like medical speech analysis and language learning tools relying on automatic speech recognition (ASR). State-of-the-art end-to-end (E2E) ASR systems, such as the Connectionist Temporal Classification (CTC) and transducer-based models, suffer from peaky behavior and alignment inaccuracies. In this paper, we propose a novel differentiable alignment framework based on one-dimensional optimal transport, enabling the model to learn a single alignment and perform ASR in an E2E manner. We introduce a pseudo-metric, called Sequence Optimal Transport Distance (SOTD), over the sequence space and discuss its theoretical properties. Based on the SOTD, we propose Optimal Temporal Transport Classification (OTTC) loss for ASR and contrast its behavior with CTC. Experimental results on the TIMIT, AMI, and LibriSpeech datasets show that our method considerably improves alignment performance compared to CTC and the more recently proposed Consistency-Regularized CTC, though with a trade-off in ASR performance. We believe this work opens new avenues for seq2seq alignment research, providing a solid foundation for further exploration and development within the community. Our code is publicly available at: https://github.com/idiap/OTTC
title A Differentiable Alignment Framework for Sequence-to-Sequence Modeling via Optimal Transport
topic Machine Learning
Sound
Audio and Speech Processing
url https://arxiv.org/abs/2502.01588