Recorded 2026-10-19. In earlier experiments, generated utterances longer than 10 seconds often lost intelligible lyric articulation. The output sounded like muffled humming, while pitch remained audible. We tested whether frame-level local attention and RoPE improve singing quality on long utterances.
Method
We enabled RoPE for both phone-level and frame-level attention. For the frame-level DiT, we used a local attention window of 256 frames, alternating between shifted and unshifted windows across layers. The phone encoder retained global attention.
Runs
Run #3.1: absolute position encoding and global attention
Baseline run using absolute positional encodings for both the phone encoder and frame-level DiT, with full global attention across all frames.
Configuration
- Config:
research/vocalsynth/configs/experiments/3/1.toml phone_position_encoding:"absolute"frame_position_encoding:"absolute"frame_attention_window:0(global attention)
Run #3.2: RoPE and local frame attention
Enables RoPE for both phone-level and frame-level attention, and restricts the frame-level DiT to a local attention window of 256 frames (with alternating shifted windows across layers).
Configuration
- Config:
research/vocalsynth/configs/experiments/3/2.toml phone_position_encoding:"rope"frame_position_encoding:"rope"frame_attention_window:256
Run #3.3: RoPE and global frame attention
Ablation run that keeps RoPE on both the phone encoder and frame-level DiT, while reverting frame-level attention to global (frame_attention_window = 0) to isolate the effect of RoPE from local window attention.
Configuration
- Config:
research/vocalsynth/configs/experiments/3/3.toml phone_position_encoding:"rope"frame_position_encoding:"rope"frame_attention_window:0(global attention)
Evaluation and results
All three runs were evaluated at step 4,000 using blind pairwise listening tests across two benchmarks:
- Long-sequence lyric articulation (20 inputs): Consecutive segments from the 5 validation songs were concatenated into nested prefixes reaching target durations of 5 s, 10 s, 20 s, and 30 s (4 lengths per song). Raters judged which sample had clearer and more accurate pronunciation.
- Standard-length naturalness (50 inputs): Standard validation utterances, used to check whether the attention and positional encoding changes affect overall singing quality on normal-length phrases.
Long-sequence lyric articulation
The table below summarizes blind pairwise articulation ratings across the 20 concatenated long-sequence inputs.
| Rank | Run | Configuration | Win rate | W / T / L | Glicko rating (RD) |
|---|---|---|---|---|---|
| 1 | Run #3.2 | RoPE + Local Frame Attention (w=256) |
75.0% | 47 / 38 / 3 | 1174.3 (45.7) |
| 2 | Run #3.3 | RoPE + Global Frame Attention | 63.3% | 38 / 38 / 14 | 1104.4 (43.7) |
| 3 | Run #3.1 | Absolute PE + Global Frame Attention | 10.5% | 3 / 12 / 71 | 766.1 (60.1) |
Replacing absolute positional encodings with RoPE (Run #3.3 vs. Run #3.1) accounts for most of the improvement on long sequences, lifting win rate from 10.5% to 63.3% and eliminating the severe articulation breakdown beyond the training segment length distribution. Adding local window attention on top of RoPE (Run #3.2 vs. Run #3.3) further improves articulation clarity on long sequences (75.0% win rate, 1174.3 vs. 1104.4 rating).
Naturalness on standard utterances
The table below summarizes blind pairwise naturalness ratings across the 50 standard-length validation utterances.
| Rank | Run | Configuration | Win rate | W / T / L | Glicko rating (RD) |
|---|---|---|---|---|---|
| 1 | Run #3.3 | RoPE + Global Frame Attention | 53.0% | 62 / 68 / 51 | 1014.1 (25.9) |
| 2 | Run #3.2 | RoPE + Local Frame Attention (w=256) |
52.0% | 59 / 67 / 52 | 1009.3 (26.1) |
| 3 | Run #3.1 | Absolute PE + Global Frame Attention | 45.0% | 48 / 65 / 66 | 976.7 (26.1) |
On standard-length validation utterances, both RoPE variants slightly outperform the absolute positional encoding baseline, while Run #3.2 and Run #3.3 are statistically tied within their rating deviations (1009.3 vs. 1014.1, RD ~26). Restricting frame-level DiT attention to a 256-frame shifted local window causes no loss in naturalness on short phrases while improving articulation on long utterances.
Decision
We adopted the Run #3.2 configuration (phone_position_encoding = "rope", frame_position_encoding = "rope", frame_attention_window = 256) as the default base model setting (stored in research/vocalsynth/configs/base/model_v1.toml and inherited by model_v2.toml and model_v3.toml).



