<p>Machine learning pipeline debugging remains costly because predictive performance depends on complex interactions between dataset characteristics and configuration choices. In practice, however, practitioners often lack tools that can both explain performance failures and estimate the likely impact of repairs without repeated reruns. To address this challenge, we propose a model-driven framework for root cause analysis and hyperparameter intervention that operates solely on structured descriptors. The framework uses three dataset-complexity meta-features, namely class overlap, class imbalance, and sparsity, together with learner hyperparameters. We evaluate the approach on two model families, Decision Trees (DT) and Multilayer Perceptrons (MLP). For each family, we construct a meta-dataset comprising 81,000 pipeline runs generated from 270 datasets and 300 hyperparameter configurations. We then train an interpretable Explainable Boosting Machine (EBM) as a meta-model and assess predictive fidelity using GroupKFold partitioning by dataset to prevent data leakage. The study yields three main findings. First, descriptor-based performance prediction generalizes well across the two model families considered, achieving <InlineEquation ID="IEq1"> <EquationSource Format="TEX">\(Mean~Absolute~Error (MAE)=0.080\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mi>M</mi> <mi>e</mi> <mi>a</mi> <mi>n</mi> <mspace width="3.33333pt" /> <mi>A</mi> <mi>b</mi> <mi>s</mi> <mi>o</mi> <mi>l</mi> <mi>u</mi> <mi>t</mi> <mi>e</mi> <mspace width="3.33333pt" /> <mi>E</mi> <mi>r</mi> <mi>r</mi> <mi>o</mi> <mi>r</mi> <mo stretchy="false">(</mo> <mi>M</mi> <mi>A</mi> <mi>E</mi> <mo stretchy="false">)</mo> <mo>=</mo> <mn>0.080</mn> </mrow> </math></EquationSource> </InlineEquation> and <InlineEquation ID="IEq2"> <EquationSource Format="TEX">\(Root~Mean~Squared~Error (RMSE)=0.108\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mi>R</mi> <mi>o</mi> <mi>o</mi> <mi>t</mi> <mspace width="3.33333pt" /> <mi>M</mi> <mi>e</mi> <mi>a</mi> <mi>n</mi> <mspace width="3.33333pt" /> <mi>S</mi> <mi>q</mi> <mi>u</mi> <mi>a</mi> <mi>r</mi> <mi>e</mi> <mi>d</mi> <mspace width="3.33333pt" /> <mi>E</mi> <mi>r</mi> <mi>r</mi> <mi>o</mi> <mi>r</mi> <mo stretchy="false">(</mo> <mi>R</mi> <mi>M</mi> <mi>S</mi> <mi>E</mi> <mo stretchy="false">)</mo> <mo>=</mo> <mn>0.108</mn> </mrow> </math></EquationSource> </InlineEquation> for DT, and <InlineEquation ID="IEq3"> <EquationSource Format="TEX">\(MAE=0.087\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mi>M</mi> <mi>A</mi> <mi>E</mi> <mo>=</mo> <mn>0.087</mn> </mrow> </math></EquationSource> </InlineEquation> and <InlineEquation ID="IEq4"> <EquationSource Format="TEX">\(RMSE=0.115\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mi>R</mi> <mi>M</mi> <mi>S</mi> <mi>E</mi> <mo>=</mo> <mn>0.115</mn> </mrow> </math></EquationSource> </InlineEquation> for MLP. Second, the trained meta-model learns directionally coherent relationships that align with prior domain knowledge, enabling root cause diagnosis to identify meaningful drivers of both pipeline success and failure. In our results, successful ML pipelines are primarily associated with low class overlap, whereas failures are typically linked to high class imbalance or overlap, often amplified by unfavorable configuration choices such as restrictive tree-growth settings or optimization-sensitive MLP hyperparameters. Importantly, these attributions remain consistent with the expectation rules even when prediction residuals are non-trivial. Third, the causal hyperparameter intervention module accurately estimates post-intervention performance for hyperparameters identified as root causes, with a mean absolute intervention error of approximately 0.036 for both DT and MLP. Taken together, these results show that the proposed framework provides actionable root cause diagnosis and reliable hyperparameter intervention guidance for debugging machine learning pipelines.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

From diagnosis to repair: A model-driven framework for root cause analysis of machine learning pipelines

  • Emmanuel Charleson Dapaah,
  • Jens Grabowski

摘要

Machine learning pipeline debugging remains costly because predictive performance depends on complex interactions between dataset characteristics and configuration choices. In practice, however, practitioners often lack tools that can both explain performance failures and estimate the likely impact of repairs without repeated reruns. To address this challenge, we propose a model-driven framework for root cause analysis and hyperparameter intervention that operates solely on structured descriptors. The framework uses three dataset-complexity meta-features, namely class overlap, class imbalance, and sparsity, together with learner hyperparameters. We evaluate the approach on two model families, Decision Trees (DT) and Multilayer Perceptrons (MLP). For each family, we construct a meta-dataset comprising 81,000 pipeline runs generated from 270 datasets and 300 hyperparameter configurations. We then train an interpretable Explainable Boosting Machine (EBM) as a meta-model and assess predictive fidelity using GroupKFold partitioning by dataset to prevent data leakage. The study yields three main findings. First, descriptor-based performance prediction generalizes well across the two model families considered, achieving \(Mean~Absolute~Error (MAE)=0.080\) M e a n A b s o l u t e E r r o r ( M A E ) = 0.080 and \(Root~Mean~Squared~Error (RMSE)=0.108\) R o o t M e a n S q u a r e d E r r o r ( R M S E ) = 0.108 for DT, and \(MAE=0.087\) M A E = 0.087 and \(RMSE=0.115\) R M S E = 0.115 for MLP. Second, the trained meta-model learns directionally coherent relationships that align with prior domain knowledge, enabling root cause diagnosis to identify meaningful drivers of both pipeline success and failure. In our results, successful ML pipelines are primarily associated with low class overlap, whereas failures are typically linked to high class imbalance or overlap, often amplified by unfavorable configuration choices such as restrictive tree-growth settings or optimization-sensitive MLP hyperparameters. Importantly, these attributions remain consistent with the expectation rules even when prediction residuals are non-trivial. Third, the causal hyperparameter intervention module accurately estimates post-intervention performance for hyperparameters identified as root causes, with a mean absolute intervention error of approximately 0.036 for both DT and MLP. Taken together, these results show that the proposed framework provides actionable root cause diagnosis and reliable hyperparameter intervention guidance for debugging machine learning pipelines.