Multi-armed bandits for efficient lifetime estimation in MPSoC design

Calvin Ma, Aditya Mahajan, Brett H. Meyer

Abstract

As Multi-Processor System-on-Chip (MPSoC) designs scale down, reliability becomes a critical concern due to increased heat and component wear-out. Slack allocation is a common strategy to improve system lifetime, but identifying optimal configurations requires computationally expensive Monte-Carlo Simulations (MCS). This paper proposes a Multi-Armed Bandit (MAB) framework to optimize the exploration of the design space. By treating design evaluation as a budgeted pure exploration problem, the proposed approach focuses simulation resources on the most promising candidates. Experimental results across various architectures demonstrate that MAB-based sampling can achieve the same accuracy as standard MCS while requiring up to 5.26 times fewer samples.

Introduction

The continuous miniaturization of integrated circuits has led to higher power densities and operating temperatures, accelerating physical wear-out mechanisms like electromigration and thermal cycling. In MPSoCs, this necessitates robust reliability management. "Slack allocation"—the inclusion of redundant components to allow for task remapping upon failure—is a key technique for extending Mean Time To Failure (MTTF). However, the design space for slack allocation grows exponentially with the number of components. Traditional MCS methods evaluate all candidate designs uniformly, which is inefficient as significant time is spent accurately characterizing sub-optimal designs.

Methods: The MAB Framework

The authors frame the identification of the best $m$ designs out of $D$ candidates as a Multi-Armed Bandit (MAB) problem, specifically a "budgeted pure exploration" task. Unlike standard MCS, MAB algorithms dynamically allocate the simulation budget to minimize uncertainty around the top-performing designs.

Figure 1: Convergence of sample means for different designs under a MAB framework. The algorithm focuses samples on higher-performing designs to differentiate them more efficiently.

Two primary algorithms were evaluated:

  • Successive Accept Reject (SAR): This algorithm operates in phases, discarding the worst-performing designs or accepting the best ones based on the gap between their empirical means at each stage.
  • Gap-based Exploration with Variance (GapE-V): A sequential approach that selects the next design to sample based on an index incorporating mean, variance, and the distance to the $m$-th best design.

Experimental Setup

The framework was evaluated using two application workloads (Multi-window display and MPEG4 decoder) mapped onto four distinct MPSoC architectures: MWD3S, MWD4S, MPEG4S, and MPEG5S. These architectures vary in component count and interconnect topology, which dictates whether specific component failures are survivable.

Figure 3: The four MPSoC architectures (MWD3S, MWD4S, MPEG4S, and MPEG5S) used as benchmarks for the MAB-based lifetime estimation framework.

Lifetimes were estimated by simulating failure mechanisms using log-normal distributions, with temperature adjustments calculated via HotSpot and task remapping logic.

Key Results and Discussion

The MAB approach significantly outperformed uniform MCS across all benchmarks.

  • Efficiency Gains: SAR achieved sample reductions ranging from 1.49× to 5.26× compared to MCS. GapE-V provided 1.45× to 3.57× reductions.
  • Algorithm Comparison: SAR generally proved more effective and practical. While GapE-V is theoretically robust due to its use of variance, its high computational overhead (requiring priority recalculation after every sample) makes it less suitable for hardware simulation contexts than the phase-based SAR.
  • Selection Threshold: The efficiency gain was most pronounced when searching for a smaller, more elite subset of designs (e.g., top 20 vs. top 50). A larger $m$ places more designs near the decision boundary, requiring more samples to differentiate them confidently.

Conclusion

Applying MAB algorithms to MPSoC reliability analysis offers a substantial reduction in simulation time without sacrificing accuracy. By intelligently "starving" poor designs of simulation samples, designers can focus on the most promising slack allocation strategies. While limitations exist regarding scalability to extremely large design spaces, the MAB framework provides a powerful tool for efficient hardware design space exploration.

Summary updated

BibTeX
@inproceedings{ma2017multi,
  author = {Calvin Ma and Aditya Mahajan and Brett H. Meyer},
  title = {{Multi-armed bandits for efficient lifetime estimation in MPSoC design}},
  booktitle = {DATE},
  year = {2017},
  doi = {10.23919/date.2017.7927235},
}
Figure