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)|2024. 12. 04.
Machine Learning and Data ClassificationComputer Science인용 수 3
한 줄 요약

이 논문은 데이터 전처리 초모수—예를 들어 결측치 보간 방법이나 특성 선택 전략—가 일반적으로 적용된 기계학습 사용자들에 의해 비공식적으로 조정되며, 이는 알고리즘 초모수 조정과 유사한 편향된 성능 추정을 초래한다는 점을 강조한다. 저자들은 과적합과 과도한 성능 주장 방지를 위해 알고리즘 초모수뿐 아니라 전처리 초모수까지 체계적이고 투명하며 리샘플링 기반으로 조정할 것을 주장한다.

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.

연구 동기 및 목표

  • 데이터 전처리 단계에서의 비공식적 초모수 조정이 널리 퍼져 있지만 자주 인정되지 않는 관행임을 부각시키기 위해.
  • 결측치 보간 방법이나 특성 선택과 같은 전처리 초모수들이 모델 성능에 상당한 영향을 미치며 체계적인 대응이 필요하다는 것을 입증하기 위해.
  • 전처리 초모수를 적절한 검증이나 보고 없이 조정할 경우 낙관적인 성능 편향의 위험을 부각하기 위해.
  • 전처리 초모수 조정을 공식적이고 재현 가능하며 리샘플링 기반의 모델 개발 워크플로우에 통합할 것을 주장하기 위해.
  • 모델 개발의 재현성과 신뢰성을 향상시키기 위해 모든 초모수, 특히 전처리 선택까지 투명하고 방법론적으로 엄격하게 보고할 것을 촉구하기 위해.

제안 방법

  • 논문은 기계학습에서 초모수 조정에 대한 개념적 리뷰를 수행하며, 알고리즘 초모수와 전처리 초모수를 구분한다.
  • 실제 임상 데이터셋을 사용하여 알고리즘 초모수와 전처리 초모수 조정을 포함한 다양한 모델 개발 워크플로우를 비교하는 실증적 예시를 제시한다.
  • 내부 교차검증과 같은 리샘플링 기반 절차(예: 중첩 교차검증)를 사용해 성능을 평가하고, 데이터 누출을 탐지하기 위해 단순한 비리샘플링 접근 방식과 비교한다.
  • 수동이고 비공식적인 조정 방식과 자동화된 체계적 조정 워크플로우를 대조하며, 훈련 데이터와 평가 데이터를 분리하는 것의 중요성을 강조한다.
  • 임상 예측 프로젝트에서 얻은 실제 데이터를 사용하여 결측치 처리나 특성 선택과 같은 전처리 선택이 알고리즘 초모수만큼 조정될 수 있음을 보여준다.
  • 표준화된 체크리스트(예: 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왜 기계학습 응용 분야에서 전처리 초모수의 비공식적 조정이 성능 편향의 중요한 원인이 되지만 자주 간과되는가?
  • RQ2전처리 초모수에 대한 체계적인 대응이 부족할 경우 모델 성능 추정의 신뢰성은 어떻게 영향을 받는가?
  • RQ3전처리 초모수를 조정할 때 리샘플링 또는 중첩 평가 절차를 사용하지 않을 경우 어떤 결과가 초래되는가?
  • RQ4응용 연구자들이 전처리 초모수 조정이 체계적이고 투명하도록 보장할 수 있는 방법은 무엇인가?
  • RQ5연구자들이 전처리 초모수 조정을 강력하고 재현 가능한 워크플로우에 통합하는 데 도움이 되는 실용적 지침과 도구는 무엇인가?

주요 결과

  • 결측치 보간 방법이나 특성 선택과 같은 전처리 초모수의 비공식적이고 수동적인 조정이 응용 기계학습에서 흔히 발생하며, 사용자들이 이를 초모수 조정으로 인식하지 못하는 경우가 많다.
  • 이러한 비공식적 조정은 데이터 누출과 과도하게 낙관적인 성능 추정을 초래하며, 알고리즘 초모수 조정의 잘 알려진 위험과 유사하다.
  • 초모수 조정이 포함된 경우에 편향 없는 성능 추정을 확보하기 위해 리샘플링 기반 평가 절차(예: 중첩 교차검증)가 필수적이다.
  • 적절히 중첩되지 않은 간단한 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

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.