log-likelihood-ratio · shipping · also LLR

Log-likelihood ratio

A log-likelihood ratio is the logarithm of the relative likelihood of two alternatives, used in decoding to express a bit decision and its confidence.

Related Observatory article: Read on hesela.com

For the NAND convention log(P(bit=0 | observation) / P(bit=1 | observation)), a positive value favors zero, and reversing the ratio reverses its sign. In flash reads the observation is the threshold-voltage range in which a cell falls, and a larger magnitude means a more confident bit decision. [1]

Each soft-decoding level applies a new read reference voltage that splits an existing threshold-voltage range in two. Level 1 provides 2 LLR values, while the 3 reference voltages of Level 3 form 4 ranges, each with its own value. The controller bins each cell into a range, and the decoder applies the precomputed LLR value for that bin. [1]

The extra information costs read time. Measurements on 25 nm MLC flash put seven-level soft sensing at about 125 µs and the transfer of those results for 4 KB at 200 MB/s at about 80 µs, compared with about 8 µs to decode one 4 KB codeword. [3]

Relations

related
LDPC (NAND ECC), Soft-decision decoding

Advantages

  • Finer LLR information gives the decoder stronger correction, which reduces how often superpage-level parity recovery is needed. [1]

Limitations

  • A closed-form Gaussian noise model gives only an estimate of LLR values, because real threshold-voltage distributions are not perfectly Gaussian. [1]
  • Because soft sensing and transfer dominate soft-read latency, a read can try hard-decision decoding first and sense soft information only after that fails. [3]

Citations

  1. Cai, Ghose, Haratsch, Luo and Mutlu. Error Characterization, Mitigation, and Recovery in Flash Memory Based Solid-State Drives. 2017, sections 6.2-6.3. (accessed 2026-10-22)
  2. Zhao, Zhao, Sun, Zhang, Zhang and Zheng. LDPC-in-SSD: Making Advanced Error Correction Codes Work Effectively in Solid State Drives. FAST 2013 (accessed 2026-10-22)

Further reading

  1. Hesela: LDPC in NAND, the read cost of confidence (accessed 2026-10-11)
Sources & caveats
  • cai2017 is the arXiv manuscript by Cai, Ghose, Haratsch, Luo and Mutlu (Carnegie Mellon University, ETH Zurich, Seagate Technology), read in sections 6.2 and 6.3.
  • zhao13 is the FAST 2013 paper by Zhao, Zhao, Sun, Zhang, Zhang and Zheng (Rensselaer Polytechnic Institute, Xi'an Jiaotong University, Ohio State University), read in sections 2 and 3.
  • 2 LLR values, 3 reference voltages and 4 ranges come from cai2017. 25 nm, 125 µs, 80 µs, 200 MB/s, 4 KB and 8 µs come from zhao13.

JSON: /data/terms/log-likelihood-ratio.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Log-likelihood ratio. Hesela. 2026-10-22. https://hesela.dev/terms/log-likelihood-ratio/