DiffImpact: Differentiable Rendering and Identification of Impact Sounds

Samuel Clarke, Negin Heravi, Mark Rau, Ruohan Gao, Jiajun Wu, Doug L. James, Jeannette Bohg

Introduction

When a robot manipulates an object, the resulting sounds contain a wealth of information about the object's material, shape, and the force of the contact. This acoustic information is incredibly valuable, especially when visual data is occluded, blurry, or poorly lit. However, working backward from a recorded sound to determine the physical properties of the object and the impact (the "inverse problem") is notoriously difficult.

Existing approaches generally fall into two flawed categories: traditional physics simulators, which are non-differentiable and slow to optimize, and pure deep learning models, which act as "black boxes" requiring massive datasets and producing uninterpretable results. DiffImpact bridges this gap by creating a sound renderer that is both physically grounded and fully differentiable.

Methodology

The core contribution is DiffImpact, a differentiable decoder that generates audio waveforms based on physical parameters. In an end-to-end setup, a neural encoder takes a ground-truth audio spectrogram and predicts a set of physical parameters. DiffImpact then uses these parameters to render the sound through several distinct, differentiable physics modules.

The DiffImpact architecture integrates a neural encoder with differentiable physics-based generators to synthesize realistic impact sounds and estimate physical parameters.

The system utilizes four primary modules to reconstruct the audio signal:

  • Impact Force Profile: Uses a Gaussian approximation of the Hertz half-sine contact model to simulate the physical strike.
  • Acceleration Sound: Models the brief "click" caused by the rapid deceleration of the striking tool.
  • Object Impulse Response: Uses a "modal model" (exponentially decaying sinusoids) to simulate the natural ringing frequencies of the struck object.
  • Environment & Reverb: Applies learnable filters to white noise for background noise and room reverberation.

Because every step is differentiable, the entire system can be trained end-to-end using standard gradient descent, optimizing a loss function based on multi-scale spectrograms.

Experimental Setup

The model was evaluated across several datasets to test its versatility and accuracy:

  • Studio Impact Dataset: Used to validate force prediction accuracy using a force transducer.
  • ASMR Bakery Dataset: Real-world YouTube audio of tapping various materials (wood, glass, steel, etc.) for end-to-end learning.
  • Robotic Kitchen Utensil Dataset: A Franka Panda robot striking objects with different tools for source separation tasks.
  • Sound-20K: Synthetic bouncing sounds used to train a material classifier for evaluation.

Results

DiffImpact demonstrates significant advantages in efficiency and interpretability. While a comparable model-free baseline (WaveGlow) required approximately 300 hours to train, DiffImpact achieved results in just one hour on a single GPU.

Comparison of ground truth and DiffImpact reconstructions for both impact force profiles and audio spectrograms.

In human studies using the ASMR dataset, participants chose DiffImpact's generated audio over the real ground-truth audio 42.9% of the time, indicating high perceptual realism. Furthermore, the model excels at source separation. By explicitly modeling separate components (tool vibration, object vibration, etc.), it allows for superior material identification. A downstream classifier identified the material of struck objects with 90.6% accuracy using DiffImpact's separated audio, significantly outperforming baselines like Deep Audio Prior (50.0%) and Non-Negative Matrix Factorization (40.6%).

Discussion and Future Work

While highly effective for rigid body impacts, DiffImpact currently struggles with highly deformable materials (e.g., silicone) due to its rigid body physics priors. Additionally, it is limited to impact events and does not yet account for continuous contact sounds like scraping or scratching. Future work aims to expand the physics modules to handle a wider variety of acoustic events and integrate this framework with visual and tactile data for comprehensive multimodal robotic perception.

Summary updated

BibTeX
@inproceedings{clarke2021diffimpact,
  author = {Samuel Clarke and Negin Heravi and Mark Rau and Ruohan Gao and Jiajun Wu and Doug L. James and Jeannette Bohg},
  title = {{DiffImpact: Differentiable Rendering and Identification of Impact Sounds}},
  booktitle = {Conference on Robot Learning},
  year = {2021},
}
Figure