Connectionist Temporal Classification

A loss function and decoding framework that enables training of sequence models without requiring frame-level alignments, by marginalizing over all possible alignments between input and target sequences.

Method

Introduces a blank token; defines a many-to-one mapping from frame-level label sequences (with blanks and repetitions) to target label sequences. Forward-backward computes the total probability of the target. Decoding via greedy or beam search (with optional language model fusion).

Applications

End-to-end ASR, handwriting recognition, lip reading, any sequence task where alignment is unknown and monotonicity roughly holds.

Advantages

No need for pre-aligned data; simple and effective.

Limitations

Conditional independence assumption between output tokens given the input; struggles with token dependencies without external LM; blank-heavy predictions; less flexible than attention-based seq2seq for non-monotonic alignments.

Alternatives

Attention-based encoder-decoder, RNN-Transducer, sequence discriminative losses, forced-alignment + cross-entropy.

Editorial clarification

Primary method selected from the source bundle; related approaches are alternatives, not aliases.

Sources

Educational reference only, not professional advice.

All algorithms