Exercises
ex-cc-ch04-01
EasyFor the butterfly instance (two users, two files, each has the other's demand as side information), compute the chromatic number of the conflict graph and the broadcast rate.
The conflict graph has two vertices and no edges β why?
Chromatic number of an edgeless graph is 1.
Conflict check
, so β non-edge. Similarly for . Graph has no edges. , . One XOR message suffices.
ex-cc-ch04-02
EasyExplain in one paragraph why chromatic number upper-bounds the broadcast rate but does not always equal it.
Chromatic number is achievable by XOR coding; non-linear codes can do more.
Answer
Each color class in a proper coloring is an independent set of the conflict graph β meaning the corresponding receivers are pairwise compatible for XOR delivery. Hence coded messages suffice. But non-linear codes (e.g., using algebraic structure beyond XOR) can combine information more efficiently in certain graphs, beating the chromatic bound. Known examples: Kneser-graph instances with and .
ex-cc-ch04-03
EasyConstruct the MAN conflict graph for , . List vertices, edges, and compute and .
Vertices are (user , 1-subset with ).
, .
Vertices
For : β vertices , . Similarly for . Total: 6 vertices.
Independent sets (color classes)
-subsets: . Each corresponds to one color class. : , size 2. : , size 2. : , size 2.
Conclude
, . Rate: file, matching the MAN formula . β
ex-cc-ch04-04
EasyGive an example of a 3-vertex conflict graph with and describe the corresponding index coding instance.
Triangle graph.
Triangle
(complete graph on 3 vertices) has and . Corresponds to 3 receivers with no useful side information about each other's demands: three distinct files, three distinct demands, empty side information. Index coding rate: (pure unicast).
Observation
No coding helps when side information is empty β every file must be transmitted once.
ex-cc-ch04-05
EasyState the relationship between index coding rate , linear index coding rate , and fractional chromatic number of the conflict graph.
, .
Chain
. Linear codes are a restriction, so . XOR coloring realizes colors, so . LP relaxation gives . For MAN graphs, all values between and collapse to a single number.
ex-cc-ch04-06
MediumMAN rate via conflict graph. For , , count vertices and independent sets of the MAN conflict graph, and verify the MAN rate formula.
.
.
Counts
. Each 3-subset of gives one color class of size 3. color classes.
Rate
10 messages of size each. Total: 10 Β· 1/10 = 1 file. MAN formula: . β
ex-cc-ch04-07
MediumLP vs integer. For , (so , non-integer), compare the LP lower bound on rate (continuous formula ) with the MAN integer- envelope rate (memory-sharing between and ). Quantify the gap.
Continuous formula: .
Memory-shared: .
Continuous
.
Memory-shared
, . Average: 3.58.
Gap
Memory-shared rate exceeds continuous by about 5%. The gap is the rounding error from integer- constraint. In practice, closes this gap.
ex-cc-ch04-08
MediumGreedy coloring ordering. Show with an example that greedy coloring's output depends on the vertex ordering. Construct a graph where one ordering yields colors and another yields colors.
Try a path graph for .
Ordering by 'hard' vertices first (Welsh-Powell) vs random.
Path example
. .
Ordering : , (no neighbors colored), (neighbors use 0), (neighbor uses 0). Uses 2 colors. β
Ordering : , , , . Uses 2 colors. Also optimal.
Pathological ordering for general graphs: consider a graph where an adversarial ordering can force greedy to use many more colors than . See Welsh-Powell analysis.
Lesson
The Welsh-Powell heuristic (vertices by decreasing degree) is often close to optimal. For MAN graphs, the natural "lex-subset" ordering is always optimal β an artifact of the transitivity.
ex-cc-ch04-09
MediumNon-linear gap. Look up Lubetzky-Stav (2009): construct the smallest known index coding instance where non-linear codes strictly beat linear codes, and state the rate gap.
Hint: they use a Kneser graph construction.
Construction
Lubetzky-Stav construct an index coding instance on receivers with non-linear rate and linear rate. The instance is based on the Kneser graph where non-linear (algebraic) codes exploit the intersection structure of -subsets.
Significance
This shows that restricting to XOR-based delivery (the natural choice for MAN-style schemes) is not sufficient to achieve the optimal index coding rate in general. For the structured MAN family, fortunately, linear suffices.
ex-cc-ch04-10
MediumClique cover bound. Given a conflict graph with clique cover number , show that ... wait, that's not quite right. State and prove the correct clique-based lower bound.
The independent set lower-bounds .
The clique number .
Correct bound
. The clique number of the complement graph equals : a clique in is an independent set in .
Proof outline
Let be a max independent set. Any two receivers in have mutually compatible demands (non-edge in ). But each receiver still needs fresh bits. A lower bound is hence bits transmitted.
Application to MAN
, giving a per-color-class lower bound of bits. Multiplied by the color classes... this actually is the MAN rate. Full equality: . Chapter 4 formalism closes.
ex-cc-ch04-11
MediumReducibility. Show that an index coding instance with a receiver that has no side information is equivalent to a smaller instance where that receiver is removed and its demanded file is broadcast at rate 1.
Empty side information = unicast transmission required.
Argument
A receiver with cannot XOR-decode; it must receive in full (via a separate transmission slot). Total broadcast rate: where is the reduced instance with this receiver (and maybe ) removed.
Consequence for coded caching
In MAN, every user has subfiles of its demand β non-empty side information. The reduction does not apply, which is consistent with the compact rate formula.
ex-cc-ch04-12
HardProve the LP-integrality of MAN. Show that for the MAN conflict graph , the fractional chromatic number .
always.
For vertex-transitive graphs, .
Vertex-transitivity
We showed in Β§4.4 that is vertex-transitive. For vertex-transitive graphs, the LP relaxation optimum equals (a classical result).
Compute
, . . β
LP integrality
Since equals the integer , the LP relaxation is tight. The MAN coloring (one color per -subset) realizes the optimum.
ex-cc-ch04-13
HardIndex coding with correlated side information. Extend the butterfly example: two receivers, but now each has access to a noisy version of the other's demand (mutual information between side information and demand). What is the achievable rate?
This is not classical index coding β consider it a capacity problem.
Use the entropy bound directly.
Entropy argument
, where is the mutual information normalized by file size. Similarly for .
Joint broadcast
The server must send enough to decrease . Rate lower bound: per receiver, totalling via joint encoding potentially combined. An XOR over partial-information bits suffices.
Interpretation
Correlated side information reduces the effective index coding rate by a factor . This is the precursor to the correlated-files coded caching of Chapter 3's CommIT result.
ex-cc-ch04-14
ChallengeCapacity region for multi-demand index coding. Suppose each receiver in an index coding instance has multiple demands (a "multi-demand" instance). State the broadcast rate bound and sketch how to adapt the MAN rate formula to this setting.
Each demand contributes independently to the entropy bound.
The MAN rate scales linearly in the number of demands per user.
Single-receiver scaling
If receiver demands distinct messages, the effective contribution to the lower bound is bits per round.
MAN generalization
In coded caching, a user sometimes requests several files per delivery round (e.g., in bundled streaming). The MAN rate generalizes: where is the per-user demand multiplicity. Each additional demand adds independently to the rate.
Research direction
Exact characterization of multi-demand coded caching is an open problem for certain parameter regimes. See Wan-Caire-Molisch 2017 for partial results.
ex-cc-ch04-15
ChallengeBroadcast rate computation for small instances. For each of the following small index coding instances, compute the optimal rate exactly (not just the LP bound): (a) 3-user cycle ; (b) 5-user cycle ; (c) the "complete bipartite" instance (two demand sides of size 2 and 3).
For cycles: .
has but .
$C_3$
, . (LP is tight for this graph: each message needs its own slot).
$C_5$ (Kneser-type)
, , . The linear broadcast rate is (achieved by fractional coloring + time sharing). Non-linear rate: as well (tight LP).
$K_{2,3}$
Bipartite: , . .
Lesson
Even for small graphs, computing the exact broadcast rate is non-trivial, especially in the non-linear regime. For MAN-type instances the LP bound is always tight, which is the structural gift.