Delivery Phase: XOR Coded Multicast
The Combinatorial Magic
The delivery phase is where the real cleverness lives. Given the placement we just built, the server wants to send a short message that simultaneously satisfies all users. The scheme's core trick is to index the coded messages by -subsets β one message per subset, summing over the users' missing subfiles.
The beauty: each user in the -subset is missing exactly one of the summands (the one indexed by the -subset not containing that user), and has all others in its cache. XOR then cancels everything except the one summand the user needs β pure information-theoretic interference cancellation, via the algebra of .
MAN Delivery Algorithm
Complexity: Number of coded messages: . Each message is one XOR of subfiles, each of size . Total delivery bits: .Theorem: Each User Decodes Its Requested File
Under the MAN placement and delivery of this chapter, every user can recover using its cache and the coded messages .
User 's missing subfiles of are for -subsets with β a total of missing subfiles. The coded messages containing (there are of them, one per -subset containing ) provide exactly those missing subfiles.
Fix a user $k$ and a missing subfile $W_{d_k, \mathcal{T}}$
User needs for every -subset with . Fix one such .
Identify the coded message that delivers it
Let β a -subset containing . The coded message is The summand for is β exactly what user needs.
Show all other summands are in user $k$'s cache
For (i.e., ), the summand is . The index set is , which contains (because ). By the placement rule, user has this subfile in cache. β
Decode via XOR cancellation
User computes where the second XOR is over subfiles all in . Thus user recovers .
Repeat over all $\binom{K-1}{t}$ missing subfiles
Since was an arbitrary -subset not containing , user recovers all missing subfiles. Combined with the cached subfiles, user has all subfiles of β the entire file.
Example: Delivery Walkthrough: , , Demand
For , , , and demand vector (all distinct), write out all coded messages and verify user 1 can decode .
List $(t+1)$-subsets
-subsets of : . Four messages.
Compute each coded message
.
.
.
.
User 1 decodes W_1
User 1 has in cache: for each . Missing: .
User 1 uses : the summand is missing, but and are in cache. XOR-cancel: recover .
From : recover (cancel ).
From : recover (cancel ).
User 1 now has all subfiles of . β Similar for users 2, 3, 4.
Count messages and rate
4 coded messages, each of size . Total bits: . Rate file. MAN formula: . Quick check: . β Match.
Coded Multicast Structure
Visualize the structural quantities of the MAN delivery phase: the number of users served per coded message (), the number of coded messages transmitted (), the subpacketization per file (), and the uncoded baseline ( unicasts). Log-scale y-axis to span orders of magnitude.
Parameters
Connection to Index Coding
The delivery phase is an instance of the index coding problem: given users with side information and conflicting demands, find the minimum-length broadcast to satisfy them all. For the MAN structure, the specific placement makes the index coding problem nice (its optimum is achieved by simple XORs). For general placements, index coding is NP-hard β we return to this in Chapter 4.
Historical Note: From Network Coding to Coded Caching
2000β2014The idea that XORs can simultaneously carry information for multiple receivers has a distinguished history. Ahlswede, Cai, Li, and Yeung (2000) introduced network coding; the butterfly network showed XOR multicasting beats routing. Katti et al. (2008) demonstrated it in practice ("COPE: XORs in the Air"). Maddah-Ali and Niesen (2013β2014) then showed that this same idea β encoded across pre-placed caches β could eliminate the link bottleneck in CDN-like settings.
What was genuinely new was not the XOR delivery; it was that the caches could be designed specifically to make XOR delivery extraordinarily efficient. The combinatorial placement is a design choice that makes the delivery phase simple and short. This conceptual separation β engineer the side information for the receiver β marks coded caching's departure from classical network coding.