Skip to content
DraconiticResearch
Search Sources API
276,906 studies31 sourcesUpdated 18 min ago
PreprintCC BY 4.0arXiv

When Is Product Decoding of ECOC MAP-Consistent? Pair Structure and the n-vs-Rest Codes

Abstract

Error-Correcting Output Codes (ECOC) combine binary classifiers by the sum decoder, which totals probabilities, or the product decoder, which totals log-likelihoods. In the noiseless setting, where the binary classifiers output the true posteriors, we ask on which code matrices each decoder always agrees with the Bayes-optimal (MAP) class. For the sum decoder the answer is known: the code must be equidistant (James and Hastie, 1998). We answer the question for the product decoder. Two classes are compared through the votes of the columns on which they differ: the sum decoder decides by their sample mean, the product decoder by an M-estimator with influence function artanh, and each vote is the MAP margin plus a bias determined by the other classes alone. Our main theorem states that the product decoder is MAP-consistent if and only if, for every class pair, the columns on which the two classes differ are matched with the columns obtained by swapping the two classes (or their complements), and equivalently if and only if the code is a union of n-vs-Rest codes. Efficient equidistant codes are therefore excluded: Hadamard codes (M≥ 8), which meet the Plotkin bound with M−1 columns, have no such pairs, and for the Sylvester type the reversal margin can be at least a constant 0.0182 independent of M. All theorems are machine-checked in Lean 4. On six real datasets with estimated probabilities, the product decoder is slightly more accurate when each column is calibrated, and the sum decoder is better when the calibration error differs across columns; in either case the decoders disagree only near ties.

Related

  1. Iterative Bounded Distance Decoding With 2-Bit Reliability Marker For Product-Like Codes
    Xiaowei Wu, Min Qiu, Yueying Zhan +1
    arXivPreprintarXiv licenceFull textGeneral mathematicsarXiv
  2. Anchored Iterative Decoding of Reed-Solomon Product Codes for High-Rate Magnetic Tape Storage
    Alexander Chvanov, Nikolay Malkovsky
    arXivPreprintarXiv licenceFull textGeneral mathematicsarXiv
  3. The Value of Duplicate Measurements When Decoding Second-Order Reed-Muller Codes
    Ziang Gao, Robert Calderbank
    arXivPreprintarXiv licenceFull textGeneral mathematicsarXiv
  4. Algorithmic List Decoding of Reed-Solomon Codes up to Capacity
    Joshua Brakensiek, Yeyuan Chen, Aaron Putterman +2
    arXivPreprintCC BY 4.0Full text18 citedCombinatorics & discrete mathematicsarXivOpenAlex
  5. Reed-Solomon Codes at Capacity: Algorithmic List-Decoding and Proximity Gaps
    Prahladh Harsha, Mrinal Kumar, Ramprasad Saptharishi
    arXivPreprintCC BY 4.0Full textGeneral mathematicsarXiv
BibTeX
@misc{kumoi2026when,
  title = {{When Is Product Decoding of ECOC MAP-Consistent? Pair Structure and the n-vs-Rest Codes}},
  author = {Gendo Kumoi},
  howpublished = {arXiv},
  year = {2026},
  month = nov,
  doi = {10.48550/arxiv.2611.33044},
  eprint = {2611.33044},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33044},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - When Is Product Decoding of ECOC MAP-Consistent? Pair Structure and the n-vs-Rest Codes
AU  - Gendo Kumoi
PY  - 2026
DA  - 2026/11/24
PB  - arXiv
DO  - 10.48550/arxiv.2611.33044
UR  - https://arxiv.org/abs/2611.33044
AB  - Error-Correcting Output Codes (ECOC) combine binary classifiers by the sum decoder, which totals probabilities, or the product decoder, which totals log-likelihoods. In the noiseless setting, where the binary classifiers output the true posteriors, we ask on which code matrices each decoder always agrees with the Bayes-optimal (MAP) class. For the sum decoder the answer is known: the code must be equidistant (James and Hastie, 1998). We answer the question for the product decoder. Two classes are compared through the votes of the columns on which they differ: the sum decoder decides by their sample mean, the product decoder by an M-estimator with influence function artanh, and each vote is the MAP margin plus a bias determined by the other classes alone. Our main theorem states that the product decoder is MAP-consistent if and only if, for every class pair, the columns on which the two classes differ are matched with the columns obtained by swapping the two classes (or their complements), and equivalently if and only if the code is a union of n-vs-Rest codes. Efficient equidistant codes are therefore excluded: Hadamard codes (M≥ 8), which meet the Plotkin bound with M−1 columns, have no such pairs, and for the Sylvester type the reversal margin can be at least a constant 0.0182 independent of M. All theorems are machine-checked in Lean 4. On six real datasets with estimated probabilities, the product decoder is slightly more accurate when each column is calibrated, and the sum decoder is better when the calibration error differs across columns; in either case the decoders disagree only near ties.
ER  -