СледваСледващо ръководство
Автоенкодери
технически
РЪКОВОДСТВО по основи
A variational autoencoder learns a probabilistic latent representation and a decoder for generating or reconstructing data.
Чуйте това ръководствоAI-разказан · ~1 min
Auto-Encoding Variational Bayes derives an evidence lower bound (ELBO) on the marginal log likelihood log p(x). The objective can be optimized with stochastic gradients using an approximate posterior and reparameterization. For a Gaussian VAE it includes a reconstruction/likelihood term and a KL regularizer toward the prior. Generation separately samples a latent from the prior and decodes it; that sampling step is not the ELBO definition. The decoder parameterizes the likelihood p(x|z), a distribution over observations conditioned on a latent. This is distinct from drawing z from the prior and then generating x.
Encode an input into latent distribution parameters.
Sample a latent using the reparameterization trick during training.
Balance reconstruction and prior regularization in the ELBO.
Use a pretrained VAE to encode and decode images in latent diffusion.
VAE designs vary in likelihood, prior, and objective. Assess reconstruction, sample quality, and latent behavior for the selected model.
Безплатен бюлетин
Три проверени AI истории всяка делнична сутрин, написани на достъпен език. Безплатно завинаги, без реклами.
Един имейл всеки делничен ден. Отписване с едно кликване. Никога не продаваме и не споделяме вашия имейл адрес.
Тествайте себе си
Незабавна обратна връзка за всеки отговор и сертификат за споделяне с подлежащ на проверка идентификационен номер, след като преминете курс.
Подкрепете безплатното AI образование. AI Understanding е 501(c)(3) с нестопанска цел — без реклами, без платен достъп, никога. Направете дарение
A variational autoencoder learns a probabilistic latent representation and a decoder for generating or reconstructing data.
За разлика от обикновения автоматичен енкодер, VAE енкодерът извежда параметри на разпределението (обикновено гаусова средна стойност и дисперсия) и след това точка се взема проба от това разпределение.
Чрез записване на z = mu + сигма * епсилон с епсилон, изтеглен от фиксирана нормала, произволността се премества към вход, така че обратното разпространение може да тече през mu и сигма.
For the standard Gaussian VAE described in the cited formulation, the KL term regularizes the approximate posterior toward the prior, commonly a standard normal distribution.
A Gaussian VAE specifies a latent prior and a decoder distribution, allowing a latent sample to be drawn and decoded; this does not guarantee a high-quality sample.
Изпълнението на дифузия вътре в VAE-компресирано латентно пространство драстично намалява изчисленията в сравнение с работата директно в пространството на пикселите.
Продължавай да учиш
Още ръководства, избрани за тази тема
СледваСледващо ръководство
Автоенкодери
технически