network information theory
Network Coding and Multicast Capacity
You should know: channel capacity, mutual information, error correcting codes
Overview
Network coding is a paradigm in which intermediate network nodes are allowed to combine (encode) incoming packets before forwarding, rather than merely storing and forwarding them. The central result, due to Ahlswede, Cai, Li, and Yeung (2000), is that network coding achieves the max-flow min-cut bound for multicast: the information rate from a source to a set of receivers equals the minimum cut capacity in the network graph. Linear network coding (using operations over finite fields) suffices for multicast, and random linear network coding achieves capacity with high probability.
Intuition
Consider two packets A and B that must cross a bottleneck link. If a node simply forwards one packet, the other must wait. But if the node sends A XOR B, both receivers who already have one packet can recover the other. This seemingly simple trick achieves the maximum possible throughput. The insight generalizes: by treating packets as vectors over a finite field and having intermediate nodes compute linear combinations, a single multicast session can saturate every min-cut in the network simultaneously.
Formal Definition
A network is a directed acyclic graph (DAG) G = (V, E) with a source s and receivers T = {t_1, ..., t_k}. Each edge e has capacity C(e). The max-flow min-cut theorem for networks states:
Notation
| Notation | Meaning |
|---|---|
| Directed network graph with vertices V and edges E | |
| Maximum flow (equivalently, minimum cut) from source s to terminal t | |
| Finite field (Galois field) with q elements | |
| Local coding coefficient: scalar multiplier from edge e' to edge e |
Theorems
Worked Examples
- 1
The butterfly network has source s, a bottleneck edge with capacity 1, and two receivers t1, t2. Without coding, only one of two packets (A, B) can reach both receivers — giving rate 1 per receiver.
- 2
With coding: the node at the bottleneck sends A XOR B on the bottleneck edge.
- 3
Receiver t1 also receives A directly and computes B = z XOR A.
- 4
Receiver t2 also receives B directly and computes A = z XOR B.
- 5
Both receivers decode both packets, achieving rate 2. This matches the min-cut.
✓ Answer
Network coding (XOR at the bottleneck node) achieves the min-cut capacity of 2, which simple routing cannot reach.
Practice Problems
Why does simple routing fail in the butterfly network but network coding succeeds?
What is the advantage of random linear network coding over deterministic coding?
Common Mistakes
Network coding increases the total information capacity of the network.
Network coding does not increase capacity beyond the min-cut bound. It achieves what is already theoretically possible — simple routing leaves capacity on the table in multicast scenarios.
Random linear network coding always succeeds.
It fails with probability bounded by |T|*|E|/q. Over large finite fields, this probability is very small but nonzero. Practical systems use sufficiently large GF(q) to make failure negligible.
Quiz
Historical Background
Classical network theory treated routers as switches: packets are copied and forwarded but never mixed. Shannon's capacity theory applied to point-to-point links. The question of what rates are achievable in networks remained open. In 2000, Ahlswede, Cai, Li, and Yeung proved that allowing nodes to perform XOR or general linear combinations of received packets achieves the max-flow min-cut bound for multicast — a rate that simple routing cannot always achieve. This launched the field of network coding theory, with applications in distributed storage, peer-to-peer networks, and wireless networks.
- 1956
Ford and Fulkerson prove the max-flow min-cut theorem for network flows.
L.R. Ford, D.R. Fulkerson
- 2000
Ahlswede, Cai, Li, and Yeung prove that network coding achieves max-flow min-cut for multicast.
Rudolf Ahlswede, Ning Cai, Shuo-Yen Robert Li, Raymond Yeung
- 2003
Li, Yeung, and Cai show linear network coding suffices for multicast over acyclic networks.
Shuo-Yen Robert Li, Raymond Yeung, Ning Cai
- 2006
Ho et al. introduce random linear network coding, achieving capacity with high probability.
Tracey Ho, Muriel Medard, Ralf Koetter
- 2010
Network coding applied to distributed storage (regenerating codes) by Dimakis et al.
Alexandros Dimakis
Summary
- Network coding allows intermediate nodes to algebraically combine packets, achieving the max-flow min-cut bound for multicast — impossible with simple routing.
- The butterfly network is the canonical example: XOR coding at a bottleneck node allows two receivers to each decode two packets.
- Linear network coding over finite fields GF(q) suffices for multicast; random linear network coding achieves capacity with probability 1 -- |T|*|E|/q.
- Applications include distributed storage, peer-to-peer file sharing, wireless relay networks, and satellite broadcasting.
References
- PaperAhlswede, R., Cai, N., Li, S.-Y. R., Yeung, R. W. (2000). Network Information Flow. IEEE Transactions on Information Theory, 46(4), 1204-1216.
- PaperLi, S.-Y. R., Yeung, R. W., Cai, N. (2003). Linear Network Coding. IEEE Transactions on Information Theory, 49(2), 371-381.
- BookYeung, R. W. (2008). Information Theory and Network Coding. Springer.
- WebsiteWikipedia — Network coding
Mathematics