· Masked / discrete diffusion, Inference acceleration · Source

TimeROME-DLM: Temporal Causal Tracing and Low-Rank Inference-Time Knowledge Editing for Masked Diffusion Language Models

SourceFull paper

Article overview

Verdict

TimeROME-DLM is a strong method for fact editing and unlearning in masked diffusion language models under the reported conditions: it sharply lowers forgotten-fact probability, nearly preserves retain utility, requires no training, and adds no VRAM. However, separation of semantic neighbours and robustness to in-context relearning remain unresolved.

Main idea

The method transfers residual editing from token positions in autoregressive models to temporal coordinates of masked-diffusion denoising. Temporal Indirect Effect tracing finds layers and steps where a fact is causally recoverable; the system then stores multiple forget facts in a shared low-rank residual memory and applies it during inference.

Mechanism

Specification supported by the records:
- State: residual-stream activations, a layer index, and a denoising-time index; one global coordinate is used for all forget facts.
- Coordinate discovery: temporal indirect-effect tracing estimates where fact information becomes recoverable; the exact tracing equations and coordinate-selection criterion are absent.
- Memory: one joint ridge-regularized least-squares problem over facts F produces a low-rank residual edit memory; TopQ sparsification is optional. The joint fit makes insertion order irrelevant.
- Execution: a gated memory is installed through a forward hook and added to the residual stream at the selected coordinate on every denoising forward; the backbone is frozen, with no backpropagation or weight updates.
- Efficiency: claimed preprocessing complexity is O(|F|²H+|F|³), per-forward cost is O(|F|TH), and overhead is under 1% of MDLM FLOPs at the reported operating points; no additional VRAM is required.
- Reproduction: (1) choose an MDLM and forget facts; (2) run temporal causal tracing across layers and denoising steps; (3) collect residual states and target changes; (4) solve the joint ridge problem and optionally apply TopQ; (5) install the forward hook; (6) apply the edit at every denoising step and measure forget/retain utility. Target-state construction and the exact gating implementation are unspecified.

What this is useful for

The method is suitable for masked diffusion language models when fast, reversible, streaming changes to many facts are needed without retraining the backbone, especially for unlearning and inference-time policy. It supports batched or sequential installation and reportedly transfers across six MDLM backbones and several benchmark suites.

Risks / not proven

The method weakens by about 8 nats under in-context relearning. On RWKU it poorly separates the forgotten fact from same-subject neighbours. Using one global coordinate for all forget facts can cause semantic-neighbour interference. There is a trade-off between forgetting strength and utility. The records omit the exact tracing equations, target format, and gating details, so full reproduction from these records alone is not guaranteed.

Full abstract

Masked diffusion language models (MDLMs) such as LLaDA now rival autoregressive (AR) LLMs, but every existing knowledge-editing and unlearning method (ROME, MEMIT, etc.) targets AR transformers and either makes assumptions that fail under iterative denoising, or requires gradient updates whose backward-pass activations cost tens of GB of extra VRAM and which collapse MDLMs at standard learning rates. We introduce TimeROME-DLM, the first training-free, gradient-free, inference-time knowledge-editing framework for MDLMs. It couples two components: a Temporal Indirect Effect (TIE) causal-tracing protocol that identifies, for each fact, the coordinate whose intervention most strongly drives the object prediction at later denoising steps; and a closed-form, low-rank residual edit memory that aggregates subject keys and target deltas across all forget facts and applies a single ridge-regularised update at that coordinate at every diffusion forward, with sparsification to limit utility spillover. Backbone weights stay frozen; only three hyperparameters (alpha, lambda, q) are tuned on a small validation split. On TOFU forget01 with TOFU-finetuned LLaDA-8B-Base, TimeROME-DLM cuts forget-set log-probability by roughly 83 nats. The same configuration transfers to LLaDA-8B-Instruct, Dream-7B, MMaDA-8B, DiffuLLaMA-7B, and LLaDA-MoE-1.4B. It keeps retain-set log-probability nearly flat (within ~1 nat at the utility-safe operating point) across 50 sequentially inserted facts, delivers a four- to fourteen-fold wall-clock speedup with zero additional VRAM over the strongest converged training-time baseline, and scales sub-linearly to 400 facts. TimeROME-DLM closes the locate-then-edit gap between AR LLMs and MDLMs at a fraction of the computational cost.

Source

BibTeX · RIS · Markdown · JSON