What one bit per cell buys

Storing several bits in one resistive cell multiplies density, and asks the readout to resolve conductance differences of a few percent — in a device whose conductance moves with temperature, with age and with being read. That is why analog compute-in-memory has a graveyard behind it. One bit per cell gives up the density and buys back a result that is bit-identical to the same network in digital.

20 November 2026CurrentModelled8 references

A resistive cell is a resistor you can program. Nothing in the physics says it has to hold only two values, and the temptation is obvious: n bits in one cell multiplies the stored capacity by n. For a part whose whole argument is that the weights stay resident on the die, capacity is the most valuable thing anyone can offer us.

We hold one bit per cell. This post is the arithmetic behind that decision, and the honest accounting of what it costs.

Resolving levels means resolving ratios

The usable window of a cell is the factor between its most-conducting and least-conducting state. Call it W. Storing n bits means placing 2n states inside that window and asking the readout to tell each one from its neighbours. Spaced geometrically — which is the spacing that gives every level the same relative margin — neighbouring states differ by a factor of W1/(2n−1).

Figure 1The same window, divided two ways
THREE BITS: EIGHT STATESonoffspreads touchtheir neighboursA misread is one state away.ONE BIT: TWO STATESonoffthe whole windowis the marginA misread needs the cell to fail.THREE BITS: EIGHT STATESonoffspreads touchA misread is one state away.ONE BIT: TWO STATESonoffall marginA misread needs thecell to fail.

A cell's usable window is the factor between its most- and least-conducting state, and it is fixed by the device. Asking for more bits does not widen it — it subdivides it, so every state sits closer to its neighbours while the spread around each state stays the same size. One bit puts the whole window between the only two states there are. Drawn for this post; the bands are illustrative, not measured distributions.

The only published average window we have for a production 22 nm resistive cell is 4.51, after on-chip program-and-verify [1] Extended Data Fig. 1b. Put that into the expression and the problem is immediate.

Figure 2How far apart neighbouring states are, as bits per cell goes up
How far apart neighbouring states are, as bits per cell goes upA bar at 1× would mean two states that cannot be told apart at all. On the published 22 nm window, four bits per cell asks a readout to resolve states 11% apart; three bits asks for 24%. A cell with a window four times wider only moves four bits to 22%. The density is linear in the bit count and the margin is roughly exponential in it, which is the whole shape of this trade.12481632RATIO BETWEEN NEIGHBOURING STATES (×, log scale)1 bit per cell2 states4.51202 bits per cell4 states1.652.713 bits per cell8 states1.241.534 bits per cell16 states1.111.22
22 nm production window, 4.51×a hypothetical 20× window

A bar at 1× would mean two states that cannot be told apart at all. On the published 22 nm window, four bits per cell asks a readout to resolve states 11% apart; three bits asks for 24%. A cell with a window four times wider only moves four bits to 22%. The density is linear in the bit count and the margin is roughly exponential in it, which is the whole shape of this trade.

Measured: The 4.51× window: the published average on/off ratio of a 22 nm production cell after program-and-verify. Modelled: Every bar. Geometric level spacing, W raised to the power 1/(2^n − 1), computed by us. The 20× window is an illustration, not a cell anyone has offered us.

Sources: [1]

An 11% margin would be comfortable if conductance were a constant. It is not.

What moves, and by how much

All four of these are measured, by other people, on real devices.

  • It moves as soon as you program it. A 48-core RRAM chip reports conductance relaxation concentrated in the first second after programming, with an average standard deviation of about 2.8 µS across levels on a 1–40 µS range, and a maximum of about 4 µS — which its authors note is close to 10% of the top of that range [2].
  • It moves while you watch it. Random telegraph noise of up to 25% has been measured in the high-resistance state of an oxide cell, and not in the low-resistance state [3]. A two-state cell shrugs that off. A sixteen-state cell does not have 25% to give.
  • It moves with temperature, by different amounts in different cells. The temperature coefficient of an analog resistive array is a distribution, not a constant, which is what makes a single global temperature correction insufficient [4].
  • It moves because you read it. On a binary 40 nm macro under 85 °C accelerated stress, the normalised high-resistance state drifts to a 94% detection threshold at roughly 35,000 reads, at which point the macro's own answer is to notice and rewrite the cell [6]. A few percent is nothing against a two-state margin. Against an 11% level spacing it is most of the budget, and compute-in-memory reads the same cells millions of times.

