arXiv:2610.08502cs.AROct 2026

Manuscript Offprint

arXiv:2610.08502

X-OPM: Explainable Automatic Digital On-Chip Power Modeling for Enhanced Robustness

Jingbo Jiang, Xizi Chen, Jian Peng, Wei Zhang

Jingbo Jiang, Xizi Chen, Jian Peng, and Wei Zhang

Abstract—Proactive power management systems reduce processor dynamic power through runtime power prediction and power-aware scheduling. Accurate, stable and low-overhead digital on-chip power meters (OPMs) are crucial for improving the prediction quality. Recent studies have explored various modeling methods, including using linear models, decision trees, and multilayer perceptrons (MLPs) to construct OPMs. However, most current approaches train models end-to-end without analyzing the physical interpretability of features, affecting their ability to generalize to unseen workloads. Grounded in the design principles of synchronous digital VLSI circuits, X-OPM introduces a robust feature engineering framework that uses tree-based models to capture feature interactions and linear models for prediction. It also incorporates a human-in-the-loop workflow to balance model accuracy against modeling effort. Evaluated on a commercial C906 vector processor, X-OPM consistently achieves R2>0.93R^{2} > 0.93 across all workloads with sampling window size set below 8 cycles. In contrast, state-of-the-art methods including APOLLO, COBIT, and standard MLPs fail to generalize across all test cases. Layout with commercial EDA tools shows that X-OPM incurs an area overhead below 0.1%, which is on par with lightweight tree-based and linear models, and significantly smaller than MLP-based models.

Index Terms—On-chip power meter, power modeling, proactive power management, explainable machine learning, feature engineering.

I. INTRODUCTION

THE computational throughput and power consumption of processors, especially GPUs (Graphics Processing Units) and NPUs (Neural Processing Units) running AI benchmarks, have increased drastically in recent years, as illustrated in Fig. 1. Excessive power consumption incurs a multitude of power and thermal related issues, including sudden cut-offs due to supply voltage fluctuations (di/dt), chip malfunction due to overcurrent, and runtime frequency drops due to overheating [1]–[7].

To address these challenges, proactive power management systems [8]–[14] have been developed to improve processor runtime stability and maximize performance. A proactive power management system employs a digital on-chip power meter (OPM) to predict dynamic power fluctuations of the processor at runtime. The power predictions can typically be made several tens of cycles in advance with an accuracy (measured in R2R^{2}) of over 0.9. When the processor anticipates an imminent power event, it proactively mitigates the impact by

Figure

Fig. 1. Board TDP (Thermal Design Power) versus release year of recent cloud AI processors.

performing runtime scheduling, such as instruction throttling or adaptive clock gating.

Different methods have been proposed to build OPMs, spanning from using the linear model with feature selection APOLLO [15] and DEEP [16], to extracting high-dimensional features using non-linear models such as trees [17] or multilayer perceptrons (MLPs) [12], [14]. Although current methods focus on trying different models, limited attention has been drawn to improving the modeling robustness. The model robustness is defined as the ratio of the R2R^{2} score an OPM can achieve on unseen workloads to that on the training dataset.

Clarifying the model robustness before tape-out is crucial for preventing OPM from malfunction after the chip comes back. OPM typically implements the (features), also called the power proxies, as combinational circuits hardened on-chip that cannot be modified after tape-out. OPM relies on the accurate post-layout power simulation or emulation to collect the labels for training the model in the pre-silicon stage. The OPM is typically fitted within a short timeframe of several months, spanning from RTL (Register Transfer Level) freeze to tape-out. Slow post-layout simulation constrains the training data to a small set of testbenches instead of all possible workloads. High-dimensional models such as trees and MLPs are prone to overfitting when the training dataset is small, which can lead to a decrease in model robustness.

To improve the model robustness, we propose X-OPM, an automatic white-box power modeling framework that integrates the prior knowledge of RTL design into the model fitting pipeline. X-OPM first categorizes all RTL signals into three categories – the control, configuration, and the data signals, then applies unique signal post-processing and feature interaction algorithms to each category. The signals are transformed to be positively and linearly correlated to the

J. Jiang, J. Peng, and W. Zhang are with the Department of Electronic and Computer Engineering, The Hong Kong University of Science and Technology, Hong Kong (e-mail: jjiangan@connect.ust.hk; jpengai@connect.ust.hk; wei.zhang@ust.hk).

X. Chen is with Huazhong Agricultural University, Wuhan, China (e-mail: xchenbn@mail.hzau.edu.cn).

power before being fitted with a regularized linear model. Through several iterations of adding and removing signals, the relationship between each proxy and power becomes fully explainable. This transparency ensures the model can be trusted to generalize to unseen workloads.

We evaluate X-OPM on the XuanTie C906 [18], a RISC-V core with a 128-bit vector unit, laid out in TSMC 28 nm and labelled by sign-off power simulation. X-OPM holds R2>0.93R^{2} > 0.93 on every test workload at sampling windows below 8 cycles. As a comparison, OPMs built with APOLLO, COBIT, and the MLP [12] approach fail to maintain test accuracy on a different test set. The layout result shows that the area overhead of our OPM is under 0.1% of the C906 core, on par with the linear and tree model and far below the MLP model. Our contributions are:

• Proposed a white-box OPM modeling methodology derived from RTL design principles. This method ensures strict feature explainability and improves the model's robustness to unseen workloads.

• Proposed a hybrid model backbone matched to this methodology, in which a tree model constructs the feature interactions and a linear model performs the prediction.

• Proposed a scalable, automated framework for building the OPM based on the proposed white-box modeling methodology.

The rest of this paper is organized as follows. Section II reviews on-chip power modeling methods. Section III discusses the proposed X-OPM white-box modeling method. Section IV presents an automated model building flow based on the proposed white-box method. Section VI compares the C906 OPM's modeling results using X-OPM with baselines including APOLLO, COBIT, and [12]. The hardware overhead of X-OPM is also reported.

References (25)