COMET: X86 Cost Model Explanation Framework

02/14/2023
by   Isha Chaudhary, et al.
1

ML-based program cost models have been shown to yield fairly accurate program cost predictions. They can replace heavily-engineered analytical program cost models in mainstream compilers, but their black-box nature discourages their adoption. In this work, we propose the first framework, COMET, for generating faithful, generalizable, and intuitive explanations for x86 cost models. COMET brings interpretability specifically to ML-based cost models, such as Ithemal. We generate and compare COMET's explanations for Ithemal against COMET's explanations for a hand-crafted, accurate analytical model, uiCA. Our empirical findings show an inverse correlation between the error in the cost prediction of a cost model and the prominence of semantically-richer features in COMET's explanations for the cost model for a given x86 basic block.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/22/2016

Programs as Black-Box Explanations

Recent work in model-agnostic explanations of black-box machine learning...
research
04/17/2019

"Why did you do that?": Explaining black box models with Inductive Synthesis

By their nature, the composition of black box models is opaque. This mak...
research
12/21/2018

Example and Feature importance-based Explanations for Black-box Machine Learning Models

As machine learning models become more accurate, they typically become m...
research
07/04/2019

On Validating, Repairing and Refining Heuristic ML Explanations

Recent years have witnessed a fast-growing interest in computing explana...
research
04/30/2022

ExSum: From Local Explanations to Model Understanding

Interpretability methods are developed to understand the working mechani...
research
04/28/2023

Interpreting Vision and Language Generative Models with Semantic Visual Priors

When applied to Image-to-text models, interpretability methods often pro...
research
04/01/2021

Coalitional strategies for efficient individual prediction explanation

As Machine Learning (ML) is now widely applied in many domains, in both ...

Please sign up or login with your details

Forgot password? Click here to reset