Document paper arXiv:2604.26841 (abstract, authors, BibTeX)
Browse files
README.md
CHANGED
|
@@ -5,18 +5,45 @@ tags:
|
|
| 5 |
- diffusion-language-model
|
| 6 |
- associative-memory
|
| 7 |
- memorization
|
|
|
|
| 8 |
- lm1b
|
|
|
|
| 9 |
datasets:
|
| 10 |
- lm1b
|
| 11 |
---
|
| 12 |
|
| 13 |
-
#
|
| 14 |
|
| 15 |
-
|
| 16 |
-
models**. The release is a two-axis sweep: **model size** × **training-set fraction**.
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
## Repository layout
|
| 22 |
|
|
@@ -129,4 +156,14 @@ python main.py model=medium data.subset=0.25
|
|
| 129 |
|
| 130 |
## Citation
|
| 131 |
|
| 132 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
- diffusion-language-model
|
| 6 |
- associative-memory
|
| 7 |
- memorization
|
| 8 |
+
- discrete-diffusion
|
| 9 |
- lm1b
|
| 10 |
+
- arxiv:2604.26841
|
| 11 |
datasets:
|
| 12 |
- lm1b
|
| 13 |
---
|
| 14 |
|
| 15 |
+
# Language Diffusion Models are Associative Memories Capable of Retrieving Unseen Data
|
| 16 |
|
| 17 |
+
Model checkpoints for the paper:
|
|
|
|
| 18 |
|
| 19 |
+
> **Language Diffusion Models are Associative Memories Capable of Retrieving Unseen Data**
|
| 20 |
+
> Bao Pham, Mohammed J. Zaki, Luca Ambrogioni, Dmitry Krotov, Matteo Negri
|
| 21 |
+
> arXiv:2604.26841 · [paper](https://arxiv.org/abs/2604.26841)
|
| 22 |
+
|
| 23 |
+
## Abstract
|
| 24 |
+
|
| 25 |
+
When do language diffusion models memorize their training data, and how to quantitatively assess
|
| 26 |
+
their true generative regime? We address these questions by showing that Uniform-based Discrete
|
| 27 |
+
Diffusion Models (UDDMs) fundamentally behave as Associative Memories (AMs) with emergent creative
|
| 28 |
+
capabilities. The core idea of an AM is to reliably recover stored data points as memories by
|
| 29 |
+
establishing distinct basins of attraction around them. Historically, models like Hopfield networks
|
| 30 |
+
use an explicit energy function to guarantee these stable attractors. We broaden this perspective by
|
| 31 |
+
leveraging the observation that energy is not strictly necessary, as basins of attraction can also
|
| 32 |
+
be formed via conditional likelihood maximization. By evaluating token recovery of training and test
|
| 33 |
+
examples, we identify in UDDMs a sharp memorization-to-generalization transition governed by the
|
| 34 |
+
size of the training dataset: as it increases, basins around training examples shrink and basins
|
| 35 |
+
around unseen test examples expand, until both later converge to the same level. Crucially, we can
|
| 36 |
+
detect this transition using only the conditional entropy of predicted token sequences: memorization
|
| 37 |
+
is characterized by vanishing conditional entropy, while in the generalization regime the
|
| 38 |
+
conditional entropy of most tokens remains finite. Thus, conditional entropy offers a practical
|
| 39 |
+
probe for the memorization-to-generalization transition in deployed models.
|
| 40 |
+
|
| 41 |
+
## What is released here
|
| 42 |
+
|
| 43 |
+
The **training-set size is the axis the paper's transition is measured along**, so this repo is a
|
| 44 |
+
full sweep over it: three model sizes × 54 nested subsets of
|
| 45 |
+
[LM1B](https://huggingface.co/datasets/lm1b), from 0.01% of the corpus to 100%, every checkpoint
|
| 46 |
+
trained for exactly 1,000,000 steps. 162 checkpoints, ~473 GB.
|
| 47 |
|
| 48 |
## Repository layout
|
| 49 |
|
|
|
|
| 156 |
|
| 157 |
## Citation
|
| 158 |
|
| 159 |
+
```bibtex
|
| 160 |
+
@misc{pham2026languagediffusionmodelsassociative,
|
| 161 |
+
title={Language Diffusion Models are Associative Memories Capable of Retrieving Unseen Data},
|
| 162 |
+
author={Bao Pham and Mohammed J. Zaki and Luca Ambrogioni and Dmitry Krotov and Matteo Negri},
|
| 163 |
+
year={2026},
|
| 164 |
+
eprint={2604.26841},
|
| 165 |
+
archivePrefix={arXiv},
|
| 166 |
+
primaryClass={cs.LG},
|
| 167 |
+
url={https://arxiv.org/abs/2604.26841},
|
| 168 |
+
}
|
| 169 |
+
```
|