←Primers
    Primer · 3 min

    Stable Diffusion: the openly available text-to-image AI model

    Stable Diffusion is an AI model that generates images from written descriptions by gradually refining random noise into a coherent picture.

    Updated 23 November 2026 · numbered links go to the papers behind each claim

    What it is

    Stable Diffusion is a generative artificial intelligence model that creates images from written descriptions, known as prompts. It belongs to a family of systems called diffusion models, which learn to turn random noise into a coherent picture step by step.

    During training, images are progressively corrupted with noise, and a neural network learns to undo that corruption a little at a time. Once trained, the network can start from pure noise and, guided by a prompt, remove noise repeatedly until an image emerges. Stable Diffusion carries out this process not on full-resolution pixels but in a compressed latent representation produced by an autoencoder, which makes it far less demanding to run. A decoder then turns the result back into a viewable image.

    The prompt is converted into numerical form by a text encoder, and the denoising network consults it through a mechanism called cross-attention, which links words to parts of the image as it forms. The model learnt its associations between words and pictures from very large collections of captioned images gathered from the web. Its trained weights were made publicly available, so researchers and hobbyists can run, study and modify it on their own hardware rather than only through a company's service.

    What research is finding

    Because it is openly available, Stable Diffusion has become a common test subject. A research article analysing the model identified a failure the authors call catastrophic neglect, in which one or more subjects named in a prompt do not appear, and found that the model sometimes attaches attributes such as colours to the wrong object[2]. The same work proposed a method that adjusts the model's cross-attention while an image is being generated, encouraging it to attend to every subject in the prompt, and reported that this conveyed the intended concepts more faithfully across a range of prompts than the alternative approaches it was compared with[2].

    Other studies look at how people use such tools. An analysis of a dataset of more than 4 million artworks from over 50,000 users of text-to-image AI reported that over time the technology raised creative productivity by about 25% and increased the likelihood of an artwork receiving a favourite per view by 50%[3]. The same study found that average content novelty declined even as peak novelty rose, and that visual novelty fell on both measures; the authors suggest that generating ideas and filtering results are likely to be important human skills in this kind of work[3].

    The wider diffusion approach is also being tested beyond art. A study applying diffusion probabilistic models to three-dimensional medical scans reported that they could synthesise high-quality MRI and CT data, with quality rated by two radiologists; using the synthetic images in pre-training improved a breast segmentation model when real data were scarce, with its Dice score rising from 0.91 to 0.95[6]. Review articles place Stable Diffusion within a broader wave of generative models for text, images, audio, video and code[4][5].

    Open questions

    One unsettled issue concerns the long-term health of generative models. A research article describing what it terms model collapse found that indiscriminately training models on content produced by earlier models caused irreversible defects, with the rarer features of the original data disappearing[1]. It demonstrated this in language models and simpler generative models rather than in Stable Diffusion specifically, but argued that the effect is widespread among learned generative models[1]. As synthetic images become more common online, it remains open how far future image models will be affected and how it might be avoided.

    Other questions are social and legal. A review of the field points to challenges including impersonation, misinformation, privacy breaches and job displacement[5], and how these should be weighed against possible benefits is far from agreed. Debates also continue over the use of web-gathered images for training and over who owns, or deserves credit for, generated work.

    On the technical side, the faithfulness problems documented in research suggest that reliably matching complex prompts is not yet fully solved. The creativity findings come from data on a particular population of users, so it is unclear how widely they apply, and the medical results concern small-data settings that have yet to be broadly evaluated.

    Papers

    1. AI models collapse when trained on recursively generated data. Nature, 2024. doi:10.1038/s41586-024-07566-y
    2. Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models. ACM Transactions on Graphics, 2023. doi:10.1145/3592116
    3. Generative artificial intelligence, human creativity, and art. PNAS Nexus, 2024. doi:10.1093/pnasnexus/pgae052
    4. ChatGPT is not all you need. A State of the Art Review of large Generative AI models. GRACE: Global Review of AI Community Ethics, 2023. doi:10.48550/arxiv.2301.04655
    5. Advancements in Generative AI: A Comprehensive Review of GANs, GPT, Autoencoders, Diffusion Model, and Transformers. IEEE Access, 2024. doi:10.1109/access.2024.3397775
    6. Denoising diffusion probabilistic models for 3D medical image generation. Scientific Reports, 2023. doi:10.1038/s41598-023-34341-2