Saved in:
Bibliographic Details
Main Authors: Sun, Chen, Miller, Nolan Andrew, Zhmoginov, Andrey, Vladymyrov, Max, Sandler, Mark
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.21750
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916459104436224
author Sun, Chen
Miller, Nolan Andrew
Zhmoginov, Andrey
Vladymyrov, Max
Sandler, Mark
author_facet Sun, Chen
Miller, Nolan Andrew
Zhmoginov, Andrey
Vladymyrov, Max
Sandler, Mark
contents What happens when a new piece of knowledge is introduced into the training data and how long does it last while a large language model (LM) continues to train? We investigate this question by injecting facts into LMs from a new probing dataset, "Outlandish", which is designed to permit the testing of a spectrum of different fact types. When studying how robust these memories are, there appears to be a sweet spot in the spectrum of fact novelty between consistency with world knowledge and total randomness, where the injected memory is the most enduring. Specifically we show that facts that conflict with common knowledge are remembered for tens of thousands of training steps, while prompts not conflicting with common knowledge (mundane), as well as scrambled prompts (randomly jumbled) are both forgotten much more rapidly. Further, knowledge-conflicting facts can "prime'' how the language model hallucinates on logically unrelated prompts, showing their propensity for non-target generalization, while both mundane and randomly jumbled facts prime significantly less. Finally, we show that impacts of knowledge-conflicting facts in LMs, though they can be long lasting, can be largely erased by novel application of multi-step sparse updates, even while the training ability of the model is preserved. As such, this very simple procedure has direct implications for mitigating the effects of data poisoning in training.
format Preprint
id arxiv_https___arxiv_org_abs_2410_21750
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Learning and Unlearning of Fabricated Knowledge in Language Models
Sun, Chen
Miller, Nolan Andrew
Zhmoginov, Andrey
Vladymyrov, Max
Sandler, Mark
Computation and Language
Artificial Intelligence
What happens when a new piece of knowledge is introduced into the training data and how long does it last while a large language model (LM) continues to train? We investigate this question by injecting facts into LMs from a new probing dataset, "Outlandish", which is designed to permit the testing of a spectrum of different fact types. When studying how robust these memories are, there appears to be a sweet spot in the spectrum of fact novelty between consistency with world knowledge and total randomness, where the injected memory is the most enduring. Specifically we show that facts that conflict with common knowledge are remembered for tens of thousands of training steps, while prompts not conflicting with common knowledge (mundane), as well as scrambled prompts (randomly jumbled) are both forgotten much more rapidly. Further, knowledge-conflicting facts can "prime'' how the language model hallucinates on logically unrelated prompts, showing their propensity for non-target generalization, while both mundane and randomly jumbled facts prime significantly less. Finally, we show that impacts of knowledge-conflicting facts in LMs, though they can be long lasting, can be largely erased by novel application of multi-step sparse updates, even while the training ability of the model is preserved. As such, this very simple procedure has direct implications for mitigating the effects of data poisoning in training.
title Learning and Unlearning of Fabricated Knowledge in Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2410.21750