Enhancing LLM Agent Safety via Causal Influence Prompting

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Hahm, Dongyoon, Jin, Woogyeol, Choi, June Suk, Ahn, Sungsoo, Lee, Kimin
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909670497583104
author Hahm, Dongyoon
Jin, Woogyeol
Choi, June Suk
Ahn, Sungsoo
Lee, Kimin
author_facet Hahm, Dongyoon
Jin, Woogyeol
Choi, June Suk
Ahn, Sungsoo
Lee, Kimin
contents As autonomous agents powered by large language models (LLMs) continue to demonstrate potential across various assistive tasks, ensuring their safe and reliable behavior is crucial for preventing unintended consequences. In this work, we introduce CIP, a novel technique that leverages causal influence diagrams (CIDs) to identify and mitigate risks arising from agent decision-making. CIDs provide a structured representation of cause-and-effect relationships, enabling agents to anticipate harmful outcomes and make safer decisions. Our approach consists of three key steps: (1) initializing a CID based on task specifications to outline the decision-making process, (2) guiding agent interactions with the environment using the CID, and (3) iteratively refining the CID based on observed behaviors and outcomes. Experimental results demonstrate that our method effectively enhances safety in both code execution and mobile device control tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2507_00979
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Enhancing LLM Agent Safety via Causal Influence Prompting
Hahm, Dongyoon
Jin, Woogyeol
Choi, June Suk
Ahn, Sungsoo
Lee, Kimin
Artificial Intelligence
Computation and Language
Machine Learning
As autonomous agents powered by large language models (LLMs) continue to demonstrate potential across various assistive tasks, ensuring their safe and reliable behavior is crucial for preventing unintended consequences. In this work, we introduce CIP, a novel technique that leverages causal influence diagrams (CIDs) to identify and mitigate risks arising from agent decision-making. CIDs provide a structured representation of cause-and-effect relationships, enabling agents to anticipate harmful outcomes and make safer decisions. Our approach consists of three key steps: (1) initializing a CID based on task specifications to outline the decision-making process, (2) guiding agent interactions with the environment using the CID, and (3) iteratively refining the CID based on observed behaviors and outcomes. Experimental results demonstrate that our method effectively enhances safety in both code execution and mobile device control tasks.
title Enhancing LLM Agent Safety via Causal Influence Prompting
topic Artificial Intelligence
Computation and Language
Machine Learning
url https://arxiv.org/abs/2507.00979