The clearest long-run evidence comes from a different material with the same job. Phase-change conductance drifts as a power law in time, with an exponent of about 0.06 on average and varying across devices; without compensation a ResNet-32 mapped onto it falls to chance accuracy within about a thousand seconds. With per-layer drift compensation and periodic recalibration of batch-norm statistics, the same network holds above 92.6% over a day [5].

That is a successful result, and it is the honest shape of multi-level analog compute: it works, and it works because something keeps correcting it.

Why "it works with calibration" is not the same product

The published analog accelerators recover their accuracy, and they are explicit about how. The 48-core RRAM chip trains its models with noise injected from measured device statistics, calibrates the chip against real weights and data, and fine-tunes with the chip in the loop. Without the noise-aware training, its CIFAR-10 accuracy is 25.34%; with it, 85.99% [2]. Phase-change inference needs its drift compensation maintained for as long as the model is deployed [5].

Those are real engineering answers and for many products they are the right ones. They carry three costs that decide whether they fit the device we are aiming at.

  1. The model has to be trained for the chip. A customer with a network they already trust cannot simply deploy it; it has to be retrained with the hardware's noise in the loop, and retrained again if the hardware changes.
  2. The calibration has to be maintained for the life of the part, across temperature, in a sealed box with no service visit.
  3. The output is an approximation with an error budget, and that budget has to be carried into every claim made about the part thereafter.

What one bit buys

The cell is either conducting or it is not. The readout's job is to count how many of the driven cells are conducting, and a count is an integer. Everything after it — weighting the counts by bit position and adding them up — is ordinary digital arithmetic. The published 22 nm macro shows the pattern working in silicon: an eight-bit weight held as eight one-bit cells, counts combined in digital shift-and-add, an exact 19-bit result [7].

What we add to that is scale rather than principle, and we check it the only way available before silicon: our compiler maps a real trained network onto the array and compares the result against the INT8 reference implementation, value for value. It matches bit for bit. That is verified in simulation against a reference, not measured on NeuronEase silicon, which does not exist yet.

There is no calibration loop in that chain, no retraining for the hardware, and no error budget to carry into the next claim — because the arithmetic has no error term to budget for.

Exact is not lossless, and the two get confused constantly

One sentence has to travel with the one above. Bit-identical means the chip reproduces the 8-bit model exactly. Quantising a network to 8 bits has its own accuracy cost against the floating-point original, and that cost belongs to the model, not to the chip. It varies by task: some networks lose almost nothing at 8 bits and some lose a great deal.

Anyone who chains "exact readout" and "no accuracy loss" has made a claim we have not made. The chip reproduces the 8-bit model exactly; what 8 bits costs is a property of the model, and it is the model owner's number to state.

What it costs us

Density, by the factor in the bit count. Against a four-bit cell we store a quarter as many weights in the same array area, before any periphery. For scale: a teardown of the 22 nm platform's memory blocks reports 17.5 bits/µm², with the resistive layers at metal 3 [8] — a block-level figure including its periphery, not a bit-cell area, and the closest public number we have to what the array costs.

We pay that factor deliberately. In a sealed, power-limited device that has to hold its weights through power-off and give the same answer in year five as in week one, approximately right is not a product. That is a judgement about which device we are building for, not a claim that multi-level cells do not work.

What would change this

  • A cell with a much wider window and a tight, published distribution across temperature. Two bits per cell becomes a serious conversation at that point. The window is not the only number that matters — the spread is — and neither is published for a 22 nm production cell today.
  • A product that tolerates approximation. Plenty do, and for those the calibrated analog designs cited here are ahead of us by years of silicon.
  • Evidence that calibration holds over a product's service life. The strongest published evidence we have found covers a day of measured operation and extrapolates beyond that by model [5]. A ten-year part in a sealed enclosure is a different claim, and nobody has measured it.

