Skip to content
ExplanationUnreviewed

0002: RoPE with overlapping windowed attention and local convolutions

Recorded 2026-11-19 (updated 2026-11-27). We retain rotary position embeddings (RoPE) with 256-frame windowed attention inside a finite receptive field, adding 32-frame window overlap and local convolutions to resolve block-edge jumps observed in Experiment #8.

Context

Long-sequence listening in Experiment #3 established that absolute positional encodings degraded articulation above 10 s, whereas RoPE with 256-frame local window attention maintained clarity across 30 s phrases (75.0% blind A/B win rate, 1174.3 Glicko vs global RoPE 63.3% / 1104.4 and global absolute 10.5% / 766.1, with parity on normal utterances at 1009.3 vs 1014.1).

In Experiment #8, diagnostic checks on 8.2.2 and 7.2.5 found one-frame Mel and waveform step jumps every 1.49 s at exact window boundaries (t % 256 == 128, rising up to +45% on Opencpop and +90% up to 4.53x median jump on .ds projects), where non-overlapping attention partitions disconnected neighboring frames without convolutional bridging.

Options considered

  • Global self-attention: Degraded long-sequence phrasing in Experiment #3 and scales quadratically while violating finite-receptive-field isolation for localized piano-roll edits.
  • Bidirectional GRU (BiGRU): Propagates hidden states across the full phrase and ran slowly on Apple Silicon MPS in profiling (203.8 to 807.3 ms per 10 s).
  • State-space models (SSMs) and autoregressive (AR) decoders: Accumulate cross-frame state across whole utterances or decode sequentially, interfering with framewise piano-roll alignment and zero-diff local repainting.
  • Pure non-convolutional DiT: Showed softer consonant attacks at compact local parameter counts in architecture benchmarks (retained as an option only for large cloud teacher models).

Decision

  1. Retain RoPE and 256-frame windowed attention for sequence modeling across acoustic blocks (model_v1 through model_v3).
  2. Add 32-frame overlap between adjacent windows paired with local convolutions so receptive fields remain strictly finite for phrase-local editing while bridging block boundaries.

Consequences and revisit conditions

  • Every frame block affects only a bounded local halo, supporting deterministic phrase-local cache reuse and zero-diff unedited regions.
  • Experiment #9 tests whether 32-frame overlap and local convolutions remove the 1.49 s boundary discontinuities measured in Experiment #8. Revisit window width or overlap only if longer cross-phrase prosodic dependencies appear degraded in blind listening.

Type to search…

↑↓ navigate↵ selectEsc close