MambaCPU: Enhanced Correlation Mining with State Space Models for CPU Performance Prediction
Data Center and Artificial Intelligence (DCAI), Intel Corporation, Shanghai, China
arXiv:2410.19297 [cs.PF], (25 Oct 2024)
@misc{liu2024mambacpuenhancedcorrelationmining,
title={MambaCPU: Enhanced Correlation Mining with State Space Models for CPU Performance Prediction},
author={Xiaoman Liu},
year={2024},
eprint={2410.19297},
archivePrefix={arXiv},
primaryClass={cs.PF},
url={https://arxiv.org/abs/2410.19297}
}
Forecasting CPU performance, which involves estimating performance scores based on hardware characteristics during operation, is crucial for computational system design and resource management. This research field currently faces two primary challenges. First, the diversity of CPU products and the specialized nature of hardware characteristics make real-world data collection difficult. Second, existing approaches, whether reliant on hardware simulation models or machine learning, suffer from significant drawbacks, such as lengthy simulation cycles, low prediction accuracy, and neglect of characteristic correlations. To address these issues, we first gathered, preprocessed, and standardized historical data from the 4th Generation Intel Xeon Scalable Processors across various benchmark suites to create a new dataset named PerfCastDB. Subsequently, we developed a novel network, MambaCPU (MaC), as the baseline model for the PerfCastDB dataset. This model employs the mamba structure to explore global dependencies and correlations among multiple characteristics. The use of intra- and inter-group attention mechanisms further refines correlations within and between characteristic groups. These techniques enhance MaC’s capability to analyze and mine complex multivariate correlations. Comparative experiments on the PerfCastDB dataset demonstrate that MaC surpasses existing methods, confirming its effectiveness. Additionally, we have open-sourced part of the dataset and the MaC code to facilitate further research.
November 3, 2024 by hgpu