Neural Classifiers as Error-Correcting Codes
Abstract
A unified framework is proposed that characterizes supervised deep classification as the decoding of error-correcting codes in the Shannon sense. Cross-entropy optimization is shown to align softmax classifiers with maximum-likelihood decoding, where logits map to Hamming distances to class-specific codewords. This correspondence explains the emergence of standard divergence objectives (e.g., Kullback-Leibler, Jeffreys) and provides a geometric basis for the stability of decision boundaries. Furthermore, the geometries of Neural Collapse and LeJEPA are identified as optimal constellations for decoding under isotropic noise. Unlike classical Error-Correcting Output Codes, deep networks are shown to learn effective codebooks in the feature space implicitly. This insight is leveraged to derive novel criteria for lossless quantization, improved knowledge distillation, and architectural regularization based on code redundancy. Finally, this perspective is extended to self-supervised encoders, offering a cohesive explanation for the geometry of latent representations in modern neural models.
Versions
Related
- The Reliability Function of Error-Correcting Output Codes with Noisy Binary Classifiers
- Scalable Mamba-Based Message-Passing Neural Decoder for Error-Correcting Codes
- Four New Single-Error-Correcting Binary Codes
- Error-Correcting Weakly Constrained Codes: Constructions and Achievable Rates
- The Exact Second Generalized Covering Radius of Binary Primitive Triple-Error-Correcting BCH Codes
BibTeX
@misc{salishev2026neural,
title = {{Neural Classifiers as Error-Correcting Codes}},
author = {Sergey Salishev and Anton Makarov and Oleg Granichin and Renata Avros and Zeev Volkovich},
howpublished = {arXiv},
year = {2026},
month = nov,
doi = {10.48550/arxiv.2611.18239},
eprint = {2611.18239},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.18239},
note = {CC BY-NC-ND 4.0},
}
RIS
TY - UNPB
TI - Neural Classifiers as Error-Correcting Codes
AU - Sergey Salishev
AU - Anton Makarov
AU - Oleg Granichin
AU - Renata Avros
AU - Zeev Volkovich
PY - 2026
DA - 2026/11/13
PB - arXiv
DO - 10.48550/arxiv.2611.18239
UR - https://arxiv.org/abs/2611.18239
AB - A unified framework is proposed that characterizes supervised deep classification as the decoding of error-correcting codes in the Shannon sense. Cross-entropy optimization is shown to align softmax classifiers with maximum-likelihood decoding, where logits map to Hamming distances to class-specific codewords. This correspondence explains the emergence of standard divergence objectives (e.g., Kullback-Leibler, Jeffreys) and provides a geometric basis for the stability of decision boundaries. Furthermore, the geometries of Neural Collapse and LeJEPA are identified as optimal constellations for decoding under isotropic noise. Unlike classical Error-Correcting Output Codes, deep networks are shown to learn effective codebooks in the feature space implicitly. This insight is leveraged to derive novel criteria for lossless quantization, improved knowledge distillation, and architectural regularization based on code redundancy. Finally, this perspective is extended to self-supervised encoders, offering a cohesive explanation for the geometry of latent representations in modern neural models.
ER -