Exercises
ex-ch12-01
EasyConsider a full cell-free network with APs and users. Compute the total number of channel estimates required per coherence block, and the fronthaul load in complex scalars per data symbol.
Each AP must estimate the channel to every user.
The fronthaul carries one complex scalar per AP-user pair per symbol.
Channel estimates
Each AP estimates channels. Total: estimates per coherence block.
Fronthaul load
Per data symbol, each AP sends combining outputs to the CPU. Total: complex scalars per symbol.
ex-ch12-02
EasyRepeat Exercise 1 for a user-centric system with cluster size and per-AP load .
Each user's cluster has APs.
Each AP serves at most users.
Channel estimates
Each AP estimates channels to at most users. Total: estimates. Equivalently, estimates (the two sums are equal by double-counting the indicator matrix ).
Fronthaul load
Per data symbol, AP sends combining outputs. Total: at most complex scalars per symbol, a reduction.
ex-ch12-03
EasyProve that the total number of AP-user pairs in a user-centric system satisfies .
Think of as entries of a binary matrix .
Sum entries by rows vs. by columns.
Double counting
The total number of ones in can be counted by rows or columns: The first equality follows because (row sum). The second follows because (column sum).
ex-ch12-04
MediumShow that for LLSF clustering with fixed cluster size , the per-AP load is bounded as but can be much smaller if the APs are uniformly distributed. Argue that the expected load scales as .
Total number of AP-user pairs is .
If APs and users are uniformly distributed, the load is approximately uniformly spread.
Total pairs
Since each user selects exactly APs, the total number of ones in is .
Expected load per AP
If APs and users are uniformly and independently distributed in the deployment area, then by symmetry each AP is equally likely to be among the top for any given user. The expected load is . For , , : expected load users per AP.
Worst case vs. average
The bound is the trivial worst case (all users select AP ). In practice, centrally located APs carry more load than edge APs. The load distribution follows approximately a Poisson distribution with parameter , with deviations from non-uniform deployment.
ex-ch12-05
MediumDerive the user-centric UatF SINR expression (TSINR Under User-Centric MRC Processing) starting from the full cell-free SINR (TSINR Under Full Cell-Free MRC Processing) by replacing the sum over all APs with a sum over .
The derivation is identical β just restrict the index set.
Verify that the UatF assumptions (treating estimation error as noise) apply unchanged.
Restrict the combining sum
In user-centric processing, the CPU forms instead of . Every subsequent step in the UatF derivation applies with replaced by .
Signal and interference
Signal power: . Interference from user : . Note that the interference sum runs over , capturing only the interference seen at user 's serving APs β which is all that matters.
Result
Combining yields which matches TSINR Under User-Centric MRC Processing.
ex-ch12-06
MediumConsider a 1D network on with uniformly spaced APs at positions and a single user at position . The path loss is with and . For , compute the cluster size needed to capture 95% of the total beamforming gain .
Compute for all APs, sort, and find the smallest such that .
The sum is dominated by the few APs closest to the user due to the decay.
Compute path losses
The AP closest to is AP 25 (or 26) with distance . Path loss: . The 5th-closest AP has distance , path loss . The 10th-closest has distance , path loss .
Cumulative gain
Numerically, the top 5 APs capture of the total gain, and the top 8 APs capture . So suffices to capture 95% of the beamforming gain, leaving the remaining 42 APs essentially irrelevant.
General principle
With path loss exponent , the contribution of an AP at distance from the user decays as . The closest few APs dominate the sum, and the cluster size needed to capture most of the gain is small and independent of .
ex-ch12-07
MediumProve that the contamination metric is symmetric and non-negative. Show that if and only if for all and for all .
The definition of involves two symmetric sums.
Large-scale fading coefficients are non-negative by definition.
Symmetry
. Swapping and : .
Non-negativity and zero condition
Since for all , each sum is non-negative, hence . Equality holds iff both sums are zero, which requires every term to be zero: for all and for all .
ex-ch12-08
MediumShow that for threshold-based clustering with threshold , the scalability condition is not automatically guaranteed. Propose a modification to ensure bounded per-AP load.
A centrally located AP may have many users with .
Consider a load-aware threshold that adjusts based on the current AP load.
Counterexample
Suppose AP is at the center of a dense user cluster. All nearby users satisfy . If there are 100 such users, then , violating unless .
Load-aware modification
Modify the clustering to process users sequentially (e.g., by decreasing rate requirement). When assigning , include AP only if and . If the load constraint is binding, the user selects the next-best AP. This ensures at the cost of slightly degraded cluster quality for some users.
ex-ch12-09
HardConsider the max-min power control problem in TSINR with Master-AP-Based Power Control. Show that for fixed clusters , the problem is a quasi-linear program and can be solved by bisection over the target SINR .
Fix and check whether the SINR constraints are feasible.
Show that for fixed , the constraints are linear in .
Fix target SINR
For a given , the constraint becomes
Rearrange as linear constraint
Rearranging: where , , . This is linear in for fixed .
Bisection
Combined with the per-AP constraints , the feasibility check is a linear program. Bisect over : if feasible at , try ; if infeasible, try . The max-min SINR is the largest feasible .
ex-ch12-10
HardThe interference graph for pilot assignment has edge if . Show that for fixed cluster size and uniformly distributed APs/users, the average degree of scales as .
An edge exists between and roughly when their clusters overlap.
The probability that two clusters overlap depends on cluster size and AP density.
Cluster overlap probability
Each cluster covers a spatial region around user with "radius" proportional to in dimensions. Two clusters overlap if their regions intersect, which happens when .
Expected number of overlapping users
The probability that user overlaps with 's cluster is proportional to the overlap area divided by the total area, which scales as (in 2D, area scales as ). The expected number of overlapping users is .
Accounting for mutual contamination
The contamination metric is significant when both clusters overlap, introducing a factor of for the number of shared APs. The average degree is . For , , : degree . The interference graph is sparse.
ex-ch12-11
HardDerive the fronthaul rate required per AP in the Fog Massive MIMO architecture under Level 2 cooperation (coherent combining). The AP sends quantized channel estimates during the pilot phase and quantized combining outputs during the data phase. Express the total rate in terms of , , , quantization bits , and coherence time .
During pilot phase: send channel estimates.
During data phase: send combining outputs per symbol.
Pilot phase fronthaul
AP computes MMSE channel estimates and sends them to the master APs. Each estimate is a complex scalar quantized with bits. Pilot phase rate: bits per coherence block.
Data phase fronthaul
During the data symbols, AP sends combining outputs per symbol, each quantized with bits. Data phase rate: bits.
Total rate
Total per coherence block: bits. Per-second rate: . With , , , , ms: Mbps.
ex-ch12-12
MediumConsider a network where user is at the center and APs are placed on a circle of radius around the user (an idealized scenario). All APs have identical large-scale fading for all . Show that the user-centric SINR with cluster size is
where is the common estimation quality (assuming no pilot contamination). Compare with the full cell-free SINR where is replaced by .
With equal , all estimation qualities are equal: .
The sums simplify to (cluster) or (full).
Equal path loss simplification
and . Substituting into TSINR Under User-Centric MRC Processing yields the stated expression.
Comparison
The full cell-free SINR replaces by : in the interference-limited regime. However, this idealized scenario overstates the gain of additional APs because all APs have equal path loss. In practice, path loss decay makes the additional APs much weaker.
ex-ch12-13
Hard(Graph coloring bound) Show that the minimum number of orthogonal pilots required for zero-contamination pilot assignment in a user-centric network equals the chromatic number of the interference graph . Argue that where is the maximum degree, and give conditions under which is much smaller.
Zero contamination means no two connected users share a pilot.
Use Brooks' theorem for the upper bound.
Equivalence to graph coloring
Zero-contamination pilot assignment requires whenever . This is exactly the definition of a proper vertex coloring of with colors. The minimum is .
Brooks' theorem bound
Brooks' theorem states that for any graph, with equality only for complete graphs and odd cycles. Since the interference graph is typically sparse (), we have .
When $\chi(G)$ is small
If the user-centric clusters have limited overlap β for instance, each cluster overlaps with at most other clusters β then and . For well-separated users or small cluster sizes, remains bounded even as .
ex-ch12-14
HardConsider a user-centric system with users and APs, where user 1 has cluster and user 2 has (3 shared APs). The large-scale fading is and . Compute the contamination metric and determine whether the users can share a pilot with .
Compute for and both users.
Evaluate and compare against the safe reuse threshold.
Compute path losses
For user 1 (centered at AP 3): , , , , . For user 2 (centered at AP 5): , , , , .
Contamination metric
. , . Sum . Similarly, . , . Sum . So .
Safe reuse check
. . Threshold: . Since , the users cannot safely share a pilot. The overlapping clusters cause too much contamination.
ex-ch12-15
Challenge(Research-level) Formulate the joint cluster design and pilot assignment problem as a mixed-integer optimization: choose the cluster indicator matrix and pilot assignment to maximize the minimum user rate, subject to per-AP load constraints and pilot orthogonality. Show that this problem is NP-hard in general and propose a tractable two-stage heuristic.
The joint problem involves binary variables () and integer variables ().
Show NP-hardness by reduction from graph coloring.
A natural heuristic: first design clusters, then assign pilots.
Formulation
D_{mk} \in {0, 1}\sum_k D_{mk} \leq L_{\max}\sum_m D_{mk} \leq N_{\max}{\mathbf{S}{i,k}}{k} \in {1, \ldots, \tau_p}R_k\gamma_{mk}$).
NP-hardness
Even for fixed , the pilot assignment subproblem is equivalent to weighted graph coloring on the interference graph, which is NP-hard. The addition of binary cluster variables only makes the problem harder.
Two-stage heuristic
Stage 1 (Cluster design): Apply LLSF clustering assuming orthogonal pilots (no contamination). This gives an initial . Stage 2 (Pilot assignment): Given , build the interference graph and apply greedy graph coloring. Optional refinement: Iteratively update clusters based on the contamination pattern from Stage 2, then re-run Stage 2. Convergence is typically achieved in 2β3 iterations. This heuristic runs in polynomial time and achieves near-optimal performance in simulations.
ex-ch12-16
EasyIn the Fog Massive MIMO architecture, what is the role of the master AP? List three specific tasks that the master AP performs for its assigned user.
Three tasks
- Pilot assignment: The master AP decides which pilot sequence user should transmit, using knowledge of the local interference graph.
- Power control: The master AP computes the transmit power coefficients for user , solving a local version of the max-min fairness problem.
- Data routing: The master AP receives the final decoded data for user and forwards it to the core network.
ex-ch12-17
MediumCompare the 5th-percentile user rate in a user-centric cell-free system with against the full cell-free baseline (). Assume APs, users, uniformly distributed in a m area, path loss exponent . (This is a simulation exercise β write a Python script using the provided backend simulation function.)
Use the user_centric_sinr_cdf simulation function.
The 5th percentile is the CDF value at the 0.05 quantile.
Approach
Generate random AP and user locations. For each , compute the user-centric SINR using TSINR Under User-Centric MRC Processing and compare the CDFs. The 5th-percentile rate is .
Expected result
For , the 5th-percentile SINR is typically within 2β3 dB of the full cell-free baseline. For , the gap shrinks to less than 1 dB. shows a noticeable gap of 4β6 dB but still far outperforms cellular.
ex-ch12-18
Challenge(Open problem) Design an adaptive clustering algorithm where the cluster size is user-specific and adapts to the local channel quality. The algorithm should use only information available at the master AP (large-scale fading from the cluster APs) and satisfy the scalability constraint . Propose a utility function and analyze the algorithm's convergence properties.
Consider a utility that balances rate improvement vs. fronthaul cost.
An AP is added to the cluster only if its marginal rate contribution exceeds a threshold.
Utility function
Define the marginal utility of adding AP to user 's cluster: where is the fronthaul cost per AP-user link. Add AP if and .
Algorithm
Initialize with (master AP only). Iteratively add the AP with the largest positive until no AP improves the utility. The algorithm is a greedy hill-climbing procedure.
Convergence
The utility function is submodular in the AP set (adding APs has diminishing returns due to the log in the rate expression). Therefore, the greedy algorithm achieves at least -fraction of the optimal utility. The algorithm terminates in at most iterations per user, and the total complexity is .