Processing of missing data by neural networks

Marek Smieja, Lukasz Struski, Jacek Tabor, Bartosz Zielinski, Przemyslaw Spurek

TL;DR

This paper introduces a novel, theoretically grounded method for training neural networks on datasets with missing data. Instead of imputing missing values, they generalize the neuron's activation function in the first hidden layer to compute an expected value over a learned probability distribution of the missing data. This allows for training on entirely incomplete datasets and achieves superior performance compared to traditional imputation methods.

What Problem Does This Paper Address?

Machine learning, particularly deep learning, often struggles with datasets containing missing values. Traditional approaches involve imputing these missing values (e.g., using mean, k-NN, or more sophisticated methods like MICE or GANs). However, these imputation methods can introduce biases or require complete data for training, which is often unavailable in real-world scenarios. The authors aim to develop a unified, theoretically sound framework that allows neural networks to directly process incomplete data without requiring imputation or complete training examples.

Methods

The core of the proposed method lies in two key ideas:

  1. Missing Data Representation: Instead of a single value, each missing data point is represented by a probability density function (specifically, a mixture of Gaussians with diagonal covariance matrices). This density captures the uncertainty associated with the missing attributes.
  2. Generalized Neuron Response: The activation function of neurons in the first hidden layer is generalized. Instead of computing the activation on a single input value, it computes the expected activation over the probability distribution representing the missing data. This is achieved by integrating the neuron's standard activation function with the learned probability density of the missing data.

This generalization is minimal, requiring modifications only to the first hidden layer. The rest of the network architecture can remain unchanged. The authors provide theoretical justification that this approach does not lead to a loss of information.

Datasets

The paper evaluates their method on the following datasets:

  • MNIST: Used for image reconstruction tasks with autoencoders. Missing data was introduced by removing square patches from images.
  • Epileptic Seizure Recognition (ESR) dataset: Used for multiclass classification with Multilayer Perceptrons (MLPs). Missing data was artificially introduced at various percentages.
  • UCI Repository datasets (bands, kidney disease, hepatitis, horse, mammographics, pima, winconsin): Used for binary classification with Radial Basis Function Networks (RBFNs). These datasets inherently contain missing attributes.

Key Insights and Ideas

  • Probabilistic Representation is Key: Treating missing data as a probability distribution rather than a single imputed value is a powerful way to handle uncertainty.
  • First Layer Generalization Suffices: Modifying only the first hidden layer's activation function is enough to enable the entire network to process probabilistic inputs, simplifying the integration into existing architectures.
  • Training on Purely Incomplete Data: A significant advantage is the ability to train models on datasets where no complete examples exist, a common real-world constraint.
  • Theoretical Justification: The paper provides a theoretical foundation, showing that the generalized neuron response preserves information, which is crucial for trusting the model's performance.

Key Results

  • Autoencoder: The proposed method produced significantly sharper image reconstructions compared to k-NN imputation, mean imputation, dropout, and context encoders (CE). Quantitative results (mean square error) also showed lower errors, especially outside the masked region.
  • Multilayer Perceptron (MLP): On the Epileptic Seizure Recognition dataset, the proposed method achieved competitive classification accuracy across various percentages of missing data, often outperforming traditional imputation methods (k-nn, mice, mean) and dropout. It performed comparably to the context encoder (CE), even though CE required complete data for training.
  • Radial Basis Function Network (RBFN): On UCI datasets with inherent missing attributes, the proposed method generally outperformed imputation techniques and even specialized kernel methods designed for incomplete data.

Limitations and Future Work

  • Computational Cost: While the method is theoretically sound, the computation of expected values over probability distributions can be more computationally intensive than processing single values, especially for complex distributions or large networks.
  • GMM Parameter Estimation: The paper mentions that in cases where complete data is scarce, the GMM parameters are learned jointly with the network's cost function. This learning process might be complex and require careful tuning.
  • Future Work: The authors suggest that their approach can be extended to more general probability measures and that further analysis of its theoretical properties for different neuron types (e.g., RBF neurons) is warranted. The paper also hints at the possibility of applying this to more complex network architectures and data types.

Summary updated

BibTeX
@inproceedings{smieja2018processing,
  author = {Marek Smieja and Lukasz Struski and Jacek Tabor and Bartosz Zielinski and Przemyslaw Spurek},
  title = {{Processing of missing data by neural networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=Bk-838Wu-H},
}
Figure