Exercises

ex-ch27-01

Easy

For the MAN scheme with N=6N = 6 files, K=3K = 3 users, and M=2M = 2, compute: (a) the coded caching parameter tt, (b) the number of sub-files per file, (c) the delivery load, and (d) the coded multicasting gain.

ex-ch27-02

Easy

Verify the MAN scheme for N=K=3N = K = 3, M=1M = 1 (t=1t = 1). Explicitly list: (a) the sub-file assignment to each cache, (b) the coded delivery messages for the worst-case demand (d1,d2,d3)=(1,2,3)(d_1, d_2, d_3) = (1, 2, 3).

ex-ch27-03

Easy

Compare the delivery load of coded and uncoded caching for N=20N = 20, K=10K = 10, and M∈{0,2,4,6,8,10,20}M \in \{0, 2, 4, 6, 8, 10, 20\}.

ex-ch27-04

Easy

Show that the MAN placement is valid: verify that user kk's cache size equals MFMF when each file is split into (Kt)\binom{K}{t} sub-files and user kk caches all sub-files indexed by sets containing kk.

ex-ch27-05

Easy

For the MAN scheme, what is the subpacketization (number of sub-files per file) for K=10,t=3K = 10, t = 3 and K=20,t=5K = 20, t = 5? Comment on the practical feasibility for 1 GB video files.

ex-ch27-06

Medium

Prove that the MAN delivery load R=(Kβˆ’t)/(t+1)R = (K-t)/(t+1) is a convex function of MM for integer t=KM/Nt = KM/N, and that the lower convex envelope (via memory sharing) gives the piecewise-linear curve connecting the integer-tt points.

ex-ch27-07

Medium

For the MISO coded caching system with L=3L = 3 antennas, K=9K = 9 users, N=9N = 9 files, and M=3M = 3 (t=3t = 3):

(a) Compute the NDT. (b) How many time slots are needed for delivery? (c) How many zero-forcing beamforming vectors are needed per slot?

ex-ch27-08

Medium

Show that the index coding problem induced by the MAN placement with demand (d1,…,dK)=(1,2,…,K)(d_1, \ldots, d_K) = (1, 2, \ldots, K) (all distinct, Nβ‰₯KN \ge K) has a side-information graph that is a union of complete bipartite graphs.

ex-ch27-09

Medium

Derive the memory-load tradeoff for the decentralized coded caching scheme (Maddah-Ali and Niesen, 2015), where each user independently caches each bit of each file with probability q=M/Nq = M/N.

Show that the expected delivery load is approximately: Rdecβ‰ˆK(1βˆ’q)K+11βˆ’(1βˆ’q)Kβ‹…1qR_{\text{dec}} \approx \frac{K(1-q)^{K+1}}{1-(1-q)^K} \cdot \frac{1}{q} and compare with the centralized MAN scheme.

ex-ch27-10

Medium

For a Fog-RAN system with L=4L = 4 edge nodes, K=8K = 8 users, N=20N = 20 files, edge cache Medge=5M_{\text{edge}} = 5, and user cache Muser=2M_{\text{user}} = 2, compute the NDT assuming sufficient fronthaul.

ex-ch27-11

Medium

Show that for K=NK = N and t=1t = 1 (each user caches M=1M = 1 file), the MAN scheme requires each file to be split into only KK sub-files, and the delivery consists of (K2)\binom{K}{2} pairwise XORs. Verify that the total delivery load is (Kβˆ’1)/2(K-1)/2.

ex-ch27-12

Medium

In a D2D coded caching network with K=100K = 100 users, N=50N = 50 files, and M=5M = 5 files per cache, compute: (a) The per-user throughput scaling. (b) Compare with uncoded D2D caching. (c) If users are clustered into groups of Kc=10K_c = 10, what is the effective multicasting gain per cluster?

ex-ch27-13

Hard

Prove the index coding lower bound for the MAN placement: for demand (d1,…,dK)=(1,…,K)(d_1, \ldots, d_K) = (1, \ldots, K) (all distinct, N=KN = K) and uncoded placement with t=KM/Nt = KM/N:

