mlsanityData to 7 Oct 2026

DIEKAE: Difference Injection for Efficient Knowledge Augmentation and Editing of Large Language Models

arXiv 2406.10660 ↗First posted 15 Jun 2024cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Pretrained Language Models (PLMs) store extensive knowledge within their weights, enabling them to recall vast amount of information. However, relying on this parametric knowledge brings some limitations such as outdated information or gaps in the training data. This work addresses these problems by distinguish between two separate solutions: knowledge editing and knowledge augmentation. We introduce Difference Injection for Efficient Knowledge Augmentation and Editing (DIEKAE), a new method that decouples knowledge processing from the PLM (LLaMA2-7B, in particular) by adopting a series of encoders. These encoders handle external knowledge and inject it into the PLM layers, significantly reducing computational costs and improving performance of the PLM. We propose a novel training technique for these encoders that does not require back-propagation through the PLM, thus greatly reducing the memory and time required to train them. Our findings demonstrate how our method is faster and more efficient compared to multiple baselines in knowledge augmentation and editing during both training and inference. We have released our code and data at https://github.com/alessioGalatolo/DIEKAE.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 27 of its 38 references that are in the map. First posted on arXiv 15 Jun 2024.

Builds on

27 of 38 references.

References · 27

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  3. 2020Scaling Laws for Neural Language Modelscited by 6,411
  4. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  5. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  6. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
  7. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  8. 2022Mass-Editing Memory in a Transformercited by 976
  9. 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
  10. 2018Wizard of Wikipedia: Knowledge-Powered Conversational agentscited by 530
  11. 2022Memory-Based Model Editing at Scalecited by 443
  12. 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 367
15 more
  1. 2023Fine-Tuning Language Models with Just Forward Passescited by 337
  2. 2020K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapterscited by 318
  3. 2020ProofWriter: Generating Implications, Proofs, and Abductive Statements over Natural Languagecited by 309
  4. 2020Transformers as Soft Reasoners over Languagecited by 265
  5. 2023Evaluating the Ripple Effects of Knowledge Editing in Language Modelscited by 238
  6. 2023Knowledge Editing for Large Language Models: A Surveycited by 189
  7. 2023PMET: Precise Model Editing in a Transformercited by 170
  8. 2019DREAM: A Challenge Dataset and Models for Dialogue-Based Reading Comprehensioncited by 156
  9. 2020Exploring Versatile Generative Language Model Via Parameter-Efficient Transfer Learningcited by 139
  10. 2024Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Lawscited by 137
  11. 2018A Dataset for Document Grounded Conversationscited by 104
  12. 2023MELO: Enhancing Model Editing with Neuron-Indexed Dynamic LoRAcited by 80
  13. 2017Quasar: Datasets for Question Answering by Search and Readingcited by 50
  14. 2022Neural Knowledge Bank for Pretrained Transformerscited by 16
  15. 2020Information Seeking in the Spirit of Learning: a Dataset for Conversational Curiositycited by 10

Built on by

Not cited yet.