Skip to main content
QUICK REVIEW

[Paper Review] Interpretable Latent Spaces for Learning from Demonstration

Yordan Hristov, Alex Lascarides|arXiv (Cornell University)|Jul 17, 2018
Natural Language Processing TechniquesComputer Science15 citations
TL;DR

This paper proposes a framework that aligns learned latent representations in variational autoencoders with user-defined semantic concepts (e.g., color, size, shape) by enforcing orthogonality between latent dimensions and concept groups via auxiliary classification losses. The method achieves disentangled, interpretable representations that enable robust 1-NN classification and unknown concept detection, outperforming baseline models like β-VAE in concept alignment and open-world recognition.

ABSTRACT

Effective human-robot interaction, such as in robot learning from human demonstration, requires the learning agent to be able to ground abstract concepts (such as those contained within instructions) in a corresponding high-dimensional sensory input stream from the world. Models such as deep neural networks, with high capacity through their large parameter spaces, can be used to compress the high-dimensional sensory data to lower dimensional representations. These low-dimensional representations facilitate symbol grounding, but may not guarantee that the representation would be human-interpretable. We propose a method which utilises the grouping of user-defined symbols and their corresponding sensory observations in order to align the learnt compressed latent representation with the semantic notions contained in the abstract labels. We demonstrate this through experiments with both simulated and real-world object data, showing that such alignment can be achieved in a process of physical symbol grounding.

Motivation & Objective

  • To enable physical symbol grounding in robot learning from human demonstration by aligning learned latent representations with human-defined semantic concepts.
  • To ensure that each factor of variation (e.g., color, size) is encoded in a separate, linearly separable latent dimension for interpretability.
  • To support robust inference of known and unknown concepts (open-world recognition) using a unified latent space.
  • To improve sample efficiency and model interpretability by leveraging weakly labeled human demonstrations.
  • To demonstrate that disentangled, interpretable representations can be learned from minimal human input in both synthetic and real-world settings.

Proposed method

  • A variational autoencoder (VAE) is trained with auxiliary classification heads, one per user-defined concept group, each predicting labels from a single latent dimension.
  • Each classifier is trained to produce linearly separable decision boundaries in the latent space, ensuring that each concept group is encoded along a distinct basis vector.
  • The loss function combines VAE reconstruction loss with cross-entropy losses from the auxiliary classifiers, encouraging disentanglement and concept-specific representation.
  • After training, 1-NN classification is performed using estimated 1D Normal distributions per label class and in-between distributions for unknown labels.
  • The framework supports open-world recognition by modeling uncertainty: unknown instances are detected when their latent activations fall outside known class distributions.
  • The method is evaluated on both synthetic (dSprites with color) and real-world object datasets from human demonstrations, with concept groups defined by human-annotated symbols.

Experimental results

Research questions

  • RQ1Can a deep generative model learn a disentangled, interpretable latent space where each factor of variation (e.g., color, size) is encoded along a distinct, orthogonal latent dimension?
  • RQ2Can such a representation enable robust 1-NN classification of known concepts while detecting unknown concepts (open-world recognition)?
  • RQ3How does the proposed method compare to unsupervised baselines like β-VAE in terms of concept alignment and generalization to unseen data?
  • RQ4Can the framework generalize to real-world robotic manipulation tasks using only weakly labeled human demonstrations?
  • RQ5Does enforcing orthogonality between concept groups in the latent space improve interpretability and downstream inference performance?

Key findings

  • The full model achieved high cosine similarity (e.g., 0.98 for red, 0.93 for small) between the learned basis vectors and the semantic concepts, indicating strong axis alignment.
  • The classifier-only baseline performed comparably on known class classification but failed to detect unknowns, with F1 scores for unknowns dropping to 0.29 (α=0) and 0.23 (γ=0) on dSprites.
  • The β-VAE baseline failed to maintain axis alignment, with color and size concepts spread across multiple latent dimensions, resulting in poor interpretability.
  • On real-world data, the full model achieved F1 scores of 0.87 for blue, 0.86 for red, and 0.95 for unknowns, demonstrating strong performance on both known and unknown instances.
  • The model with α=1, γ≠0 achieved the best balance between known and unknown detection, with F1 scores of 0.88 (blue), 0.98 (red), and 0.87 (unknown) on dSprites.
  • The framework successfully enabled 1-NN classification using 1D Normal distributions per class and in-between distributions for unknowns, supporting open-world reasoning.

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.