paper-with-me

홈 › Papers

Inspecting and Editing Knowledge Representations in Language Models

2023-04-03 · Evan Hernandez, Belinda Z. Li, Jacob Andreas

Neural language models (LMs) represent facts about the world described by text. Sometimes these facts derive from training data (in most LMs, a representation of the word "banana" encodes the fact that bananas are fruits). Sometimes facts derive from input text itself (a representation of the sentence "I poured out the bottle" encodes the fact that the bottle became empty). We describe REMEDI, a method for learning to map statements in natural language to fact encodings in an LM's internal representation system. REMEDI encodings can be used as knowledge editors: when added to LM hidden representations, they modify downstream generation to be consistent with new facts. REMEDI encodings may also be used as probes: when compared to LM representations, they reveal which properties LMs already attribute to mentioned entities, in some cases making it possible to predict when LMs will generate outputs that conflict with background knowledge or input text. REMEDI thus links work on probing, prompting, and LM editing, and offers steps toward general tools for fine-grained inspection and control of knowledge in LMs.

📄 PDF Abstract BibTeX arXiv:2304.00740

Code (1)

evandez/remedi 공식 구현 pytorch

Tasks

AnatomyAttributeSentence

Similar Papers 제목 키워드 기반

Attribution Analysis Meets Model Editing: Advancing Knowledge Correction in Vision Language Models with VisEdit

2024-08-19 · Qizhou Chen, Taolin Zhang, Chengyu Wang, Xiaofeng He 외

Model editing aims to correct outdated or erroneous knowledge in large models without costly retraining. Recent research discovered that the mid-layer representation of the subject's final token in a prompt has a strong …

DecoderLanguage ModelingLanguage ModellingLarge Language Model+1

Knowledge in Superposition: Unveiling the Failures of Lifelong Knowledge Editing for Large Language Models

2024-08-14 · Chenhui Hu, Pengfei Cao, Yubo Chen, Kang Liu 외

Knowledge editing aims to update outdated or incorrect knowledge in large language models (LLMs). However, current knowledge editing methods have limited scalability for lifelong editing. This study explores the fundamen…

knowledge editing

Knowledge Graph Enhanced Large Language Model Editing

2024-02-21 · Mengqi Zhang, Xiaotian Ye, Qiang Liu, Pengjie Ren 외

Large language models (LLMs) are pivotal in advancing natural language processing (NLP) tasks, yet their efficacy is hampered by inaccuracies and outdated knowledge. Model editing emerges as a promising solution to addre…

Knowledge GraphsLanguage ModelingLanguage ModellingLarge Language Model+2

Localizing and Editing Knowledge in Large Audio-Language Models

2026-03-15 · Sung Kyun Chung, Jiaheng Dong, Qiuchi Hu, Gongping Huang 외 arxiv

Large Audio-Language Models (LALMs) have shown strong performance in speech understanding, making speech a natural interface for accessing factual information. Yet they are trained on static corpora and may encode incorr…

TruthX: Alleviating Hallucinations by Editing Large Language Models in Truthful Space

2024-02-27 · Shaolei Zhang, Tian Yu, Yang Feng

Large Language Models (LLMs) sometimes suffer from producing hallucinations, especially LLMs may generate untruthful responses despite knowing the correct knowledge. Activating the truthfulness within LLM is the key to f…

Contrastive LearningHallucinationHallucination EvaluationLanguage Modelling+4