mlsanityData to 7 Oct 2026

Editing Knowledge Representation of Language Model via Rephrased Prefix Prompts

arXiv 2403.14381 ↗First posted 21 Mar 2024cs.CL cs.AIcited by 4

Not on the map. Why?

Abstract (arXiv)

Neural language models (LMs) have been extensively trained on vast corpora to store factual knowledge about various aspects of the world described in texts. Current technologies typically employ knowledge editing methods or specific prompts to modify LM outputs. However, existing knowledge editing methods are costly and inefficient, struggling to produce appropriate text. Additionally, prompt engineering is opaque and requires significant effort to find suitable prompts. To address these issues, we introduce a new method called PSPEM (Prefix Soft Prompt Editing Method), that can be used for a lifetime with just one training. It resolves the inefficiencies and generalizability issues in knowledge editing methods and overcomes the opacity of prompt engineering by automatically seeking optimal soft prompts. Specifically, PSPEM utilizes a prompt encoder and an encoding converter to refine key information in prompts and uses prompt alignment techniques to guide model generation, ensuring text consistency and adherence to the intended structure and content, thereby maintaining an optimal balance between efficiency and accuracy. We have validated the effectiveness of PSPEM through knowledge editing and attribute inserting. On the COUNTERFACT dataset, PSPEM achieved nearly 100% editing accuracy and demonstrated the highest level of fluency. We further analyzed the similarities between PSPEM and original prompts and their impact on the model's internals. The results indicate that PSPEM can serve as an alternative to original prompts, supporting the model in effective editing.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 28 of its 32 references that are in the map. First posted on arXiv 21 Mar 2024.

Builds on

28 of 32 references.

References · 28

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  5. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  6. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  7. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  8. 2022Mass-Editing Memory in a Transformercited by 976
  9. 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 888
  10. 2021GPT Understands, Toocited by 715
  11. 2021Editing Factual Knowledge in Language Modelscited by 548
  12. 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
16 more
  1. 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
  2. 2021Fast Model Editing at Scalecited by 491
  3. 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 367
  4. 2019Bias in Bios: A Case Study of Semantic Representation Bias in a High-Stakes Settingcited by 346
  5. 2023Can We Edit Factual Knowledge by In-Context Learning?cited by 284
  6. 2022Black-Box Tuning for Language-Model-as-a-Servicecited by 254
  7. 2020Modifying Memories in Transformer Modelscited by 222
  8. 2022Why Can GPT Learn In-Context? Language Models Implicitly Perform Gradient Descent as Meta-Optimizerscited by 204
  9. 2023Knowledge Editing for Large Language Models: A Surveycited by 189
  10. 2023PMET: Precise Model Editing in a Transformercited by 170
  11. 2023Self-contradictory Hallucinations of Large Language Models: Evaluation, Detection and Mitigationcited by 123
  12. 2023Scaling Sentence Embeddings with Large Language Modelscited by 83
  13. 2023Can LMs Learn New Entities from Descriptions? Challenges in Propagating Injected Knowledgecited by 66
  14. 2023Massive Editing for Large Language Models via Meta Learningcited by 62
  15. 2023Can We Edit Multimodal Large Language Models?cited by 44
  16. 2023Editing Language Model-based Knowledge Graph Embeddingscited by 23

Built on by

Cited by year

Citing papers per year: 2024: 3; 2025: 1.

4 papers.