References

  1. J.-M. Hung et al., “A four-megabit compute-in-memory macro with eight-bit precision based on CMOS and resistive random-access memory for AI edge devices,” Nature Electronics, vol. 4, no. 12, pp. 921–930, 2021. doi:10.1038/s41928-021-00676-9measured siliconExtended Data Fig. 1b: a 22 nm production 1T1R single-level cell, average HRS/LRS ratio 4.51 after on-chip program-and-verify. An average, with no distribution published and no absolute resistances.
  2. W. Wan et al., “A compute-in-memory chip based on resistive random-access memory,” Nature, vol. 608, no. 7923, pp. 504–512, 2022. doi:10.1038/s41586-022-04992-8measured siliconWeights programmed over a 1–40 µS range. Conductance relaxation after programming: average standard deviation about 2.8 µS across levels, maximum about 4 µS, which the authors note is close to 10% of the top of the range; most of the change happens within the first second.
  3. S. Choi, Y. Yang and W. Lu, “Random telegraph noise and resistance switching analysis of oxide based resistive memory,” Nanoscale, vol. 6, no. 1, pp. 400–404, 2014. doi:10.1039/c3nr05016emeasured siliconRandom telegraph noise up to 25% observed in the high-resistance state and not in the low-resistance state, on a tantalum-oxide stack. 'Up to' is the paper's own wording: it is a maximum, not a typical value.
  4. H. Xu, Y. Sun, Y. Zhu, X. Wang and G. Qin, “Statistical temperature coefficient distribution in analog RRAM array: impact on neuromorphic system and mitigation method,” Journal of Physics D: Applied Physics, vol. 55, no. 1, art. 015110, 2021. doi:10.1088/1361-6463/ac296dmeasured siliconCited for the structure of the problem rather than a number: in an analog array the temperature coefficient is not one constant but a distribution across cells, so a single temperature correction cannot hold for all of them.
  5. V. Joshi et al., “Accurate deep neural network inference using computational phase-change memory,” Nature Communications, vol. 11, art. 2473, 2020. doi:10.1038/s41467-020-16108-9measured siliconPhase-change memory, not RRAM, but the same engineering problem. Conductance drifts as a power law in time with an exponent of about 0.06 on average, distributed across devices. Without compensation a ResNet-32 falls to chance accuracy within about a thousand seconds; with per-layer drift compensation and periodic batch-norm recalibration it stays above 92.6% over a day.
  6. J.-H. Yoon, M. Chang, W.-S. Khwa, Y.-D. Chih, M.-F. Chang and A. Raychowdhury, “A 40-nm, 64-Kb, 56.67 TOPS/W voltage-sensing computing-in-memory/digital RRAM macro supporting iterative write with verification and online read-disturb detection,” IEEE Journal of Solid-State Circuits, vol. 57, no. 1, pp. 68–79, 2022. doi:10.1109/JSSC.2021.3101209measured siliconA binary macro. Fig. 21 measures the normalised high-resistance state falling to a 94% detection threshold at roughly 35,000 read operations under 85 °C accelerated stress, after which the macro rewrites the cell.
  7. J.-M. Hung et al., “8-b precision 8-Mb ReRAM compute-in-memory macro using direct-current-free time-domain readout scheme for AI edge devices,” IEEE Journal of Solid-State Circuits, vol. 58, no. 1, pp. 303–315, 2023. doi:10.1109/JSSC.2022.3200515measured siliconAn eight-bit weight held as eight one-bit cells, counts combined in digital shift-add for an exact 19-bit result. Cited as published evidence that exactness from binary cells is a built thing, not a plan.
  8. TechInsights, “Advanced TSMC 22ULL embedded RRAM chip unveiled,” TechInsights blog, teardown report, undated. www.techinsights.com/blog/advanced-tsmc-22ull-embedded-rram-chip-unve… Accessed 20 November 2026.measured siliconA teardown, carrying no byline and no publication date. Reports a memory-block density of 17.5 bits/µm² with the resistive layers at metal 3. A block-level figure including periphery, not a bit-cell area.

Corrections. If a figure here is wrong, or a citation does not support the sentence it is attached to, tell us. The post gets corrected in place and says what changed.

All research notes