{
  "aliases": [
    "LLR"
  ],
  "note": "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. [cai2017]\n\nEach 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. [cai2017]\n\nThe 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. [zhao13]",
  "status": "shipping",
  "advantages": [
    {
      "text": "Finer LLR information gives the decoder stronger correction, which reduces how often superpage-level parity recovery is needed.",
      "citationIds": [
        "cai2017"
      ]
    }
  ],
  "limitations": [
    {
      "text": "A closed-form Gaussian noise model gives only an estimate of LLR values, because real threshold-voltage distributions are not perfectly Gaussian.",
      "citationIds": [
        "cai2017"
      ]
    },
    {
      "text": "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.",
      "citationIds": [
        "zhao13"
      ]
    }
  ],
  "related": [
    "ldpc",
    "soft-decision-decoding"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "slug": "log-likelihood-ratio",
  "term": "Log-likelihood ratio",
  "definition": "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.",
  "citations": [
    {
      "id": "cai2017",
      "title": "Cai, Ghose, Haratsch, Luo and Mutlu. Error Characterization, Mitigation, and Recovery in Flash Memory Based Solid-State Drives. 2017, sections 6.2-6.3.",
      "url": "https://arxiv.org/abs/1706.08642",
      "accessed": "2026-10-22"
    },
    {
      "id": "hesela-ldpc",
      "title": "Hesela: LDPC in NAND, the read cost of confidence",
      "url": "https://hesela.com/analyses/ldpc-soft-decoding-read-cost/",
      "accessed": "2026-10-11"
    },
    {
      "id": "zhao13",
      "title": "Zhao, Zhao, Sun, Zhang, Zhang and Zheng. LDPC-in-SSD: Making Advanced Error Correction Codes Work Effectively in Solid State Drives. FAST 2013",
      "url": "https://www.usenix.org/system/files/conference/fast13/fast13-final125.pdf",
      "accessed": "2026-10-22"
    }
  ],
  "provenance": [
    "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."
  ],
  "updated": "2026-10-22"
}
