SAFLITE: Fuzzing Autonomous Systems via Large Language Models

Taohong Zhu, Adrians Skapars, Fardeen Mackenzie, Declan Kehoe, William Newton +2 more
12/25/2024
cs.SEcs.AIeess.SY

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Fuzz testing effectively uncovers software vulnerabilities; however, it faces challenges with Autonomous Systems (AS) due to their vast search spaces and complex state spaces, which reflect the unpredictability and complexity of real-world environments. This paper presents a universal framework aimed at improving the efficiency of fuzz testing for AS. At its core is SaFliTe, a predictive component that evaluates whether a test case meets predefined safety criteria. By leveraging the large language model (LLM) with information about the test objective and the AS state, SaFliTe assesses the relevance of each test case. We evaluated SaFliTe by instantiating it with various LLMs, including GPT-3.5, Mistral-7B, and Llama2-7B, and integrating it into four fuzz testing tools: PGFuzz, DeepHyperion-UAV, CAMBA, and TUMB. These tools are designed specifically for testing autonomous drone control systems, such as ArduPilot, PX4, and PX4-Avoidance. The experimental results demonstrate that, compared to PGFuzz, SaFliTe increased the likelihood of selecting operations that triggered bug occurrences in each fuzzing iteration by an average of 93.1\%. Additionally, after integrating SaFliTe, the ability of DeepHyperion-UAV, CAMBA, and TUMB to generate test cases that caused system violations increased by 234.5\%, 33.3\%, and 17.8\%, respectively. The benchmark for this evaluation was sourced from a UAV Testing Competition.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhu2024saflite,
  title  = {SAFLITE: Fuzzing Autonomous Systems via Large Language Models},
  author = {Taohong Zhu and Adrians Skapars and Fardeen Mackenzie and Declan Kehoe and William Newton and Suzanne Embury and Youcheng Sun},
  year   = {2024},
  eprint = {2412.18727},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.18727v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.18727.svg)](https://codeofpaper.com/paper/2412.18727)

Discussion