Skip to main content
QUICK REVIEW

[Paper Review] Morpho-MNIST: Quantitative Assessment and Diagnostics for Representation Learning

Daniel C. Castro, Jeremy Tan|arXiv (Cornell University)|Sep 27, 2018
Domain Adaptation and Few-Shot LearningComputer Science34 references18 citations
TL;DR

This paper introduces Morpho-MNIST, a quantitative framework extending MNIST with measurable morphological attributes (e.g., stroke thickness, slant, width, height) and perturbations to objectively assess representation learning. It enables post-hoc evaluation of generative models by comparing learned representations to ground-truth shape metrics, revealing how well models disentangle and capture factors of variation in data.

ABSTRACT

Revealing latent structure in data is an active field of research, having introduced exciting technologies such as variational autoencoders and adversarial networks, and is essential to push machine learning towards unsupervised knowledge discovery. However, a major challenge is the lack of suitable benchmarks for an objective and quantitative evaluation of learned representations. To address this issue we introduce Morpho-MNIST, a framework that aims to answer: "to what extent has my model learned to represent specific factors of variation in the data?" We extend the popular MNIST dataset by adding a morphometric analysis enabling quantitative comparison of trained models, identification of the roles of latent variables, and characterisation of sample diversity. We further propose a set of quantifiable perturbations to assess the performance of unsupervised and supervised methods on challenging tasks such as outlier detection and domain adaptation. Data and code are available at https://github.com/dccastro/Morpho-MNIST.

Motivation & Objective

  • To address the lack of objective, quantitative benchmarks for evaluating representation learning in unsupervised and self-supervised models.
  • To enable objective assessment of how well trained models capture specific, measurable factors of variation in data, such as stroke thickness and digit slant.
  • To provide a reproducible, extensible framework for diagnosing model behavior, including disentanglement, mode collapse, and sample diversity.
  • To extend the widely used MNIST dataset with morphometric analysis and controlled perturbations for rigorous evaluation of representation quality.
  • To support both post-hoc analysis of existing models and the development of new evaluation protocols for generative and predictive models.

Proposed method

  • The authors define a set of measurable morphological attributes—stroke thickness, length, width, height, and slant—extracted from MNIST digit images using image moment-based analysis.
  • They introduce a suite of controlled perturbations (e.g., global thinning, thickening, local swelling, fracturing) to generate modified datasets for evaluating robustness and disentanglement.
  • The framework uses statistical tests such as the Maximum Mean Discrepancy (MMD) with Gaussian kernel bandwidths derived from Scott’s rule to compare the joint distribution of morphological metrics between real and generated data.
  • Morphometric distributions are visualized and compared across training, test, and perturbed sets to diagnose model behavior, including over- and under-representation in latent space.
  • The method supports post-hoc evaluation of already-trained models by analyzing their generated samples through these quantitative metrics.
  • The approach is generalizable beyond MNIST, as demonstrated on dSprites, and can be applied to non-imaging data with appropriate attribute measurement.

Experimental results

Research questions

  • RQ1To what extent has a trained model learned to represent specific, measurable factors of variation such as stroke thickness and digit slant in MNIST?
  • RQ2How well do generative models preserve the joint distribution of morphological attributes compared to real data?
  • RQ3Can perturbations like local swelling or fracturing be used to diagnose failure modes such as mode collapse or poor disentanglement?
  • RQ4How do different representation learning methods compare in capturing and disentangling shape-level attributes in rasterized 2D images?
  • RQ5Can morphometric analysis reveal insights into model behavior that are not apparent from qualitative sample inspection alone?

Key findings

  • The morphometric analysis revealed that models trained with disentanglement objectives better capture individual attributes like stroke thickness and slant, as shown by tighter alignment between real and generated metric distributions.
  • Perturbations such as global thinning and thickening allowed clear diagnosis of mode collapse, where models failed to generate diverse samples across the full range of morphological variation.
  • The MMD test with Scott’s rule bandwidths provided a reliable, quantitative measure of distributional similarity between real and generated morphometric data, enabling model ranking by fidelity.
  • The framework successfully diagnosed that some models, despite generating visually plausible digits, failed to represent key attributes like width and height consistently, indicating poor disentanglement.
  • The morphometric approach detected that certain generative models produced samples with implausible joint distributions of attributes (e.g., extreme width with minimal height), signaling distributional failure even when individual metrics were extracted.
  • The method demonstrated generalizability beyond MNIST, as shown on the dSprites dataset, where shape attributes like location and scale were similarly measurable and analyzable.

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.