Skip to main content
QUICK REVIEW

[Paper Review] Improving Generalization for Abstract Reasoning Tasks Using Disentangled Feature Representations

Xander Steenbrugge, Sam Leroux|ArXiv.org|Nov 12, 2018
Topic ModelingComputer Science9 references38 citations
TL;DR

This paper proposes using a disentangled β-VAE to learn a structured latent space from pixel inputs in abstract reasoning tasks, replacing supervised CNN encoders in a WReN model. By training the VAE with a gradually increasing β to balance disentanglement and reconstruction, the method achieves superior generalization—especially on out-of-distribution problems—outperforming supervised WReN by up to 21.6% on hard generalization benchmarks.

ABSTRACT

In this work we explore the generalization characteristics of unsupervised representation learning by leveraging disentangled VAE's to learn a useful latent space on a set of relational reasoning problems derived from Raven Progressive Matrices. We show that the latent representations, learned by unsupervised training using the right objective function, significantly outperform the same architectures trained with purely supervised learning, especially when it comes to generalization.

Motivation & Objective

  • To improve generalization in abstract reasoning tasks by learning a disentangled latent representation from unsupervised pixel data.
  • To investigate whether disentangled representations learned via β-VAE can enhance relational reasoning beyond purely supervised training.
  • To evaluate the impact of varying β in the β-VAE objective on generalization performance in procedural reasoning tasks.
  • To determine if a disentangled latent space makes the relational reasoning problem more tractable for the WReN architecture.

Proposed method

  • Replace the supervised CNN encoder in the WReN model with a disentangled β-VAE encoder trained on the PGM dataset using a modified ELBO objective.
  • Use a variable-β training regime, starting at β = 0.5 and increasing to β = 4.0, to first capture visual details and then enforce disentanglement.
  • Freeze the pretrained VAE encoder and initialize the WReN model with it, using the 64-dimensional latent vector as input instead of 512 CNN features.
  • Train the WReN model for 6 epochs with fixed encoder, then fine-tune end-to-end for 2 more epochs to adapt to the latent space.
  • Apply the same WReN architecture and training protocol as in [1], differing only in the input representation (VAE-embedded vs. raw CNN features).
  • Use the mean of the posterior distribution at inference time to ensure deterministic decoding of latent representations.

Experimental results

Research questions

  • RQ1Can disentangled representation learning improve generalization in abstract reasoning tasks compared to purely supervised learning?
  • RQ2How does the choice of β in the β-VAE objective affect the trade-off between reconstruction quality and disentanglement in the latent space?
  • RQ3Does a disentangled latent space lead to better performance on out-of-distribution reasoning problems not seen during training?
  • RQ4Can unsupervised pretraining with a VAE improve the inductive bias of the WReN model for relational reasoning?

Key findings

  • The VAE-WReN model with β = 4.0 achieved 64.2% test accuracy on the neutral generalization regime, outperforming the CNN-WReN baseline of 62.6%.
  • On the most challenging generalization regime (H.O. Triples), the VAE-WReN model achieved 24.6% test accuracy, compared to 19.0% for the CNN-WReN model—a relative improvement of 29.5%.
  • The VAE-WReN model showed consistent gains across all generalization regimes, including a 21.6% absolute improvement on the H.O. Attribute Pairs regime (36.8% vs. 27.2% for CNN-WReN).
  • Latent space visualization confirmed that the VAE disentangled key generative factors such as shape, color, and object presence, with clear interpolation effects across individual dimensions.
  • The model also outperformed the baseline on the validation set (64.8% vs. 63.0%), indicating that the disentangled space improves in-distribution performance as well.
  • Cohen’s Kappa scores confirmed the improvement, with the VAE-WReN model achieving 0.591 on the neutral test set, compared to 0.573 for the baseline.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.