{"id":{"repo_id":"byu","oai_identifier":"oai:scholarsarchive.byu.edu:etd-12136"},"canonical_url":"https://search.ndltd.org/etd/byu/oai:scholarsarchive.byu.edu:etd-12136","repository":{"repo_id":"byu","name":"Brigham Young University","base_url":"https://scholarsarchive.byu.edu/do/oai/"},"display":{"title":"Bayesian Alignment Prior to Connectionist Temporal Classification Loss","abstract":"We propose revisions of Connectionist Temporal Classification (CTC) loss and forced alignment to support longer input sequences. CTC loss is normally used for training in speech and handwriting recognition tasks when the labels are not fully aligned with the data, while forced alignment is a downstream task that finds the optimal path for segmentation purposes. The current implementations consider all possible alignments between the input and label, which grows exponentially with the size of the input. We show that in cases when silence is removed and speaking rate is consistent, the true alignment is a mostly straight line across time and transcription. We experiment with adding a Bayesian prior of phoneme length, scaled by speaking speed to constrict the alignment space. We find significant improvements to forced alignment, reducing the time complexity to less than O(n sqrt n log n) and the space complexity to O(n). However, we also find that the prior negatively affected training in our experiments.","abstract_html":"We propose revisions of Connectionist Temporal Classification (CTC) loss and forced alignment to support longer input sequences. CTC loss is normally used for training in speech and handwriting recognition tasks when the labels are not fully aligned with the data, while forced alignment is a downstream task that finds the optimal path for segmentation purposes. The current implementations consider all possible alignments between the input and label, which grows exponentially with the size of the input. We show that in cases when silence is removed and speaking rate is consistent, the true alignment is a mostly straight line across time and transcription. We experiment with adding a Bayesian prior of phoneme length, scaled by speaking speed to constrict the alignment space. We find significant improvements to forced alignment, reducing the time complexity to less than O(n sqrt n log n) and the space complexity to O(n). However, we also find that the prior negatively affected training in our experiments.","abstract_has_math":false,"creators":["Sorenson, Lawry"],"institution":null,"degree_name":"MS","degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025-12-09T08:00:00Z","date_published":"2025-12-09T08:00:00Z","updated_at":"2026-11-27T02:27:09Z","subjects":["CTC","forced alignment","Viterbi","Hirschberg","speech recognition","torchaudio","Physical Sciences and Mathematics"],"languages":["english"],"rights":[],"rights_urls":["https://lib.byu.edu/about/copyright/"],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://scholarsarchive.byu.edu/etd/11125","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"https://scholarsarchive.byu.edu/etd/11125","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Abyu%3Aoai%3Ascholarsarchive.byu.edu%3Aetd-12136","prefix":"oai_dc"},"source_record":{"url":"https://scholarsarchive.byu.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Ascholarsarchive.byu.edu%3Aetd-12136","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Sorenson, Lawry"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2025-12-09T08:00:00Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["MS"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["CTC","forced alignment","Viterbi","Hirschberg","speech recognition","torchaudio","Physical Sciences and Mathematics"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["english"]},{"key":"dc:rights.license","label":"Dc Rights License","values":["https://lib.byu.edu/about/copyright/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://scholarsarchive.byu.edu/etd/11125"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["Computational, Mathematical, and Physical Sciences","Computer Science"]},{"key":"dc:description.abstract","label":"Abstract","values":["We propose revisions of Connectionist Temporal Classification (CTC) loss and forced alignment to support longer input sequences. CTC loss is normally used for training in speech and handwriting recognition tasks when the labels are not fully aligned with the data, while forced alignment is a downstream task that finds the optimal path for segmentation purposes. The current implementations consider all possible alignments between the input and label, which grows exponentially with the size of the input. We show that in cases when silence is removed and speaking rate is consistent, the true alignment is a mostly straight line across time and transcription. We experiment with adding a Bayesian prior of phoneme length, scaled by speaking speed to constrict the alignment space. We find significant improvements to forced alignment, reducing the time complexity to less than O(n sqrt n log n) and the space complexity to O(n). However, we also find that the prior negatively affected training in our experiments."]},{"key":"dc:format","label":"Dc Format","values":["application:pdf"]},{"key":"dc:source","label":"Dc Source","values":["Brigham Young University"]},{"key":"dc:title","label":"Title","values":["Bayesian Alignment Prior to Connectionist Temporal Classification Loss"]}]}],"canonical_facts":{"dc:creator":["Sorenson, Lawry"],"dc:date":["2025-12-09T08:00:00Z"],"dc:description":["Computational, Mathematical, and Physical Sciences","Computer Science"],"dc:description.abstract":["We propose revisions of Connectionist Temporal Classification (CTC) loss and forced alignment to support longer input sequences. CTC loss is normally used for training in speech and handwriting recognition tasks when the labels are not fully aligned with the data, while forced alignment is a downstream task that finds the optimal path for segmentation purposes. The current implementations consider all possible alignments between the input and label, which grows exponentially with the size of the input. We show that in cases when silence is removed and speaking rate is consistent, the true alignment is a mostly straight line across time and transcription. We experiment with adding a Bayesian prior of phoneme length, scaled by speaking speed to constrict the alignment space. We find significant improvements to forced alignment, reducing the time complexity to less than O(n sqrt n log n) and the space complexity to O(n). However, we also find that the prior negatively affected training in our experiments."],"dc:format":["application:pdf"],"dc:identifier":["https://scholarsarchive.byu.edu/etd/11125"],"dc:language":["english"],"dc:rights.license":["https://lib.byu.edu/about/copyright/"],"dc:source":["Brigham Young University"],"dc:subject":["CTC","forced alignment","Viterbi","Hirschberg","speech recognition","torchaudio","Physical Sciences and Mathematics"],"dc:title":["Bayesian Alignment Prior to Connectionist Temporal Classification Loss"],"dc:type":["Thesis"],"thesis:degree_name":["MS"]},"updated_at":"2026-11-27T02:27:09Z"}