Knowledge Editing on Black-box Large Language Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Song, Xiaoshuai, Wang, Zhengyang, He, Keqing, Dong, Guanting, Mou, Yutao, Zhao, Jinxu, Xu, Weiran
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909110632448000
author Song, Xiaoshuai
Wang, Zhengyang
He, Keqing
Dong, Guanting
Mou, Yutao
Zhao, Jinxu
Xu, Weiran
author_facet Song, Xiaoshuai
Wang, Zhengyang
He, Keqing
Dong, Guanting
Mou, Yutao
Zhao, Jinxu
Xu, Weiran
contents Knowledge editing (KE) aims to efficiently and precisely modify the behavior of large language models (LLMs) to update specific knowledge without negatively influencing other knowledge. Current research primarily focuses on white-box LLMs editing, overlooking an important scenario: black-box LLMs editing, where LLMs are accessed through interfaces and only textual output is available. In this paper, we first officially introduce KE on black-box LLMs and then propose a comprehensive evaluation framework to overcome the limitations of existing evaluations that are not applicable to black-box LLMs editing and lack comprehensiveness. To tackle privacy leaks of editing data and style over-editing in current methods, we introduce a novel postEdit framework, resolving privacy concerns through downstream post-processing and maintaining textual style consistency via fine-grained editing to original responses. Experiments and analysis on two benchmarks demonstrate that postEdit outperforms all baselines and achieves strong generalization, especially with huge improvements on style retention (average $+20.82\%\uparrow$).
format Preprint
id arxiv_https___arxiv_org_abs_2402_08631
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Knowledge Editing on Black-box Large Language Models
Song, Xiaoshuai
Wang, Zhengyang
He, Keqing
Dong, Guanting
Mou, Yutao
Zhao, Jinxu
Xu, Weiran
Computation and Language
Artificial Intelligence
Machine Learning
Knowledge editing (KE) aims to efficiently and precisely modify the behavior of large language models (LLMs) to update specific knowledge without negatively influencing other knowledge. Current research primarily focuses on white-box LLMs editing, overlooking an important scenario: black-box LLMs editing, where LLMs are accessed through interfaces and only textual output is available. In this paper, we first officially introduce KE on black-box LLMs and then propose a comprehensive evaluation framework to overcome the limitations of existing evaluations that are not applicable to black-box LLMs editing and lack comprehensiveness. To tackle privacy leaks of editing data and style over-editing in current methods, we introduce a novel postEdit framework, resolving privacy concerns through downstream post-processing and maintaining textual style consistency via fine-grained editing to original responses. Experiments and analysis on two benchmarks demonstrate that postEdit outperforms all baselines and achieves strong generalization, especially with huge improvements on style retention (average $+20.82\%\uparrow$).
title Knowledge Editing on Black-box Large Language Models
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2402.08631