From statwiki
Revision as of 14:03, 2 November 2020 by Ptkrikel (talk | contribs) (Layer for Processing Missing Data)
Jump to: navigation, search

Presented by

Grace Tompkins, Tatiana Krikella, Swaleh Hussain


One of the fundamental challenges in machine learning in data science is dealing with missing and incomplete data. This paper proposes theoretically justified methodology for using incomplete data in neural networks, eliminating the need for direct completion of the data by imputation or other commonly used methods in existing literature. The authors propose identifying missing data points with a parametric density and then training it together with the rest of the network's parameters. The neuron's response at the first hidden layer is generalized by taking its expected value to process this probabilistic representation. This process is essentially calculating the average activation of the neuron over imputations drawn from the missing data's density. The proposed approach is advantageous as it has the ability to train neural networks using incomplete observations from datasets, which are ubiquitous in practice. This approach also requires minimal adjustments and modifications to existing architectures. Theoretical results of this study show that this process does not lead to a loss of information, while experimental results showed the practical uses of this methodology on several different types of networks.

Related Work

Currently, dealing with incomplete inputs in machine learning requires filling absent attributes based on complete, observed data. Two commonly used methods are mean imputation and k-NN imputation. Other methods for dealing with missing data involve training separate neural networks, extreme learning machines, and [math]k[/math]-nearest neighbours. Probabilistic models of incomplete data can also be built depending on the mechanism missingness (i.e. whether the data is Missing At Random (MAR), Missing Completely At Random (MCAR), or Missing Not At Random (MNAR)), which can be fed into a particular learning model. Previous work using neural networks for missing data includes a paper by Bengio and Gringras [1] where the authors used recurrent neural networks with feedback into the input units to fill absent attributes solely to minimize the learning criterion. Goodfellow et. al. [2] also used neural networks by introducing a multi-prediction deep Boltzmann machine which could perform classification on data with missingness in the inputs.

Layer for Processing Missing Data

In this approach, the adaptation of a given neural network to incomplete data relies on two steps: the estimation of the missing data and the generalization of the neuron's activation.

Let [math](x,J)[/math] represent a missing data point, where [math]x \in \mathbb{R}^D [/math], and [math]J \subset {1,...,D} [/math] is a set of attributes with missing data.

For each missing point [math](x,J)[/math], define an affine subspace consisting of all points which coincide with [math]x[/math] on known coordinates [math]J'=\{1,…,N\}/J[/math]:

[math]S=Aff[x,J]=span(e_J) [/math]

where [math]e_J=[e_j]_{j\in J}[/math] and [math]e_j[/math] is the [math] j^{th}[/math] canonical vector in [math]\mathbb{R}^D [/math].

Assume that the missing data points come from the D-dimensional probability distribution, [math]F[/math]. In their approach, the authors assume that the data points follow a mixture of Gaussians (GMM) with diagonal covariance matrices. By choosing diagonal covariance matrices, the number of model parameters is reduced. To model the missing points [math](x,J)[/math], the density [math]F[/math] is restricted to the affine subspace [math]S[/math]. Thus, possible values of [math](x,J)[/math] are modelled using the conditional density [math]F_S: S \to \mathbb{R} [/math],

[math]F_S(x) = \begin{cases} \frac{1}{\int_{S} F(s) \,ds}F(x) & \text{if $x \in S$,} \\ 0 & \text{otherwise.} \end{cases} [/math]

To process the missing data by a neural network, the authors propose that only the first hidden layer needs modification. Specifically, they generalize the activation functions of all the neurons in the first hidden layer of the network to process the probability density functions representing the missing data points. For the conditional density function [math]F_S[/math], the authors define the generalized activation of a neuron [math]n: \mathbb{R}^D \to \mathbb{R}[/math] on [math]F_S [/math] as:

[math]n(F_S)=E[n(x)|x \sim F_S]=\int n(x)F_S(x) \,dx[/math],

provided that the expectation exists.

The following two theorems describe how to apply the above generalizations to both the ReLU and the RBF neurons, respectively.

Theorem 3.1 Let [math]F = \sum_i{p_iN(m_i, \Sigma_i)}[/math] be the mixture of (possibly degenerate) Gaussians. Given weights [math]w=(w_1, ..., w_D) \in \mathbb{R}^D,[/math][math] b \in \mathbb{R} [/math], we have


where [math]NR(x)=\text{ReLU}[N(x,1)][/math] and [math]\text{ReLU}_{w,b}(x)=\text{max}(w^{\top}+b, 0)[/math], [math]w \in \mathbb{R}^D [/math] and [math] b \in \mathbb{R}[/math] is the bias.

Theorem 3.2 Let [math]F = \sum_i{p_iN(m_i, \Sigma_i)}[/math] be the mixture of (possibly degenerate) Gaussians and let the RBF unit be parametrized by [math]N(c, \Gamma) [/math]. We have:

[math]\text{RBF}_{c, \Gamma}(F) = \sum_{i=1}^k{p_iN(m_i-c, \Gamma+\Sigma_i)}(0)[/math].

In the case where the data set contains no missing values, the generalized neurons reduce to classical ones, since the distribution [math]F[/math] is only used to estimate possible values at missing attributes. However, if one wishes to use an incomplete data set in the testing stage, then an incomplete data set must be used to train the model.

[math] [/math]

Theoretical Analysis

The main theoretical results, which are summarized below, show that using generalized neuron's activation at the first layer does not lead to the loss of information.

Let the generalized response of a neuron [math]n: \mathbb{R}^D \rightarrow \mathbb{R}[/math] evaluated on a probability measure [math]\mu[/math] which is given by [math]n(\mu) := \int n(x)d\mu(x)[/math].

Theorem 4.1 shows that a neural network with generalized ReLU units is able to identify any two probability measures. The proof presented by the authors uses the Universal Approximation Property (UAP), and is summarized as follows.

Theorem 4.1. Let [math]\mu, v\lt \math\gt be probabilistic measures satisfying \lt math\gt \int ||x|| d \mu(x) \lt \infty[/math]

Experimental Results




[1] Yoshua Bengio and Francois Gingras. Recurrent neural networks for missing or asynchronous data. In Advances in neural information processing systems, pages 395–401, 1996.

[2] Ian Goodfellow, Yoshua Bengio, and Aaron Courville. Deep learning. MIT press, 2016.