Effective and Efficient Microprocessor Design Space Exploration Using Unlabeled Design Configurations

Qi Guo, Tianshi Chen, Yunji Chen, Zhi-Hua Zhou, Weiwu Hu, Zhiwei XuIJCAI 2011

Abstract

Modern microprocessor design involves navigating a massive architectural search space where evaluating a single configuration can take weeks of simulation. Traditional supervised learning models, such as Artificial Neural Networks (ANNs), often struggle due to the scarcity of "labeled" simulation data. This paper introduces COMT (Co-Training Model Tree), a semi-supervised learning approach that leverages readily available "unlabeled" design configurations to improve prediction accuracy. Experimental results across SPEC CPU2000 benchmarks demonstrate that COMT reduces prediction errors by up to 84% compared to state-of-the-art ANNs while providing interpretable models that facilitate constrained optimization.

Introduction

Design Space Exploration (DSE) is a critical phase in microprocessor development, requiring architects to balance competing objectives like performance, power consumption, and thermal reliability. With dozens of tunable parameters—such as cache sizes, pipeline depths, and issue widths—the resulting search space can exceed 70 million possible configurations.

The primary bottleneck in DSE is the computational cost of cycle-accurate simulation. Because simulating every point is impossible, architects rely on predictive models. However, standard supervised models require a significant volume of simulated (labeled) data to achieve high accuracy. Furthermore, many popular models like ANNs act as "black boxes," offering little insight into why a specific configuration performs well, which limits an architect's ability to perform fine-grained optimization.

Methodology: The COMT Framework

To address these challenges, the researchers proposed the Co-Training Model Tree (COMT). This framework introduces two significant shifts in the standard DSE workflow.

1. Semi-Supervised Co-Training

Unlike traditional methods that only use simulated data, COMT utilizes a large pool of unlabeled configurations—designs that have been defined but not yet simulated. The system trains two distinct model trees simultaneously. Through a co-training process, each model identifies the unlabeled points it can predict with high confidence and provides these "pseudo-labels" to its partner. This allows the models to learn the underlying structure of the design space without requiring additional, expensive simulations.

2. Interpretable Model Trees (M5P)

COMT replaces black-box neural networks with M5P model trees. These structures function like decision trees but feature linear regression models at their leaves. This hybrid approach allows architects to inspect the weights of the linear equations, providing a clear understanding of how specific parameters (e.g., L2 cache size vs. ROB size) impact performance.

The workflow of the proposed predictive modeling approach, divided into Training and Predicting phases.

Experimental Setup

The framework was evaluated using the Simplescalar simulator on 12 representative benchmarks from the SPEC CPU2000 suite. The design space encompassed 10 parameters, totaling over 70 million options. The experimental setup utilized a modest set of 400 simulated configurations (300 for training, 100 for testing) alongside a pool of 5,000 unlabeled configurations to facilitate the co-training process.

Key Results and Analysis

Superior Accuracy and Stability

COMT significantly outperformed traditional ANN-based DSE across all benchmarks. The reduction in Mean Squared Error (MSE) ranged from 30% to 84%. Beyond raw accuracy, COMT demonstrated superior stability. In 5-fold cross-validation tests, the standard deviation of COMT’s error was markedly lower than that of ANNs, indicating it is a more reliable tool for architectural decision-making.

Comparison of Mean Squared Errors (MSEs) and their standard deviations for ANNs, M5P, and COMT across various benchmarks.

Real-World Utility: Constrained Optimization

A major advantage of COMT’s linear leaf models is that they enable the use of Linear Programming (LP) to solve for optimal designs under specific constraints. In a case study involving the mcf benchmark with a 50W power limit, the traditional ANN approach suggested a configuration that failed the constraint (54.47W). In contrast, COMT successfully identified a configuration that maximized performance while staying strictly within the budget (49.13W).

Conclusion and Future Work

COMT demonstrates that unlabeled data is a "goldmine" for microprocessor design, providing the necessary context to generalize from a small number of expensive simulations. By combining semi-supervised learning with interpretable model trees, the framework offers both higher accuracy and the transparency required for mathematical optimization.

Future research directions include developing dynamic stopping criteria for the co-training iterations to further optimize computational time and incorporating "program features" into the models. The latter would allow a single model to generalize across different software workloads, potentially eliminating the need to train separate models for every benchmark.

Summary updated

BibTeX
@inproceedings{guo2011effective,
  author = {Qi Guo and Tianshi Chen and Yunji Chen and Zhi-Hua Zhou and Weiwu Hu and Zhiwei Xu},
  title = {{Effective and Efficient Microprocessor Design Space Exploration Using Unlabeled Design Configurations}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2011},
  url = {https://openreview.net/forum?id=Be-m96DM2y},
}
Figure