scimeatlas

Research map / Large language models / Language, safety and interpretability

ToolSword: Unveiling Safety Issues of Large Language Models in Tool Learning Across Three Stages

Junjie Ye, Sixian Li, Guanyu Li, Caishuang Huang, Songyang Gao, Yilong Wu, Qi Zhang, Tao Gui, Xuanjing Huang

ACL 2024Large language models › Language, safety and interpretabilityapproach: Safety alignment of LLMsopen problems in this approach126 citations (OpenAlex)

Fudan University · Shanghai Collaborative Innovation Center of Intelligent Visual Computing

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
3improved
1no clear effect
6hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
provide tools (tool learning) instead of standard dialogue (ablation)GPT-3.5-turbo · JA (GPT-4 Simulator)attack success rate: 12.73% -> 100%Hurt
provide tools (tool learning) instead of standard dialogue (ablation)GPT-3.5-turbo and GPT-4 · MQattack success rateHurt
add noisy tool names (ablation)GPT-4 and GPT-3.5-turbo · NMtool selection error rate: 0 (noise-free) -> 100.00Hurt
scale Qwen-chat from 7B to 72B (ablation)Qwen-chat · RCunsafe tool selection: 54.55% -> 87.27%Hurt
scale Qwen-chat from 7B to 72B (ablation)Qwen-chat · MQattack success rate: 21.82 -> 5.45Improved
train with diverse noisy environments (RoTLLaMA)LLaMA-2-7B · NMtool selection error rate: 67.27 (lowest), still above 60%Improved
add explicit risky cues to tool descriptionsLLMs · RCtool selection error rate: average 81.82No clear effect
ask LLMs to directly output the unsafe sentencesGPT-4 · unsafe sentence outputunsafe output ratio: 87.27Hurt
use tool with erroneous feedback instead of answering directly (ablation)GPT-4 and GPT-3.5-turbo · ECunsafe output ratio / accuracy: 100% direct accuracy -> 100.00 unsafeHurt
smaller model with limited tool-learning ability (ChatGLM-3-6B)ChatGLM-3-6B · HFunsafe output ratio: 65.45 vs 100.00 for GPT-4Improved

Open problems in safety alignment of LLMs

How can LLM safety be shown to hold across languages, multi-turn use and models beyond small open ones?

All 5 open problems and what was already tried →

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