[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-84946-en":3,"doc-seo-84946-105":29,"detail-sidebar-cat-0-en-105":90},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":11,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":13,"seo_description":14,"update_tm":27,"read_time":28},84946,687197207639,"Asher","https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd",8,"Research & Report","Gradient-Based Speech-to-Text Alignment for Any ASR Model: From CTC to Speech LLMs","Speech-to-text alignment identifies each transcribed word’s start and end time in the audio. While CTC and transducer models provide alignment inherently and AED/LLM models typically derive word timing from attention weights, all signals are limited by the encoder frame grid. The document presents a generic gradient-based alignment for any differentiable ASR model: compute input gradients of teacher-forced token log probabilities, convert them to frame saliency, and recover word boundaries via dynamic programming. It needs no training or model changes, evaluates across sixteen models on read and spontaneous speech, and trades higher cost for usable timing, outperforming native alignment when the latter is weak.","Gradient-Based Speech-to-Text Alignment for Any ASR Model: From CTC to Speech LLMs  \nAlbert Zeyer , Ralf Schl¨uter , Hermann Ney  \nMachine Learning and Human Language Technology Group, RWTH Aachen University, Aachen, Germany  \nAppTek GmbH, Aachen, Germany  \n{zeyer,schlueter,[ney](ney}@ml.rwth-aachen.de)[}](ney}@ml.rwth-aachen.de)[@ml.rwth-aachen.de](ney}@ml.rwth-aachen.de)  \narXiv :2607 .0683 1v 1 [ cs .CL] 7 Jul 2026  \nAbstract—Speech-to-text alignment means finding the temporal boundaries of each word in the audio. Some models provide such an alignment directly and others do not. Connectionist temporal classification (CTC) and transducer models have an alignment by construction, whereas attention-based encoderdecoders (AED) and speech large language models (LLMs) do not, and their word timings are usually read off the attention weights instead. All of these signals live on the encoder frame grid, which bounds their temporal precision. We study a generic gradient-based alignment that applies to any differentiable ASR model. We take the gradient of each teacher-forced token log probability with respect to the input, reduce it to a per-framesaliency, and decode the resulting matrix into word boundaries with a single dynamic-programming pass. The method needs no training, no model modification and no alignment heads, works across all model families including the speech LLMs, and alignson the input grid rather than on the coarser encoder grid. We evaluate it on sixteen models from four families, on read (TIMIT) and spontaneous (Buckeye) speech, each against the model’s own native or attention-based alignment. We find that the gradient yields a usable alignment for every model, that it is usually somewhat behind a strong native aligner but better where the native alignment is weak, as for the streaming models, and that its main disadvantage is the cost of one backward pass per token.  \nIndex Terms—speech-to-text alignment, forced alignment, gradient-based attribution, automatic speech recognition, speech language models  \nI. INTRODUCTION & RELATED WORK  \nSpeech-to-text alignment assigns each transcribed word a start and end time in the audio. It is classically produced by finding the best path through a Gaussian-mixture hidden Markov model (GM-HMM) which is still the most accurate aligner for read speech [1]–[5] . Current models, however, differ in what alignment they provide on their own [6]: connectionist temporal classification (CTC) [4],[7] and transducer models [8] have one by construction, whereas attention-based encoder-decoders (AED) [9]–[11] and speech large language models (LLMs) [12]–[14] do not, and their word timings are usually read off the attention weights instead. All of these signals live on the 20 to 80 ms encoder frame grid, which bounds their temporal precision. For AED, reading the timing off the cross-attention is established practice: Whisper emits coarse segment-level timestamp tokens [15], word-level timestamps follow from a dynamic time warping (DTW) of the decoder cross-attention [16] that fine-tuning can sharpen [17], and the alignment-bearing heads can even be selected by  \nan unsupervised heuristic and refined with character-level teacher forcing without any training [18] . Speech LLM selfattention carries a similar alignment, used to constrain textto-speech synthesis [19] and as a policy for simultaneous translation [20]; forced alignment has separately been cast asa trained LLM task [21] .  \nWe study a generic gradient-based alignment that applies to any differentiable speech recognition model. For each transcript token we take the gradient of its teacher-forced log probability with respect to the input, reduce it to a per-framesaliency [22], and decode the resulting token-by-frame matrix into word boundaries with a single dynamic-programming pass (Fig. 1) . As it uses the gradient w.r.t. the input signal, it alignson the input grid rather than on the coarser encoder grid, and it can correct tempor","cbCaitPeoAHHKSi6","https://ap.wps.com/l/cbCaitPeoAHHKSi6","pdf",399436,2,1,"English","en",105,"# Introduction & Related Work\n## Background on alignment types across ASR families\n## Proposed gradient-based alignment method\n## Contributions and evaluation scope","[{\"question\":\"What problem does the document address in speech-to-text systems?\",\"answer\":\"It addresses speech-to-text alignment: determining temporal boundaries for each transcribed word within the audio.\"},{\"question\":\"How does the proposed method generate alignments for different ASR model families?\",\"answer\":\"For each teacher-forced token, it takes the gradient of the token log probability with respect to the input, reduces it to per-frame saliency, and uses a single dynamic-programming pass to decode word boundaries.\"},{\"question\":\"What are the main trade-offs compared with native alignments?\",\"answer\":\"The gradient-based alignment works across all model families and can be better when native forced alignment is weak, but it is usually more expensive due to one backward pass per token.\"}]",1784199634,20,{"code":4,"msg":30,"data":31},"ok",{"site_id":24,"language":23,"slug":32,"title":13,"keywords":33,"description":14,"schema_data":34,"social_meta":85,"head_meta":87,"extra_data":89,"updated_unix":27},"gradient-based-speech-to-text-alignment-for-any-asr-model-from-ctc-to-speech-llms","",{"@graph":35,"@context":84},[36,52,67],{"@type":37,"itemListElement":38},"BreadcrumbList",[39,43,46,49],{"item":40,"name":41,"@type":42,"position":21},"https://docshare.wps.com","Home","ListItem",{"item":44,"name":45,"@type":42,"position":20},"https://docshare.wps.com/document/","Document",{"item":47,"name":12,"@type":42,"position":48},"https://docshare.wps.com/document/research-report/",3,{"item":50,"name":13,"@type":42,"position":51},"https://docshare.wps.com/document/gradient-based-speech-to-text-alignment-for-any-asr-model-from-ctc-to-speech-llms/84946/",4,{"url":50,"name":13,"@type":53,"author":54,"headline":13,"publisher":56,"fileFormat":59,"inLanguage":23,"description":14,"dateModified":60,"datePublished":61,"encodingFormat":59,"isAccessibleForFree":62,"interactionStatistic":63},"DigitalDocument",{"name":9,"@type":55},"Person",{"url":40,"name":57,"@type":58},"DocShare","Organization","application/pdf","2026-07-24","2026-07-16",true,{"@type":64,"interactionType":65,"userInteractionCount":20},"InteractionCounter",{"@type":66},"ViewAction",{"@type":68,"mainEntity":69},"FAQPage",[70,76,80],{"name":71,"@type":72,"acceptedAnswer":73},"What problem does the document address in speech-to-text systems?","Question",{"text":74,"@type":75},"It addresses speech-to-text alignment: determining temporal boundaries for each transcribed word within the audio.","Answer",{"name":77,"@type":72,"acceptedAnswer":78},"How does the proposed method generate alignments for different ASR model families?",{"text":79,"@type":75},"For each teacher-forced token, it takes the gradient of the token log probability with respect to the input, reduces it to per-frame saliency, and uses a single dynamic-programming pass to decode word boundaries.",{"name":81,"@type":72,"acceptedAnswer":82},"What are the main trade-offs compared with native alignments?",{"text":83,"@type":75},"The gradient-based alignment works across all model families and can be better when native forced alignment is weak, but it is usually more expensive due to one backward pass per token.","https://schema.org",{"og:url":50,"og:type":86,"og:title":13,"og:site_name":57,"og:description":14},"article",{"robots":88,"canonical":50},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":91},[92,96,100,104,109,114,119,122,126,129,133],{"id":21,"doc_module":4,"doc_module_name":45,"category_name":93,"show_sort_weight":94,"slug":95},"Story & Novel",90,"story-novel",{"id":20,"doc_module":4,"doc_module_name":45,"category_name":97,"show_sort_weight":98,"slug":99},"Literature",80,"literature",{"id":51,"doc_module":4,"doc_module_name":45,"category_name":101,"show_sort_weight":102,"slug":103},"Exam",70,"exam",{"id":105,"doc_module":4,"doc_module_name":45,"category_name":106,"show_sort_weight":107,"slug":108},5,"Comic",60,"comic",{"id":110,"doc_module":4,"doc_module_name":45,"category_name":111,"show_sort_weight":112,"slug":113},6,"Technology",50,"technology",{"id":115,"doc_module":4,"doc_module_name":45,"category_name":116,"show_sort_weight":117,"slug":118},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":45,"category_name":12,"show_sort_weight":120,"slug":121},30,"research-report",{"id":123,"doc_module":4,"doc_module_name":45,"category_name":124,"show_sort_weight":28,"slug":125},9,"Religion & Spirituality","religion-spirituality",{"id":28,"doc_module":4,"doc_module_name":45,"category_name":127,"show_sort_weight":28,"slug":128},"World Cup","world-cup",{"id":130,"doc_module":4,"doc_module_name":45,"category_name":131,"show_sort_weight":130,"slug":132},10,"Lifestyle","lifestyle",{"id":134,"doc_module":4,"doc_module_name":45,"category_name":135,"show_sort_weight":105,"slug":136},19,"General","general"]