Attention encoder-decoder ASR: ऑडियो और टोकन का alignment सीखना
Attention encoder-decoder पहले ऑडियो का प्रतिनिधित्व करता है और फिर उस representation तथा पिछले outputs से tokens बनाता है। LAS के उदाहरण से यह लेख सीखे गए alignment, beam search और लंबे utterance के मूल्यांकन की सावधानियाँ बताता है।
Attention encoder-decoder ASR: ऑडियो और टोकन का alignment सीखना
Attention-based encoder-decoder speech recognition ऑडियो को representation में बदलकर उनसे और पिछले outputs से token-दर-token पाठ बनाता है। Attention बिना पहले से frame labels दिए input और output का alignment सीख सकती है, पर हर लंबाई और स्थिति में स्थिरता की गारंटी नहीं देती।
Listen, Attend and Spell (LAS) इसका उदाहरण है। Listener encoder spectral features को उच्च-स्तरीय representation में बदलता है; मूल paper लंबे input का समय-स्तर घटाने के लिए pyramidal recurrent encoder उपयोग करता है। हर output step पर attention संबंधित encoder स्थानों को weight देकर context बनाती है। Speller decoder पिछले अक्षरों और context से अगला अक्षर अनुमानित करता है। Character output स्थिर pronunciation dictionary से बाहर के शब्द लिख सकता है, लेकिन tokenization और training data मायने रखते हैं।
Reference token sequence y की संभावना अक्सर P(y|x)=∏ᵢP(yᵢ|x,y<ᵢ) के रूप में लिखी जाती है। Training में decoder को सही पिछला token मिलता है; inference में वह अपनी ही output लेता है, इसलिए शुरुआती गलती आगे असर डाल सकती है। Beam search कई संभावित prefixes रखती है। कुछ प्रणालियाँ बाहरी language model से उम्मीदवारों को फिर से score करती हैं; गलत संतुलन text frequency को acoustic evidence से अधिक महत्व दे सकता है।
Attention alignment सीखती और पिछले token का संदर्भ उपयोग करती है, पर लंबे audio पर attention और autoregressive generation computation व latency बढ़ाते हैं। Bidirectional encoder भविष्य के frames की प्रतीक्षा कर सकता है; streaming स्वतः नहीं मिलता। Chunking या monotonic attention latency और accuracy के बीच trade-off है।
लंबे utterance अलग से जाँचें। शुरुआती शोध में कुछ मॉडलों का training उदाहरणों से बहुत लंबे utterance पर कमजोर generalization देखा गया और location-aware attention सुझाया गया। LAS ने भी लंबाई के अनुसार errors का विश्लेषण किया। ये विशिष्ट model/data के निष्कर्ष हैं, सार्वभौमिक सीमाएँ नहीं। WER/CER को लंबाई, शोर, वक्ता और भाषा के अनुसार बाँटें; deployment में latency, memory, beam width और बाहरी language model का प्रभाव नापें। अच्छा दिखने वाला attention map या कम training loss अकेले transcription quality सिद्ध नहीं करता。
References
[Chan et al., Listen, Attend and Spell (2015)](https://arxiv.org/abs/1508.01211)
[Google Research, Listen, Attend and Spell](https://research.google/pubs/listen-attend-and-spell/)
[Chorowski et al., Attention-Based Models for Speech Recognition (NeurIPS 2015)](https://proceedings.neurips.cc/paper/2015/hash/1068c6e4c8051cfd4e9ea8072e3189e2-Abstract.html)