Sensitivity Analysis for Active Sampling, with Applications to the Simulation of Analog Circuits

Reda Chhaibi, Fabrice Gamboa, Christophe Oger, Vinicius Oliveira, Clément Pellegrini, Damien RemotarXiv 2024 · DOI

TL;DR

This paper introduces an "active sampling" framework that significantly reduces the computational cost of simulating analog circuits under various variations. By intelligently selecting which simulation parameters to focus on using sensitivity analysis and Bayesian modeling, their method outperforms traditional Monte Carlo approaches, making complex circuit design and analysis more feasible.

What Problem Does This Paper Address?

Modern analog circuit design faces a major challenge: simulating the impact of numerous variations (like manufacturing process fluctuations, temperature changes, and aging) on circuit performance. These variations can be modeled as a high-dimensional random vector, and accurately assessing their combined effect requires an enormous number of simulations. Traditional Monte Carlo (MC) methods, while robust, become computationally prohibitive as the number of parameters and desired accuracy increase. Existing methods like Importance Sampling can accelerate convergence but might miss crucial operating regions. Surrogate modeling, which builds a faster approximation of the circuit's behavior, is hampered by the "curse of dimensionality" – it's hard to train effectively with too many input parameters. This paper tackles the need for a more efficient way to explore this high-dimensional parameter space and accurately predict circuit performance under combined variations.

Methods

The core of this paper is an "active sampling" flow that combines two key techniques:

  • Sensitivity Analysis for Dimensionality Reduction: The authors employ Chatterjee's estimator of Cramèr-von-Mises (CvM) indices to quantify the dependence of circuit performance on each input parameter. This allows them to identify and focus on the "significant features" that truly influence performance, effectively reducing the high dimensionality of the problem. They also propose a conjecture and experimental evidence for detecting "noisy features" that have minimal impact.
  • Bayesian Surrogate Modeling with Active Learning: Once the important features are identified, a Gaussian Process (GP) is used as a Bayesian surrogate model to approximate the circuit's performance function. The "active learning" aspect comes into play by using the surrogate model to intelligently select the next simulation point that will maximally reduce uncertainty in the model's predictions. This is achieved by choosing points that maximize the predicted variance of the surrogate model.

The overall flow involves an initial batch of simulations, followed by iterative steps of feature selection, surrogate model training, and active selection of the next simulation point until a predefined budget of simulations is reached.

Datasets

The authors evaluate their active sampling flow on two types of datasets:

  • Synthetic Dataset: The classical Sobol' G-function, a standard benchmark for sensitivity analysis. They augment this function with "fictitious attributes" to mimic the high dimensionality found in real-world circuits.
  • Real Analog Circuit Datasets: Simulations from actual analog circuits:
  • A High-Speed Operational Transconductance Amplifier (HSOTA) with 450 input variables.
  • A Fast Internal Reference Clock (FIRC) generator with 44,959 input variables. These real circuit simulations account for circuit aging, in addition to process and mismatch variations.

Key Insights and Ideas

  • Focusing on what matters: Not all input parameters are equally important for circuit performance. Sensitivity analysis can effectively pinpoint the critical few, drastically simplifying the problem.
  • Intelligent exploration: Instead of random sampling (like Monte Carlo), actively choosing simulation points that are most informative for the surrogate model leads to much faster convergence and better accuracy.
  • Bridging theory and practice: The paper successfully applies theoretical tools from sensitivity analysis and Bayesian modeling to a practical, computationally intensive problem in analog circuit simulation.
  • The "curse of dimensionality" can be managed: By combining dimensionality reduction with surrogate modeling, the authors demonstrate a way to overcome the limitations of traditional data-driven models in high-dimensional spaces.

Key Results

The active sampling flow, particularly Method 1 (which uses GSA for feature selection and maximal variance for sample choice), consistently outperforms standard Monte Carlo sampling. The paper shows that their method achieves better performance (measured by the R² score) with significantly fewer simulations. While the "oracle" method (knowing the true relevant features beforehand) achieves the best results, their proposed method (Method 1) comes close, demonstrating the effectiveness of their automated feature selection and active sampling strategy. The paper also presents experimental evidence supporting their conjecture about detecting noisy features.

Limitations and Future Work

  • Limitations:
    • The "oracle" method, while best-case, requires prior knowledge of relevant features, which is not always available.
  • The computational cost of the feature selection algorithm itself, while less than full simulation, is still a factor.
  • The paper focuses on specific surrogate models (GPs) and sampling criteria (maximal variance); other choices might yield different results.
  • Future Work:
    • Exploring surrogate models other than Gaussian Processes.
  • Investigating alternative sampling criteria, such as optimizing for failure rates instead of just variance reduction.
  • Incorporating expert knowledge directly into the surrogate models.
  • Further research into the theoretical underpinnings of noisy feature detection.

Summary updated

BibTeX
@misc{chhaibi2024sensitivity,
  author = {Reda Chhaibi and Fabrice Gamboa and Christophe Oger and Vinicius Oliveira and Clément Pellegrini and Damien Remot},
  title = {{Sensitivity Analysis for Active Sampling, with Applications to the Simulation of Analog Circuits}},
  year = {2024},
  eprint = {2405.07971},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.07971},
}
Figure