Rigid Body Adversarial Attacks

Aravind Ramakrishnan, David Levin I.w., Alec Jacobson3DV 2025 · DOI

Abstract

Physics simulators often rely on rigid-body dynamics (RBD) for computational efficiency, assuming objects are infinitely stiff. This paper demonstrates that this simplification creates a vulnerability: "adversarial objects" can be designed to have identical mass properties to a reference but exhibit wildly different trajectories in high-fidelity deformable simulations. By optimizing internal material distribution and properties like Young's modulus and density, the authors highlight a critical safety gap for robotics and planning systems that depend on simplified physics models.

Introduction

In robotics and computer graphics, Rigid Body Dynamics (RBD) are the standard for fast simulation. RBD assumes objects are infinitely stiff, characterized solely by their external shape and first three moments of mass: total mass, center of mass, and moment of inertia. However, real-world objects are never perfectly rigid. Even minor deformations during impact can significantly alter energy storage and release. This paper identifies a "sim-to-sim" gap between efficient RBD simulators and high-fidelity Deformable Simulators (e.g., Finite Element Method). The authors prove that this gap can be exploited to design objects that "trick" rigid-body-based systems into predicting incorrect trajectories.

Figure 1: Comparison of rigid vs. deformable simulations for a basketball. Despite having equal physical moments, the adversarial ball's optimized internal properties cause it to miss the hoop in a deformable simulation.

Methodology

The creation of adversarial objects is framed as a constrained optimization problem. The objective is to maximize the trajectory difference between an adversarial object and a reference after a physical event (like a bounce), while ensuring the perturbation remains "imperceptible" to a rigid-body simulator.

Constraints and Degrees of Freedom

To remain indistinguishable in RBD, the adversarial object must maintain the exact external geometry and the same first three moments of mass as the reference. The optimizer is permitted to vary:

  • Internal Material Distribution: Determining hollow versus solid regions.
  • Material Properties: Spatially varying Young’s modulus (stiffness), Poisson’s ratio, and density within realistic bounds (e.g., ABS plastic to Tungsten).

Differentiable Physics Pipeline

The authors developed a differentiable physics pipeline using the Adjoint Method to efficiently compute gradients—how infinitesimal changes in internal density affect the final macroscopic state. They employed Topology Optimization (specifically the SIMP method) combined with mesh Laplacian smoothing to ensure realistic internal structures and avoid numerical artifacts.

Key Results

The methodology was validated across several 3D geometries, comparing results between the Bullet (rigid) and PolyFEM (deformable) engines.

  • Basketball: An adversarial ball with standard mass and inertia was optimized to miss the hoop after a backboard strike, whereas the reference ball scored.
  • The Star: A thin geometry was optimized to bounce between perpendicular planes. The adversarial version exhibited a significant trajectory shift compared to the reference.
Figure 2: Trajectory divergence of a reference star (blue) versus an adversarial star (pink) after impact, demonstrating the impact of internal material distribution on non-spherical objects.
  • Bunny and Stacking Blocks: The attack successfully caused a bunny to miss a bin by storing rotational energy and induced a collapse in a stack of blocks that remained stable when hit by a reference projectile.

Discussion and Limitations

This research serves as a "wake-up call" for Sim2Real training. If a robot's internal model of physics is overly simplified, it may fail dangerously when encountering objects with adversarial internal structures.

However, several challenges remain:

  • Manufacturability: 3D printing objects with the precise, spatially-varying properties generated by the optimizer is currently difficult.
  • Assumptions: The model assumes isotropic materials and deterministic simulations. Real-world noise and material anisotropy might mitigate some adversarial effects.
  • Future Work: Exploring metamaterials or anisotropic microstructures could lead to even more extreme behavioral deviations.

Summary updated

BibTeX
@misc{ramakrishnan2025rigid,
  author = {Aravind Ramakrishnan and David Levin I.W. and Alec Jacobson},
  title = {{Rigid Body Adversarial Attacks}},
  year = {2025},
  eprint = {2502.05669},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.05669},
}
Figure