Micaugment: One-Shot Microphone Style Transfer

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

TL;DR

MicAugment is a "one-shot" style transfer method that learns the acoustic signature of a specific microphone and environment from just a few seconds of audio. By applying this learned "style" to clean training data, it allows researchers to perform highly effective data augmentation, significantly boosting the robustness of audio models (like keyword spotters) when deployed on diverse, real-world hardware.

What Problem Does This Paper Address?

Audio models often suffer from "domain shift." A model trained on high-quality, studio-grade speech recordings often fails when deployed "in-the-wild" on cheap smartphone microphones, in echoey rooms, or in noisy environments.

Existing solutions to this problem are often impractical:

  1. Paired Data: Some methods require recording the exact same audio clip simultaneously on a "clean" mic and a "target" mic—a logistically difficult task.
  2. CycleGANs: Unpaired methods like CycleGAN can learn mappings between microphones but require massive amounts of data for every new device and are notoriously difficult to stabilize for audio.

MicAugment aims to bridge this gap by identifying the transformation of a specific acquisition pipeline (mic response, reverb, noise, and clipping) using only a single, short snippet of audio from the target device.

Methods

The researchers treat microphone style transfer as a system identification problem using a differentiable pipeline. The process involves two main stages:

1. The Speech Enhancement Proxy

To learn how a microphone transforms "clean" audio, you ideally need a clean version of the target clip. Since that doesn't exist in one-shot scenarios, MicAugment uses a pre-trained Speech Enhancement Network (based on SEANet) to "clean" the target sample, creating a synthetic reference of what the speaker likely sounded like before the microphone got a hold of them.

2. The Differentiable Microphone Model

Instead of a "black box" neural network, MicAugment uses a lightweight model with strong inductive biases—it's structured to mimic how physical hardware actually works. The pipeline includes:

  • Microphone & Room Impulse Response (IR): A convolution layer that captures frequency filtering and echoes.
  • PSD-based Thresholding: A component that models non-linear frequency cutouts.
  • Filtered Noise: Adds background noise by passing Gaussian noise through a learned filter.
  • Soft Clipping: A differentiable implementation of signal clipping (using smoothmax and smoothmin) to model what happens when a gain is too high for the hardware.

The parameters of this model are optimized via gradient descent (using the ADAM optimizer) to minimize the difference between the transformed source audio and the target audio in the log-mel spectrogram domain.

Datasets

  • VCTK & Librispeech: Used as the "clean" source corpora for speech.
  • MOBIPHONE: A dataset containing recordings from 21 different mobile devices, used to test if MicAugment can "fool" a device identification model.
  • Speech Commands V2: Used to evaluate the downstream benefits of MicAugment for keyword detection.
  • MICrophone Impulse Response Project: Used to provide a diverse set of initial microphone filters for synthetic training.

Key Insights and Ideas

  • Physics-Informed Architecture: By using a structured pipeline (IR -> Noise -> Clipping) rather than a generic deep network, the model requires far less data to converge. This is what enables "one-shot" learning.
  • Differentiable Everything: By making typically non-differentiable operations (like hard clipping) "soft" and differentiable, the authors allow the entire microphone signature to be learned through standard backpropagation.
  • Augmentation is the Goal: The authors emphasize that the goal isn't just to make audio sound like it's from a different mic, but to use that capability to generate infinite "noisy" training data that prepares a model for the specific device it will be deployed on.

Key Results

  • Fooling Classifiers: In a device identification task (20-class classification), MicAugment successfully "fooled" a classifier into thinking clean audio came from a specific target device 68.3% of the time, using only 15 seconds of target audio.
  • Keyword Detection Robustness: When testing a keyword spotter on real-world recordings (audio played through speakers and re-recorded on a MacBook), standard models saw a significant drop in accuracy. Using MicAugment for data augmentation recovered 70% of that lost accuracy.
  • Efficiency: Because the microphone model is so lightweight, it can be optimized in less than a minute on a single GPU.

Limitations and Future Work

  • Dependency on Enhancement: The method's success relies heavily on the Speech Enhancer. If the enhancer introduces its own artifacts or fails to perfectly clean the target sample, the microphone model might accidentally "learn" those artifacts as part of the microphone's style.
  • Source Assumptions: The method assumes the "source" audio is perfectly clean with a flat frequency response. If the source data already has its own "style," the transfer might be less accurate.
  • Future Directions: The authors suggest this framework could be extended to more complex environmental factors or even used to "de-identify" speakers by stripping away the unique acoustic footprints of their devices.

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