Micaugment: One-Shot Microphone Style Transfer

Zalán Borsos, Yunpeng Li, Beat Gfeller, Marco Tagliasacchi

Abstract

Audio recognition models often struggle with domain shift when deployed on diverse consumer hardware. MicAugment addresses this by performing one-shot microphone style transfer, transforming clean audio to match the characteristics of a specific target device using only seconds of reference audio. By incorporating physical inductive biases—such as frequency response and non-linear distortion—into a lightweight model, MicAugment enables rapid adaptation and robust data augmentation for real-world audio tasks.

Introduction

Audio recognition systems, while highly accurate in controlled environments, frequently underperform in real-world settings. This performance drop is largely due to the "style" of the recording device, which includes unique frequency responses, non-linear distortions like clipping, and environmental noise. Traditional solutions require extensive paired datasets or complex, data-hungry generative models. MicAugment offers a more efficient alternative: a one-shot framework that learns a device's signature from as little as nine seconds of audio.

Methodology: Modeling the Signal Chain

The MicAugment framework operates in the time domain through a two-stage process. First, a pre-trained Speech Enhancement Network cleans the target sample to create a synthetic source-target pair. Second, a specialized Microphone Model learns the transformation.

Unlike "black-box" neural networks, the Microphone Model uses a lightweight architecture designed to mimic a physical hardware signal chain.

The Microphone Model architecture, incorporating physical signal processing stages like Mic IR and Soft Clipping.

The model consists of four key components:

  • Mic IR: A convolution layer representing the combined frequency response of the microphone and the room.
  • PSD-based Thresholding: Models non-linear frequency-dependent gating.
  • Filtered Noise: Injects realistic, shaped background noise.
  • Soft Clipping: A differentiable layer simulating the harmonic distortion caused by high input levels.

This physically-grounded structure allows the model to be optimized via gradient descent in less than a minute on a single GPU, making it highly practical for rapid deployment.

Experimental Setup and Datasets

The authors evaluated MicAugment using a variety of speech datasets, including VCTK and Librispeech for high-quality source audio, and MOBIPHONE for testing across 21 different mobile devices. The Speech Commands V2 dataset was used to assess the impact on keyword detection robustness, while the MICrophone Impulse Response Project provided real-world IR data for synthetic training.

Key Results and Impact

MicAugment demonstrates significant improvements in both device emulation and downstream task performance. In device identification tasks, it achieved a 68.3% success rate in "fooling" a classifier with only 15 seconds of target audio.

More importantly, when used as a data augmentation tool for keyword spotting, MicAugment significantly outperformed standard methods like SpecAugment and Spectral Equalization.

Keyword detection performance comparison on Speech Commands V2, showing MicAugment's superior recovery of accuracy loss.

As shown in the results, MicAugment recovered up to 71.6% (synthetic) and 73.0% (real) of the accuracy loss caused by hardware variability, coming close to the "Oracle" performance which represents the upper bound of training on the actual target device data.

Discussion: The Power of Inductive Bias

The success of MicAugment highlights that for specialized tasks like audio style transfer, structured inductive biases can outperform raw model capacity. By following the physical stages of an audio pipeline, the model avoids the hallucinations common in general-purpose GANs when data is scarce. Furthermore, the "one-shot" nature—reaching peak performance with just 9 seconds of audio—makes it a viable solution for on-the-fly adaptation to new user hardware.

Limitations and Future Work

While effective, the method's reliance on a speech enhancer means that any artifacts introduced during cleaning may be learned as part of the device's style. Additionally, the current model primarily handles early room reflections rather than long-tail reverberation. Future research could extend this hardware-agnostic approach to other domains, such as environmental sound classification or music processing.

Summary updated

BibTeX
@inproceedings{borsos2021micaugment,
  author = {Zalán Borsos and Yunpeng Li and Beat Gfeller and Marco Tagliasacchi},
  title = {{Micaugment: One-Shot Microphone Style Transfer}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2021},
  doi = {10.1109/icassp39728.2021.9413994},
}
Figure