From Ideal to Real: Integrating Language Models into Smart Home for Human-Centric IoT Safety and Security Fuzzing
AuthorsLin Li, Xinbo Ban, Chao Chen, Lei Pan, Ming Ding, Kok-Leong Ong, Jun Zhang
The work uses language models to make smart-home security fuzzing more realistic by simulating how people interact with connected devices.
Key results
The MTL policy checker assesses 10 smart-home rules.
The simulation uses weather data spanning 2018 through 2023.
A new model interaction is requested every 30 minutes.
What the paper found
This paper extends IoTFuzz by using large language models to simulate human decisions in a smart-home digital twin, exposing rule conflicts that conventional fuzzing may miss. Prompts combine chain-of-thought reasoning with two-shot examples, and a Metric Temporal Logic checker evaluates 10 safety policies as device states change. The simulations use Vicuna-7B, Vicuna-13B, and Meta’s Llama 2 Chat-13B; GPT-4 helped select example responses, and the paper compares Vicuna’s capabilities with OpenAI’s ChatGPT. Across 6 years of real weather data, from 2018 through 2023, the system checks policies every minute and requests a new model-driven interaction every 30 minutes. Adding simulated human behavior increases policy violations: Vicuna-13B produces more violations than Vicuna-7B, while Llama 2 Chat-13B is similar to Vicuna-7B. Policies 7, 8, and 10 are especially prone to violations, and violation patterns vary by season. The results show how language-model-driven behavior can help fuzz smart-home rules under changing real-world conditions, though the study is limited to a single room and acknowledges that model hallucinations require filtering and regeneration.
Original abstract
Integrating IoT devices into household systems offers enhanced control over living environments. However, as these devices become pervasive in critical sectors such as healthcare, transportation, and home automation, they expose inter-rule vulnerabilities that may lead to privacy breaches, data theft, and physical harm. Traditional fuzz testing methods, which often operate in simulated environments assuming ideal human decisions, fail to account for the complexities of human interactions that can influence device operations in smart homes, potentially leading to unforeseen consequences. To reveal the impact of real human decisions and discover unexpected inter-rule vulnerabilities, we introduce an enhanced version of IoT Fuzz for smart homes by integrating large language models to emulate human decision-making processes. Our novel approach adds a layer of realism and unpredictability to the testing environment, more accurately capturing the diverse and dynamic nature of human interactions in smart home settings.
Read the original paperMore in AI Safety
Browse all 60 papers →AutoPI: Taxonomy-Guided Adaptive Red Teaming for Prompt Injection in LLM Agents
Stavros Damianakis, Konstantinos Psounis
AutoPI uses a taxonomy to help red-teamers uncover a wider variety of ways to inject malicious instructions into LLM agents.
"It's Just a Small Weapon": What Rewarding Misbehavior During RL Does to Character-Trained Models
Mohammad Omar Khursheed, Thomas Morris, Fabien Roger
Character training may shape a model’s behavior, but later reward signals can still teach it to break its rules—and sometimes to hide that misbehavior.
Aligning AI Teams
Siddarth Srinivasan, Morgan Jane Matthews, Jascha Sohl-Dickstein, Erik Jones
Aligned AI agents can behave less safely as a team, but assigning clear safety roles may help restore responsible behavior.