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
Fudan University · Shanghai Collaborative Innovation Center of Intelligent Visual Computing
Read the paperPlace an idea next to itCheck your own paper ↗
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 changed | Where | Measured | Effect |
|---|---|---|---|
| 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 · MQ | attack success rate | Hurt |
| add noisy tool names (ablation) | GPT-4 and GPT-3.5-turbo · NM | tool selection error rate: 0 (noise-free) -> 100.00 | Hurt |
| scale Qwen-chat from 7B to 72B (ablation) | Qwen-chat · RC | unsafe tool selection: 54.55% -> 87.27% | Hurt |
| scale Qwen-chat from 7B to 72B (ablation) | Qwen-chat · MQ | attack success rate: 21.82 -> 5.45 | Improved |
| train with diverse noisy environments (RoTLLaMA) | LLaMA-2-7B · NM | tool selection error rate: 67.27 (lowest), still above 60% | Improved |
| add explicit risky cues to tool descriptions | LLMs · RC | tool selection error rate: average 81.82 | No clear effect |
| ask LLMs to directly output the unsafe sentences | GPT-4 · unsafe sentence output | unsafe output ratio: 87.27 | Hurt |
| use tool with erroneous feedback instead of answering directly (ablation) | GPT-4 and GPT-3.5-turbo · EC | unsafe output ratio / accuracy: 100% direct accuracy -> 100.00 unsafe | Hurt |
| smaller model with limited tool-learning ability (ChatGLM-3-6B) | ChatGLM-3-6B · HF | unsafe output ratio: 65.45 vs 100.00 for GPT-4 | Improved |
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?
- Safety is tested in English or a few languages only. · 30 papers state it
- Results come from a few open models, mostly small or mid-sized. · 26 papers state it
- Scores depend on an LLM judge that may be biased. · 23 papers state it
Closest papers by meaning
- Navigating the Safety Landscape: Measuring Risks in Finetuning Large Language Models (NeurIPS 2024 · similarity 0.92)
- On Prompt-Driven Safeguarding for Large Language Models (ICML 2024 · similarity 0.91)
- Do as I do (Safely): Mitigating Task-Specific Fine-tuning Risks in Large Language Models (ICLR 2025 · similarity 0.90)
- Safety Depth in Large Language Models: A Markov Chain Perspective (NeurIPS 2025 · similarity 0.90)
- Learning and Forgetting Unsafe Examples in Large Language Models (ICML 2024 · similarity 0.90)
- Jailbreak Antidote: Runtime Safety-Utility Balance via Sparse Representation Adjustment in Large Language Models (ICLR 2025 · similarity 0.90)
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.