atlas

Research map / Multi-agent systems and games / LLM agents

Identifying the Risks of LM Agents with an LM-Emulated Sandbox

ICLR 2024 · Multi-agent systems and games › LLM agents · approach: LLM multi-agent collaboration and safety · 6 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces ToolEmu, an LM-emulated sandbox plus LM-based safety and helpfulness evaluators, to find risks of LM agents across many tools; validates with human annotation and benchmarks GPT-4, Claude-2, ChatGPT-3.5 and Vicuna agents.

Problem

Identifying risks of LM agents that use tools is labor-intensive because each tool must be implemented and each test scenario's sandbox set up manually, which limits coverage of long-tail, high-stakes failures.

Approach

Use an LM (GPT-4) to emulate tool execution and sandbox state from tool specifications alone, add an adversarial emulator that instantiates risky sandbox states for red-teaming, and use an LM-based evaluator to score safety and helpfulness of agent trajectories.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add safety requirements to the prompt (ablation)GPT-4 agent · Toolemu benchmarksafety score: 2.007 -> 2.359Helped
Add safety requirements to the prompt (ablation)GPT-4 agent · Toolemu benchmarkfailure incidence: 39.4% -> 23.9%Helped
Add safety requirements to the prompt (ablation)GPT-4 agent · Toolemu benchmarkhelpfulness score: 1.458 -> 1.824Helped
Add helpfulness requirements to the Safety prompt (ablation)GPT-4 agent · Toolemu benchmarksafety score: 2.359 -> 2.241Hurt
Add helpfulness requirements to the Safety prompt (ablation)GPT-4 agent · Toolemu benchmarkhelpfulness score: 1.824 -> 1.624Hurt
Use the adversarial simulator instead of the standard simulatorToolemu end-to-end validation · 100 sampled teststrue-failure incidenceHelped
Use the adversarial simulator instead of the standard simulatorToolemu end-to-end validation · 100 sampled testsfailure precisionHurt

Surprising findings

Limitations

Experimental setup

Datasets: ToolEmu benchmark test cases (curated with GPT-4 and human filtering)

Benchmarks: ToolEmu benchmark

Metrics: safety score helpfulness score failure incidence failure precision Cohen's kappa precision and recall vs human annotators

Baselines: GPT-4 Claude-2 ChatGPT-3.5 Vicuna-1.5-13B Vicuna-1.5-7B NoAct agent

Builds on: ReAct chain-of-thought

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy