scimeatlas

Research map / Large language models / Retrieval and knowledge

Detoxifying Large Language Models via Knowledge Editing

Mengru Wang, Ningyu Zhang, Ziwen Xu, Zekun Xi, Shumin Deng, Yunzhi Yao, Qishen Zhang, Linyi Yang, Jindong Wang, Huajun Chen

ACL 2024Large language models › Retrieval and knowledgeapproach: Knowledge editing in LLMsopen problems in this approach187 citations (OpenAlex)

Zhejiang University · Key Laboratory of New Generation Artificial Intelligence Technology and Its Interdisciplinary Applications (Southeast University) · National University of Singapore · Ant Group · Westlake University · Microsoft Research Asia

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

14measured effects
10improved
1no clear effect
3hurt

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
edit toxic regions with DINM (single instance)LLaMA2-7B-Chat · SafeEdit testDG-Avg (%): 43.51 -> 86.74Improved
edit toxic regions with DINM (single instance)Mistral-7B-v0.1 · SafeEdit testDG-Avg (%): 47.30 -> 96.84Improved
apply DINM, with side effects on general abilityMistral-7B-v0.1 · TriviaQA (KQA)KQA: 51.24 -> 47.53Hurt
apply DINM, with side effects on general abilityLLaMA2-7B-Chat · TriviaQA (KQA)KQA: 55.15 -> 53.37Hurt
add toxic region location (vs random layer) (ablation)DINM, Mistral-7B-v0.1 · SafeEdit testAvg detox (%): 67.88 -> 96.55Improved
add toxic region location (vs random layer) (ablation)DINM, LLaMA2-7B-Chat · SafeEdit testAvg detox (%): 80.26 -> 88.59Improved
add parameter tuning (vs suffix system prompt only) (ablation)DINM, LLaMA2-7B-Chat · SafeEdit testDS (%): 62.74 -> 96.02Improved
add parameter tuning (vs suffix system prompt only) (ablation)DINM, Mistral-7B-v0.1 · SafeEdit testDS (%): 60.88 -> 95.41Improved
add suffix system prompt (ablation)DINM, Mistral-7B-v0.1 · SafeEdit testAvg detox (%): 80.33 -> 96.55Improved
add general knowledge constraint (ablation)DINM, Mistral-7B-v0.1 · SafeEdit testAvg detox (%): 97.40 -> 96.55No clear effect
use DINM (one instance) instead of DPOLLaMA2-7B-Chat · SafeEdit_test_ALL (DG otherAQ)DG_otherAQ (%): 77.28 -> 87.37Improved
use DINM (one instance) instead of DPOMistral-7B-v0.1 · TriviaQA (KQA) on SafeEdit_test_ALLKQA: 6.12 -> 42.88Improved

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in knowledge editing in LLMs

Do knowledge editing and factuality methods hold up on larger models, closed models and real-world editing?

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