Concrete Autoencoders for Differentiable Feature Selection and Reconstruction

Abubakar Abid, Muhammad Fatih Balin, James Y. ZouarXiv 2019

TL;DR

This paper introduces the "concrete autoencoder," a novel, end-to-end differentiable method for unsupervised feature selection. It efficiently identifies a user-specified subset of the most informative features and simultaneously learns to reconstruct the original data from these selected features, outperforming existing methods on various datasets, including a significant improvement in gene expression imputation.

What Problem Does This Paper Address?

In many real-world scenarios, datasets are high-dimensional, meaning they contain a vast number of features. While some features are crucial for understanding the data, many others are redundant or irrelevant. This poses a challenge for machine learning algorithms, as it can lead to increased computational costs, slower training times, and reduced model performance. Feature selection aims to address this by identifying and keeping only the most important features. However, traditional feature selection methods often struggle with:

  • Interactions between features: Many methods only consider features individually, missing out on how they might work together.
  • Reconstruction: Some methods don't provide a way to reconstruct the original data from the selected features, which is crucial for tasks like imputation (filling in missing values).
  • Computational cost: Wrapper methods, which evaluate feature subsets, can be computationally expensive.
  • Unsupervised settings: Identifying important features without a specific prediction task in mind is a significant challenge.

The paper specifically highlights the problem of gene expression profiling, where measuring all genes is expensive. The goal is to find a small set of "landmark" genes whose expression levels can accurately predict the expression of all other genes, similar to the established L1000 landmark genes.

Methods

The core innovation is the concrete autoencoder, which combines the power of autoencoders for reconstruction with a novel concrete selector layer for differentiable feature selection.

  • Autoencoder Architecture: The concrete autoencoder follows a standard autoencoder structure: an encoder that compresses the input and a decoder that reconstructs it.
  • Concrete Selector Layer: This is the key novelty. It acts as the encoder and uses Concrete random variables to stochastically select input features. The Concrete distribution is a continuous relaxation of a discrete distribution, allowing gradients to flow through it via the reparametrization trick. This enables the model to learn which features to select.
  • Annealing Schedule: To ensure the Concrete selector layer converges to discrete feature selections (i.e., picking individual features rather than combinations), a temperature parameter is gradually decreased during training. This annealing schedule allows the model to explore feature combinations early on and then settle on specific features.
  • End-to-End Differentiability: The entire process, from feature selection to reconstruction, is differentiable. This means the model can be trained using standard backpropagation to optimize a reconstruction loss, directly learning the optimal subset of features for that loss.

Datasets

The paper evaluates the concrete autoencoder on several publicly available datasets:

  • MNIST: Grayscale images of handwritten digits.
  • MNIST-Fashion: Grayscale images of clothing items.
  • COIL-20: Grayscale images of 20 objects.
  • Mice Protein Dataset: Protein expression levels in mice.
  • ISOLET: Speech data for English alphabet letters.
  • Activity: Sensor data from smartphone activity recognition.
  • GEO Dataset: A large-scale gene expression dataset (used for the case study).

Key Insights and Ideas

  • Differentiable Discrete Feature Selection: The most significant insight is enabling end-to-end training for discrete feature selection by using the Concrete distribution as a differentiable relaxation. This bypasses the combinatorial explosion of traditional methods.
  • Unsupervised Feature Importance: The method can identify important features without needing a specific downstream task, making it broadly applicable.
  • Feature Grouping and Interpretability: The learned parameters of the concrete selector layer can reveal groups of correlated features. Visualizing these groups on MNIST digits shows spatially coherent pixels, suggesting that the method can uncover meaningful relationships within the data.
  • Outperforming Landmark Genes: In the gene expression imputation task, the concrete autoencoder selected a subset of genes that performed comparably to, and in some cases better than, the expert-curated L1000 landmark genes, while potentially reducing measurement costs.

Key Results

  • Superior Reconstruction: Concrete autoencoders consistently achieved lower reconstruction errors compared to other state-of-the-art feature selection methods (UDFS, MCFS, AEFS, Laplacian Score, PFA) across multiple datasets, both with linear and non-linear decoders.
  • High Classification Accuracy: While not always the absolute highest, the features selected by concrete autoencoders generally led to high classification accuracies when used with a separate classifier.
  • Gene Expression Imputation: On the large GEO dataset, concrete autoencoders improved gene expression imputation accuracy by approximately 3% compared to using the L1000 landmark genes, across various reconstruction architectures.
  • Reduced Measurement Costs: For gene expression imputation, the concrete autoencoder achieved similar performance to landmark genes using about 20% fewer genes, suggesting significant cost savings.
  • Interpretability: Visualizations of selected pixel groups on MNIST demonstrated the ability of the concrete autoencoder to identify spatially related features.

Limitations and Future Work

  • Hyperparameter Tuning: While the annealing schedule is effective, the initial and final temperatures are hyperparameters that might require tuning for specific datasets.
  • Statistical Significance: Similar to other feature selection methods, concrete autoencoders do not provide p-values or statistical significance measures for the selected features. These would require further validation.
  • Supervised Extension: The paper briefly mentions adapting the method for supervised settings (e.g., minimizing cross-entropy loss), which could be a fruitful area for future work.
  • Cost-Aware Selection: The authors suggest extending the method to incorporate varying costs for selecting different features, allowing for trade-offs between accuracy and experimental cost.
  • Further Interpretability: Exploring the learned feature groups in more complex biological datasets could yield deeper insights.

Summary updated

BibTeX
@misc{abid2019concrete,
  author = {Abubakar Abid and Muhammad Fatih Balin and James Y. Zou},
  title = {{Concrete Autoencoders for Differentiable Feature Selection and Reconstruction}},
  year = {2019},
  eprint = {1901.09346},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1901.09346},
}
Figure