한국어 초록
기존에는 온라인 자원에서 학습(training) 데이터를 발굴하기 위해 오디오와 텍스트 간의 강제 정렬(forced alignment)을 수행하는 데 비터비 알고리즘(Viterbi algorithm)이 사용되었습니다. 그러나 많은 기존 구현은 2차 시간 및 공간 복잡도(quadratic time and space complexity)를 가져 긴 입력 시퀀스에 대한 확장성이 떨어집니다. 본 논문에서는 이러한 문제를 해결하기 위한 두 가지 최적화(optimization) 기법을 제안합니다. 첫째, 허쉬버그 알고리즘(Hirschberg algorithm)을 적용하여 선형 메모리를 사용하는 제자리(in-place) 정렬을 수행합니다. 둘째, 전사 오류를 고려하면서 임의의 신뢰도로 탐색 공간을 가지치기(pruning)할 수 있도록 음성과 텍스트 간의 정렬을 제약된 무작위 보행(constrained random walk)으로 모델링합니다. 허쉬버그 최적화는 CPU에서 두 방식을 모두 실행했을 때 torchaudio 대비 3분의 1의 시간으로 동일한 정렬 결과를 생성하면서, 3시간 분량의 입력에 대해 메모리 사용량을 140GB에서 5MB로 줄여줍니다. 또한 20분 이상의 입력에 대해 가지치기를 적용하여 추가적인 2배 속도 향상을 달성하는 동시에, 테스트된 사례의 98% 이상에서 정렬 정확도를 유지합니다.
원문 초록
The Viterbi algorithm has been previously used to perform forced alignment of audio to text to mine training data from online resources. However, many existing implementations have quadratic time and space complexity, scaling poorly to long input sequences. We propose two optimizations to address this issue. First, we apply the Hirschberg algorithm to perform the alignment in place using linear memory. Second, we model the alignment between speech and text as a constrained random walk, allowing us to prune the search space with arbitrary confidence while accounting for transcription errors. The Hirschberg optimization reduces memory usage from 140 GB to 5 MB for three-hour inputs while producing identical alignments in one-third the time of torchaudio when both run on a CPU. We achieve an additional 2x speedup with pruning on inputs longer than 20 minutes while preserving alignment accuracy in more than 98% of tested cases.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2609.21145v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.