Saved in:
Bibliographic Details
Main Authors: Segev, Eliya, Alroy, Maya, Katsir, Ronen, Wies, Noam, Shenhav, Ayana, Ben-Oren, Yael, Zar, David, Tadmor, Oren, Bitterman, Jacob, Shashua, Amnon, Rosenwein, Tal
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2307.01715
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910356600782848
author Segev, Eliya
Alroy, Maya
Katsir, Ronen
Wies, Noam
Shenhav, Ayana
Ben-Oren, Yael
Zar, David
Tadmor, Oren
Bitterman, Jacob
Shashua, Amnon
Rosenwein, Tal
author_facet Segev, Eliya
Alroy, Maya
Katsir, Ronen
Wies, Noam
Shenhav, Ayana
Ben-Oren, Yael
Zar, David
Tadmor, Oren
Bitterman, Jacob
Shashua, Amnon
Rosenwein, Tal
contents Connectionist Temporal Classification (CTC) is a widely used criterion for training supervised sequence-to-sequence (seq2seq) models. It enables learning the relations between input and output sequences, termed alignments, by marginalizing over perfect alignments (that yield the ground truth), at the expense of imperfect alignments. This binary differentiation of perfect and imperfect alignments falls short of capturing other essential alignment properties that hold significance in other real-world applications. Here we propose $\textit{Align With Purpose}$, a $\textbf{general Plug-and-Play framework}$ for enhancing a desired property in models trained with the CTC criterion. We do that by complementing the CTC with an additional loss term that prioritizes alignments according to a desired property. Our method does not require any intervention in the CTC loss function, enables easy optimization of a variety of properties, and allows differentiation between both perfect and imperfect alignments. We apply our framework in the domain of Automatic Speech Recognition (ASR) and show its generality in terms of property selection, architectural choice, and scale of training dataset (up to 280,000 hours). To demonstrate the effectiveness of our framework, we apply it to two unrelated properties: emission time and word error rate (WER). For the former, we report an improvement of up to 570ms in latency optimization with a minor reduction in WER, and for the latter, we report a relative improvement of 4.5% WER over the baseline models. To the best of our knowledge, these applications have never been demonstrated to work on a scale of data as large as ours. Notably, our method can be implemented using only a few lines of code, and can be extended to other alignment-free loss functions and to domains other than ASR.
format Preprint
id arxiv_https___arxiv_org_abs_2307_01715
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Align With Purpose: Optimize Desired Properties in CTC Models with a General Plug-and-Play Framework
Segev, Eliya
Alroy, Maya
Katsir, Ronen
Wies, Noam
Shenhav, Ayana
Ben-Oren, Yael
Zar, David
Tadmor, Oren
Bitterman, Jacob
Shashua, Amnon
Rosenwein, Tal
Computation and Language
Machine Learning
Sound
Audio and Speech Processing
Connectionist Temporal Classification (CTC) is a widely used criterion for training supervised sequence-to-sequence (seq2seq) models. It enables learning the relations between input and output sequences, termed alignments, by marginalizing over perfect alignments (that yield the ground truth), at the expense of imperfect alignments. This binary differentiation of perfect and imperfect alignments falls short of capturing other essential alignment properties that hold significance in other real-world applications. Here we propose $\textit{Align With Purpose}$, a $\textbf{general Plug-and-Play framework}$ for enhancing a desired property in models trained with the CTC criterion. We do that by complementing the CTC with an additional loss term that prioritizes alignments according to a desired property. Our method does not require any intervention in the CTC loss function, enables easy optimization of a variety of properties, and allows differentiation between both perfect and imperfect alignments. We apply our framework in the domain of Automatic Speech Recognition (ASR) and show its generality in terms of property selection, architectural choice, and scale of training dataset (up to 280,000 hours). To demonstrate the effectiveness of our framework, we apply it to two unrelated properties: emission time and word error rate (WER). For the former, we report an improvement of up to 570ms in latency optimization with a minor reduction in WER, and for the latter, we report a relative improvement of 4.5% WER over the baseline models. To the best of our knowledge, these applications have never been demonstrated to work on a scale of data as large as ours. Notably, our method can be implemented using only a few lines of code, and can be extended to other alignment-free loss functions and to domains other than ASR.
title Align With Purpose: Optimize Desired Properties in CTC Models with a General Plug-and-Play Framework
topic Computation and Language
Machine Learning
Sound
Audio and Speech Processing
url https://arxiv.org/abs/2307.01715