WavJEPA-Nat: Dual-Channel Audio Modeling
- WavJEPA-Nat is a dual-channel extension of JEPA that robustly learns semantic audio representations from raw waveforms in noisy and reverberant settings.
- The architecture uses independent waveform encoders with 2D sinusoidal positional embeddings and transformer-based context prediction to achieve superior generalizability on various benchmarks.
- Empirical evaluations show 4–6% improvement in acoustic event recognition and 12.5 ms inference latency, enabling real-time performance on edge devices.
WavJEPA-Nat is a multi-channel extension of the WavJEPA architecture designed to learn robust, semantic audio representations from raw waveforms in naturalistic, noisy, and reverberant environments. Building upon the Joint-Embedding Predictive Architecture (JEPA) paradigm for time-domain foundation audio models, WavJEPA-Nat introduces a two-channel (binaural) waveform encoder and targets improved resilience to adverse acoustic conditions by training with spatialized and reverberant scene data. This approach achieves state-of-the-art robustness and generalizability for downstream audio tasks, while maintaining low computational latency and resource requirements (Yuksel et al., 27 Sep 2025).
1. Architectural Framework
WavJEPA-Nat ingests a two-channel raw waveform , where each channel corresponds to a binaural audio signal. Each channel is processed by an independent waveform encoder (shared architecture, separate weights), yielding and , with and for 2 s segments sampled at 100 Hz tokenization.
The channel embeddings are concatenated to form . Learnable 2D sinusoidal positional encodings and are added to each token to encode both temporal and channel (spatial) information.
A distributed context is sampled alongside 0 target blocks 1. The context encoder 2 operates on the context tokens 3 and is implemented as a ViT-B transformer with masked attention. The prediction step inserts learned mask tokens at the target indices and runs a predictor network 4 (ViT-S) to output 5. Target features are computed using an EMA-updated target encoder 6 (ViT-B).
The architecture is depicted textually as:
| Module | Details | Output Shape |
|---|---|---|
| Waveform encoders | 6 conv layers, 512 channels each | 7: 8 |
| Concatenation + 2D PE | Channel/time sinusoidal embeddings | 9 |
| Context encoder (ViT-B) | Masked attention over context tokens | 0 |
| Predictor (ViT-S) | Target block masked context | 1 |
| Target encoder (ViT-B, EMA) | Full 2 embedding | 3 |
This dual-channel formulation enables context–target prediction across a 2D grid of "time × channel" tokens.
2. Training Objective and Loss
WavJEPA-Nat adopts the JEPA 4 objective, extended to the 2D token grid. For each batch, the context encoder 5 processes 6; masked context vectors 7 are constructed by inserting learned mask tokens at the target indices 8. The predictor 9 produces predictions 0 for each of 1 blocks.
The target encoder 2, tracking the context encoder with exponential moving average (EMA) 3, produces reference targets 4. The per-block loss is
5
and the total batch loss
6
The sampling parameters are 7, 8, 9, and 0.
3. Simulation of Multi-Channel Data
WavJEPA-Nat is trained on a synthetic dataset of spatialized, multi-channel scenes engineered to reflect realistic acoustic environments. The data pipeline incorporates:
- RIR generation: Utilizing 85 3D house meshes from MatterPort3D, room impulse responses are simulated per house via a Monte-Carlo ray-tracer (SoundSpaces 2.0). These are combined with head-related impulse responses (HRIR) to generate binaural RIRs (BRIR). Reverberation times 1 span 2 s.
- Scene composition: Each example blends a 10 s AudioSet clip (resampled to 16 kHz) with a 10 s WHAMR! noise segment. For each, a random listener pose and multiple noise (and source) positions are selected. The signals are convolved with BRIRs to yield binaural clean and noisy components:
3
The observed signals are mixed at a random SNR 4 dB,
5
- Scale: 1000 scenes are generated per house, totaling 85,000 BRIR scene sets; 70,000 for training and 15,000 for internal validation.
No additional data augmentation is applied beyond the mixture and instance normalization.
4. Training Regimen and Hyperparameters
WavJEPA-Nat is trained with the following configuration:
- Input: 2 s segments at 16 kHz, downsampled to 6 time tokens; 2-channel (binaural) input.
- Model sizes: Waveform encoder: 6 convolutional layers, 512 channels per layer, 7 million params per channel. Context encoder (ViT-B): 8 million params. Predictor (ViT-S): 9 million params. Total: 0 million parameters.
- Optimization: AdamW (1, 2, 3), learning rate with 100k linear warmup steps to 4 peak, then cosine decay.
- Batching: Actual batch size of 16 with 5 in-batch sampling for an effective batch size of 128.
- Sampling: 6, 7, 8 tokens, 9 for top-K layer averaging.
- Total steps: 375,000.
- Data augmentation: None used beyond initial data composition.
5. Empirical Robustness and Evaluation
WavJEPA-Nat is benchmarked on the HEAR (clean) and NatHEAR (noisy/reverberant) suites, using the generalizability score 0 (0–100%). Results show:
| Benchmark | WavJEPA-Nat | WavJEPA (single-channel) | WavJEPA (full batch) |
|---|---|---|---|
| HEAR (clean) | 60.0 % | 58.3 % | 66.0 % |
| NatHEAR | 61.2 % | 55.8 % | - |
On acoustic scene and event recognition tasks (e.g., DCASE, FSD50K), WavJEPA-Nat shows 4–6% absolute improvement over WavJEPA; speech and music see 2–5% gains. Under varying SNR and reverberation (1), WavJEPA-Nat's accuracy degrades less than 5% across +5 to +40 dB SNR, and maintains over 90% of clean-scene performance across 2 s.
6. Latency and Computational Profile
WavJEPA-Nat contains approximately 114 million parameters, with an inference cost of ~50 GFLOPs per 2 s, two-channel audio segment. The model achieves an end-to-end processing latency of approximately 12.5 ms (given a 10 ms stride and 12.5 ms receptive field), with measured real-time factor 3 (20 times faster than real time) on a V100 GPU.
Resource efficiency is ensured by direct raw waveform processing—avoiding the overhead of spectrogram (STFT) computation—and by using parallel, compact waveform encoders and efficient ViT-based stacks at 100 Hz tokenization. This enables real-time deployment on edge hardware.
7. Significance and Implications
WavJEPA-Nat demonstrates the practicality of foundation audio models that operate in the time domain and are robust to challenging, variable acoustic environments. Its dual channel, JEPA-style context–target prediction—trained on large-scale spatialized, reverberant, and noisy data—enables not only competitive generalization on clean benchmarks but also consistent performance under noise and reverberation, with low latency and modest resource demands. These characteristics make WavJEPA-Nat suited for real-world, real-time audio applications where traditional spectrogram-based or non-spatial models are limited (Yuksel et al., 27 Sep 2025).