Saved in:
Bibliographic Details
Main Authors: Pan, Xu, Hahami, Ely, Fan, Jingxuan, Xie, Ziqian, Sompolinsky, Haim
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2510.09885
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918485546762240
author Pan, Xu
Hahami, Ely
Fan, Jingxuan
Xie, Ziqian
Sompolinsky, Haim
author_facet Pan, Xu
Hahami, Ely
Fan, Jingxuan
Xie, Ziqian
Sompolinsky, Haim
contents Large language models (LLMs) are often used in environments where facts evolve, yet factual knowledge updates via fine-tuning on unstructured text often suffer from 1) reliance on compute-heavy paraphrasing augmentation and 2) the reversal curse. Recent studies show diffusion large language models (dLLMs) require fewer training samples to achieve lower loss in pre-training and are more resistant to the reversal curse, suggesting dLLMs may learn new knowledge more easily than autoregressive LLMs (arLLMs). We test this hypothesis in controlled knowledge fine-tuning experiments and find that while arLLMs rely on paraphrase augmentation to generalize knowledge text into question-answering (QA) capability, dLLMs do not require paraphrases to achieve high QA accuracy. To further investigate whether the demasking objective alone can induce such a knowledge injection advantage in dLLMs regardless of their diffusion denoising paradigm, we propose masked fine-tuning for arLLMs, which prompts an arLLM to reconstruct the original text given a masked version in context. The masked fine-tuning for arLLMs substantially improves the efficacy of knowledge injection, i.e. no paraphrase needed and resistant to the reversal curse, closing the gap between arLLMs and dLLMs. We also demonstrate broader applicability: on a large-scale knowledge-intensive dataset (1.2M samples), masked SFT achieves the best downstream accuracy on GPQA-diamond among all fine-tuning variants. The demasking objective also improves SFT on math tasks, suggesting broad utility beyond factual knowledge injection.
format Preprint
id arxiv_https___arxiv_org_abs_2510_09885
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Diffusion-Inspired Masked Fine-Tuning for Knowledge Injection in Autoregressive LLMs
Pan, Xu
Hahami, Ely
Fan, Jingxuan
Xie, Ziqian
Sompolinsky, Haim
Computation and Language
Artificial Intelligence
Large language models (LLMs) are often used in environments where facts evolve, yet factual knowledge updates via fine-tuning on unstructured text often suffer from 1) reliance on compute-heavy paraphrasing augmentation and 2) the reversal curse. Recent studies show diffusion large language models (dLLMs) require fewer training samples to achieve lower loss in pre-training and are more resistant to the reversal curse, suggesting dLLMs may learn new knowledge more easily than autoregressive LLMs (arLLMs). We test this hypothesis in controlled knowledge fine-tuning experiments and find that while arLLMs rely on paraphrase augmentation to generalize knowledge text into question-answering (QA) capability, dLLMs do not require paraphrases to achieve high QA accuracy. To further investigate whether the demasking objective alone can induce such a knowledge injection advantage in dLLMs regardless of their diffusion denoising paradigm, we propose masked fine-tuning for arLLMs, which prompts an arLLM to reconstruct the original text given a masked version in context. The masked fine-tuning for arLLMs substantially improves the efficacy of knowledge injection, i.e. no paraphrase needed and resistant to the reversal curse, closing the gap between arLLMs and dLLMs. We also demonstrate broader applicability: on a large-scale knowledge-intensive dataset (1.2M samples), masked SFT achieves the best downstream accuracy on GPQA-diamond among all fine-tuning variants. The demasking objective also improves SFT on math tasks, suggesting broad utility beyond factual knowledge injection.
title Diffusion-Inspired Masked Fine-Tuning for Knowledge Injection in Autoregressive LLMs
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2510.09885