Hostname: page-component-74656f9884-8r8nv Total loading time: 0 Render date: 2026-11-06T23:27:48.289Z Has data issue: false hasContentIssue false

The MIDAS Touch: Accurate and Scalable Missing-Data Imputation with Deep Learning

Published online by Cambridge University Press:  26 February 2021

Ranjit Lall*
Affiliation:
Department of International Relations, London School of Economics and Political Science, London, UK. Email: r.lall@lse.ac.uk
Thomas Robinson
Affiliation:
School of Government and International Affairs, Durham University, Durham, UK. Email: thomas.robinson@durham.ac.uk
*
Corresponding author Ranjit Lall
Rights & Permissions [Opens in a new window]

Abstract

Principled methods for analyzing missing values, based chiefly on multiple imputation, have become increasingly popular yet can struggle to handle the kinds of large and complex data that are also becoming common. We propose an accurate, fast, and scalable approach to multiple imputation, which we call MIDAS (Multiple Imputation with Denoising Autoencoders). MIDAS employs a class of unsupervised neural networks known as denoising autoencoders, which are designed to reduce dimensionality by corrupting and attempting to reconstruct a subset of data. We repurpose denoising autoencoders for multiple imputation by treating missing values as an additional portion of corrupted data and drawing imputations from a model trained to minimize the reconstruction error on the originally observed portion. Systematic tests on simulated as well as real social science data, together with an applied example involving a large-scale electoral survey, illustrate MIDAS’s accuracy and efficiency across a range of settings. We provide open-source software for implementing MIDAS.

Information

Type
Article
Copyright
© The Author(s) 2021. Published by Cambridge University Press on behalf of the Society for Political Methodology
Figure 0

Figure 1 MIDAS neural network architecture. $\mathbf {x}$ is a vector of inputs, $q_D(\mathbf {x}|\tilde {\mathbf {x}})$ is the corruption process, and $\mathbf {z}$ is the “denoised” version of $\tilde {\mathbf {x}}$.

Figure 1

Figure 2 Schematic of MIDAS training steps. Shaded blocks represent data points (shades denote different variables); crosses indicate missing values.

Figure 2

Figure 3 Estimated posterior densities in MAR-1 simulation experiment. Coefficient estimates from a linear regression based on Monte Carlo-simulated data with 500 rows, 72% of which are fully observed, and five standardized variables drawn from a multivariate normal distribution.

Figure 3

Figure 4 Inverse imputation and linear model accuracy in Kropko et al.’s simulation test. The results are based on Monte Carlo simulated data with 1,000 rows and 8 standardized variables, 5 of which contain MAR missingness, drawn from a multivariate normal distribution. Lower RMSE indicates greater imputation/fitted-value accuracy; lower Mahalanobis distances indicate greater coefficient accuracy.

Figure 4

Figure 5 Results of applied imputation accuracy test. MCAR, MAR, and MNAR missingness are separately induced in varying proportions of randomly selected columns in the Adult dataset, with up to 50% of values are set as missing. Lower RMSE and classification error values indicate greater imputation accuracy.

Figure 5

Figure 6 Results of column-wise scalability test. The y-axis measures the time taken to produce 10 completed versions of a CCES sample with 50% MCAR missingness; the x-axis measures the number of columns in the sample after categorical variables have been one-hot encoded. Dashed lines show predicted values from a regression of y on x (including quadratic terms for Amelia and norm).

Figure 6

Figure 7 Results of row-wise scalability test. The y-axis measures the time taken to produce 10 completed versions of a CCES sample with 30% MCAR missingness; the x-axis measures the number of rows in the sample. Dashed lines show regression-based predicted values for each strategy.

Figure 7

Figure 8 Regression-based estimates of CCES respondents’ latent ideology.

Figure 8

Table 1. Regression of presidential job approval on different measures of ideology.

Supplementary material: Link

Lall and Robinson Dataset

Link
Supplementary material: PDF

Lall and Robinson supplementary material

Lall and Robinson supplementary material

Download Lall and Robinson supplementary material(PDF)
PDF 396.9 KB