CTC decoding explained: merge repeats, drop blanks — with forward-algorithm diagram

VikParuchuri · x · 2026-11-25

Vik Paruchuri walks through CTC decoding: the model predicts once per visual slice, most outputs are a special blank class; merging repeats and dropping blanks recovers the text, with blanks keeping double letters apart. An accompanying diagram shows the forward algorithm summing partial path probabilities (0.546+0.042=0.588) without enumerating paths.

Related event: Why CTC Outpaces Autoregressive LLMs: All Predictions in One Forward Pass(2 posts)→

Original post →

More from Research

Research channel →