mlsanityData to 7 Oct 2026

COMET: Neural Cost Model Explanation Framework

arXiv 2302.06836 ↗First posted 14 Feb 2023cs.PF cs.AI cs.ARcited by 1

Not on the map. Why?

Abstract (arXiv)

Cost models predict the cost of executing given assembly code basic blocks on a specific microarchitecture. Recently, neural cost models have been shown to be fairly accurate and easy to construct. They can replace heavily engineered analytical cost models used in mainstream compiler workflows. However, their black-box nature discourages their adoption. In this work, we develop the first framework, COMET, for generating faithful, generalizable, and intuitive explanations for neural cost models. We generate and compare COMET's explanations for the popular neural cost model, Ithemal against those for an accurate CPU simulation-based cost model, uiCA. Our empirical findings show an inverse correlation between the prediction errors of Ithemal and uiCA and the granularity of basic block features in COMET's explanations for them, thus indicating potential reasons for the higher error of Ithemal with respect to uiCA.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 18 of its 39 references that are in the map. First posted on arXiv 14 Feb 2023.

Builds on

18 of 39 references.

References · 18

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  3. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  4. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
  5. 2013Visualizing and Understanding Convolutional Networkscited by 2,278
  6. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  7. 2018Abduction-Based Explanations for Machine Learning Modelscited by 159
  8. 2022Logic-Based Explainability in Machine Learningcited by 47
  9. 2018Ithemal: Accurate, Portable and Fast Basic Block Throughput Estimation using Deep Neural Networkscited by 43
  10. 2021A Deep Learning Based Cost Model for Automatic Code Optimizationcited by 33
  11. 2021Foundations of Symbolic Languages for Model Interpretabilitycited by 26
  12. 2021Counterfactual Explanations for Models of Codecited by 24
6 more
  1. 2022What Makes a Good Explanation?: A Harmonized View of Properties of Explanationscited by 21
  2. 2018Noise-adding Methods of Saliency Map as Series of Higher Order Partial Derivativecited by 11
  3. 2022GRANITE: A Graph Neural Network Model for Basic Block Throughput Estimationcited by 9
  4. 2018uops.info: Characterizing Latency, Throughput, and Port Usage of Instructions on Intel Microarchitecturescited by 5
  5. 2018Automated Instruction Stream Throughput Prediction for Intel and AMD Microarchitecturescited by 3
  6. 2022AnICA: Analyzing Inconsistencies in Microarchitectural Code Analyzerscited by 1

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.