Training auto-encoders effectively via eliminating task-irrelevant input variables

Hui Shen, Dehua Li, Hong Wu, Zhaoxiang ZangInternational Journal of Computational Science and Engineering 2019

TL;DR

This paper proposes an "importance-based variable selection" (IVS) method to improve the performance of auto-encoders, particularly in deep learning architectures. By identifying and removing input variables that are irrelevant to the task at hand, the authors demonstrate significant improvements in classification accuracy and reconstruction quality on challenging datasets.

What Problem Does This Paper Address?

Auto-encoders are powerful tools for learning feature representations, often serving as the building blocks for deep neural networks. However, their unsupervised nature means they try to capture all information present in the input data. This includes "task-irrelevant" information, which can be detrimental. Learning these irrelevant features can waste computational resources, lead to overfitting, and ultimately degrade the performance of the downstream task, such as classification. Existing methods have attempted to address this through supervised pre-training or specialized architectures, but this paper focuses on a more direct approach: explicitly identifying and removing irrelevant input variables before or during the auto-encoder training process.

Methods

The core contribution is an importance-based variable selection (IVS) method. The key idea is to quantify the importance of each input variable for classification and then discard those with low importance.

Here's how it works:

  1. Pre-classifier: The method utilizes a trained Multinominal Logistic Regression (MLR) model as a "pre-classifier." MLR is chosen for its interpretability and ease of analysis.
  2. Discriminant Hyperplane Sensitivity: The importance of a variable is assessed by its "sensitivity" to the discriminant hyperplanes that separate different classes in the MLR model. Variables that significantly influence these hyperplanes are considered important.
  3. Importance Score: An importance score ($C_d$) is calculated for each variable, representing the maximum sensitivity across all class-discriminant hyperplanes.
  4. Variable Masking: A binary mask ($\alpha$) is created, where a value of 1 indicates a task-relevant variable (importance above a threshold $C_{th}$) and 0 indicates a task-irrelevant variable.
  5. Iterative Refinement: The process is iterative. The MLR pre-classifier is retrained with the masked input data (i.e., only task-relevant variables). This allows the importance scores to be re-evaluated and refined in subsequent iterations, progressively removing more irrelevant variables.
  6. Application to Stacked Auto-encoders: Crucially, this IVS method is applied not just to the raw input of the first layer but can be employed for each layer of a stacked auto-encoder (SDAE). This allows for the gradual elimination of complex, task-irrelevant information as it propagates through the network.

Datasets

The experiments were conducted on variants of the MNIST dataset:

  • bg-rand: MNIST digits with random backgrounds.
  • bg-img: MNIST digits with image backgrounds.
  • rot-bg-img: MNIST digits with image backgrounds and rotated digits.

These datasets were split into training (10,000 examples), validation (2,000 examples), and testing (50,000 examples) sets.

Key Insights and Ideas

  • Task-Irrelevance is a Bottleneck: The paper strongly argues that task-irrelevant information is a significant impediment to auto-encoder performance, leading to wasted capacity and potential overfitting.
  • Importance is Task-Specific: The IVS method explicitly links variable importance to the classification task, rather than just the inherent structure of the data. This is a key differentiator.
  • Layer-wise Pruning is Powerful: Applying the IVS method iteratively across layers of a stacked auto-encoder allows for a more sophisticated and effective pruning of irrelevant features, tackling complexity that might be missed at lower levels.
  • Simplicity and Effectiveness: The proposed method is presented as a simple yet effective way to enhance auto-encoder training, offering significant gains without requiring complex architectural changes.

Key Results

  • Improved Classification Performance: The proposed method, when combined with Stacked Denoising Auto-encoders (SDAE-IVS), consistently outperformed standard SDAE across all tested datasets and depths (1, 2, and 3 layers). For example, on the rot-bg-img dataset with 3 layers, SDAE-IVS achieved an error rate of 37.53% ± 0.43, compared to 39.88% ± 0.43 for SDAE.
  • Reduced Variable Count: The iterative process of IVS significantly reduced the number of input variables. For instance, one experiment showed a reduction to 36% of the original variables while improving classification performance.
  • Better Reconstruction Quality: Visualizations showed that reconstructions produced by SDAE-IVS were clearer and suppressed background noise more effectively than those from standard SDAE.
  • Ratio of Useful Features: The ratio of task-relevant features learned by SDAE-IVS to those learned by SDAE was consistently above 1, indicating that the IVS method helps auto-encoders learn more task-relevant feature extractors.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that the importance threshold selection is done via a candidate set on the validation set, implying it's a hyperparameter that needs tuning.
  • While the method is shown to be effective, the paper doesn't delve deeply into the theoretical guarantees of finding all truly irrelevant variables.
  • Future Work:
    • The authors suggest exploring variable selection methods derived from non-linear classification models to further enhance auto-encoder performance.
  • Investigating more sophisticated methods for determining the importance threshold could be a direction.

Summary updated

Abstract

Auto-encoders are often used as building blocks of deep network classifiers to learn feature extractors, but task-irrelevant information in the input data may lead to bad extractors and result in poor generalisation performance of the network. In this paper, via dropping the task-irrelevant input variables, the performance of auto-encoders can be obviously improved. Specifically, an importance-based variable selection method is proposed to aim at finding the task-irrelevant input variables and dropping them. It firstly estimates importance of each variable, and then drops the variables with importance value lower than a threshold. In order to obtain better performance, the method can be employed for each layer of stacked auto-encoders. Experimental results show that when combined with our method the stacked denoising auto-encoders achieve significantly improved performance on three challenging datasets.
BibTeX
@article{shen2019training,
  author = {Hui Shen and Dehua Li and Hong Wu and Zhaoxiang Zang},
  title = {{Training auto-encoders effectively via eliminating task-irrelevant input variables}},
  journal = {International Journal of Computational Science and Engineering},
  year = {2019},
  doi = {10.1504/ijcse.2019.099071},
}
Figure