English

Length-Aware Rotary Position Embedding for Text-Speech Alignment

Audio and Speech Processing 2025-09-16 v1 Artificial Intelligence Computation and Language Sound

Abstract

Many recent text-to-speech (TTS) systems are built on transformer architectures and employ cross-attention mechanisms for text-speech alignment. Within these systems, rotary position embedding (RoPE) is commonly used to encode positional information in text and speech representations. In this work, we introduce length-aware RoPE (LARoPE), a simple yet effective extension of RoPE that improves text-speech alignment. Unlike RoPE, which relies on absolute indices, LARoPE computes relative distances between query and key positions using length-normalized indices. Experimental results show that LARoPE consistently outperforms RoPE, offering faster loss convergence, more accurate text-speech alignment, and higher overall TTS quality. Furthermore, LARoPE demonstrates greater resilience to variations in utterance duration and maintains stable performance in extended speech generation up to 30 seconds, whereas RoPE suffers from notable degradation. Notably, our method achieves a state-of-the-art word error rate on a standard zero-shot TTS benchmark.

Keywords

Cite

@article{arxiv.2509.11084,
  title  = {Length-Aware Rotary Position Embedding for Text-Speech Alignment},
  author = {Hyeongju Kim and Juheon Lee and Jinhyeok Yang and Jacob Morton},
  journal= {arXiv preprint arXiv:2509.11084},
  year   = {2025}
}

Comments

5 pages, 3 figures, preprint

R2 v1 2026-07-01T05:35:08.511Z