Pith. sign in

REVIEW 23 cited by

Modifying Memories in Transformer Models

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2012.00363 v1 pith:PFHIOHXL submitted 2020-12-01 cs.CL cs.LG

Modifying Memories in Transformer Models

classification cs.CL cs.LG
keywords knowledgemodelstransformertaskbeenfactsfactuallanguage
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved
0 comments
read the original abstract

Large Transformer models have achieved impressive performance in many natural language tasks. In particular, Transformer based language models have been shown to have great capabilities in encoding factual knowledge in their vast amount of parameters. While the tasks of improving the memorization and generalization of Transformers have been widely studied, it is not well known how to make transformers forget specific old facts and memorize new ones. In this paper, we propose a new task of \emph{explicitly modifying specific factual knowledge in Transformer models while ensuring the model performance does not degrade on the unmodified facts}. This task is useful in many scenarios, such as updating stale knowledge, protecting privacy, and eliminating unintended biases stored in the models. We benchmarked several approaches that provide natural baseline performances on this task. This leads to the discovery of key components of a Transformer model that are especially effective for knowledge modifications. The work also provides insights into the role that different training phases (such as pretraining and fine-tuning) play towards memorization and knowledge modification.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 23 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Editing Models with Task Arithmetic

    cs.LG 2022-12 accept novelty 8.0

    Task vectors from weight differences allow arithmetic operations to edit pre-trained models, improving multiple tasks simultaneously and enabling analogical inference on unseen tasks.

  2. Locating and Editing Factual Associations in GPT

    cs.CL 2022-02 accept novelty 8.0

    Factual associations in autoregressive transformers are localized to mid-layer feed-forward modules and can be edited via rank-one model editing while preserving both specificity and generalization on counterfactual tests.

  3. Mitigating Package Hallucinations in Large Language Models via Model Editing

    cs.SE 2026-07 unverdicted novelty 7.0

    BOUND refines LLMs' package-validity boundary via targeted editing to cut package hallucination rates by 79.9% on edit prompts and 65.4% on unseen prompts in recommendation tasks while generalizing to code generation.

  4. When to Write and When to Suppress: Route-Specialized Dual Adapters for Memory-Assisted Knowledge Editing

    cs.LG 2026-06 unverdicted novelty 7.0

    RRDA introduces a router plus separate edit and locality adapters for memory-assisted knowledge editing, reporting highest accuracy on CounterFact, ZsRE, and MQuAKE-CF across two 8B models.

  5. Knowledge Editing in Masked Diffusion Language Models

    cs.CL 2026-06 unverdicted novelty 7.0

    Locate-then-edit succeeds at the same early-to-mid MLP locations in masked diffusion models as in autoregressive models, but requires optimization over intermediate partial-mask states to handle multi-token targets.

  6. HyperPatch: Sequential Knowledge Editing Under n-ary Structural Drift

    cs.CL 2026-06 unverdicted novelty 7.0

    HyperPatch reformulates sequential n-ary knowledge editing as hypergraph manifold stability, using HGNN initialization, SimHash alignment plus Topological LoRA, and fused reasoning to achieve large H-Acc gains on MQuA...

  7. More Edits, More Stable: Understanding the Lifelong Normalization in Sequential Model Editing

    cs.LG 2026-05 unverdicted novelty 7.0

    Lifelong Normalization combined with ridge-regularized regression produces asymptotically orthogonal and bounded parameter updates that mitigate forgetting and collapse in lifelong model editing.

  8. HiEdit: Lifelong Model Editing with Hierarchical Reinforcement Learning

    cs.CL 2026-04 unverdicted novelty 7.0

    HiEdit uses hierarchical RL to dynamically pick knowledge-relevant layers for editing LLMs, improving performance over baselines while perturbing only half the layers per edit.

  9. Do All Individual Layers Help? An Empirical Study of Task-Interfering Layers in Vision-Language Models

    cs.AI 2026-02 conditional novelty 7.0

    Empirical analysis identifies task-interfering layers in VLMs and proposes TaLo, a test-time method to bypass them for improved performance without training.

  10. Norm Anchors Make Model Edits Last

    cs.LG 2026-01 conditional novelty 7.0

    Norm-Anchor Scaling breaks the norm-feedback loop in sequential LLM editing by anchoring value vectors to original norms, improving long-run performance by 72.2% and extending the editing horizon over 4x.

  11. Exposing the Illusion of Erasure in Knowledge Editing for LLMs

    cs.LG 2026-06 unverdicted novelty 6.0

    Knowledge editing methods redistribute and suppress rather than overwrite facts in LLMs, creating narrow vulnerable regions in representation space that adversarial prompts can exploit.

  12. When to Write and When to Suppress: Route-Specialized Dual Adapters for Memory-Assisted Knowledge Editing

    cs.LG 2026-06 unverdicted novelty 6.0

    Introduces route-specialized dual adapters that route prompts to either an edit adapter or a locality adapter, achieving highest accuracy on CF, ZSRE, and MQuAKE benchmarks for 7B/8B models.

  13. Patcher: Post-Hoc Patching of Backdoored Large Language Models

    cs.CR 2026-06 unverdicted novelty 6.0

    Patcher repairs backdoored LLMs from a single failure case by localizing triggers via response-conditioned gradient saliency and adaptive clustering then applying constrained fine-tuning to break trigger associations.

  14. Towards Localized and Disentangled Knowledge Editing for Multimodal Large Language Models

    cs.CL 2026-05 unverdicted novelty 6.0

    LDKE framework localizes fact-specific layers and disentangles inputs to improve generalization and locality in multimodal knowledge editing for MLLMs.

  15. Scalable Knowledge Editing for Mixture-of-Experts LLMs via Tensor-Structured Updates

    cs.LG 2026-05 unverdicted novelty 6.0

    A MEMIT-style knowledge editing framework for MoE LLMs that formulates per-expert updates via tensor structure and applies Woodbury identity for low-rank inversions, achieving up to 6x speedup with comparable editing quality.

  16. More Edits, More Stable: Understanding the Lifelong Normalization in Sequential Model Editing

    cs.LG 2026-05 conditional novelty 6.0

    Online value-gradient normalization in lifelong LLM editing produces bounded, asymptotically orthogonal parameter updates; an explicit warm-up and full whitening (StableEdit) strengthen this effect and improve long-ho...

  17. Don't Use a Cannon to Kill a Fly: Lightweight Model Editing for LLMs to Correct Deprecated API Recommendations

    cs.SE 2025-11 conditional novelty 6.0

    AdaLoRA-L restricts edits to API-specific layers and raises specificity by 33–836% (relative) on a new 3,000+ instance benchmark while staying close to AdaLoRA's effectiveness.

  18. Representation Interventions Enable Lifelong Knowledge Memory Control in LLMs

    cs.AI 2025-11 conditional novelty 6.0

    RILKE achieves lifelong knowledge editing in LLMs by learning low-rank representation interventions, then routing queries to the stored intervention and clustered shared modules, preserving general utility after 1,000...

  19. Representation Interventions Enable Lifelong Knowledge Memory Control in LLMs

    cs.AI 2025-11 unverdicted novelty 6.0

    RILKE learns low-dimensional, paraphrase-robust modules in LLM representation space that enable interference-free lifelong knowledge edits while preserving base model utility.

  20. Understanding Robustness of Model Editing in Code LLMs

    cs.SE 2025-11 unverdicted novelty 6.0

    A controlled benchmark on 2040 problems reveals poor generalization and high interference in model editing for API updates in code LLMs, with many successes being workarounds rather than true migrations.

  21. Deep sequence models tend to memorize geometrically; it is unclear why

    cs.LG 2025-10 unverdicted novelty 6.0

    Deep sequence models develop geometric memory in embeddings that encodes novel global relationships, transforming l-fold composition tasks into 1-step navigation via a natural spectral bias connected to Node2Vec.

  22. Orthogonal Representation Editing: Decoupling Semantic Entanglement in Batch Knowledge Editing of LLMs

    cs.CL 2026-06 unverdicted novelty 5.0

    ORE decouples semantic entanglement in LLM hidden states via orthogonal edit vectors and a gated non-linear head, improving batch knowledge editing performance including cross-lingual cases.

  23. Break Through the Compression Bottleneck: From Theory to Practice

    cs.CL 2026-05 reject novelty 5.0

    The paper asserts a first proof that low-rank decomposition and quantization are non-orthogonal tools for LLM compression, recommends low-rank-first ordering, and adds a diagonal scaling fix (DAM) that reduces the com...