Time-Domain vs Frequency-Domain Loss in Neural TTS

This article examines the computational trade-offs between time-domain and frequency-domain loss functions when training neural Text-to-Speech (TTS) models and neural vocoders. While time-domain losses offer lower per-iteration arithmetic complexity, they introduce phase sensitivity that complicates convergence and often requires memory-intensive adversarial networks. Conversely, frequency-domain losses introduce deterministic transformation overheads via the Short-Time Fourier Transform (STFT) but provide superior gradient stability, faster wall-clock convergence, and higher perceptual audio fidelity.

Computational Characteristics of Time-Domain Losses

Time-domain losses—such as L1, Mean Squared Error (MSE), or waveform-level adversarial losses—operate directly on raw amplitude values across audio samples.

Computational Characteristics of Frequency-Domain Losses

Frequency-domain losses—most notably Multi-Resolution STFT (MR-STFT) and Mel-spectral convergence losses—compare the spectral representations of synthesized and ground-truth audio.

Direct Trade-Off Comparison

Metric Time-Domain (Direct / Adversarial) Frequency-Domain (STFT / Mel)
Arithmetic Complexity (FLOPs/Step) Low (Direct) / High (Adversarial) Moderate to High (due to FFTs)
VRAM Consumption Low (Direct) / High (Discriminators) Moderate (due to 2D spectral buffers)
Optimization Stability Poor (gradient cancellations) High (smooth loss landscape)
Steps to Convergence Very High Low to Moderate
Perceptual Quality per Compute Unit Low (requires extensive tuning) High (direct correlation with audio fidelity)

Practical Implementation Trade-Offs

In modern neural TTS architectures, frequency-domain loss acts as an efficient regularizer. While computing STFTs across three to five resolutions increases iteration time by approximately 15% to 30% compared to raw time-domain operations, it cuts the total number of training epochs required to eliminate artifacts by more than half.

Consequently, modern neural vocoders and end-to-end TTS systems commonly adopt a hybrid approach: frequency-domain losses guide macro-structural spectral accuracy and accelerate baseline convergence, while lightweight time-domain adversarial losses resolve high-frequency details and eliminate the over-smoothing characteristic of pure spectral matching.