# Rozplątane reprezentacje (β-VAE)

EN: **Disentangled representations (β-VAE)** · id `betavae` · aliases: beta-VAE, β-VAE, disentanglement, rozplątywanie czynników, disentangled representation learning

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) › [Autoenkodery wariacyjne (VAE)](https://aiatlasgraph.com/t/vae.md) › Rozplątane reprezentacje (β-VAE)

## Description

- PL: Wariant VAE z wagą β>1 przy członie KL, który wzmacnia niezależność zmiennych ukrytych kosztem jakości rekonstrukcji.
- EN: A VAE variant with weight β>1 on the KL term, strengthening independence of latent variables at the cost of reconstruction quality.

## In one sentence

- PL: Uczenie modelu tak, by każda liczba w jego wewnętrznym opisie odpowiadała jednej zrozumiałej cesze, np. kolorowi, rozmiarowi lub obrotowi.
- EN: Training a model so that each number in its internal description matches one understandable feature, like colour, size or rotation.

## Problem it solves

- PL: Wewnętrzne opisy sieci są zwykle splątane: jedna liczba zmienia naraz kilka cech, więc trudno je zrozumieć i kontrolować.
- EN: A network's internal descriptions are usually tangled: one number changes several features at once, making them hard to understand or control.

## What it does

- PL: Jak porządkowanie szuflad: model dostaje karę za upychanie wielu cech w jednej, więc każdą odkłada osobno.
- EN: Like sorting drawers: the model is penalised for stuffing many features into one, so it puts each away separately.

## Everyday example

- PL: Przesuwasz jeden suwak i na wygenerowanym krześle zmienia się tylko kąt oparcia, a kolor i nogi zostają takie same.
- EN: You move one slider and only the backrest angle of a generated chair changes, while its colour and legs stay the same.

## This concerns you if you…

- PL: chcesz sterować pojedynczymi cechami generowanych obrazów
- PL: zastanawiasz się, czy wnętrze modelu da się odczytać
- EN: want to control single features of generated images
- EN: wonder whether a model's insides can be read

## Keywords

beta-VAE · KL divergence weighting · disentanglement metrics · FactorVAE · dSprites · InfoGAN · latent traversal

## How it works

- PL: Funkcja celu VAE to rekonstrukcja minus dywergencja KL do rozkładu a priori o niezależnych współrzędnych. Zwiększenie wagi β przy KL ogranicza pojemność kanału ukrytego i wymusza, by każda współrzędna kodowała jeden niezależny czynnik zmienności danych. Stopień rozplątania mierzy się specjalnymi metrykami na zbiorach o znanych czynnikach.
- EN: The VAE objective is reconstruction minus a KL divergence to a prior with independent coordinates. Raising the KL weight β limits latent channel capacity and pushes each coordinate to encode one independent factor of variation. Disentanglement is measured with dedicated metrics on datasets with known factors.

## Limits

- PL: Większe β daje rozmyte rekonstrukcje. Badania pokazały, że bez dodatkowych założeń lub etykiet rozplątania nie da się zagwarantować, a wynik silnie zależy od ziarna losowego i hiperparametrów. Na złożonych, prawdziwych danych czynniki rzadko są czysto rozdzielne.
- EN: Higher β gives blurrier reconstructions. Research showed disentanglement cannot be guaranteed without extra assumptions or labels, and results depend heavily on random seeds and hyperparameters. On complex real data, factors are rarely cleanly separable.

## Key terms

- PL: **czynnik zmienności**: Jedna niezależna cecha danych, np. obrót albo kolor obiektu.
- PL: **dywergencja KL**: Miara, jak bardzo jeden rozkład prawdopodobieństwa różni się od drugiego.
- PL: **rozplątanie**: Stan, w którym każda zmienna ukryta odpowiada jednemu czynnikowi.
- EN: **factor of variation**: One independent feature of data, such as rotation or colour.
- EN: **KL divergence**: A measure of how much one probability distribution differs from another.
- EN: **disentanglement**: Each latent variable corresponding to one factor.

## Know first

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

## Sources

- [beta-VAE: Learning Basic Visual Concepts with a Constrained Variational Framework](<https://openreview.net/forum?id=Sy2fzU9gl>) `higgins-betavae-2017` · by Irina Higgins, Loic Matthey, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, Alexander Lerchner
- [Challenging Common Assumptions in the Unsupervised Learning of Disentangled Representations](<https://arxiv.org/abs/1811.12359>) `locatello-disentanglement-2019` · by Francesco Locatello, Stefan Bauer, Mario Lucic, Gunnar Rätsch, Sylvain Gelly, Bernhard Schölkopf, Olivier Bachem

---

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