# Modele dyfuzyjne

EN: **Diffusion models** · id `diffusion`

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [Sieci i modele generatywne](https://aiatlasgraph.com/t/neural.md) › [Rodziny modeli generatywnych](https://aiatlasgraph.com/t/generative.md) › Modele dyfuzyjne

## Description

- PL: Generowanie przez stopniowe odszumianie.
- EN: Generating by gradual denoising.

## In one sentence

- PL: To modele tworzące dane przez stopniowe usuwanie szumu z początkowo losowego zapisu.
- EN: These models create data by gradually removing noise from an initially random representation.

## Problem it solves

- PL: Chcesz tworzyć wiele różnych obrazów lub dźwięków, które zachowują poznane cechy rzeczywistych przykładów.
- EN: You want varied images or sounds that retain characteristics learned from real examples.

## What it does

- PL: Nauka na zaszumionych przykładach pokazuje, jak je poprawiać; podczas generowania kolejne kroki kierują losowy zapis ku pasującej treści.
- EN: Learning from noisy examples teaches correction; during generation, successive steps guide a random representation towards suitable content.

## Everyday example

- PL: Po opisaniu leśnej ścieżki widzisz, jak generator stopniowo wyłania obraz z losowych plam.
- EN: After describing a forest path, you see a generator gradually reveal an image from random patches.

## This concerns you if you…

- PL: korzystasz z generatorów obrazów lub dźwięków
- PL: chcesz zrozumieć stopniowe tworzenie treści
- EN: use image or sound generators
- EN: want to understand gradual content generation

## Keywords

DDPM · DDIM · score matching · noise schedules · classifier-free guidance · latent diffusion · pixel-space diffusion · DiT · discrete diffusion · diffusion language models · cascaded diffusion

## How it works

- PL: Proces perturbacji dostarcza przykłady z różnym poziomem szumu, na których model uczy sygnału odszumiania. Generator odwraca tę ścieżkę przez kolejne aktualizacje próbki, opcjonalnie warunkowane tekstem lub inną informacją.
- EN: A perturbation process supplies examples at varied noise levels for learning denoising signals. Generation reverses this path through successive sample updates, optionally conditioned on text or other information.

## Limits

- PL: Wielokrotne wywołania modelu zwiększają czas próbkowania. Harmonogram szumu i solver wpływają na jakość; odszumianie nie gwarantuje poprawnego odtworzenia konkretnego obiektu lub relacji.
- EN: Repeated model calls increase sampling time. Noise schedules and solvers affect quality; denoising cannot guarantee correct reconstruction of specific objects or relationships.

## Key terms

- PL: **score**: Gradient logarytmu gęstości wskazujący kierunek zmiany próbki.
- PL: **harmonogram szumu**: Rozkład poziomów perturbacji wzdłuż procesu treningowego i próbkowania.
- EN: **score**: A log-density gradient indicating a sample-update direction.
- EN: **noise schedule**: The arrangement of perturbation levels along training and sampling processes.

## Know first

- [Rozkłady prawdopodobieństwa (Probability distributions)](https://aiatlasgraph.com/t/distributions.md)
- [Propagacja wsteczna (backpropagation) (Backpropagation)](https://aiatlasgraph.com/t/backprop.md)

## Examples

- PL: obraz · wideo
- EN: image · video

## Subtopics (8 direct, 22 in total)

- [Dyfuzja w przestrzeni pikseli (Pixel-space diffusion)](https://aiatlasgraph.com/t/pixeldiffusion.md): Diffusion trained and sampled directly on the pixel grid, without an autoencoder.
  - [Klepsydrowy transformer dyfuzyjny (Hourglass diffusion transformer)](https://aiatlasgraph.com/t/hourglassdit.md): An hourglass-shaped transformer that scales linearly with pixel count.
  - [Przesunięcie harmonogramu szumu (Noise-schedule shifting for high-resolution pixels)](https://aiatlasgraph.com/t/noiseshift.md): An adjustment of log signal-to-noise ratio as the pixel count grows.
  - [Transformer pikselowy o dwóch poziomach (Dual-level pixel diffusion transformer)](https://aiatlasgraph.com/t/pixeldit.md): A single-stage diffusion transformer with a patch level and a pixel level.
- [Dyfuzja w przestrzeni ukrytej (Stable Diffusion) (Latent diffusion (Stable Diffusion))](https://aiatlasgraph.com/t/latentdiffusion.md): Diffusion performed in an autoencoder's compressed latent space rather than directly in pixel space, reducing computation; text conditioning can be implemented through cross-attention. This design is used by Latent Diffusion models, including Stable Diffusion.
- [Dyfuzyjne modele językowe (Diffusion language models)](https://aiatlasgraph.com/t/dllm.md): A family of language models that learn to reverse token masking or noising, rather than only next-token prediction.
  - [Dyfuzja blokowa (Block diffusion language models)](https://aiatlasgraph.com/t/blockdiffusion.md): An autoregressive distribution over blocks, with discrete diffusion inside a block and causal attention across blocks.
  - [Dyfuzja ciągła na zanurzeniach słów (Continuous diffusion on word embeddings)](https://aiatlasgraph.com/t/embdiffusion.md): Continuous diffusion in embedding space: Gaussian noise on vectors, then rounding back to a token.
  - [Dyskretna dyfuzja ze score entropy (Score entropy discrete diffusion)](https://aiatlasgraph.com/t/sedd.md): Discrete diffusion trained with score entropy, which matches ratios of token probabilities.
  - [Dyskretna dyfuzja ze strukturalną macierzą przejść (Structured discrete diffusion (D3PM))](https://aiatlasgraph.com/t/d3pm.md): Discrete diffusion with a transition matrix: uniform, neighbour-based, or with a mask as an absorbing state.
  - [Maskowana dyfuzja tekstu (Masked diffusion language models)](https://aiatlasgraph.com/t/maskdiffusion.md): Diffusion whose only corruption is a mask token: the objective is a weighted mixture of masked-language losses.
    - [Próbkowanie z ponownym maskowaniem (Remasking samplers for masked diffusion)](https://aiatlasgraph.com/t/remasking.md): Masked-diffusion samplers that can mask previously predicted tokens again and revise them over subsequent steps.
- [Kaskadowe modele dyfuzyjne (Cascaded diffusion models)](https://aiatlasgraph.com/t/cascadediff.md): A chain of diffusion models at increasing resolution, from sketch to detail.
  - [Augmentacja obrazu warunkującego (Conditioning augmentation for cascaded diffusion)](https://aiatlasgraph.com/t/condaugment.md): Corrupting the low-resolution input while training super-resolution models.
- [Sterowanie promptem bez klasyfikatora (classifier-free guidance) (Classifier-free guidance)](https://aiatlasgraph.com/t/cfg.md): A technique to strengthen adherence to the prompt: one model learns to generate with and without the condition (dropped randomly in training), and at sampling time the output is pushed toward the conditional version. The guidance scale is the familiar “prompt fidelity vs diversity” knob.
- [Szybkie generowanie w kilku krokach (Fast and few-step diffusion sampling)](https://aiatlasgraph.com/t/fewstepdiffusion.md): Methods for shortening diffusion sampling: better solvers without retraining and distillation into few-step and one-step models.
  - [Modele spójności (generowanie jednym krokiem) (Consistency models)](https://aiatlasgraph.com/t/consistencymodels.md): Models trained to map any point on a denoising trajectory to its endpoint, enabling one- and few-step sampling; trained by distillation or standalone.
  - [Przeciwstawna destylacja dyfuzji (generowanie w 1–4 krokach) (Adversarial diffusion distillation)](https://aiatlasgraph.com/t/advdistill.md): Distilling large diffusion models to 1–4 steps by combining a score-based teacher signal with an adversarial loss.
  - [Stopniowa destylacja kroków (Progressive distillation of diffusion samplers)](https://aiatlasgraph.com/t/progdistill.md): Iterative distillation where a student learns to reproduce two steps of the teacher's deterministic sampler in one, halving the step count each round.
  - [Szybsze samplery bez ponownego treningu (DDIM, solvery ODE) (Fast training-free samplers (DDIM, ODE solvers))](https://aiatlasgraph.com/t/ddim.md): Deterministic or less stochastic sampling procedures for trained diffusion models, based on non-Markovian processes and probability-flow ODE solvers.
- [Transformery w modelach dyfuzyjnych i przepływowych (DiT) (Transformers for diffusion and flow models (DiT))](https://aiatlasgraph.com/t/dit.md): Generative architectures in which a transformer processes patches of an image representation instead of a conventional U-Net backbone. DiT applied this design to latent diffusion, while newer variants also use transformers in flow-trained models.
- [Zaszumianie i odszumianie krok po kroku (DDPM) (Forward noising and learned denoising (DDPM))](https://aiatlasgraph.com/t/ddpm.md): The basic construction of denoising diffusion probabilistic models: a forward process gradually adds noise to data, while a model learns to reverse the corruption, often by predicting the added noise. Sampling-step count affects cost and quality, and separate fast-sampling or distillation techniques can reduce it.

## Related topics

Untyped, symmetric "see also" links.

- [Generowanie obrazu i wideo (Image and video generation)](https://aiatlasgraph.com/t/imagegen.md)
- [Polityki generatywne (Diffusion Policy, ACT) (Generative action policies (Diffusion Policy, ACT))](https://aiatlasgraph.com/t/diffusionpolicy.md)
- [Przepływy normalizujące i flow matching (Normalising flows and flow matching)](https://aiatlasgraph.com/t/flowmatching.md)

## Sources

- [DeepLearning.AI — course catalogue](<https://www.deeplearning.ai/courses>) `dlai` · course catalogue: 42 topic labels with counts, about 130 courses.

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/diffusion · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
