Data imputation—the process of filling in missing values—is often the most time-consuming part of machine learning, yet it may not always be necessary. This paper introduces "Certain Models," which are guaranteed to be optimal regardless of how missing data is repaired, and provides efficient algorithms to identify and train these models without ever cleaning the data.
The Problem: The "Clean-then-Train" Bottleneck
In the real world, data is messy and incomplete. The standard "clean-then-train" pipeline requires data scientists to spend up to 80% of their time on data preparation. They must guess why data is missing, choose an imputation method (like mean substitution or regression), and hope that the chosen method doesn't bias the downstream machine learning (ML) model.
The authors tackle a fundamental question: When can we skip the cleaning step entirely? While previous research explored "certainty" for discrete logic (Datalog) and K-Nearest Neighbors, this paper extends the concept to the most popular ML paradigms: models that optimize continuous loss functions, such as Linear Regression, Support Vector Machines (SVMs), and Deep Neural Networks (DNNs).
Defining Certain Models
The authors define a Certain Model ($w^*$) as a model that remains the optimal solution for every possible way the missing values could be filled (within a defined range).
Linear Regression
They prove that a certain model exists if and only if the "fitting residue" (the error) of a model trained only on complete features is orthogonal to the incomplete features. They provide a linear-time algorithm to check this.
Support Vector Machines (SVMs)
For both linear and kernel SVMs (Polynomial and RBF), they show that certainty depends on whether incomplete examples could ever become "support vectors." If an example is "far enough" from the decision boundary that no possible repair could make it influence the margin, it can be safely ignored.
Deep Neural Networks (DNNs)
Since DNNs are non-convex and difficult to analyze directly, the authors use arc-cosine kernels to approximate DNN behavior, providing a theoretical bridge to check for model certainty in neural architectures.
Approximately Certain Models (ACMs)
Recognizing that perfect certainty is rare, they introduce ACMs. These models are guaranteed to be within a user-defined error threshold ($\epsilon$) of the optimal model for any possible data repair.
Key Insights and Ideas
- The Orthogonality Shortcut: For linear models, you don't need to test every possible repair. You only need to check if the missing data "aligns" with the model's current error. If it doesn't, the missing values literally cannot improve the model.
- Redundancy as a Feature: In classification (SVMs), many data points are "redundant" because they sit far from the decision boundary. The authors leverage this by proving that if an incomplete point stays redundant across all possible repairs, it has zero impact on the final model.
- The "Edge Repair" Theorem: To find Approximately Certain Models, you don't have to search an infinite space of possible values. The authors proved that the "worst-case" loss for linear regression and SVMs always occurs at the boundaries (the minimum or maximum possible values) of the missing data. This turns an intractable problem into a simple check of "edge" cases.
Key Results
The researchers evaluated their approach using both randomly corrupted data (Gisette, Malware, Tuandromd) and real-world missingness (NFL, COVID-19, Intel-Sensor, Water Potability, and Air Quality).
- Zero-Cost Cleaning: In many scenarios, the algorithms confirmed that a certain model existed, allowing the researchers to achieve optimal accuracy while cleaning zero examples. In contrast, benchmark methods like ActiveClean still required repairing hundreds of examples.
- Massive Speedups: The "Certain Model" (CM) algorithms were significantly faster than traditional imputation. For example, on the Tuandromd dataset, the CM approach took 0.03 seconds, while Deep Learning-based imputation (DI) took over 78 seconds.
- Guaranteed Accuracy: In cases where Approximately Certain Models were found, the resulting model accuracy was nearly identical to models trained on fully cleaned data, but without the computational overhead of imputation.
Limitations and Future Work
While promising, the certainty conditions for Deep Neural Networks rely on arc-cosine kernel approximations. Finding exact certainty conditions for complex, multi-layer non-convex loss landscapes remains an open challenge. Additionally, the current proof for the arc-cosine kernel assumes only one missing value per training example. Finally, while the paper solves for ACMs in linear cases, computing ACMs for Kernel SVMs remains "very challenging" and is a target for future research.
Summary updated