TOPICS
Search

Linear Source Coding


Linear source coding compresses a random source vector by applying a linear transformation, while allowing an arbitrary decoding map. For a binary source X in F_2^n, an encoder has the form X|->HX with a binary k×n matrix H, and the rate is k/n. In lossy coding, distortion can be measured by the expected fraction of incorrectly reconstructed bits.

For independent Bernoulli bits with parameter 0<p<=1/2 and allowed distortion 0<=D<=p, the optimal asymptotic rate for linear encoding is

 R_(lin)(D)=h_2(p)(1-D/p),

where h_2(p)=-plgp-(1-p)lg(1-p) is binary information entropy and lg denotes the base-2 logarithm. This rate is achieved by compressing a fraction 1-D/p of the source losslessly and estimating the remaining bits by zero.

The unrestricted rate-distortion function is R(D)=h_2(p)-h_2(D), which is smaller at interior distortions. Thus linearity imposes a genuine cost even though linear encoders suffice for asymptotically lossless compression.

Wu (2026) proved the optimality of the linear rate for all p<1/2, answering the question of Massey and extending Ancheta's p=1/2 result, both documented in that paper. GPT-5.6 Sol discovered the proof in an author-guided process, and Wu simplified and checked it. Independent external review had not been reported as of Sep. 7, 2026.


See also

Bernoulli Distribution, Information Entropy, Linear Map, Rate-Distortion Function

Explore with Wolfram|Alpha

References

Wu, Y. "Entropy of Bernoulli Measures Conditioned on Affine Subspaces and a Problem of Ancheta-Massey." 24 Aug 2026. https://arxiv.org/abs/2608.22837.

Cite this as:

Weisstein, Eric W. "Linear Source Coding." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/LinearSourceCoding.html

Subject classifications