DeepPM: Predicting Performance and Energy Consumption of Program Binaries Using Transformers

Research output: Contribution to journalArticlepeer-review

Abstract

Accurate estimation of performance and energy consumption is critical for optimizing application efficiency on diverse hardware platforms. Traditional methods often rely on profiling and measurements, requiring at least one execution, making them time-consuming and resource-intensive. This article introduces the Deep Power Meter (DeepPM) framework, leveraging deep learning, specifically the Transformer architecture, to predict performance and energy consumption of basic blocks directly from compiled binaries, eliminating the need for explicit measurement processes. The DeepPM model effectively learns the performance and energy consumption of basic blocks, enabling accurate predictions for each. Furthermore, the framework enhances applicability across different ISAs and microarchitectures, addressing limitations of state-of-the-art ML-based techniques restricted to specific processor architectures. Experimental results using the SPEC CPU 2017 benchmark suite show that DeepPM achieves significantly lower prediction errors compared to state-of-the-art ML-based techniques, with a 24% improvement in performance and an 18% improvement in energy consumption for x86 basic blocks, and similar gains for ARM processors. Fine-tuning with minimal data from the Phoronix Test Suite further validates DeepPM’s robustness, achieving an error of approximately 13.7%, close to the fully trained model’s 13.3% error. These findings demonstrate DeepPM’s ability to enhance the accuracy and efficiency of performance and energy consumption predictions, making it a valuable tool for optimizing computing systems across diverse hardware environments.

Original languageEnglish
Article numberART107
JournalACM Transactions on Design Automation of Electronic Systems
Volume30
Issue number6
DOIs
StatePublished - 17 Oct 2025

Bibliographical note

Publisher Copyright:
© 2025 Copyright held by the owner/author(s)

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 7 - Affordable and Clean Energy
    SDG 7 Affordable and Clean Energy

Keywords

  • basic block
  • deep learning
  • energy consumption estimation
  • Performance estimation
  • transformer

Fingerprint

Dive into the research topics of 'DeepPM: Predicting Performance and Energy Consumption of Program Binaries Using Transformers'. Together they form a unique fingerprint.

Cite this