Example

Suboptimal Greedy Inference Example in Connectionist Temporal Classification

In Connectionist Temporal Classification (CTC), the simple greedy inference algorithm can yield suboptimal results because multiple alignments map to the same output sequence. For example, given an input XX, let the three most probable alignments be "a_b", "b_b", and "b_bb", with probabilities 0.4, 0.3, and 0.3 respectively. The greedy algorithm chooses the single most probable alignment, "a_b", leading to the output "ab". However, both "b_b" and "b_bb" map to the output "bb". Marginalizing these alignments gives "bb" a total probability of 0.6, making it the most probable overall output sequence.

0

1

Updated 2026-06-20

Contributors are:

Who are from:

Tags

Deep Learning (in Machine learning)

Speech recognition

Data Science

Computing Sciences