Research notes / NAND error correction
LDPC in NAND: the read cost of confidence
Published 11 October 2026 · Updated 22 November 2026 · Literature analysis, not an SSD benchmark
An error-correction engine needs evidence, not just compute. In NAND, obtaining more informative observations can require extra sensing. The useful question is not simply whether an SSD has LDPC, but what its complete recovery path costs.
On this page11 sections
A bit decision is not a confidence measurement
Wang and colleagues' 2011 study uses repeated comparisons at different reference voltages to identify a finer interval for a cell's threshold voltage. This gives a decoder information beyond a single hard decision. Their model uses Gaussian noise; its results are simulations, not measurements of a production SSD. [1, sections II-IV]
LDPC describes a family of codes defined by sparse parity-check matrices, not a fixed number of retries or a universal correction guarantee. The sensing interface, selected code and decoder must be specified together. The separate read-retry analysis explains why resubmitting a host request is not the same operation.
Count total reference voltages before counting extra reads. In the survey's Figure 31 illustration, one threshold makes two voltage ranges; three total thresholds make four ranges. Moving from the first to the third illustrated level adds two thresholds, not three. These are distinct comparison boundaries, not a universal number of NAND commands or decoder iterations. [4, section 6.2, Figure 31]
Three costs hide behind one read
Zhao and colleagues separate sensing, flash-to-controller transfer and decoding work. Their progressive-precision strategy starts with hard decisions and escalates after failure. A design favoring hard decoding need not be best for soft decoding; their proposed code-structure adaptation addresses that tension. [2]
The evaluation uses a hypothetical two-bit-per-cell device, three rate-8/9 codes protecting 2 kB each, Monte Carlo simulation and 65 nm ASIC design. Those are valuable engineering models, but neither shipping-firmware evidence nor measured latency for today's 3D NAND.
Our practical inference: a report giving only decoder throughput leaves acquisition cost unknown. Conversely, a count of sensing operations omits iteration limits, transfers and possible overlap. Neither quantity alone establishes end-to-end read latency.
Code rate and redundancy need different denominators
For a fixed-length block code, code rate is R = k/n: k information symbols encoded into n symbols of the same size. It is dimensionless, not a transfer speed. The redundant fraction of the encoded block is (n-k)/n; extra size relative to the information payload is (n-k)/k. [8, sections 3.1-3.2]
| Quantity | Ratio | Value |
|---|---|---|
| Code rate | k/n | 8/9, about 88.9% |
| Redundancy fraction of encoded size | (n-k)/n | 1/9, about 11.1% |
| Extra size relative to information payload | (n-k)/k | 1/8, exactly 12.5% |
This is code-level accounting, not a drive-capacity estimate: it does not include metadata, reserved space or other protection layers. Equal rounded rates also need not be identical. Wang's BCH parameters give 8256/9152 and the LDPC parameters give 8225/9118; both round to 0.9021, but the exact fractions differ. [1, section IV]
For the linear code defined by Hx^T = 0, dimension is k = n-rank(H) over the code's finite field. Replacing rank with the number of matrix rows is valid only when those checks are independent. Dependent checks can make the actual LDPC rate larger than the nominal row-count rate. Rate alone does not specify the decoder's correction performance. [9, sections 6.2.2 and 13.1]
As a small binary check, take matrix rows 1100, 0011 and 1111. The third is the XOR of the first two. All three checks admit exactly 0000, 0011, 1100 and 1111: four words encode two information bits, so the rate is 2/4, not the row-count estimate 1-3/4. This exhaustive arithmetic example is not a NAND decoder benchmark.
The obscure trap: a better channel metric can lose
Wang and colleagues' 2014 manuscript compares finite LDPC codes under quantized Gaussian and retention models. For one code, maximizing channel mutual information also minimizes frame errors. For a code containing small absorbing sets, another quantization performs better even though it carries less mutual information. [3, sections IV and V.D]
An absorbing set is a decoder-graph structure that can sustain troublesome error patterns. The result is a counterexample to treating an information-theoretic optimum as a guaranteed optimum for every implemented decoder. It is not evidence that less accurate sensing generally improves SSDs.
The manuscript quantizes channel observations but keeps messages inside the decoder as floating-point numbers. It does not validate a fixed-point controller implementation. [3, section VI]
An absorbing set need not trap every bit
In a binary parity-check matrix, select variable nodes D. Let O(D) contain checks with an odd number of selected neighbors. The set is absorbing when every selected variable has strictly more even-check than odd-check neighbors. Its label (a,b) records the number of selected variables and odd checks. [10, section II.B, Definition 1]
Fully absorbing adds a condition on every outside variable: strictly more neighbors outside O(D) than inside it. This counts checks with zero selected neighbors, not just checks in the selected subgraph. An outside tie fails this definition. [10]
The following synthetic matrices isolate that distinction. Select columns 1-3 in each case and set exactly those three bits to one. Each matrix then has one unsatisfied parity check and gives an absorbing (3,1) set. These are different toy matrices, not competing NAND codes or measured frame-error rates.
| Case | Binary matrix rows | Outside counts | Fully absorbing? |
|---|---|---|---|
| Outside failure | 1100101001101001 | Column 4: 0/1 | No |
| Outside checks count | 110000101000011000100100000110000101000011 | Columns 4, 5, 6: 2/1, 2/0, 2/0 | Yes |
| Outside tie | 11001010011010010001 | Column 4: 1/1 | No |
Selected-variable counts are 2/1, 2/0 and 2/0 in all three cases. In the second matrix, the final three checks have zero selected neighbors; omitting them would incorrectly reject the outside variables. Every matrix also has a check with exactly one selected neighbor, so none of these selected sets is a stopping set.
A fully absorbing configuration remains unchanged under a rule that flips a bit only when unsatisfied neighbors outnumber satisfied neighbors. The converse fails: with ties left unchanged, the third example also stays fixed but is not fully absorbing. Counting graph structures does not by itself predict a soft decoder's failure probability. [10]
A graph candidate is not a decoder verdict
Richardson's operational trapping set is the nonempty set of all bits that fail to become permanently correct for a specified decoder input. Its (a,b) label counts variables and odd neighboring checks; those counts alone do not establish that a decoder gets trapped. Even a wrong codeword can qualify with b=0. [11, section 3.1]
Reuse the first toy matrix above, transmit 0000 and initialize hard decisions to 1110. Update all bits simultaneously, flipping only when unsatisfied neighbors outnumber satisfied neighbors and retaining ties. Only bit 4 flips: 1110 -> 1111 -> 1111. The syndrome changes from 0001 to 0000. The fixed point is a wrong codeword: its eventual failure support is all four bits, not the initial three-bit absorbing set.
Now retain illustrative log-likelihood ratios (-1,-1,-1,+4), where L_i = ln(P(y_i|0)/P(y_i|1)) and a positive value favors zero. Their signs give the same initial hard decisions. Enumeration of all 16 binary words finds only two codewords. With conditionally independent bit-channel observations given the codeword, maximizing sum((1-2*x_i)*L_i) is equivalent to maximizing likelihood:
| Codeword | Score | Outcome |
|---|---|---|
0000 | +1 | Maximum-likelihood choice; transmitted word |
1111 | -1 | Strict-majority decoder's wrong fixed point |
This changes both the decision rule and retained reliability information; it does not isolate their separate effects. It is an exact toy calculation, not a reproduction of a research decoder or an SSD error-rate result. A finite observation window alone would not prove eventual trapping; here the deterministic fixed point establishes the hard-rule outcome. The public matrix model is linked from the LDPC corpus record.
Precision and dynamic range are different limits
Extra sensing does not remove every numerical bottleneck. Zhang and Siegel study internal message quantization: their quasi-uniform quantizer retains fine spacing near zero while extending representable magnitudes. Their analysis and simulations show that restricting message range can contribute to error floors. The analysis is mainly for variable-regular codes, not a universal guarantee for arbitrary SSD controllers. [12, sections III-V]
Butler and Siegel also vary LLR saturation in AWGN simulations. Increasing the allowed magnitude lowers error floors for the studied codes, but their nonsaturating-decoder model loses accuracy as internal messages become correlated. Independent channel observations do not make messages circulating through a finite decoding graph independent. Removing saturation is not a proof of error-free decoding. [13, sections V-VII]
A controlled arithmetic example isolates clipping from the decision rule. Keep the preceding code, input and exhaustive score maximization unchanged; replace each input LLR by its value clipped to [-C,C]. At C=4 no input changes; at C=3 both codewords tie; at C=2 the wrong codeword wins. All three settings retain the same hard-decision signs.
| Magnitude cap C | Score for 0000 | Score for 1111 | Maximizers |
|---|---|---|---|
| 4 | +1 | -1 | 0000 |
| 3 | 0 | 0 | 0000 and 1111 |
| 2 | -1 | +1 | 1111 |
A tie needs an explicit tie-breaking rule; it is not automatically a decoding error. After clipping, these are surrogate scores, not the exact likelihoods of the original observations. This example changes input LLR magnitudes only; it does not reproduce either paper's message-passing decoder or estimate NAND error rates. Report input quantization, internal quantization, saturation, schedule, iteration limit and stopping rule separately.
Confidence depends on the model
Cai and colleagues describe soft information as a log-likelihood ratio (LLR) conditioned on the observed voltage interval. Its sign favors a bit value under the chosen convention; its magnitude expresses relative confidence. Their example recovery flow gathers additional observations for soft decoding after hard decoding fails. [4, section 6.2]
Our inference for reproducibility: preserve the mapping from observations to confidence values. A paper's decoder result cannot be reproduced by naming the code family while omitting that mapping.
Keep the numerator attached to the result
NIST defines BER through erroneous bits relative to transmitted bits and explicitly includes storage. BER alone does not specify a before-correction measurement point. [5] Cai's comparison distinguishes raw errors from uncorrectable outcomes; its UBER convention divides codeword failure rate by codeword length. That is not a count of every wrong bit inside a failed word. [4, section 6.3]
Another convention appears in Solidigm's D7-P5810 brief: its UBER specification uses sectors per bits read, with a stated qualification context. This is a manufacturer specification, not a Hesela measurement. Preserve that unit instead of silently relabeling it erroneous bits per bits read. [6, pages 3-4]
Schroeder and colleagues found that raw error rates did not predict uncorrectable errors in their studied Google fleet. That population-specific result cautions against turning a raw-error counter into a universal failure forecast. [7, sections 5.2-5.3] Our reporting recommendation: a specification ceiling alone does not establish independent errors or a constant per-bit probability for a RAID rebuild model.
| Reported quantity | Record with it | Do not substitute |
|---|---|---|
| Raw bit errors | Bits examined, sensing settings and pre-ECC boundary | Host data-loss probability |
| Failed codewords | Words attempted, word length, decoder and stopping rule | Number of erroneous bits |
| UBER specification | Error-event unit, bits counted, recovery procedures and qualification conditions | An observed fleet rate or independent per-bit probability |
| Additional sensing | Observations per recovery and when escalation occurs | Decoder iterations |
| Request latency | Workload, sample count, percentiles and completion outcome | A claim about internal recovery without telemetry |
What this review establishes
The sources support distinct mechanisms and design tradeoffs. They do not establish a universal retry budget, an SSD replacement threshold or a vendor ranking. No hardware experiment, LDPC decoder reproduction or new failure-rate estimate was performed here. The checklist and cross-paper interpretation are our synthesis.
For an independent implementation study, disclose code construction, rate, block length, channel assumptions, confidence mapping, quantization, decoder schedule, stopping criteria and seeds. Report unsuccessful cases as well as successful decodes. Compare sensing and end-to-end costs under the same workload.
Metric foundations: error-correcting code, codeword, raw bit error rate and uncorrectable bit error rate.
Structured definitions: LDPC, soft-decision decoding, log-likelihood ratio and bit error rate. For host-visible evidence, see NVMe health-log limits.
Primary sources
- Wang, Courtade, Shankar and Wesel. Soft Information for LDPC Decoding in Flash: Mutual-Information Optimized Quantization. IEEE GLOBECOM 2011, sections II-IV.
- Zhao, Dong, Sun, Zheng and Zhang. Reducing latency overhead caused by using LDPC codes in NAND flash memory. EURASIP JASP 2012:203. DOI: 10.1186/1687-6180-2012-203.
- Wang et al. Enhanced Precision Through Multiple Reads for LDPC Decoding in Flash Memories. Author manuscript arXiv:1309.0566v4, 2014, sections IV, V.D and VI.
- Cai, Ghose, Haratsch, Luo and Mutlu. Error Characterization, Mitigation, and Recovery in Flash Memory Based Solid-State Drives. Author manuscript arXiv:1706.08642, 2017, sections 6.2-6.3.
- NIST CSRC glossary: bit error rate, citing CNSSI 4009-2022.
- Solidigm D7-P5810 product brief, page 3 reliability table and page 4 qualification note.
- Schroeder, Lagisetty and Merchant. Flash Reliability in Production: The Expected and the Unexpected. USENIX FAST 2016, sections 4 and 5.2-5.3.
- RFC 5510 (2009): Reed-Solomon FEC schemes, sections 3.1-3.2, symbol definitions and code rate.
- G. D. Forney, MIT 6.451 (2005), sections 6.2.2 and 13.1: dual dimension and dependent parity checks.
- Dolecek, Zhang, Anantharam, Wainwright and Nikolic. Analysis of Absorbing Sets and Fully Absorbing Sets of Array-Based LDPC Codes. IEEE Transactions on Information Theory 56(1), 2010, pages 181-201, section II.B, Definition 1. DOI: 10.1109/TIT.2009.2034781.
- Tom Richardson. Error Floors of LDPC Codes. Allerton 2003, pages 1426-1435, sections 3.1 and 3.3.
- Xiaojie Zhang and Paul H. Siegel. Quantized Iterative Message Passing Decoders with Low Error Floor for LDPC Codes. IEEE Transactions on Communications 62(1), 2014, sections III-V. DOI: 10.1109/TCOMM.2013.112313.120917.
- Brian K. Butler and Paul H. Siegel. Error Floor Approximation for LDPC Codes in the AWGN Channel. IEEE Transactions on Information Theory 60(12), 2014, sections V-VII. DOI: 10.1109/TIT.2014.2363832.
Original review 12 October 2026; code-rate and sensing clarification 7 November 2026; absorbing/trapping-set distinctions and synthetic decoder checks 22 November 2026, Europe/Warsaw. No third-party figures or datasets reproduced.