Home

Play · a poem from noise

Diffusion Poetry

This poem is not written left to right. It starts as noise and settles all at once, the surest words first, like frost on a window.

Tap a word, or the ↻ at the end of a line, to turn it back into noise and let it settle again.

Step 0 of 24

How it works

A poem written all at once

Noise first

A diffusion language model starts with every word hidden. At each step it guesses all the hidden words together, keeps the ones it is surest of, and hides the rest again. After enough steps, every word has settled.

A real poem, a simulated order

A language model (Gemma 4, on Cloudflare) writes the poem and gives each word a confidence score. The page reveals the words in that order, an equal share at each step. The model writes left to right, so this order is a simulation of masked diffusion, not the model's real internals.

Re-noise and freeze

Re-noise a word or a line and the model fills just that gap, with the rest of the poem around it. Freeze at any step to keep the half-formed poem as a card and a link. Offline, a small word bank in your browser writes the poem instead.

I ran real diffusion models, Dream 7B and LLaDA 8B, on my laptop. With fewer steps than words, their text fell apart; fluent text needed about one step per word. Read about those runs.

← More to play with