RNN-T क्या है? वाक् फ्रेम और आउटपुट टोकन का संयुक्त संरेखण
रिकरेंट न्यूरल ट्रांसड्यूसर (RNN-T) भाषण encoder को पिछले आउटपुट टोकन देखने वाले prediction network से जोड़ता है। यह लेख blank, forward-backward training, beam search और streaming latency के कारकों को समझाता है।
RNN-T क्या है? वाक् फ्रेम और आउटपुट टोकन का संयुक्त संरेखण
RNN-T भाषण फ्रेम से टेक्स्ट टोकन निकालने वाला end-to-end probabilistic मॉडल है। Encoder ध्वनिक इनपुट दर्शाता है, prediction network पहले निकले टोकनों का इतिहास उपयोग करता है और joint network दोनों को जोड़कर अगला label अनुमानित करता है। Training सही token sequence बनाने वाले कई alignments की संभावनाएँ जोड़ती है, इसलिए हर फ्रेम का token पहले से देना आवश्यक नहीं।
Encoder फ्रेमों को hidden representation में बदलता है; prediction network पिछले टोकनों का संदर्भ देता है; joint network vocabulary token और blank label की संभावना देता है। Alignment grid में blank input समय आगे बढ़ाता है और token वर्तमान समय पर output बढ़ाता है। इसलिए फ्रेम और token का एक-से-एक संबंध नहीं है और अलग रास्ते एक ही पाठ दे सकते हैं।
Audio x और reference tokens y पर मॉडल P(y|x) बढ़ाता है। Forward-backward वैध alignments की संभावना जोड़ता है; loss आम तौर पर -log P(y|x) है और गणना महँगी हो सकती है। पिछले token का संदर्भ RNN-T को CTC से अलग करता है, जहाँ frame outputs conditionally independent माने जाते हैं।
Inference में मॉडल blank या token को बार-बार स्कोर करता है; beam search संभावित sequences रखता है। Beam width, token unit, length normalization और बाहरी language model गति और त्रुटियों को प्रभावित करते हैं। RNN-T incremental input ले सकता है, पर latency encoder look-ahead, chunk, search और implementation पर निर्भर है। लक्ष्य स्थितियों में WER, insertion/deletion/substitution, latency, memory और compute मापें। Tokenization, blank index, input/target length और loss conventions मिलाएँ। कम training loss बेहतर recognition या तेज streaming की गारंटी नहीं。
References
[Graves, Sequence Transduction with Recurrent Neural Networks (2012)](https://arxiv.org/abs/1211.3711)
[Google Research, Joint Speech Recognition and Speaker Diarization via Sequence Transduction (2019)](https://research.google/blog/joint-speech-recognition-and-speaker-diarization-via-sequence-transduction/)
[Torchaudio, rnnt_loss documentation](https://docs.pytorch.org/audio/stable/generated/torchaudio.functional.rnnt_loss.html)