matrix embedding
termKept in this browser · My desk
A coding technique that carries several message bits in a block of changeable elements with fewer changes than one per bit, the recipient reading the message as a syndrome of a public parity-check matrix.
Ron Crandall described it in a note of 18 December 1998: three cells a, b and c carry two bits as a XOR c and b XOR c, and at most one cell ever needs to change; the family uses the decoding matrix of Hamming codes. Westfeld first implemented it in F5 (2001), and Filler, Judas and Fridrich generalized the idea in 2011 as syndrome-trellis codes, which minimize an arbitrary additive cost and drive the content-adaptive schemes HUGO, WOW and UNIWARD.
The arithmetic. With one change allowed, a block of n = 2^k − 1 elements carries k bits; the change density is 1/(n + 1) and the embedding efficiency, message bits per change, is k divided by n/(n + 1), always above k. For k = 2 this is 2.67 bits per change, for k = 3 it is 3.43 and for k = 8 it is 8.03, at embedding rates of 66.7%, 42.9% and 3.1%: high efficiency only for short messages. Crandall named designs by (changes, cells, bits), such as (1, 3, 2) and (1, 31, 5). From Hamming codes to trellis codes. In syndrome coding the recipient computes H times the vector of extracted bits; the sender must find, among all vectors with the right syndrome, the one closest to the cover. Syndrome-trellis codes give H a narrow band structure so that the search becomes a Viterbi shortest path with linear time and space, near the theoretical bound, and allow elements with infinite cost (the wet paper channel). Fridrich, Pevný and Kodovský found in 2007 that matrix embedding markedly improves security because it dilutes the number of changes.
Also known as: matrix encoding, syndrome coding, syndrome-trellis codes, stc, hamming code steganography, codificação matricial
Sources
- Crandall, Some Notes on Steganography, 18 December 1998 (read 2026-11-17): the (1, 3, 2) design, Hamming codes, (1, 7, 3), (1, 15, 4), (1, 31, 5)
- Westfeld, F5: ein steganographischer Algorithmus, VIS 2001 (read 2026-11-17): (dmax, n, k) codes, change density, embedding rate and efficiency table
- Filler, Judas and Fridrich, Minimizing Additive Distortion in Steganography Using Syndrome-Trellis Codes, IEEE TIFS 2011 (read 2026-11-17): Crandall's 1998 mailing-list essay, Bierbrauer, syndrome coding, Viterbi, linear complexity
- Fridrich, Pevný and Kodovský, ACM MM&Sec 2007 (read 2026-11-17): matrix embedding markedly improves security by diluting the number of changes