Factual Access States in Diffusion Language Models: From Mechanism to Knowledge Editing and Retrieval
Abstract
Factual recall is a lookup: some representation inside the network serves as the key, and what that key is made of decides which queries can retrieve the fact, what an edit must cover, and what a retriever can read. We call it the factual access state. In autoregressive (AR) models the subject position enriches attributes largely independently of the relation, and relation-specific selection happens later, at the readout position. In masked diffusion language models (DLMs) we find the state is assembled differently, and much earlier: in the first attention layer the wording of the relation is routed into the position of whichever entity is visible and the early feed-forward layers look the fact up on this fused representation. The state therefore varies with the relation's surface form and with the query direction, so the queries about one fact occupy a region of state space rather than a point, and an operation on the fact succeeds only for queries that enter it. We treat the state as an interface to a DLM's factual knowledge, and put it to two uses. Writing to the state gives a knowledge editor: from one declarative statement, Multi-View Edit fits one shared value per direction across that region and installs it in the early-MLP block, preserving source-prompt reliability while substantially improving paraphrase and reverse question answering, where AR editors gain near zero. Reading it suggests a complementary use: the state at each entity position can serve as a relation-specific retrieval vector with no training, returning both pieces of evidence for two-entity queries on which pooled, prompted and lexical retrievers almost never return both.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI, cs.IR, cs.LG
Related papers
The Answer Is Not the State: Trajectory-Level Corrigibility in Diffusion Language Models
Shared title terminologycs.CLJunchi Liao, Wentao Li
Self-Assessment Reinforcement Learning for Search-State Awareness in Retrieval-Augmented Large Language Models
Shared title terminologycs.CLTaewhoo Lee, Minju Song, Jungwoo Park et al.
TAP: Policy Interfaces for Diffusion Language Models
Shared title terminologycs.CLPreeti, Ankita Kushwaha, Kiran Ravish et al.
Ontology-Compiled 2D Clinical State Fields with Bidirectional Diffusion Encoders for Zero-Training Cross-Ontology Medical Coding
Shared title terminologycs.CLZeqiang Wang
GraphSeer: Multimodal Knowledge Graph Relational Image Retrieval with MLLMs
Shared title terminologycs.CLLinyu Li, Zhi Jin, Yuanpeng He et al.
RES: Accelerating Diffusion Language Models with Rolling Entropy Sampling
Shared title terminologycs.CLPatrick Pynadath, Nicolas Perez-Nieves, Bobak Shahriari et al.