Sampling the Weak Tail: Shifted-Mixture Importance Sampling in Thermal-Stability Space for MRAM Retention Failure under ECC, with Temperature-Coupled Stability, Exact Inner Conditioning and an Integrand-Weighted ESS Gate
The retention of an MRAM array is decided by its weakest cells, not by its typical ones. With a thermal-stability factor that varies from cell to cell and falls with temperature, the probability that a protected word fails over ten years is a far tail of the stability distribution, and it moves by many orders of magnitude over a few tens of kelvin. Estimating it by direct sampling needs billions of words; shifting the mean of every cell's distribution, the textbook importance-sampling move, collapses in a seventy-two-cell word because the weights degenerate. This paper describes a sampler built for data-parallel hardware that avoids the collapse. Each cell is drawn from a per-cell mixture of the nominal distribution and a tilted one centred near the stability at which a cell is certain to fail; the failure probability of the word given the sampled stabilities is computed exactly by a short recursion, so no failure indicator is sampled; and a gate based on the effective sample size of the weighted integrand, not of the weights alone, withholds a verdict when the estimate is unsupported. In a stylised model run on a CPU, with an analytic reference, the sampler matches the exact word-failure probability to within a few tenths of a per cent at 340\,K and about one per cent at 300\,K with 10⁵ words, where the plain estimator at the same size has a sample-based relative standard deviation of 24 per cent at 300\,K, and the gate separates good proposals from bad ones where weight-only diagnostics do not.
Authors
- I-Wei Tseng
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-02
- DOI
- https://doi.org/10.5281/zenodo.24755520
- Primary Topic
- Markov Chains and Monte Carlo Methods
- Type
- preprint