TL;DR
This paper introduces RefiDiff, a novel imputation framework that unifies predictive and generative approaches to handle missing data in complex, high-dimensional, mixed-type datasets. By combining a fast "warm-up" imputation with a powerful diffusion model enhanced by a Mamba-based denoiser, RefiDiff achieves state-of-the-art performance, particularly in challenging "Missing Not At Random" scenarios, while being significantly more efficient than existing diffusion-based methods.
What Problem Does This Paper Address?
Missing values are a ubiquitous problem in real-world datasets, hindering downstream analysis and machine learning model performance. Imputing these missing values is particularly challenging for high-dimensional, mixed-type data (datasets with both numerical and categorical features) and when the missingness mechanism is "Missing Not At Random" (MNAR). MNAR occurs when the probability of a value being missing depends on the missing value itself, making it the most difficult scenario to handle. Existing imputation methods often fall into two paradigms: predictive methods (fast but deterministic, lacking uncertainty) and generative methods (uncertainty-aware but computationally expensive). Few methods effectively bridge these paradigms or efficiently handle the complexities of mixed-type data and MNAR.
Methods
RefiDiff employs a four-stage progressive refinement strategy:
- Pre-processing: Mixed-type data is unified through binary encoding of categorical features and standardization of numerical features. Missing entries are temporarily filled with zeros.
- Warm-up Refinement: A novel "one-pass" imputation strategy uses lightweight predictive models (like XGBoost or CatBoost) to provide initial, plausible imputations for all missing values. This stage is designed to be efficient and avoid overwriting observed data.
- Diffusion Imputation: The pre-processed and warm-up imputed data is fed into a generative diffusion model. This model, powered by a novel Mamba-based denoising network, iteratively refines the imputations by learning to reverse a diffusion process (adding and then removing noise). The Mamba architecture is key here, enabling efficient capture of long-range dependencies in the data with linear complexity. The diffusion process is carefully designed to preserve observed values.
- Post-processing and Polishing: The imputed data is de-standardized and decoded back to its original format. An optional final sweep with the lightweight predictive models can further polish the imputations, ensuring consistency and accuracy.
Datasets
The paper evaluates RefiDiff on nine real-world datasets:
- Numerical-only: California, Magic, Bean, Gesture, Letter.
- Mixed-type: Default, News, Adult, Shoppers.
These datasets are standard benchmarks used in the field, and the evaluation follows established protocols, including the use of 10 random masks for MNAR, MCAR, and MAR settings.
Key Insights and Ideas
- Unifying Paradigms: The core innovation is the seamless integration of fast, local predictive imputation (warm-up) with powerful, global generative imputation (diffusion). This hybrid approach leverages the strengths of both, leading to more robust and accurate results.
- Mamba for Efficiency: Employing a Mamba-based denoising network in the diffusion model is crucial for handling high-dimensional data efficiently. Mamba's linear complexity allows it to capture long-range dependencies without the quadratic cost of traditional Transformers, making RefiDiff significantly faster.
- Progressive Refinement: The multi-stage approach (pre-processing, warm-up, diffusion, post-processing) systematically addresses different aspects of imputation, from initial data preparation to final polishing, ensuring a comprehensive and robust solution.
- MNAR Specialization: The framework's design, particularly the use of a Variance Exploding (VE) SDE in the diffusion process, is shown to be particularly effective for MNAR scenarios, where starting from a more randomized state helps avoid overfitting to local patterns.
- Plug-and-Play Simplicity: RefiDiff is designed to be a "plug-and-play" solution, requiring no architectural or hyperparameter tuning across diverse datasets, which significantly lowers the barrier to adoption.
Key Results
- State-of-the-Art Performance: RefiDiff achieves the best or second-best performance across all three missingness mechanisms (MCAR, MAR, MNAR) on numerical and categorical imputation tasks, outperforming SOTA baselines like DIFFPUTER, ReMasker, and HyperImpute.
- Superior MNAR Performance: The framework shows notable gains in the challenging MNAR scenarios.
- Efficiency Gains: RefiDiff is approximately 4x faster than DIFFPUTER, a comparable diffusion-based method, while maintaining high accuracy. The denoising network also uses significantly fewer parameters.
- Robust Generalization: The model demonstrates strong out-of-sample generalization, particularly under MAR and MNAR conditions, highlighting the effectiveness of the diffusion module.
Limitations and Future Work
- Binary Encoding: While effective, the binary encoding of categorical features might not fully capture the semantic richness of categorical data. Future work could explore native treatments of categorical variables for improved fidelity.
- Streaming Data: The authors suggest extending RefiDiff to handle streaming data, where data arrives sequentially.
- Adaptive Refinement: Adapting the framework for sparse datasets and exploring adaptive refinement strategies are also proposed future directions.
- Domain-Specific Applications: The authors envision applying RefiDiff to domains like healthcare and finance, where missing data is prevalent.
Summary updated