Abstract
This paper introduces the $\beta$-Annealed Variational Autoencoder ($\beta$-Annealed VAE), a novel training schedule that linearly decreases the $\beta$ hyperparameter during training to achieve both high-quality disentanglement and accurate image reconstruction. By applying this unsupervised approach to spectrograms from gravitational wave detectors (LIGO/Virgo), the authors successfully isolate and classify complex noise transients ("glitches") without relying on massive labeled datasets, outperforming existing VAE variants.
Introduction
Ultra-sensitive gravitational wave detectors like LIGO and Virgo frequently pick up non-Gaussian noise transients known as "glitches." These glitches are problematic because they can mask or mimic actual gravitational waves. While citizen science projects like Gravity Spy have categorized these glitches into 22 distinct classes based on their spectrograms, new classes constantly emerge as detectors undergo upgrades and commissioning.
Relying on supervised learning to classify these glitches requires arduous, continuous manual labeling. Unsupervised representation learning—specifically disentangled representation learning—offers a way to automatically discover and separate the underlying generative factors of these glitches. However, existing models like $\beta$-VAEs force a harsh trade-off between disentanglement and reconstruction quality, while alternatives like Bottleneck-VAEs introduce additional, finicky hyperparameters.
Methods
The authors build upon the foundations of $\beta$-VAEs and Bottleneck-VAEs, viewing them through the lens of information theory (specifically the Rate-Distortion curve).
- Standard $\beta$-VAE: Penalizes the KL divergence between the learned latent distribution and the prior using a constant weight $\beta > 1$. This forces disentanglement but severely degrades the model's ability to reconstruct the original input.
- Bottleneck-VAE: Attempts to fix this by introducing a controlled information capacity parameter ($C$) that gradually increases during training, allowing the model to learn factors sequentially while preserving reconstruction quality. However, this adds extra hyperparameters ($C$ and $\gamma$).
- The Proposed Approach ($\beta$-Annealed VAE): The authors prove that linearly decreasing $\beta$ (from $\beta \gg 1$ down to $\beta = 1$) during training mathematically mimics the capacity-increasing effect of Bottleneck-VAEs. This simple annealing schedule forces the network to learn disentangled representations early in training, but relaxes into a standard VAE ($\beta=1$) by the end, ensuring high-fidelity reconstructions with one less hyperparameter to tune.
Information-Theoretic Equivalence
The authors demonstrate a neat theoretical link: decreasing the $\beta$ penalty in a $\beta$-VAE moves the model along the exact same Rate-Distortion (RD) curve as increasing the capacity $C$ in a Bottleneck-VAE. Because the $\beta$-Annealed VAE starts with a massive restriction on information flow ($\beta \gg 1$), the network is forced to learn the generative factors of the data one at a time, strictly in the order of decreasing returns to log-likelihood.
Experimental Setup
The models were evaluated on several datasets:
- Gravity Spy: A real-world dataset containing spectrograms of 22 different types of instrumental and environmental glitches from the LIGO and Virgo gravitational wave detectors.
- dSprites: A standard 2D benchmark dataset of shapes used to quantitatively evaluate the disentanglement capabilities of the models.
- 3DChairs: Used for qualitative visual assessment of latent space traversals.
Results
The $\beta$-Annealed VAE consistently outperformed baseline models in both representation quality and reconstruction accuracy.
- Real-World Performance (Gravity Spy): To test the quality of the learned representations, the authors trained a simple linear classifier on top of the frozen latent spaces. The $\beta$-Annealed VAE achieved 81.60% accuracy, outperforming both Bottleneck-VAE (80.01%) and standard $\beta$-VAE (61.26%).
- Benchmark Disentanglement (dSprites): The proposed method achieved highly competitive disentanglement metrics (e.g., a Modularity score of 0.832 and SAP score of 0.076 when starting with $\beta=50$).
- Reconstruction & ELBO: Across experiments, the $\beta$-Annealed VAE consistently achieved a better Evidence Lower Bound (ELBO) and lower reconstruction error compared to Bottleneck-VAEs, proving the efficacy of the $\beta \to 1$ cooldown phase.
Conclusion
By ending the annealing schedule at $\beta=1$, the model effectively trains as a vanilla VAE during its final stages. This allows the model to "fill in the details" and achieve excellent reconstruction quality without destroying the disentangled structure it learned in the early epochs.
While the paper primarily explores a simple linear decreasing schedule for $\beta$, future work could investigate whether non-linear annealing schedules might yield even better rate-distortion trade-offs. Additionally, the authors propose developing specialized VAE architectures tailored to the unique morphological characteristics of LIGO/Virgo spectrograms.
Summary updated