Abstract
Missing data presents a significant challenge in supervised learning, often handled via a disjointed two-step process of unsupervised imputation followed by classification. This paper introduces SSCFlow (Semi-supervised Conditional normalizing Flow), a framework that unifies these tasks. By conditioning generative normalizing flows on label information and employing an iterative denoising mechanism, SSCFlow leverages both labeled and unlabeled data to improve imputation accuracy and classification performance. Experimental results on 11 benchmark datasets demonstrate that SSCFlow outperforms state-of-the-art methods in both reconstruction fidelity and predictive accuracy.
Introduction
In real-world data science, missing values are ubiquitous. The standard approach involves a "two-step" pipeline: first, filling missing entries using unsupervised methods like mean imputation or Multiple Imputation by Chained Equations (MICE), and second, training a classifier on the completed dataset.
This conventional workflow suffers from two primary limitations. First, Information Silos: unsupervised imputation ignores class labels. If a sample is known to belong to a specific class, its missing features should ideally reflect that class's distribution rather than the global average. Second, Initialization Bias: many deep learning-based imputation models require an initial "guess" (e.g., zero or mean filling). If this initialization is poor, the model may overfit to these corrupted values, leading to biased latent representations.
Methodology: The SSCFlow Framework
SSCFlow addresses these issues by treating imputation and classification as a joint optimization problem. It is built upon Normalizing Flows (NF), which allow for exact density estimation through a series of invertible transformations.
Semi-supervised Conditional Network
Unlike standard flows that model the marginal probability $P(x)$, SSCFlow models the conditional probability $P(x|y)$. For labeled data, the label $y$ acts as a prior. For unlabeled data, the missing label is treated as a latent variable to be estimated. This allows the model to learn class-specific feature distributions, making the imputed values more representative of the underlying data structure.
Iterative Denoising Mechanism (IDM)
To mitigate the "garbage in, garbage out" problem of initial imputation, the authors incorporate an Overcomplete Denoising Autoencoder (ODA). The IDM treats the initial imputed values as noisy observations. Through iterative reconstruction in the latent space, the ODA "cleans" these representations, progressively refining the imputed features until they converge to a stable state.
Dynamic Latent Space
The model assumes the latent space follows a Gaussian Mixture Model (GMM). Rather than using static priors, SSCFlow dynamically updates the centers of these GMM components during training. This helps the model naturally cluster data points by class, facilitating more robust classification via the Bayes decision rule.
Experimental Evaluation
The performance of SSCFlow was evaluated on 11 diverse datasets from the UCI Machine Learning Repository, ranging from classic biological data (Iris, Breast Cancer) to technical signal data (Sensorless Drive Diagnosis). To simulate challenging real-world conditions, 50% of the values were removed using a "Missing Completely At Random" (MCAR) mechanism.
Results and Discussion
SSCFlow was compared against established baselines, including XGBoost, MICE, missForest, and deep generative models like GAIN and MCFlow.
- Imputation Fidelity: SSCFlow consistently achieved the lowest Root Mean Squared Error (RMSE) across all datasets. For the 'Sensorless' dataset, it reduced RMSE to 0.0344, surpassing the previous best of 0.0357.
- Classification Accuracy: The joint learning approach yielded significant gains. On the 'ecoli' dataset, SSCFlow achieved 65.25% accuracy, a substantial improvement over missForest (60.88%). On 'breast' cancer data, it reached a near-perfect 98.37%.
- Latent Space Interpretability: Visualization using Multi-Dimensional Scaling (MDS) confirms that SSCFlow produces highly separable clusters in the latent space compared to unsupervised methods.
Conclusion
SSCFlow demonstrates that classification and imputation are mutually beneficial tasks. By using labels as a prior for imputation and an iterative denoising mechanism to handle poor initializations, the framework achieves superior performance and more interpretable data representations. Future work may involve making the GMM covariance matrices learnable and extending the framework to handle "Missing Not At Random" (MNAR) scenarios.
Summary updated