cs.LGOct 14, 2026

When Does Task-Aware Imputation Matter? An Analysis of Robustness Under Train-Test Mismatch

Authors: Maria V. Salvador, Ana F. Sequeira, Jaime S. Cardoso

Organizations: INESC TEC University of Porto

Abstract

Missing data is a pervasive challenge in machine learning, often degrading predictive performance and complicating model deployment. Most existing approaches treat imputation as a preprocessing step independent of the downstream task, a separation that becomes problematic under train-test mismatches in missingness mechanisms or rates. We introduce a unified framework that treats missing entries as variables in a task-conditioned optimization problem. We instantiate this framework in two settings: an amortized approach for scenarios with missing data at both training and test time, and a latent optimization approach for settings where only training data is incomplete. The evaluation is conducted on 98 tabular datasets, and robustness under train-test mismatches is assessed on 36 datasets. Results reveal that reconstruction error constitutes a poor proxy for predictive utility (Spearman rho approximately 0.16 to 0.32), and that task-aware imputation becomes critical in scenarios where classical methods fail to recover complete-data performance, achieving win rates of up to 80% in challenging train-test mismatch scenarios.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Learning What Not to Impute: An Uncertainty-Aware Diffusion Framework for Meaningful Missingness

    Jun 3, 2026Lixing Zhang, Yidong Ouyang, Weifu Li +3Incomplete Data ImputationLearning with Missing Data

  2. Flow Matching with Missing Data

    Jul 30, 2026Fairoz Nower Khan, Nabuat Zaman Nahim, Peizhong JuFlow MatchingIncomplete Data Imputation