Skip to main content
QUICK REVIEW

[Paper Review] Understanding Instance-based Interpretability of Variational Auto-Encoders

Zhifeng Kong, Kamalika Chaudhuri|arXiv (Cornell University)|May 29, 2021
Generative Adversarial Networks and Image SynthesisComputer Science35 references11 citations
TL;DR

This paper proposes VAE-TracIn, a computationally efficient and theoretically grounded method for instance-based interpretability in variational autoencoders (VAEs) using influence functions. By framing the counter-factual question as 'which training samples most increase the likelihood of a test sample?', the authors show that VAE-TracIn identifies influential training samples—with high self-influence indicating hard-to-reconstruct or high-contrast samples—and enables unsupervised data cleaning by detecting data points outside the data manifold.

ABSTRACT

Instance-based interpretation methods have been widely studied for supervised learning methods as they help explain how black box neural networks predict. However, instance-based interpretations remain ill-understood in the context of unsupervised learning. In this paper, we investigate influence functions [Koh and Liang, 2017], a popular instance-based interpretation method, for a class of deep generative models called variational auto-encoders (VAE). We formally frame the counter-factual question answered by influence functions in this setting, and through theoretical analysis, examine what they reveal about the impact of training samples on classical unsupervised learning methods. We then introduce VAE- TracIn, a computationally efficient and theoretically sound solution based on Pruthi et al. [2020], for VAEs. Finally, we evaluate VAE-TracIn on several real world datasets with extensive quantitative and qualitative analysis.

Motivation & Objective

  • To formalize instance-based interpretability in unsupervised learning, particularly for VAEs, by defining a counter-factual question grounded in likelihood maximization.
  • To address the challenge of computing influence functions in VAEs due to stochasticity in the encoder and high computational cost of Hessian inversion.
  • To develop VAE-TracIn, a first-order, efficient approximation of influence functions that avoids Hessian computation and leverages model checkpoints for speed.
  • To empirically validate VAE-TracIn on real-world datasets, demonstrating its ability to identify influential training samples and support unsupervised data quality assessment.
  • To show that high self-influence samples are often visually distinct or high-contrast, suggesting utility in detecting data distribution outliers.

Proposed method

  • Formalize the counter-factual question for VAEs as 'which training samples most increase the likelihood of a test sample?', enabling influence-based interpretation in the absence of labels.
  • Use an empirical average of influence functions to approximate the true influence, proving a concentration bound under mild conditions to ensure reliability.
  • Adapt TracIn—a first-order influence estimation method—to VAEs, eliminating the need for Hessian inversion and enabling fast computation using model checkpoints.
  • Define 'proponents' as high-influence training samples and 'opponents' as low-influence samples, analyzing their visual and latent space characteristics.
  • Evaluate VAE-TracIn on MNIST and CIFAR-10, comparing influence scores with latent space distances and norms, and perform unsupervised data cleaning by filtering high self-influence samples.

Experimental results

Research questions

  • RQ1How can instance-based interpretability be formally framed in unsupervised learning, particularly for VAEs, without relying on labels?
  • RQ2What is the theoretical relationship between influence functions and likelihood maximization in VAEs, and how do they relate to pairwise distances in latent space?
  • RQ3How can influence functions be efficiently computed in VAEs given the stochastic encoder and high-dimensional parameter space?
  • RQ4What patterns emerge in the influence of training samples on test samples, and how do these relate to visual and latent space properties?
  • RQ5Can high self-influence training samples serve as indicators of data distribution outliers or anomalies in unsupervised settings?

Key findings

  • High self-influence training samples in VAEs are associated with large reconstruction losses, indicating they are visually complex, high-contrast, or difficult to reconstruct.
  • Proponents (high-influence samples) are typically visually similar to test samples, often matching their background and object color, and are frequently brighter or more vivid.
  • In CIFAR-10, strong proponents consistently exhibit large latent space norms, suggesting they are high-contrast or bright images, with mean norms of 5.48±0.62 in CIFAR-9.
  • Both proponents and opponents are closely located to test samples in the latent space, especially at higher β values, indicating strong semantic similarity.
  • Strong opponents often belong to the same class as the test sample but differ in style, thickness, or shape, suggesting influence is sensitive to subtle visual variations.
  • The method successfully identifies data points outside the data manifold via high self-influence, enabling effective unsupervised data cleaning without labels.

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.