paper-with-me

홈 › Papers

Precision Knowledge Editing: Enhancing Safety in Large Language Models

2024-10-02 · Xuying Li, Zhuo Li, Yuji Kosuga, Yasuhiro Yoshida, Victor Bian

Large language models (LLMs) have demonstrated remarkable capabilities, but they also pose risks related to the generation of toxic or harmful content. This work introduces Precision Knowledge Editing (PKE), an advanced technique that builds upon existing knowledge editing methods to more effectively identify and modify toxic parameter regions within LLMs. By leveraging neuron weight tracking and activation pathway tracing, PKE achieves finer granularity in toxic content management compared to previous methods like Detoxifying Instance Neuron Modification (DINM). Our experiments demonstrate that PKE significantly reduces the attack success rate (ASR) across various models, including Llama2-7b and Llama-3-8b-instruct, while maintaining overall model performance. Additionally, we also compared the performance of some closed-source models (gpt-4-0613 and Claude 3 Sonnet) in our experiments, and found that models adjusted using our method far outperformed the closed-source models in terms of safety. This research contributes to the ongoing efforts to make LLMs safer and more reliable for real-world applications.

📄 PDF Abstract BibTeX arXiv:2410.03772

Code (0)

등록된 구현이 없습니다.

Tasks

knowledge editingManagement

Similar Papers 제목 키워드 기반

Benchmarking Safety Risks of Knowledge-Intensive Reasoning under Malicious Knowledge Editing

2026-05-11 · Qinghua Mao, Xi Lin, Jinze Gu, Jun Wu 외 arxiv

Large language models (LLMs) increasingly rely on knowledge editing to support knowledge-intensive reasoning, but this flexibility also introduces critical safety risks: adversaries can inject malicious or misleading kno…

knowledge editing

MEMLA: Enhancing Multilingual Knowledge Editing with Neuron-Masked Low-Rank Adaptation

2024-06-17 · Jiakuan Xie, Pengfei Cao, YuHeng Chen, Yubo Chen 외

Knowledge editing aims to adjust the knowledge within large language models (LLMs) to prevent their responses from becoming obsolete or inaccurate. However, existing works on knowledge editing are primarily conducted in …

knowledge editing

Can Editing LLMs Inject Harm?

2024-07-29 · Canyu Chen, Baixiang Huang, Zekun Li, Zhaorun Chen 외

Knowledge editing has been increasingly adopted to correct the false or outdated knowledge in Large Language Models (LLMs). Meanwhile, one critical but under-explored question is: can knowledge editing be used to inject …

FairnessGeneral Knowledgeknowledge editingMisinformation+2

Should We Really Edit Language Models? On the Evaluation of Edited Language Models

2024-10-24 · Qi Li, Xiang Liu, Zhenheng Tang, Peijie Dong 외

Model editing has become an increasingly popular alternative for efficiently updating knowledge within language models. Current methods mainly focus on reliability, generalization, and locality, with many methods excelli…

General KnowledgeModel Editing

MEMoE: Enhancing Model Editing with Mixture of Experts Adaptors

2024-05-29 · Renzhi Wang, Piji Li

Model editing aims to efficiently alter the behavior of Large Language Models (LLMs) within a desired scope, while ensuring no adverse impact on other inputs. Recent years have witnessed various model editing methods bee…

Mixture-of-ExpertsModel Editing