arXiv:2610.13554cs.ITOct 2026

Manuscript Offprint

arXiv:2610.13554

Neural Polar Codes for Source Coding

Bashar Huleihel, Ziv Aharoni, Haim H. Permuter

Abstract

This paper presents a data-driven approach to lossless and lossy source compression using polar codes. Classical polar source coding achieves fundamental compression limits with low complexity for binary memoryless sources. For unknown q-ary sources with memory, however, successive-cancellation decoding requires an explicit source model, and its complexity grows rapidly with alphabet and state-space sizes. For comparison, we present analytical successive-cancellation recursions and show that exact implementations scale quadratically with alphabet size and cubically with state-space size. Motivated by these bottlenecks, we employ neural polar decoders trained directly from data, eliminating the need for an explicit source model and reducing decoding complexity. Once trained, the neural polar decoders approximate conditional distributions of the synthetic polar coordinates. These learned distributions are used both to estimate information-theoretic quantities, including entropy rates, mutual information, and rate-distortion functions, and to construct explicit polar compression schemes. For lossless compression, the neural polar decoder identifies high-entropy polarized coordinates and reconstructs the remaining coordinates through the learned successive-cancellation recursion. For lossy compression, we combine neural polar decoders with a neural test channel to estimate and optimize the mutual-information-distortion tradeoff and construct an explicit lossy polar code. We further extend the framework to the Wyner–Ziv setting with decoder side information by learning conditional polarized distributions and a reconstruction mapping. Experiments on memoryless sources, sources with memory, and real genomic data show that the learned decoders closely match analytical successive-cancellation decoders when available and remain applicable when classical polar methods are computationally infeasible or the required source model is unavailable.

Index Terms

Polar codes, lossless compression, lossy compression, data-driven approach, neural polar decoders.

References (50)