Exercises

ex-ch05-01

Easy

For a polynomial code with p=4,q=5p = 4, q = 5, what are the per-worker storage ΞΌ\mu, the recovery threshold KK, and the degree of the product polynomial pC(x)p_C(x)?

ex-ch05-02

Easy

A polynomial code uses N=30N = 30 workers with p=q=4p = q = 4. What is the maximum number of stragglers the master can tolerate?

ex-ch05-03

Easy

State why the polynomial code requires the field Fq\mathbb{F}_q to satisfy qβ‰₯Nq \geq N.

ex-ch05-04

Easy

Compare the recovery threshold of the polynomial code and MDS-coded replication for p=q=4p = q = 4.

ex-ch05-05

Medium

Construct a polynomial code for p=2,q=3p = 2, q = 3 over F11\mathbb{F}_{11} with N=8N = 8 workers and evaluation points Ξ±k=k\alpha_k = k. Write out worker 5's stored matrices and response.

ex-ch05-06

Medium

Prove that the encoding polynomial pC(x)=pA(x)TpB(x)p_C(x) = p_A(x)^T p_B(x) in Β§5.2 has the desired output blocks Cij\mathbf{C}_{ij} as the coefficients of xi+pjx^{i + pj} (for i∈{0,…,pβˆ’1}i \in \{0, \ldots, p-1\}, j∈{0,…,qβˆ’1}j \in \{0, \ldots, q-1\}).

ex-ch05-07

Medium

For a polynomial code with p=q=3p = q = 3, N=12N = 12, simulate (on paper or in your head) which K=9K = 9 workers respond when {3,7,12}\{3, 7, 12\} straggle. Verify that decoding still succeeds.

ex-ch05-08

Medium

Show that the decoder complexity of polynomial codes can be reduced from O(K2)O(K^2) (naive Lagrange) to O(Klog⁑2K)O(K \log^2 K) using FFT-based interpolation. When does the FFT speedup matter in practice?

ex-ch05-09

Medium

Compute the storage requirement of an MDS-coded matrix multiplication scheme that achieves K=p+qβˆ’1K = p + q - 1 for p=q=4p = q = 4. Compare with the polynomial code's ΞΌ=1/p+1/q\mu = 1/p + 1/q.

ex-ch05-10

Medium

A polynomial-code system runs at p=q=8p = q = 8 on N=80N = 80 workers with i.i.d. exponential task times of rate Ξ»=1\lambda = 1. Compute the expected wall-clock time per matrix multiplication (assuming K=pqK = pq responses needed).

ex-ch05-11

Hard

Prove that the TT-private polynomial code of Β§5.4 leaks no information to any size-TT coalition. State the privacy guarantee precisely in mutual-information terms.

ex-ch05-12

Hard

Sketch the TT-private polynomial-code construction for matrix-vector multiplication (Ax\mathbf{A}\mathbf{x} instead of ATB\mathbf{A}^T \mathbf{B}), with pp row partitions of A\mathbf{A}. What is the recovery threshold?

ex-ch05-13

Hard

Consider the MatDot (entangled polynomial) variant of Section 5.4: it achieves recovery threshold K=p+qβˆ’1K = p + q - 1 at storage ΞΌ=1/p+1/q\mu = 1/p + 1/q β€” better than polynomial codes on KK. Why is this not a contradiction with the lower-bound converse of Β§5.3?

ex-ch05-14

Hard

A production system uses a polynomial code over the reals with K=100K = 100. The Vandermonde decoder matrix has condition number ∼1060\sim 10^{60} at integer evaluation points, completely unusable. Propose three distinct strategies to fix this without changing the recovery threshold.

ex-ch05-15

Challenge

Open problem. For coded matrix multiplication with non- symmetric storage budgets (μk≠μj\mu_k \neq \mu_j across workers), the optimal recovery threshold is not known in full generality. Sketch a candidate construction that combines polynomial codes with unequal per-worker storage, and discuss what the recovery-threshold formula might look like.