Skip to main navigation Skip to search Skip to main content

PhyFu: Fuzzing Modern Physics Simulation Engines

  • Dongwei Xiao
  • , Zhibo Liu
  • , Shuai Wang*
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution

4 Downloads (Pure)

Abstract

A physical simulation engine (PSE) is a software system that simulates physical environments and objects. Modern PSEs feature both forward and backward simulations, where the forward phase predicts the behavior of a simulated system, and the backward phase provides gradients (guidance) for learning-based control tasks, such as a robot arm learning to fetch items. This way, modern PSEs show promising support for learning-based control methods. To date, PSEs have been largely used in various high-profitable, commercial applications, such as games, movies, virtual reality (VR), and robotics. Despite the prosperous development and usage of PSEs by academia and industrial manufacturers such as Google and NVIDIA, PSEs may produce incorrect simulations, which may lead to negative results, from poor user experience in entertainment to accidents in robotics-involved manufacturing and surgical operations.
This paper introduces PhyFu, a fuzzing framework designed specifically for PSEs to uncover errors in both forward and backward simulation phases. PHyFu mutates initial states and asserts if the PSE under test behaves consistently with respect to basic Physics Laws (PLs). We further use feedback-driven test input scheduling to guide and accelerate the search for errors. Our study of four PSEs covers mainstream industrial vendors (Google and NVIDIA) as well as academic products. We successfully uncover over 5K error-triggering inputs that generate incorrect simulation results spanning across the whole software stack of PSEs.
Original languageEnglish
Title of host publication2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE)
PublisherInstitute of Electrical and Electronics Engineers (IEEE)
Pages1579-1591
Number of pages13
ISBN (Electronic)9798350329964
ISBN (Print)9798350329971
DOIs
Publication statusPublished - 8 Nov 2023
Event38th IEEE/ACM International Conference on Automated Software Engineering (ASE) - Echternach, Luxembourg
Duration: 11 Sept 2023 → 15 Sept 2023
https://conf.researchr.org/home/ase-2023

Publication series

NameIEEE International Conference on Automated Software Engineering (ASE)
PublisherIEEE
ISSN (Print)1938-4300
ISSN (Electronic)2643-1572

Conference

Conference38th IEEE/ACM International Conference on Automated Software Engineering (ASE)
Abbreviated titleASE 2023
Country/TerritoryLuxembourg
CityEchternach
Period11/09/23 → 15/09/23
Internet address

Fingerprint

Dive into the research topics of 'PhyFu: Fuzzing Modern Physics Simulation Engines'. Together they form a unique fingerprint.

Cite this