RFβ‰₯βˆ‘k=1KH(Wk∣Zk,W1,…,Wkβˆ’1).RF \ge \sum_{k=1}^{K} H(W_k | Z_k, W_1, \ldots, W_{k-1}).

Show this equals (Kβˆ’t)F/(t+1)(K-t)F/(t+1) for the MAN symmetric placement.

ex-ch27-14

Hard

For the MISO coded caching system, prove that the zero-forcing beamforming is feasible: show that for each batch of LL multicast groups S1,…,SL\mathcal{S}_1, \ldots, \mathcal{S}_L (each of size t+1t+1), the beamforming vectors v1,…,vL∈CL\mathbf{v}_1, \ldots, \mathbf{v}_L \in \mathbb{C}^L can be designed such that each multicast message is received interference-free by its target users.

ex-ch27-15

Hard

Derive the throughput scaling of D2D coded caching more carefully. For KK users uniformly distributed in a unit square with D2D range rr:

(a) Show that r=Θ(1/K)r = \Theta(1/\sqrt{K}) ensures connectivity (each user has Θ(1)\Theta(1) neighbors).

(b) Show that Θ(K)\Theta(K) non-interfering transmissions can be scheduled simultaneously.

(c) Combine with the coded multicasting gain to derive T=Θ(M/N)T = \Theta(M/N).

ex-ch27-16

Hard

Extend the MAN scheme to heterogeneous cache sizes: user kk has cache size MkFM_k F (not all equal). Show that the delivery load with uncoded placement is:

R≀Kβˆ’βˆ‘S1(K∣S∣)∏k∈Sqk∏kβˆ‰S(1βˆ’qk)R \le K - \sum_{\mathcal{S}} \frac{1}{\binom{K}{|\mathcal{S}|}} \prod_{k \in \mathcal{S}} q_k \prod_{k \notin \mathcal{S}} (1 - q_k)

where qk=Mk/Nq_k = M_k/N is user kk's cache fraction.

ex-ch27-17

Hard

Show that the factor-of-2 gap between the general converse and the MAN achievability can be closed to a factor of 11 for the special case K=2K = 2 with arbitrary coded placement. That is, prove Rβˆ—(M)=2(1βˆ’M/N)/(1+2M/N)R^*(M) = 2(1-M/N)/(1+2M/N) for K=2K = 2 and any placement strategy.

ex-ch27-18

Challenge

Research-level. The MAN scheme has subpacketization (Kt)\binom{K}{t} which is exponential in KK. Design a coded caching scheme based on combinatorial designs (Steiner systems or resolvable designs) that achieves subpacketization polynomial in KK while losing at most a constant factor in the coded multicasting gain.

ex-ch27-19

Challenge

Open problem flavor. Consider coded caching with a heterogeneous file library where file nn has popularity pnp_n following a Zipf distribution: pn=nβˆ’Ξ³/βˆ‘m=1Nmβˆ’Ξ³p_n = n^{-\gamma} / \sum_{m=1}^N m^{-\gamma} for parameter Ξ³>0\gamma > 0.

(a) Propose a popularity-aware coded caching scheme that groups files by popularity and applies the MAN scheme within each group.

(b) Derive the expected delivery load (averaged over random demands drawn from the Zipf distribution).

(c) Show that for Ξ³>1\gamma > 1 (heavy tail), the expected load decreases as Θ(K1βˆ’Ξ³)\Theta(K^{1-\gamma}), which can be much better than the worst-case MAN load.

ex-ch27-20

Challenge

Implementation project. Simulate a coded caching system with N=20N = 20 files, K=10K = 10 users, and cache sizes M/N∈{0,0.1,0.2,…,1}M/N \in \{0, 0.1, 0.2, \ldots, 1\}.

(a) Implement the MAN placement and delivery for integer-valued tt.

(b) For each MM, generate 1000 random demand vectors and compute the average delivery load.

(c) Compare the average load with the worst-case load RMAN(M)R_{\text{MAN}}(M).

(d) Overlay the uncoded caching baseline and the converse bounds.