Skip to Content
AutoML 학습하기 (Korean Edition)
book

AutoML 학습하기 (Korean Edition)

by Kerem Tomak
April 2026
Intermediate
586 pages
9h 46m
Korean
O'Reilly Media, Inc.
Content preview from AutoML 학습하기 (Korean Edition)

제5장. 하이퍼파라미터 최적화

이 작품은 AI를 사용하여 번역되었습니다. 여러분의 피드백과 의견을 환영합니다: translation-feedback@oreilly.com

프로덕션 환경에서 제대로 튜닝되지 않은 머신러닝 모델을 처음 마주했던 순간이 기억납니다. 2018년, 저는 사기 탐지 시스템을 구축한 한 은행에서 근무하고 있었습니다. 모든 적절한 특징량을 갖춘 그라디언트 부스팅 분류기 모델은 개념적으로는 타당했지만, 성능은 기껏해야 평범한 수준이었습니다. 오탐지율이 너무 높아 정상적인 거래가 끊임없이 의심 거래로 분류되면서 고객들은 불만을 토로했고, 회사에는 비용이 발생하고 있었습니다. 문제는 알고리즘이나 데이터가 아니었습니다. 바로 하이퍼파라미터 때문이었습니다.

도메인 직관과 교차 검증을 활용한 무작위 탐색을 병행하여 하이퍼파라미터를 체계적으로 튜닝하는 데 단 이틀을 투자한 결과—학습률을 0.05로 조정하고, 추정기 수를 300개로 늘리며, 최대 깊이를 4로 설정함으로써—동일한 리콜률을 유지한 채 모델의 정밀도를 15% 향상시킬 수 있었습니다. 비즈니스에 미치는 영향은 즉각적이었습니다. 오탐지율이 30% 감소했고, 고객 불만도 줄어들었으며, 사기 탐지 시스템은 마침내 그 약속을 지켜냈습니다.

이 경험은 제가 경력 내내 배워온 한 가지 사실을 명확히 해주었습니다. 하이퍼파라미터 최적화는 단순한 기술적 세심함이 아니라, 모델이 작동하는지 여부를 가르는 결정적인 요소라는 점입니다. 저는 잘 조정된 “단순한” 모델이 조정이 미흡한 복잡한 모델보다 지속적으로 더 우수한 성능을 보이는 것을 목격해 왔습니다.

2018년 Melis 등이 발표한 획기적인 연구인 “On the State of the Art of Evaluation in Neural Language Models”는 이 원칙을 설득력 있게 입증했습니다. 그들의 세심하게 튜닝된 LSTM 언어 모델은 연구계에서 큰 주목을 받았던 여러 새로운 아키텍처보다 우수한 성능을 보였는데, 이는 단순히 그 새로운 모델들이 충분히 튜닝되지 않았기 때문이었습니다. 이 논문은 하이퍼파라미터 최적화 노력을 통제할 때, “최첨단” 아키텍처 간의 격차가 종종 사라진다는 사실을 보여주었습니다. 이는 적절한 튜닝의 결정적인 중요성을 강조하는 냉철한 발견입니다.

그럼에도 하이퍼파라미터 최적화는 여전히 머신러닝에서 가장 어려운 과제 중 하나입니다. 탐색 공간은 방대하고, 평가 비용은 높으며, 최적의 설정은 종종 직관과 어긋납니다. 이는 수십 년간 실무자들을 좌절시켜 온 문제이며, 효과적인 ML 시스템을 배포하는 데 있어 여전히 큰 병목 현상으로 남아 있습니다.

이 장에서는 기본적인 탐색 전략부터 최소한의 계산 비용으로 우수한 구성을 찾아낼 수 있는 정교한 방법에 이르기까지, 하이퍼파라미터 최적화 기법의 진화를 살펴보겠습니다. 즉시 구현할 수 있는 실용적인 접근법을 검토하고, 모델 튜닝에 대한 우리의 사고방식을 재편하고 있는 최첨단 기법들을 탐구할 것입니다. 무엇보다도, 시간과 계산 자원이 제한된 현실 세계에서 실제로 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

What Successful Brick-and-Mortar Retailers Get Right

What Successful Brick-and-Mortar Retailers Get Right

Rob Angell
Keras 2.x Projects

Keras 2.x Projects

Giuseppe Ciaburro
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 0642572369347