# Rodziny modeli generatywnych

EN: **Generative model families** · id `generative`

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

## Description

- PL: Różne sposoby uczenia rozkładu i generowania próbek.
- EN: Different ways of learning a distribution and sampling from it.

## In one sentence

- PL: To różne rodziny modeli uczących się na przykładach, żeby tworzyć nowe obrazy, dźwięki lub inne dane.
- EN: These model families learn from examples to generate new images, sounds or other data.

## Problem it solves

- PL: Potrzebujesz nowych wariantów treści, a samo rozpoznawanie istniejących przykładów ich nie przygotuje.
- EN: You need new content variations, and recognising existing examples alone cannot produce them.

## What it does

- PL: Modele poznają wzory danych, a potem tworzą próbki przez odszumianie, przekształcanie losowych liczb, dekodowanie lub współpracę rywalizujących sieci.
- EN: Models learn data patterns, then generate samples through denoising, transforming random numbers, decoding or interacting networks with competing objectives.

## Everyday example

- PL: Tworzysz kilka wzorów tapety, a różne generatory proponują nowe układy na podstawie poznanych obrazów.
- EN: You create wallpaper designs, and different generators propose new layouts based on images they have learned from.

## This concerns you if you…

- PL: chcesz zrozumieć różnice między generatorami
- PL: potrzebujesz tworzyć nowe warianty danych
- EN: want to understand differences between generators
- EN: need to create new data variations

## Keywords

autoregressive models · diffusion models · VAE · GAN · normalizing flows · flow matching · latent variable models · likelihood estimation

## How it works

- PL: Trening dopasowuje rozkład danych przez wiarygodność, ograniczenie wariacyjne, grę przeciwstawną lub uczenie transportu i odszumiania. Próbkowanie korzysta potem z autoregresji, dekodera, odwracalnych przekształceń albo iteracyjnej ścieżki od szumu do danych.
- EN: Training fits data distributions through likelihood, variational bounds, adversarial games or transport and denoising objectives. Sampling then uses autoregression, decoders, invertible transformations or iterative paths from noise to data.

## Limits

- PL: Jakość i różnorodność próbek zależą od danych oraz celu. Wiarygodny wygląd nie zapewnia zgodności faktów; ocena rozkładu, koszt próbkowania i ryzyko zapamiętywania różnią się między rodzinami.
- EN: Sample quality and diversity depend on data and objectives. Plausible appearance does not ensure factual correctness; distribution evaluation, sampling cost and memorisation risks differ across families.

## Key terms

- PL: **rozkład generatywny**: Model prawdopodobieństw możliwych danych, z którego można uzyskiwać próbki.
- PL: **próbkowanie**: Losowe uzyskiwanie przykładów zgodnie z wyuczonym mechanizmem generowania.
- EN: **generative distribution**: A probability model of possible data from which samples can be obtained.
- EN: **sampling**: Randomly obtaining examples according to a learned generation mechanism.

## Know first

