Skip to main content
QUICK REVIEW

[論文レビュー] Beyond algorithm hyperparameters: on preprocessing hyperparameters and associated pitfalls in machine learning applications

Christina Sauer, Anne‐Laure Boulesteix|arXiv (Cornell University)|Dec 4, 2024
Machine Learning and Data ClassificationComputer Science被引用数 3
ひとこと要約

この論文は、補完法や特徴量選択戦略などの前処理ハイパーパrameterが、応用機械学習ユーザーによってしばしば非形式的にチューニングされていること、これがアルゴリズムハイパーパrameterチューニングと同様に偏った性能推定を引き起こす可能性があることを強調している。著者らは、過学習や誇張された性能主張を防ぐために、アルゴリズム的および前処理ハイパーパrameterの両方を体系的で透明性があり、リサンプリングに基づくチューニングを採用するよう提言している。

ABSTRACT

Adequately generating and evaluating prediction models based on supervised machine learning (ML) is often challenging, especially for less experienced users in applied research areas. Special attention is required in settings where the model generation process involves hyperparameter tuning, i.e. data-driven optimization of different types of hyperparameters to improve the predictive performance of the resulting model. Discussions about tuning typically focus on the hyperparameters of the ML algorithm (e.g., the minimum number of observations in each terminal node for a tree-based algorithm). In this context, it is often neglected that hyperparameters also exist for the preprocessing steps that are applied to the data before it is provided to the algorithm (e.g., how to handle missing feature values in the data). As a consequence, users experimenting with different preprocessing options to improve model performance may be unaware that this constitutes a form of hyperparameter tuning, albeit informal and unsystematic, and thus may fail to report or account for this optimization. To illuminate this issue, this paper reviews and empirically illustrates different procedures for generating and evaluating prediction models, explicitly addressing the different ways algorithm and preprocessing hyperparameters are typically handled by applied ML users. By highlighting potential pitfalls, especially those that may lead to exaggerated performance claims, this review aims to further improve the quality of predictive modeling in ML applications.

研究の動機と目的

  • データ前処理ステップにおけるハイパーパrameterチューニングの非形式的でしばしば認識されない実態に注意を喚起すること。
  • 補完法や特徴量選択といった前処理ハイパーパrameterがモデル性能に顕著に影響を与え、体系的な取り扱いを要することを示すこと。
  • 前処理ハイパーパrameterが適切な検証や報告なしにチューニングされると、楽観的な性能バイアスのリスクが生じることを強調すること。
  • 前処理ハイパーパrameterチューニングを形式的で再現可能かつリサンプリングに基づくモデル開発ワークフローに統合するよう提言すること。
  • 再現性と信頼性を高めるために、すべてのハイパーパrameter、特に前処理の選択を含めた報告における透明性と方法論的厳密性を促進すること。

提案手法

  • 論文は、機械学習におけるハイパーパrameterチューニングについての概念的レビューを実施し、アルゴリズム的ハイパーパrameterと前処理ハイパーパrameterの違いを明確にしている。
  • 実世界の臨床データセットを用いた実証的例示を通じて、アルゴリズム的および前処理ハイパーパrameterチューニングを含むさまざまなモデル開発ワークフローを比較している。
  • リサンプリングに基づく手順(例:ネストドクロスバリデーション)を用いて性能を評価し、データ漏洩を検出するために、ナードな非リサンプリング手法と比較している。
  • 手動による非形式的チューニングと自動化された体系的チューニングワークフローを対比し、訓練データと評価データを分離することの重要性を強調している。
  • 臨床予測プロジェクトからの実世界データを用いて、欠損値の処理や特徴量選択といった前処理選択が、アルゴリズムハイパーパrameterと同様にチューニング可能であることを実証している。
  • 標準化されたチェックリスト(例:REFORMS, TRIPOD-AI)や事前登録テンプレートの活用を提案し、モデル開発における透明性と再現性を高めている。
Figure 1 : Example of a learning pipeline $\mathcal{I}$ consisting of two preprocessing steps and one learning algorithm. Left panel: HPs of the learning pipeline, with each HP set to an example value. Middle panel: Training process, where the learning pipeline is applied to the data set $\mathcal{D
Figure 1 : Example of a learning pipeline $\mathcal{I}$ consisting of two preprocessing steps and one learning algorithm. Left panel: HPs of the learning pipeline, with each HP set to an example value. Middle panel: Training process, where the learning pipeline is applied to the data set $\mathcal{D

実験結果

リサーチクエスチョン

  • RQ1なぜ前処理ハイパーパrameterの非形式的チューニングが、応用機械学習における性能バイアスの深刻なが、しばしば見過ごされている要因なのであろうか?
  • RQ2前処理ハイパーパrameterが体系的に取り扱われない場合、モデル性能推定の信頼性にどのような影響が生じるのか?
  • RQ3前処理ハイパーパrameterがチューニングされている場合、リサンプリングやネストド評価手順を用いないとどのような結果が得られるのか?
  • RQ4応用研究者が前処理ハイパーパrameterチューニングを体系的かつ透明に保つには、どのようにすればよいか?
  • RQ5研究者が強固で再現可能なワークフローに前処理ハイパーパrameterチューニングを統合するのを支援する実用的ガイドラインやツールは何か?

主な発見

  • 補完法や特徴量選択といった前処理ハイパーパrameterの非形式的で手動によるチューニングが、ユーザーがそれらをハイパーパrameterチューニングと認識していなくても、応用機械学習の現場で一般的に発生している。
  • この非形式的チューニングは、データ漏洩を引き起こし、アルゴリズムハイパーパrameterチューニングの有名な落とし穴と同様に、楽観的な性能推定をもたらす。
  • ハイパーパラメータチューニングが行われる場合には、ネストドクロスバリデーションなどのリサンプリングに基づく評価手順が、偏りのない性能推定を得るために不可欠である。
  • 適切にネストしないk-フォールドクロスバリデーションでは、前処理ハイパーパラメータがチューニングされている場合、楽観的な性能主張が生じる可能性がある。
  • 前処理選択の報告が不透明であると、データが前処理されていないか、あるいは代替案が検討されていなかったかのような誤解を生む。
  • 前処理ハイパーパラメータを含む、モデル開発プロセス全体を事前登録することで、再現性が向上し、潜在的なバイアスを検出するのを支援する。
Figure 2 : Overview of different model evaluation procedures and their relation to the model generation process if all HPs are pre-specified. Data leakage is present if any subset of $\mathcal{D}_{\text{test}}$ used for prediction error estimation has also been employed to generate the evaluated pre
Figure 2 : Overview of different model evaluation procedures and their relation to the model generation process if all HPs are pre-specified. Data leakage is present if any subset of $\mathcal{D}_{\text{test}}$ used for prediction error estimation has also been employed to generate the evaluated pre

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。