현대 마이크로아키텍처 정책에 대한 머신러닝 기반 순위 매기기의 한계에 대하여
On the Limits of Machine-Learned Ranking for Modern Microarchitectural Policies
한국어 초록
머신러닝(ML) 예측기는 사이클 수준 시뮬레이션보다 프로세서 성능을 훨씬 빠르게 추정합니다. 그러나 설계 공간 탐험(exploration)에서 진정 가치 있는 시험은 단순히 일반적인 하드웨어 순서를 재현하는 것이 아니라, 개별 프로그램 페이즈(phase)에서 서로 다른 하드웨어 구성의 순위가 어떻게 매겨지는지 식별하는 것입니다. 본 연구에서는 두 가지 설계 체제에서 4개의 ML 예측기를 평가(evaluation)합니다: 이슈 폭(issue width), ROB 크기, 캐시 용량과 같은 하드웨어 자원을 변화시키는 구조적 파라미터(Structural Parameters, SP)와, 프리페칭 및 교체 알고리즘을 변화시키는 동작 정책(Behavioral Policies, BP)입니다. SP 체제에서는 종합적인 순위 매기기가 우수하지만, 명확한 아키텍처 사전 지식을 가진 5개 쌍 전체에서 동점이 아닌 윈도우 중 더 느릴 것으로 예상된 구성이 더 빠른 직관에 반하는 윈도우(counter-intuitive windows, CIW)가 22.4%를 차지합니다. 이들 쌍 전반에서 CIW 일치율은 23.3–39.9%에 불과하며, 모든 점 추정치는 50%의 무작위 엄격 순서 기준선(baseline)을 밑돕니다. BP 체제는 또 다른 실패 양상을 보여줍니다: 정답(ground-truth) 동점이 쌍 윈도우의 37.8%를 차지하고, 대부분의 엄격한 쌍은 마진(margin)이 단 몇 사이클에 불과하며, 어떤 모델(model) 패밀리도 특징(feature)이 없는 다수결 기준선을 안정적으로 능가하지 못합니다. NeuroScalar와 SimNet은 해당 기준선을 밑돌고, Concorde는 통계적으로 기준선과 동률을 이루며, 가장 우수하게 선택된 OneDSE 헤드조차 단 2.1%p 향상시키는 데 그칩니다. 정확도는 주로 마진이 큰 경우에만 상승합니다. 나아가 우리는 이러한 실패가 모델 용량의 문제가 아님을 보여줍니다: 정보이론적 분석에 따르면 순위 결과가 명령어 스트림에 부재한 숨겨진 마이크로아키텍처 상태에 의존할 때, 어떤 트레이스 기반 예측기도 관찰 가능한 입력만으로 결정되는 베이즈 정확도를 초과할 수 없습니다. 따라서 높은 사이클 정확도나 종합 순위 정확도는 아키텍처적 통찰을 가장 많이 담고 있으며 사이클 수준 시뮬레이션이 여전히 필수적인 국소적 순위 역전을 놓친 채, 다루기 쉽고 마진이 큰 사례에만 숙달된 결과를 반영할 수 있습니다.
원문 초록
Machine-learning predictors estimate processor performance far faster than cycle-level simulation. For design-space exploration, however, the valuable test is not merely reproducing the usual hardware ordering, but identifying how different hardware configurations rank on individual program phases. We evaluate four ML-predictors in two design regimes: \emph{Structural Parameters} (SP), varying hardware resources such as issue width, ROB size, and cache capacity; and \emph{Behavioral Policies} (BP), varying prefetching and replacement algorithms. In the SP regime, aggregate ranking is strong, yet counter-intuitive windows(CIW)---where the configuration expected to be slower is faster---constitute $22.4\%$ of non-tied windows across five pairs with a clear architectural prior. CIW match across these pairs is only $23.3$--$39.9\%$; every point estimate is below the $50\%$ random strict-ordering reference. The BP regime presents a different failure: ground-truth ties cover $37.8\%$ of pair-windows, most strict pairs have margins of only a few cycles, and no model family reliably beats a feature-free majority baseline. NeuroScalar and SimNet fall below that baseline, Concorde is statistically tied with it, and the best selected OneDSE head improves by only $2.1$ percentage points. Accuracy rises mainly at large margins. We further show that this failure is not a matter of model capacity: an information-theoretic analysis reveals that when ranking outcomes depend on hidden microarchitectural state absent from the instruction stream, no trace-based predictor can exceed the Bayes accuracy determined by observable inputs alone. Thus high cycle or aggregate ranking accuracy can reflect mastery of easy, high-margin cases while missing the local reversals that carry the most architectural insight and for which cycle-level simulation remains indispensable.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2608.01041v2제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.