Shape and Material from Sound

Zhoutong Zhang, Qiujia Li, Zhengjia Huang, Jiajun Wu, Josh Tenenbaum, Bill Freeman

This paper, presented at NeurIPS 2017 by researchers from MIT, the University of Cambridge, and ShanghaiTech, explores a fascinating intersection of psychoacoustics, physics simulation, and machine learning. It asks a deceptively simple question: Can a machine "hear" the shape and material of an object just by listening to it fall?

TL;DR

The researchers developed a computational system that infers the 3D shape, material properties, and falling height of an object from a single audio clip. By combining a high-speed physics-based synthesis engine with an "analysis-by-synthesis" inference loop, the model achieves near-human performance and even mimics the specific types of perceptual errors humans make.

What Problem Does This Paper Address?

When we hear a glass drop in the kitchen, we don't just hear "noise." We instantly know if it was a heavy mug or a light wine glass, and whether it fell from a counter or a table. Humans possess a "mental physics engine" that allows us to recover rich physical information from sparse auditory data.

Overview of the analysis-by-synthesis approach comparing real and simulated audio.

For computers, this is an "inverse problem"—mapping a 1D sound wave back to a high-dimensional set of physical properties (shape, mass, friction, Young’s modulus). This is traditionally difficult because the relationship between an object's geometry and the sound it produces is highly non-linear and sensitive to initial conditions. The authors aim to bridge this gap by building a machine that mimics human-like physical commonsense.

Methods

The authors propose a framework based on Analysis-by-Synthesis. Instead of trying to directly "guess" the properties, the system tries to "recreate" the sound.

The MCMC inference loop iteratively adjusts physical parameters to match the target audio.
  1. The Generative Model: The system uses a physics engine (Bullet) to simulate rigid body motion and a modal vibration model to synthesize the resulting sound. The model considers seven latent variables: primitive shape, falling height, rotation, and four material-related parameters (Young’s modulus, restitution, and Rayleigh damping coefficients).
  2. Accelerated Synthesis: Standard physics-based audio synthesis is computationally expensive. The authors optimized the engine using multi-threading and by focusing only on the most significant vibration modes, reducing the synthesis time for a 200-collision event from 30.4 seconds to just 0.8 seconds.
  3. Inference via MCMC: To find the parameters that best match the target audio, the system uses Gibbs sampling (a form of Markov Chain Monte Carlo). It iteratively adjusts the latent variables, simulates the sound, and compares the result to the original audio using a spectrogram-based likelihood function.
  4. Deep Learning "Warm Start": To speed up convergence, they trained a deep neural network (based on the SoundNet-8 architecture) to provide an initial guess. This network acts as a "recognition model," mimicking how human experience allows for "instant" intuition before deeper reasoning takes over.

Datasets

  • Synthetic Data: The primary dataset consists of 14 primitive shapes (cubes, cylinders, etc.) with 10 different material moduli, resulting in thousands of simulated falling events.
  • Human Behavioral Data: The authors collected 1,250 responses via Amazon Mechanical Turk to establish a human baseline for shape, material, and height estimation.
  • Real-World Recordings: To test generalization, they recorded a metal octahedron (a 20-sided die) dropping onto a table to see if the model could identify its shape from a set of candidates.

Key Insights and Ideas

  • Physics in the Loop: Unlike "black-box" deep learning models that require massive amounts of labeled data, this model uses a physics engine as a source of truth. This allows for unsupervised learning, where the model learns by trying to explain the data it hears.
  • The "Wake-Sleep" Analogy: The authors use a self-supervised paradigm. The unsupervised MCMC process generates "labels" (sleep phase), which are then used to train the deep recognition network (wake phase). The network then makes the MCMC process faster for future tasks.
  • Perceptual Alignment: One of the most striking findings is that the model's errors correlate with human errors. For example, both humans and the model occasionally confuse steel with ceramic. This suggests the model is capturing the same underlying physical cues that the human auditory system relies on.

Key Results

  • Near-Human Accuracy: In shape recognition tasks (e.g., "Is it pointy?" or "Does it have a curved surface?"), the unsupervised model reached human-level performance after roughly 10–30 iterations of sampling.
  • Efficiency: The optimized audio engine achieved a 38x speedup over standard algorithms, making the iterative analysis-by-synthesis approach feasible.
  • Material Inference: The model was highly effective at estimating Young’s modulus and damping coefficients, significantly outperforming chance and matching human confusion matrices for materials like wood, plastic, and metal.
  • Real-World Transfer: Despite being trained on synthetic data, the model successfully identified the shape of a real-world metal object by comparing its temporal energy distribution to simulated candidates.

Limitations and Future Work

  • Primitive Shapes: The current model is limited to relatively simple, convex primitive shapes. Real-world objects (like a bunch of keys or a chair) are much more complex.
  • Environmental Constraints: The simulation assumes a simple, flat ground. It does not yet account for complex acoustic environments (reverb, echoes) or different floor materials.
  • Single Objects: The paper focuses on a single object falling. Future work could involve multi-object interactions or "cocktail party" scenarios where multiple sounds overlap.
  • Multimodal Integration: The authors suggest that combining this auditory model with visual data would create a much more robust system for physical scene understanding.

Summary updated

BibTeX
@inproceedings{zhang2017shape,
  author = {Zhoutong Zhang and Qiujia Li and Zhengjia Huang and Jiajun Wu and Josh Tenenbaum and Bill Freeman},
  title = {{Shape and Material from Sound}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2017},
}
Figure