Bayes Risk CTC: Controllable CTC Alignment in Sequence-to-Sequence Tasks
Jinchuan Tian, Brian Yan, Jianwei Yu, Chao Weng, Dong Yu, Shinji Watanabe
Abstract
Sequence-to-Sequence (seq2seq) tasks transcribe the input sequence to a target sequence. The Connectionist Temporal Classification (CTC) criterion is widely used in multiple seq2seq tasks. Besides predicting the target sequence, a side product of CTC is to predict the alignment, which is the most probable input-long sequence that specifies a hard aligning relationship between the input and target units. As there are multiple potential aligning sequences (called paths) that are equally considered in CTC formulation, the choice of which path will be most probable and become the predicted alignment is always uncertain. In addition, it is usually observed that the alignment predicted by vanilla CTC will drift compared with its reference and rarely provides practical functionalities. Thus, the motivation of this work is to make the CTC alignment prediction controllable and thus equip CTC with extra functionalities. The Bayes risk CTC (BRCTC) criterion is then proposed in this work, in which a customizable Bayes risk function is adopted to enforce the desired characteristics of the predicted alignment. With the risk function, the BRCTC is a general framework to adopt some customizable preference over the paths in order to concentrate the posterior into a particular subset of the paths. In applications, we explore one particular preference which yields models with the down-sampling ability and reduced inference costs. By using BRCTC with another preference for early emissions, we obtain an improved performance-latency trade-off for online models. Experimentally, the proposed BRCTC, along with a trimming approach, enables us to reduce the inference cost of offline models by up to 47% without performance degradation; BRCTC also cuts down the overall latency of online systems to an unseen level 1 .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Non-autoregressive Translation with Layer-Wise Prediction and Deep Supervision cites Glancing Transformer for Non-Autoregressive Neural Machine Translation
- Non-autoregressive Translation with Layer-Wise Prediction and Deep Supervision cites Fully Non-autoregressive Neural Machine Translation: Tricks of the Trade
- Aligner-Encoders: Self-Attention Transformers Can Be Self-Transducers cites Investigating the Reordering Capability in CTC-based Non-Autoregressive End-to-End Speech Translation
- Fully Non-autoregressive Neural Machine Translation: Tricks of the Trade cites Glancing Transformer for Non-Autoregressive Neural Machine Translation
- Align With Purpose: Optimize Desired Properties in CTC Models with a General Plug-and-Play Framework cites Non-autoregressive Translation with Layer-Wise Prediction and Deep Supervision
Cited by top-tier papers2
- Aligner-Encoders: Self-Attention Transformers Can Be Self-TransducersAdam Stooke, Rohit Prabhavalkar, Khe Chai Sim, Pedro Moreno MengibarNeurIPS 2024 · 4 citations
- Align With Purpose: Optimize Desired Properties in CTC Models with a General Plug-and-Play FrameworkEliya Segev, Maya Alroy, Ronen Katsir, Noam Wies et al.ICLR 2024 · 2 citations
Builds on5
- Fully Non-autoregressive Neural Machine Translation: Tricks of the TradeJiatao Gu, Xiang KongACL Findings 2021 · 84 citations
- Non-autoregressive Translation with Layer-Wise Prediction and Deep SupervisionChenyang Huang, Hao Zhou, Osmar R. Zaïane, Lili Mou et al.AAAI 2022 · 65 citations
- Investigating the Reordering Capability in CTC-based Non-Autoregressive End-to-End Speech TranslationShun-Po Chuang, Yung-Sung Chuang, Chih-Chiang Chang, Hung-yi LeeACL Findings 2021 · 19 citations
- Sign Language Transformers: Joint End-to-End Sign Language Recognition and TranslationNecati Cihan Camgöz, Oscar Koller, Simon Hadfield, Richard BowdenCVPR 2020
- Glancing Transformer for Non-Autoregressive Neural Machine TranslationLihua Qian, Hao Zhou, Yu Bao, Mingxuan Wang et al.ACL 2021
Related papers
- W-CTC: a Connectionist Temporal Classification Loss with Wild CardsXingyu Cai, Jiahong Yuan, Yuchen Bian, Guangxu Xun et al.ICLR 2022 · 16 citations
- CTC-based Non-autoregressive Speech TranslationChen Xu, Xiaoqian Liu, Xiaowen Liu, Qingxuan Sun et al.ACL 2023 · 4 citations
- Uncertainty-Aware Self-Training for CTC-Based Automatic Speech RecognitionEungbeom Kim, Kyogu LeeAAAI 2025 · 2 citations
- BERT Meets CTC: New Formulation of End-to-End Speech Recognition with Pre-trained Masked Language ModelYosuke Higuchi, Brian Yan, Siddhant Arora, Tetsuji Ogawa et al.EMNLP Findings 2022 · 20 citations
- GTC: Guided Training of CTC towards Efficient and Accurate Scene Text RecognitionWenyang Hu, Xiaocong Cai, Jun Hou, Shuai Yi et al.AAAI 2020 · 151 citations
