For decades, digital audio processing relied on a foundational compromise: to analyze or manipulate a sound wave, you first had to transform it into the frequency domain. By applying the Short-Time Fourier Transform (STFT), a one-dimensional continuous audio signal is sliced into overlapping windows and converted into a two-dimensional spectrogram displaying frequency magnitudes over time.
While computationally convenient, this transformation introduces severe trade-offs. Deep learning architectures operating directly on raw, time-domain waveforms bypass these limitations entirely, offering a fundamentally different way for neural networks to hear and synthesize sound.
The Hidden Cost of the Frequency Domain
To understand why time-domain modeling works, we must first understand how the frequency domain fails. The STFT decomposes a signal into two components: magnitude and phase. Because phase information—the precise position of a wave within its cycle—appears chaotic and highly discontinuous, historical deep learning models routinely discarded it, processing only the magnitude spectrogram.
When it comes time to turn that modified spectrogram back into listenable audio via the Inverse STFT (iSTFT), the missing phase must be estimated using iterative algorithms. This decoupling causes distinct, unnatural reconstruction artifacts. In speech enhancement or source separation, poor phase reconstruction manifests as distracting "metallic" or "watery" echoes, often referred to as musical noise by researchers like Wenye Ma et al..
Furthermore, the STFT is bound by the Gabor limit—an acoustic uncertainty principle. If you choose a short time window, you gain precise temporal resolution (exactly when a sound happens) but lose frequency resolution (exactly what the pitch is). If you choose a long window, the reverse occurs. This fixed resolution makes it incredibly difficult for a network to simultaneously model sharp, transient acoustic events (like a drum hit or a consonant burst) and sustained, harmonic tones.
Bypassing the Transform with Learnable Filters
Time-domain signal processing solves this by treating the raw 1D waveform as the native representation. Instead of hardcoding a mathematical transform like the STFT, the network learns its own acoustic features directly from the raw samples.
Raw Waveform (1D) ---> [ 1D Convolutional Encoder ] ---> Latent Feature Space
|
v
Clean Waveform (1D) <-- [ 1D Convolutional Decoder ] <--- [ Deep Processing Layers ]
This end-to-end strategy, pioneered in generative frameworks like SEGAN by Santiago Pascual et al. and TasNet by Yi Luo et al., utilizes a 1D convolutional encoder. The first layer consists of a bank of parameterized filters that slide across the raw audio samples. Because these filters are updated via backpropagation, they optimize themselves for the specific task at hand—whether that is speech separation, dereverberation, or denoising.
A symmetric 1D convolutional decoder then maps the processed latent features directly back into a time-domain waveform. Because the entire pipeline operates on continuous sequences, phase information is implicitly preserved within the relative temporal alignment of the samples. There is no phase to discard, no phase to reconstruct, and no metallic artifacting.
Why Exact Temporal Alignment Matters
Operating directly on the raw waveform provides an architectural superpower: the preservation of microsecond-level temporal details. This precision is the primary reason why time-domain models excel at tasks that frequency-domain models struggle to resolve.
1. Resolving Non-Linear Distortions
When an audio signal undergoes non-linear distortion—such as digital clipping or guitar overdrive—the peaks of the waveform are abruptly flattened. Johannes Imort et al. demonstrated that time-domain neural networks are uniquely suited for restoring these signals. Because the model looks at the raw sample sequence, it can pinpoint the exact sample index where clipping begins and mathematically infer the original curve of the peak, a feat that becomes blurred and smeared across multiple bins in a spectrogram representation.
2. Spatial Audio and Localization
Human spatial hearing relies heavily on Interaural Time Differences (ITD)—the tiny delay (often less than a millisecond) it takes for a sound wave to reach one ear versus the other. In tasks like novel-view acoustic synthesis, Changan Chen et al. showed that time-domain modeling is essential. By operating on raw waveforms, the network naturally captures these precise phase shifts and temporal delays, allowing it to render realistic binaural audio that accurately reflects a listener's position in a virtual space.
3. High-Frequency Forensics
Spectrograms inherently compress data by binning frequencies, which often smooths over subtle high-frequency variations. In audio forensics, however, these variations are critical. For instance, the authors of a study on AI-synthesized voice detection found that analyzing raw 1D waveforms allowed their model to catch microscopic phase inconsistencies and high-frequency artifacts left behind by neural vocoders—telltale signs of deepfake audio that are completely invisible on a standard 2D spectrogram. Similarly, Xingyu Zhang et al. leveraged this sample-level precision to inject imperceptible adversarial perturbations directly into waveforms, successfully fooling speaker recognition systems while remaining completely silent to human ears.
Overcoming the Sequence Length Challenge
If time-domain processing is so powerful, why wasn't it adopted sooner? The obstacle is sequence length. While a one-second audio clip might be represented by a 2D spectrogram of just a few hundred frames, that same second contains 16,000 samples at a standard speech sample rate, and 44,100 samples at CD quality. Standard recurrent or attention mechanisms quickly collapse under the weight of sequences this long.
To build long-range context across thousands of individual samples without exploding computational costs, modern architectures rely on three core innovations:
- Dilated Convolutions: Popularized by architectures like WaveNet and explored by Jesse Engel et al., dilated convolutions skip input steps, allowing the network's receptive field to grow exponentially rather than linearly with depth. This lets the model capture long-term musical or speech structure while maintaining sample-level resolution.
- Multi-Resolution Filter Banks: To combat the fixed-window limitation of the STFT, Emad M. Grais et al. introduced layers containing multiple convolutional filter sizes simultaneously. This allows a single layer to capture sharp, local transients with small filters while simultaneously tracking broad, low-frequency waves with larger filters.
- Linear State-Space Models (SSMs): The latest frontier replaces heavy attention layers with state-space blocks. Architectures like SepMamba, developed by Thor Højhus Avenstrup et al., and aTENNuate, developed by Yan Ru Pei et al., process raw time-domain waveforms with linear computational complexity. This breakthrough enables high-fidelity, low-latency audio processing directly on edge devices like hearing aids and smartphones.
The Remaining Frontiers
While time-domain modeling has fundamentally shifted how we approach audio AI, it remains an active area of optimization. The shift away from spectrograms means that traditional, visually-inspired loss functions are no longer applicable. As Morten Kolbæk et al. noted, defining mathematical objectives that perfectly align with human auditory perception directly in the time domain is highly complex. Furthermore, Abhimanyu Sahai highlighted that the field still lacks native 1D perceptual feature extractors equivalent to the 2D computer vision networks (like VGG) used to train image models.
Nevertheless, by treating sound not as a static image of frequencies, but as a continuous, unfolding physical wave, time-domain processing allows neural networks to interact with audio exactly as it exists in the physical world.