[论文解读] missForestPredict -- Missing data imputation for prediction settings
该论文介绍了 missForestPredict,一个 R 包,它扩展了 missForest 算法,以在预测场景中实现迭代的、基于随机森林的缺失数据填补,支持新观测值的填补以及可定制的填补工作流。该方法在计算成本低的前提下,实现了具有竞争力的预测性能,在复杂数据场景下优于许多替代方法,并在各种缺失模式下保持了稳健性。
Prediction models are used to predict an outcome based on input variables. Missing data in input variables often occurs at model development and at prediction time. The missForestPredict R package proposes an adaptation of the missForest imputation algorithm that is fast, user-friendly and tailored for prediction settings. The algorithm iteratively imputes variables using random forests until a convergence criterion (unified for continuous and categorical variables and based on the out-of-bag error) is met. The imputation models are saved for each variable and iteration and can be applied later to new observations at prediction time. The missForestPredict package offers extended error monitoring, control over variables used in the imputation and custom initialization. This allows users to tailor the imputation to their specific needs. The missForestPredict algorithm is compared to mean/mode imputation, linear regression imputation, mice, k-nearest neighbours, bagging, miceRanger and IterativeImputer on eight simulated datasets with simulated missingness (48 scenarios) and eight large public datasets using different prediction models. missForestPredict provides competitive results in prediction settings within short computation times.
研究动机与目标
- 解决现有填补方法在预测阶段对缺失数据的新观测值缺乏填补支持的问题。
- 开发一个用户友好、高效且灵活的填补框架,专为现实世界预测应用而设计,其中推理时可能出现缺失数据。
- 实现训练好的填补模型在多个预测任务中的重复使用,而无需重新训练。
- 将 missForestPredict 的性能与一系列成熟填补方法在模拟数据和真实世界数据集上的表现进行比较。
- 提供扩展的监控、变量控制和初始化选项,以增强实际应用中的可重现性和适应性。
提出的方法
- 算法使用均值/众数或用户定义的值初始化缺失值,然后通过基于其他变量完整案例训练的随机森林模型,迭代填补每个变量。
- 在每次迭代中,使用袋外误差作为收敛准则,统一更新每个变量的填补模型,适用于连续和分类变量。
- 保存每个变量和每次迭代的填补模型和初始值,使新观测值在预测时可一致应用。
- 该方法支持用户定义的预测器矩阵、自定义初始化以及扩展的误差监控,以跟踪迭代过程中填补质量的变化。
- 该算法在 missForestPredict R 包中实现,支持连续和分类变量,并可集成到预测工作流中。
- 该方法允许通过迭代方式优化填补结果,利用随机森林的预测能力,同时保持计算效率。

实验结果
研究问题
- RQ1在推理时存在缺失数据的预测场景中,如 missForestPredict 所实现的迭代随机森林填补是否优于单步填补方法(如均值填补或 kNN)?
- RQ2当应用于包含缺失值的新观测值时,missForestPredict 相较于其他先进填补方法(如 mice、IterativeImputer、miceRanger)表现如何?
- RQ3在基于填补数据训练的模型中,变量特定的填补误差在多大程度上与下游预测性能相关?
- RQ4初始化方案的选择(如均值 vs. 随机)是否显著影响 missForestPredict 中的填补或预测准确性?
- RQ5在预测场景中是否需要多重填补,还是单次填补配合迭代优化已足够?
主要发现
- missForestPredict 在八个模拟数据集和八个真实世界数据集中均实现了具有竞争力的预测性能,优于或匹配了大多数基线方法,尤其在复杂数据结构中表现突出。
- 基于树的填补方法(包括 missForestPredict)在高可填补性场景(如强变量关联)中优于线性模型,而线性方法在低可填补性设置中表现较差。
- 在低相关性或复杂数据设置中,kNN、IterativeImputer 和 mice 等方法显示出过拟合迹象,导致预测性能劣于均值填补。
- missForestPredict 算法计算成本低,内存占用少,适用于大规模和实时预测应用。
- missForestPredict 中的自定义初始化和变量控制功能使用户能够根据领域特定需求定制填补过程,提升了稳健性和可解释性。
- 本研究未发现多重填补显著优于单次填补的有力证据,表明在该上下文中,单次填补配合迭代优化可能已足够。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。