MemDLM: Memory-Enhanced DLM Training

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Pei, Zehua, Zhen, Hui-Ling, Lin, Weizhe, Pan, Sinno Jialin, Wang, Yunhe, Yuan, Mingxuan, Yu, Bei
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917402752581632
author Pei, Zehua
Zhen, Hui-Ling
Lin, Weizhe
Pan, Sinno Jialin
Wang, Yunhe
Yuan, Mingxuan
Yu, Bei
author_facet Pei, Zehua
Zhen, Hui-Ling
Lin, Weizhe
Pan, Sinno Jialin
Wang, Yunhe
Yuan, Mingxuan
Yu, Bei
contents Diffusion Language Models (DLMs) offer attractive advantages over Auto-Regressive (AR) models, such as full-attention parallel decoding and flexible generation. However, standard DLM training uses a static, single-step masked prediction objective that never exposes the model to the progressive denoising dynamics of inference, and forces all contextual information to be maintained purely through token-space attention, which becomes increasingly diluted as context length grows. We propose MemDLM (Memory-Enhanced DLM), which introduces a second memory channel by embedding a simulated denoising trajectory into training via Bi-level Optimization. An inner loop updates a set of fast weights, forming a Parametric Memory that captures the local trajectory experience, while an outer loop updates the base model conditioned on this memory. By offloading part of the memorization burden from token-space attention to parameter space, MemDLM yields faster convergence, stronger long-context representations, and lower training loss, even when the fast weights are discarded at inference time. Re-enabling the inner loop at inference provides an additional prompt-specific adaptation effect, where the Parametric Memory acts as an emergent in-weight retrieval mechanism on challenging Needle-in-a-Haystack tasks. Code: https://github.com/JarvisPei/MemDLM.
format Preprint
id arxiv_https___arxiv_org_abs_2603_22241
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle MemDLM: Memory-Enhanced DLM Training
Pei, Zehua
Zhen, Hui-Ling
Lin, Weizhe
Pan, Sinno Jialin
Wang, Yunhe
Yuan, Mingxuan
Yu, Bei
Computation and Language
Diffusion Language Models (DLMs) offer attractive advantages over Auto-Regressive (AR) models, such as full-attention parallel decoding and flexible generation. However, standard DLM training uses a static, single-step masked prediction objective that never exposes the model to the progressive denoising dynamics of inference, and forces all contextual information to be maintained purely through token-space attention, which becomes increasingly diluted as context length grows. We propose MemDLM (Memory-Enhanced DLM), which introduces a second memory channel by embedding a simulated denoising trajectory into training via Bi-level Optimization. An inner loop updates a set of fast weights, forming a Parametric Memory that captures the local trajectory experience, while an outer loop updates the base model conditioned on this memory. By offloading part of the memorization burden from token-space attention to parameter space, MemDLM yields faster convergence, stronger long-context representations, and lower training loss, even when the fast weights are discarded at inference time. Re-enabling the inner loop at inference provides an additional prompt-specific adaptation effect, where the Parametric Memory acts as an emergent in-weight retrieval mechanism on challenging Needle-in-a-Haystack tasks. Code: https://github.com/JarvisPei/MemDLM.
title MemDLM: Memory-Enhanced DLM Training
topic Computation and Language
url https://arxiv.org/abs/2603.22241