Abstract
Training robust classifiers on incomplete datasets remains a significant challenge in machine learning. Traditional approaches rely on sequential imputation, where missing values are filled in using unsupervised techniques before a classifier is trained. This paper introduces a "Simultaneous Learning and Coding" framework that optimizes classification and data reconstruction concurrently. By integrating sparse coding into the training loop, the model utilizes class labels to inform the reconstruction of missing features. Evaluations on benchmark datasets like MNIST and CIFAR-10 show that this method maintains high accuracy even when up to 75% of pixels are missing, outperforming existing imputation-based baselines.
Introduction
In real-world applications, data is frequently incomplete due to sensor failures, occlusions, or missing records. Standard practice involves a two-stage pipeline: first, impute missing values (e.g., using mean imputation or K-Nearest Neighbors), and then train a model on the "completed" data. However, this sequential approach is inherently limited because the imputation step is agnostic to the downstream classification task. The resulting reconstructions might be visually plausible but lack the discriminative features necessary for accurate prediction.
Methodology: Simultaneous Learning and Coding
The authors propose a unified optimization objective that balances three distinct goals: classification accuracy, reconstruction fidelity, and sparsity.
- Classification Accuracy: Minimizing standard loss (e.g., cross-entropy) for the neural network.
- Reconstruction Fidelity: Ensuring the reconstructed signal matches the observed portions of the input.
- Sparsity: Leveraging the assumption that data can be represented as a sparse combination of "atoms" from a learned dictionary.
The training algorithm alternates between updating sparse coefficients for individual samples and updating the global parameters (neural network weights and the dictionary). This feedback loop allows the classifier's requirements to guide the imputation. For instance, if the model identifies a partially occluded image as a "3," the reconstruction process will prioritize features consistent with that digit, effectively "filling in the blanks" using label-aware context.
Experimental Evaluation
The method was tested on synthetic data and three major image datasets: MNIST, Fashion-MNIST, and CIFAR-10. Two types of data corruption were simulated:
- Random Masks: Pixels are removed at random across the image.
- Occlusions: Large, contiguous blocks of the image are obscured, simulating real-world scenarios like an object being partially hidden.
Key Results
The simultaneous approach consistently outperformed traditional baselines across all datasets and corruption levels.
- MNIST: With 75% missing pixels, the method achieved 98.09% accuracy, compared to 84.86% for simple zero-filling and 96.36% for the previous state-of-the-art NN-GMM.
- CIFAR-10: The most significant gains were seen here. At 75% missingness, the proposed method reached 54.81% accuracy, while the NN-GMM method collapsed to just 12.10% (near random guessing).
- Qualitative Success: Visualizations of the reconstructed images demonstrate the model's ability to "hallucinate" missing parts of digits and clothing items in a way that preserves their class-specific identity.
Insights and Discussion
The core insight is that labels are a form of information. By treating imputation as a supervised task, the model avoids the pitfalls of unsupervised reconstruction. Theoretically, the authors show that a perfect reconstruction isn't necessary for perfect classification; the reconstruction only needs to be "close enough" to the correct side of the decision boundary. Sparse coding serves as a bridge, providing a robust regularization that prevents the model from overfitting to noise in the missing regions.
Limitations and Future Work
While effective, the method is computationally intensive, requiring many iterations for the alternating optimization to converge. Future work may focus on accelerating this process using second-order optimization techniques or exploring more complex dictionary structures. Additionally, while tested on architectures like ResNet-18, scaling the sparse coding layer to work seamlessly within extremely deep or Transformer-based architectures remains an active area of research.
Summary updated