Exercises

ex-cc-ch02-01

Easy

For K=6K = 6, t=2t = 2, compute the MAN subpacketization FF, the number of coded messages, the size of each coded message, and the rate RR.

ex-cc-ch02-02

Easy

For the MAN scheme, verify that each user's cache holds exactly MFM F bits by computing the total number of subfiles and multiplying by subfile size, for K=5K = 5, t=3t = 3, N=10N = 10.

ex-cc-ch02-03

Easy

State the identity (Kt+1)/(Kt)=(Kβˆ’t)/(t+1)\binom{K}{t+1}/\binom{K}{t} = (K-t)/(t+1) and prove it from the definition of binomial coefficients.

ex-cc-ch02-04

Easy

For the demand vector d=(1,1,1,1)\mathbf{d} = (1, 1, 1, 1) on K=4K = 4, t=2t = 2, Nβ‰₯1N \geq 1 (all users request the same file), compute the MAN delivery rate.

ex-cc-ch02-05

Easy

Explain in one paragraph why the XOR cancellation in MAN delivery works for any demand vector d\mathbf{d}, not just specific ones.

ex-cc-ch02-06

Medium

Cache budget equality. Using the identity (Kβˆ’1tβˆ’1)/(Kt)=t/K\binom{K-1}{t-1}/\binom{K}{t} = t/K, prove carefully that user kk's cache stores exactly MFM F bits, where M=tN/KM = tN/K.

ex-cc-ch02-07

Medium

Demand-dependent vs worst-case rate. Show that under MAN delivery, if all KK users request the same file, the achievable rate is actually (Kβˆ’t)/(t+1)β‹…(1βˆ’1/(Kβˆ’t))(K-t)/(t+1) \cdot (1 - 1/(K-t))... wait, that's not right. Actually: with all-same demands, MAN sends (Kβˆ’1t)\binom{K-1}{t} distinct messages (after de-duplication), because many XSβ€²X_{\mathcal{S}'} are equal. Derive this rate.

ex-cc-ch02-08

Medium

Convex envelope vs continuous formula. For K=10K = 10, M=0.15NM = 0.15 N, compute (a) the naive continuous formula Rcont=K(1βˆ’M/N)/(1+KM/N)R_{\text{cont}} = K(1-M/N)/(1+KM/N) and (b) the memory-shared rate from the convex envelope at t=1.5t = 1.5. Quantify the gap.

ex-cc-ch02-09

Medium

Show the coded gain 1+t1 + t is tight. Prove that for any demand vector d\mathbf{d} under MAN delivery, at most t+1t + 1 users can be simultaneously satisfied by a single XOR message.

ex-cc-ch02-10

Medium

Subpacketization scaling. For fixed memory ratio ΞΌ=0.2\mu = 0.2, what value of KK makes the subpacketization (KKΞΌ)\binom{K}{K\mu} exceed the number of bits in a 4 GB video file (F=3.2Γ—1010F = 3.2 \times 10^{10} bits)? Use the Stirling approximation (KKΞΌ)β‰ˆ2Khb(ΞΌ)\binom{K}{K\mu} \approx 2^{K h_b(\mu)}.

ex-cc-ch02-11

Medium

Decentralized placement (preview). In a decentralized version of MAN (Maddah-Ali–Niesen 2015), each user independently caches each bit with probability M/NM/N, with no coordination. Show that the rate-memory tradeoff approaches the centralized MAN formula as Fβ†’βˆžF \to \infty.

ex-cc-ch02-12

Hard

Proof: decoding only requires the (t+1)(t+1)-subsets containing kk. Prove rigorously that user kk can decode WdkW_{d_k} from the (Kβˆ’1t)\binom{K-1}{t} messages XSβ€²X_{\mathcal{S}'} with k∈Sβ€²k \in \mathcal{S}', and that the other messages (with kβˆ‰Sβ€²k \notin \mathcal{S}') are unnecessary for user kk.

ex-cc-ch02-13

Hard

Generalized MAN with coded placement (Chen-Fan-Letaief). Prove that any placement in which subfile Wn,SW_{n,\mathcal{S}} is cached by all users in S\mathcal{S}, for any chosen family of subsets S\mathcal{S} (not necessarily all tt-subsets), admits a delivery rate of R=R = (number of distinct (t+1)(t+1)-subsets Sβ€²\mathcal{S}' such that Sβ€²βˆ–{k}\mathcal{S}' \setminus \{k\} is in the family, for some k∈Sβ€²k \in \mathcal{S}') / FF. Is this always at least the MAN rate?

ex-cc-ch02-14

Challenge

The asymptotic gain formula. Prove that as Kβ†’βˆžK \to \infty with fixed memory ratio ΞΌ=M/N∈(0,1)\mu = M/N \in (0, 1), lim⁑Kβ†’βˆžRMAN(ΞΌ)β€…β€Š=β€…β€Š1βˆ’ΞΌΞΌ.\lim_{K \to \infty} R_{\text{MAN}}(\mu) \;=\; \frac{1 - \mu}{\mu}. Interpret this limit: what does it say about the fundamental link-load scaling under coded caching?

ex-cc-ch02-15

Challenge

Prove the MAN scheme is a valid (M,R)(M, R) scheme even for partially non-distinct demands. Show that if d1=d2d_1 = d_2 (two users request the same file), both users still decode their (common) requested file correctly under the stated delivery.