- [Modele probabilistyczne (Probabilistic models)](https://aiatlasgraph.com/t/probabilistic.md)
- [Podstawy sieci neuronowych (Neural network fundamentals)](https://aiatlasgraph.com/t/neuralbasics.md)

## Examples

- PL: Modele autoregresyjne · diffusion · VAE · GAN
- EN: Autoregressive · diffusion · VAE · GAN

## Subtopics (6 direct, 38 in total)

- [Autoenkodery wariacyjne (VAE) (Variational autoencoders (VAE))](https://aiatlasgraph.com/t/vae.md): A model with an encoder that compresses data into a latent distribution and a decoder that reconstructs it from samples; trained by maximising the evidence lower bound (ELBO) with the reparameterisation trick. Today it often works behind the scenes — as the image compressor in latent diffusion.
  - [Dyskretne kody obrazu i dźwięku (VQ-VAE, VQGAN) (Vector-quantised autoencoders (VQ-VAE, VQGAN))](https://aiatlasgraph.com/t/vqvae.md): An autoencoder whose encoder outputs indices of the nearest vectors in a learned codebook, producing discrete tokens for generative models.
  - [Rozplątane reprezentacje (β-VAE) (Disentangled representations (β-VAE))](https://aiatlasgraph.com/t/betavae.md): A VAE variant with weight β>1 on the KL term, strengthening independence of latent variables at the cost of reconstruction quality.
- [Autoregresyjne generowanie obrazu i dźwięku (Autoregressive image and audio generation)](https://aiatlasgraph.com/t/argen.md): Models generating data as a sequence of elements (pixels, samples, tokens or scales), each conditioned on earlier ones; a rival and complement to diffusion.
  - [Generowanie piksel po pikselu i próbka po próbce (PixelCNN, WaveNet) (Pixel- and sample-level autoregressive models (PixelCNN, WaveNet))](https://aiatlasgraph.com/t/pixelwavenet.md): Autoregressive convolutional networks modelling pixels or audio samples sequentially using masked or dilated causal convolutions.
  - [Maskowane transformery generatywne (MaskGIT) (Masked generative image transformers (MaskGIT))](https://aiatlasgraph.com/t/maskgit.md): A bidirectional transformer generating image tokens in parallel over a few iterations, unmasking the most confident predictions from a masked grid.
  - [Przewidywanie kolejnej skali (od szkicu do detalu) (Next-scale prediction (visual autoregressive modelling, VAR))](https://aiatlasgraph.com/t/var.md): Autoregression over scales: a transformer predicts a whole higher-resolution token map conditioned on all lower ones, instead of tokens in raster order.
- [Generatywne sieci przeciwstawne (GAN) (Generative adversarial networks (GAN))](https://aiatlasgraph.com/t/gan.md): Two networks trained in an adversarial game: a generator creates samples and a discriminator distinguishes them from real data; the discriminator's signal trains the generator to better match the data distribution. Training can be unstable and suffer from mode collapse.
  - [Generator sterowany stylem (StyleGAN) (Style-based GAN generators (StyleGAN))](https://aiatlasgraph.com/t/stylegan.md): A GAN generator architecture where a mapping network produces a style vector injected into every synthesis layer, separating coarse attributes from fine detail.
  - [Przekładanie obrazu na obraz (pix2pix, CycleGAN) (Image-to-image translation (pix2pix, CycleGAN))](https://aiatlasgraph.com/t/imagetranslation.md): Conditional GANs learning mappings between image domains, from paired examples (pix2pix) or without pairs via a cycle-consistency loss (CycleGAN).
  - [Stabilne trenowanie GAN (odległość Wassersteina, kara gradientu) (Stable GAN training: Wasserstein loss and gradient penalty)](https://aiatlasgraph.com/t/wgan.md): A family of GAN objective changes where a critic estimates the Wasserstein distance between distributions, with the Lipschitz constraint enforced by a gradient penalty.
- [Modele dyfuzyjne (Diffusion models)](https://aiatlasgraph.com/t/diffusion.md): Generating by gradual denoising.
  - [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.
- [Modele oparte na energii (Energy-based models (EBM))](https://aiatlasgraph.com/t/ebm.md): Models defining an unnormalised density through an energy function, trained via MCMC maximum likelihood, score matching or noise-contrastive estimation.
- [Przepływy normalizujące i flow matching (Normalising flows and flow matching)](https://aiatlasgraph.com/t/flowmatching.md): Models that turn simple noise into data with an invertible transform (normalising flows) or a learned velocity field along a path from noise to data (flow matching, rectified flow). Flow matching includes diffusion as a special case and underpins many new image models, e.g. Stable Diffusion 3.
  - [Prostowanie przepływu (rectified flow) (Rectified flow)](https://aiatlasgraph.com/t/rectifiedflow.md): A flow-matching variant learning a velocity field along straight lines between noise and data, with optional repeated straightening (reflow).
  - [Przepływy odwracalne z warstwami sprzężenia (RealNVP, Glow) (Coupling-layer normalising flows (RealNVP, Glow))](https://aiatlasgraph.com/t/normflows.md): Generators built from invertible transformations with tractable Jacobian determinants, giving exact log-likelihood via the change-of-variables formula.

## Related topics

Untyped, symmetric "see also" links.

- [Wnioskowanie przybliżone: próbkowanie i metody wariacyjne (Approximate inference: MCMC sampling and variational methods)](https://aiatlasgraph.com/t/approxinference.md)

## Sources

- [Stanford CS336 · Language Modeling from Scratch (2025)](<https://cs336.stanford.edu/spring2025/>) `cs336` · reference: Budowa modeli, dane, trening, systemy, inferencja i post-training.
- [Stanford CS231n · Computer Vision (2026)](<https://cs231n.stanford.edu/>) `vision` · reference: Sieci neuronowe i rozumienie obrazów.
- [Stanford CS229 · Machine Learning (2018, archiwum)](<https://cs229.stanford.edu/syllabus-autumn2018.html>) `cs229` · reference: Klasyczne ML, statystyka i podstawy uczenia. Użyte jako stabilny szkielet, nie przegląd nowości.
- [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/generative · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
