Work

Fewest Pulses to Target: Optimal Write-Verify Policies for Multi-Level RRAM as a Stochastic Shortest-Path Problem, a Certificate for Simple Heuristics, the Choice of Starting State, and Verify Read Noise

Year: 2026
Type: preprint
Abstract: Multi-level resistive memory (RRAM) cells are programmed by write-verify loops: apply a pulse, read the conductance, and repeat until it lies inside the target window. The number of pulses sets programming time, energy and wear, yet pulse-selection rules are usually designed by hand. This paper casts write-verify as a stochastic shortest-path problem: the state is the read conductance, the actions are SET or RESET pulses of several amplitudes, and each pulse moves the conductance by a random, state-dependent step. Value iteration gives the policy with the fewest expected pulses for the model, and therefore a certificate against which heuristics can be measured. In a simplified device model with eight levels, six pulse amplitudes, log-normal step variability and saturating steps, the optimal policy needs 9.0 pulses on average from a reset cell for a window of plus or minus 1 unit. A proportional greedy rule, which picks the amplitude whose mean step best matches the remaining distance, is within 0.3 percent of optimal at every window width and within 0.4 percent when the variability is doubled; an amplitude ramp needs about twice as many pulses and a fixed small pulse 26 to 31 times as many. Expected pulses grow by about half a pulse for each halving of the window. The largest saving does not come from pulse choice but from the starting state: programming the upper four levels down from a fully SET cell instead of up from a fully RESET cell halves the average from 9.0 to 4.4 pulses. Verify read noise turns the problem into a partially observed one; a guard band and averaged reads restore accuracy (from 79 to 98 percent truly in window at read noise equal to the window half-width) at a cost in pulses and reads. All numbers come from CPU numpy runs of an illustrative model, not from measured devices. Concept and methods paper. Numerical illustrations were produced by the author on a CPU with numpy, using a simplified model with illustrative parameters; they illustrate the method and are not hardware measurements; no GPU was used. Any other numerical values quoted come from the cited sources. Self-drawn figures (scripts/make_figs.py). AI-assisted drafting; the author is responsible for the content.
Author: TSENG, I-WEI
Language: English
Open Access status: green
OpenAlex ID: W7242540673
Cites: 4
Cited by:
Related to: