Triangular network coding

In coding theory, triangular network coding (TNC) is a non-linear network coding based packet coding scheme introduced by. Previously, packet coding for network coding was done using linear network coding (LNC). The drawback of LNC over large finite field is that it resulted in high encoding and decoding computational complexity. While linear encoding and decoding over GF(2) alleviates the concern of high computational complexity, coding over GF(2) comes at the tradeoff cost of degrading throughput performance.

The main contribution of triangular network coding is to reduce the worst-case decoding computational complexity of $$O(n^3)$$ to $$O(n^2)$$ (where n is the total number of data packets being encoded in a coded packet) without degrading the throughput performance, with code rate comparable to that of optimal coding schemes.

Triangular code has also been proposed as Fountain code to achieve near-optimal performance with encoding and decoding computational complexity of $$O(n\log n)$$. It has been further shown that triangular based fountain code can even outperform optimized Luby transform code.

Coding and decoding


In TNC, coding is performed in two stages. First redundant "0" bits are added at the head and tail of each packet such that all packets are of uniform bit length. Then the packets are XOR coded, bit-by-bit. The "0" bits are added in such a way that these redundant "0" bits added to each packet generate a triangular pattern.

In essence, the TNC decoding process, like the LNC decoding process involves Gaussian elimination. However, since the packets in TNC have been coded in such a manner that the resulting coded packets are in triangular pattern, the computational process of triangularization, with complexity of $$O(n^3)$$, where $$n$$ is the number of packets, can be bypassed. The receiver now only needs to perform back-substitution, with worst-case complexity given as $$O(n^2)$$ for each bit location.