Contents

Estimating the Interference Covariance Rnn in MMSE Equalization

Channel Estimation & Equalization
#MMSE#interference-suppression#covariance-estimation#DMRS#5G NR

Between receive samples and bits lies a complete chain: DMRS provides usable observations → the channel and interference statistics are estimated → MMSE equalization suppresses the spatial interference → the demodulator turns the equalizer output into LLRs. This post walks through every link in that order, with the emphasis on the last one: how is the interference covariance Rnn\mathbf{R}_{nn} actually estimated?

1. Start with DMRS: Where Do the Observations Come From

In NR, every channel and interference estimate has to rely on DMRS (demodulation reference signals). It has two key properties: it is fully known at the receiver, and it shares the same time-frequency resources as the data — precisely because of this, the channel it measures can be used directly for demodulation at the same positions, without cross-resource interpolation for inference (unlike the thinking of the CRS era).

Sequence Generation

The PUSCH DMRS is a string of QPSK symbols generated from a Gold sequence (length 31) (TS 38.211 §6.4.1.1.1):

r(n)=12(1−2c(2n))+j12(1−2c(2n+1))r(n) = \frac{1}{\sqrt{2}}\bigl(1 - 2c(2n)\bigr) + j\frac{1}{\sqrt{2}}\bigl(1 - 2c(2n+1)\bigr)

The Gold sequence is initialized by cinitc_{\text{init}}, which contains the cell ID, the slot number, the symbol number, and the scrambling ID nSCIDn_{\text{SCID}}:

cinit=(217(Nsymbslotns,fμ+l+1)(2NID0+1)+2NID0+nSCID) mod 231c_{\text{init}} = \left(2^{17}\bigl(N_{\text{symb}}^{\text{slot}} n_{s,f}^{\mu} + l + 1\bigr)\bigl(2N_{\text{ID}}^{0} + 1\bigr) + 2N_{\text{ID}}^{0} + n_{\text{SCID}}\right) \bmod 2^{31}

The fact that cinitc_{\text{init}} contains the slot and symbol numbers matters: it means the sequence is different on every DMRS symbol, and as long as two neighboring cells have different NID0N_{\text{ID}}^{0}, their DMRS sequences are mutually distinct. Sequence-level orthogonality (low cross-correlation) is one of the prerequisites for “interference being distinguishable” later on.

Time-Frequency Structure

In the time domain, two parameters determine the DMRS positions:

Mapping typeStart positionAdditional symbols
Mapping type AThe l0l_0-th symbol within the slot (l0=2l_0 = 2 or 33, configured by dmrs-TypeA-Position)Determined by additionalPosition, up to 4 DMRS symbols in total
Mapping type BThe first scheduled symbolSame as above

More symbols means higher time resolution for channel estimation (able to track faster Doppler), but also more data REs consumed — a fixed overhead trade-off.

In the frequency domain, the configuration type determines the DMRS density and multiplexing scheme:

ConfigurationFrequency-domain patternREs per RB per DMRS symbolNumber of CDM groupsMax ports (single / double symbol)
Type 1Comb, spaced 2 subcarriers apart624 / 8
Type 2Adjacent pairs of subcarriers, spaced 3 apart436 / 12

OCC: Ports Multiplexed by Orthogonal Codes

The DMRS of multiple ports (multiple layers or multiple users) overlap on the same set of REs and are separated by orthogonal covering codes (OCC): wf\mathbf{w}_f (length 2) in the frequency domain, and for double-symbol DMRS an additional wt\mathbf{w}_t (length 2) in the time domain. Taking Type 1 single-symbol as an example, the two ports within the same CDM group are distinguished by [1,1][1,1] and [1,−1][1,-1], so:

y[k]=h1[k] r[k]⋅wf,1[k]+h2[k] r[k]⋅wf,2[k]+n[k]y[k] = h_1[k]\, r[k] \cdot w_{f,1}[k] + h_2[k]\, r[k] \cdot w_{f,2}[k] + n[k]

The receiver despreads (correlates) with the matching codeword to separate the channels of the two ports — this is exactly the extra “intra-CDM-group stream separation” step that Sionna’s PUSCHLSChannelEstimator performs compared to a plain LSChannelEstimator.

But the price is that the number of independent observations gets compressed: after despreading, one CDM group within one RB leaves only 6 REs; considering that the channel is highly correlated between adjacent subcarriers, a further frequency combining leaves only about 3 truly independent samples. This number will come up repeatedly below — it is the direct reason why “per-RB covariance estimation” is infeasible.

2. Receive Signal Model

Vector Model on a Single RE

Consider one RE (subcarrier kk, OFDM symbol ll), a receiver with NrN_r antennas, and the desired signal coming from NsN_s streams (including precoding):

y[k,l]=H[k,l] s[k,l]+w[k,l]+∑i∈IHi[k,l] si[k,l]\mathbf{y}[k,l] = \mathbf{H}[k,l]\,\mathbf{s}[k,l] + \mathbf{w}[k,l] + \sum_{i \in \mathcal{I}} \mathbf{H}_i[k,l]\,\mathbf{s}_i[k,l]
  • H∈CNr×Ns\mathbf{H} \in \mathbb{C}^{N_r \times N_s}: the equivalent serving-cell channel of the desired signal (precoder included)
  • w\mathbf{w}: thermal noise, modeled as white Gaussian, E[wwH]=σw2I\mathbb{E}[\mathbf{w}\mathbf{w}^{\mathrm{H}}] = \sigma_w^2 \mathbf{I}
  • The summation term: all non-desired components, including neighbor-cell interference, interference from other UEs in the same cell, and neighbor-cell DMRS leakage

Merging the last two terms into n\mathbf{n}:

  y[k,l]=H[k,l] s[k,l]+n[k,l]  \boxed{\;\mathbf{y}[k,l] = \mathbf{H}[k,l]\,\mathbf{s}[k,l] + \mathbf{n}[k,l]\;}

where

Rnn[k,l]=E ⁣[n[k,l] nH[k,l]]=σw2I+∑i∈IHiRss,iHiH⏟interference part\mathbf{R}_{nn}[k,l] = \mathbb{E}\!\left[\mathbf{n}[k,l]\,\mathbf{n}^{\mathrm{H}}[k,l]\right] = \sigma_w^2 \mathbf{I} + \underbrace{\sum_{i \in \mathcal{I}} \mathbf{H}_i \mathbf{R}_{ss,i} \mathbf{H}_i^{\mathrm{H}}}_{\text{interference part}}

This expression deserves a few seconds of staring: the thermal-noise part is spatially white (σw2I\sigma_w^2\mathbf{I}), but the interference part generally is not — because Hi\mathbf{H}_i projects the interference energy onto particular spatial directions. All of the “shape” of Rnn\mathbf{R}_{nn} comes from the second term.

Data REs vs. DMRS REs

The same expression, but the known quantities are completely different on the two kinds of REs:

Is s\mathbf{s} knownWhat you can do
DMRS symbolsKnown (sequence r(n)r(n) + OCC)Estimate H\mathbf{H}, and estimate Rnn\mathbf{R}_{nn} from the residual
Data symbolsUnknown (they are exactly what must be demodulated)MMSE equalization + demodulation

This difference determines the basic shape of all the estimation methods that follow: channel and covariance estimation can only be done on DMRS (or iteratively on data via decision feedback). And the difficulty that “interference RB allocation is random → per-RB Rnn\mathbf{R}_{nn} differs” stems from the fact that DMRS only appears on fixed symbols within the data RBs, so a single RB naturally provides a limited number of samples.

3. Deriving MMSE Equalization

The Criterion

We look for a linear estimate s^=Wy\hat{\mathbf{s}} = \mathbf{W}\mathbf{y} that minimizes the mean-square error:

WMMSE=arg⁡min⁡WE ⁣[∥s−Wy∥2]\mathbf{W}_{\text{MMSE}} = \arg\min_{\mathbf{W}} \mathbb{E}\!\left[\left\|\mathbf{s} - \mathbf{W}\mathbf{y}\right\|^2\right]

Take the gradient with respect to W\mathbf{W} and set it to zero (orthogonality principle: the error of the optimal estimate must be orthogonal to the observation):

E ⁣[(s−Wy)yH]=0⟹W=RsyRyy−1\mathbb{E}\!\left[\left(\mathbf{s} - \mathbf{W}\mathbf{y}\right)\mathbf{y}^{\mathrm{H}}\right] = \mathbf{0} \quad\Longrightarrow\quad \mathbf{W} = \mathbf{R}_{sy}\mathbf{R}_{yy}^{-1}

Substituting and Solving

Since s\mathbf{s} and n\mathbf{n} are uncorrelated:

Rsy=E ⁣[syH]=RssHH\mathbf{R}_{sy} = \mathbb{E}\!\left[\mathbf{s}\mathbf{y}^{\mathrm{H}}\right] = \mathbf{R}_{ss}\mathbf{H}^{\mathrm{H}} Ryy=E ⁣[yyH]=HRssHH+Rnn\mathbf{R}_{yy} = \mathbb{E}\!\left[\mathbf{y}\mathbf{y}^{\mathrm{H}}\right] = \mathbf{H}\mathbf{R}_{ss}\mathbf{H}^{\mathrm{H}} + \mathbf{R}_{nn}

Thus

W=RssHH(HRssHH+Rnn)−1\mathbf{W} = \mathbf{R}_{ss}\mathbf{H}^{\mathrm{H}}\left(\mathbf{H}\mathbf{R}_{ss}\mathbf{H}^{\mathrm{H}} + \mathbf{R}_{nn}\right)^{-1}

If the streams are i.i.d. with unit power (Rss=I\mathbf{R}_{ss} = \mathbf{I}), this simplifies to

  W=HH(HHH+Rnn)−1  \boxed{\;\mathbf{W} = \mathbf{H}^{\mathrm{H}}\left(\mathbf{H}\mathbf{H}^{\mathrm{H}} + \mathbf{R}_{nn}\right)^{-1}\;}

Equivalent Forms and Common Writings

Using the matrix inversion lemma (Woodbury), the expression above can be rewritten so that the inverted matrix shrinks to Ns×NsN_s \times N_s:

W=(HHRnn−1H+I)−1HHRnn−1\mathbf{W} = \left(\mathbf{H}^{\mathrm{H}}\mathbf{R}_{nn}^{-1}\mathbf{H} + \mathbf{I}\right)^{-1}\mathbf{H}^{\mathrm{H}}\mathbf{R}_{nn}^{-1}

The two writings are mathematically equivalent, but their engineering meaning differs: the latter makes Rnn−1\mathbf{R}_{nn}^{-1} explicit — “whiten first, then equalize”. When Nr≫NsN_r \gg N_s, its computational cost is clearly smaller.

One easily overlooked point: the common writing (HHH+Rnn)−1HH\left(\mathbf{H}^{\mathrm{H}}\mathbf{H} + \mathbf{R}_{nn}\right)^{-1}\mathbf{H}^{\mathrm{H}} is only strictly valid when Rnn=σ2I\mathbf{R}_{nn} = \sigma^2\mathbf{I}. It treats Rnn\mathbf{R}_{nn} as a scalar term with equal variance across streams, which is merely an approximation when the interference is colored (spatially correlated). To handle colored interference rigorously, use one of the two forms above, or whiten first.

Whitening Implementation

In practice, whitening is more common: Cholesky-decompose Rnn\mathbf{R}_{nn} as Rnn=LLH\mathbf{R}_{nn} = \mathbf{L}\mathbf{L}^{\mathrm{H}} and let

y~=L−1y,H~=L−1H\tilde{\mathbf{y}} = \mathbf{L}^{-1}\mathbf{y},\qquad \tilde{\mathbf{H}} = \mathbf{L}^{-1}\mathbf{H}

The equivalent model after whitening now has white noise: y~=H~s+n~\tilde{\mathbf{y}} = \tilde{\mathbf{H}}\mathbf{s} + \tilde{\mathbf{n}}, where E[n~n~H]=I\mathbb{E}[\tilde{\mathbf{n}}\tilde{\mathbf{n}}^{\mathrm{H}}] = \mathbf{I}. At this point just apply the standard form:

s^=(H~HH~+I)−1H~Hy~\hat{\mathbf{s}} = \left(\tilde{\mathbf{H}}^{\mathrm{H}}\tilde{\mathbf{H}} + \mathbf{I}\right)^{-1}\tilde{\mathbf{H}}^{\mathrm{H}}\tilde{\mathbf{y}}

This has two benefits: the “colored noise” complexity is isolated in one place, and the numerical problems of directly inverting Rnn\mathbf{R}_{nn} are avoided. Sionna’s whiten_channel does exactly this.

Posterior Error Covariance

The derivation yields a key by-product along the way — the covariance of the estimation error:

Ω=E ⁣[(s−s^)(s−s^)H]=(I+HHRnn−1H)−1=I−WH\boldsymbol{\Omega} = \mathbb{E}\!\left[(\mathbf{s} - \hat{\mathbf{s}})(\mathbf{s} - \hat{\mathbf{s}})^{\mathrm{H}}\right] = \left(\mathbf{I} + \mathbf{H}^{\mathrm{H}}\mathbf{R}_{nn}^{-1}\mathbf{H}\right)^{-1} = \mathbf{I} - \mathbf{W}\mathbf{H}

Its diagonal entries are exactly the residual error variance of each stream, which is precisely what the demodulation below needs.

4. After Equalization: How Demodulation Works

The Equivalent AWGN Approximation

The equalizer output s^\hat{\mathbf{s}} is not an error-free s\mathbf{s}. The standard engineering practice is to write stream ii as

s^i=si+ei,ei∼CN ⁣(0,  νi),νi=[Ω]ii\hat{s}_i = s_i + e_i,\qquad e_i \sim \mathcal{CN}\!\left(0,\; \nu_i\right),\qquad \nu_i = \left[\boldsymbol{\Omega}\right]_{ii}

That is, the MMSE output error is approximated as independent Gaussian noise. The approximation is not rigorous (the error is actually a linear combination of the per-stream errors, and they remain correlated), but it is the foundational assumption on which all downstream demodulators work.

The νi\nu_i in this step is exactly the meaning of no_eff, the second return value of Sionna’s lmmse_equalizer: the effective noise variance. Its value is interesting — the higher the SIR and the better the equalizer suppresses interference, the smaller νi\nu_i; when interference is strong and cannot be effectively suppressed, νi\nu_i becomes significantly larger than the thermal noise variance.

From s^i\hat{s}_i to Bit LLRs

Given (s^i,νi)(\hat{s}_i, \nu_i), the likelihood of each candidate point in the constellation set S\mathcal{S} is

p(s^i∣a)∝exp⁡ ⁣(−∣s^i−a∣2νi),a∈Sp(\hat{s}_i \mid a) \propto \exp\!\left(-\frac{|\hat{s}_i - a|^2}{\nu_i}\right),\qquad a \in \mathcal{S}

The LLR of bit bb follows the log-likelihood-ratio definition: the denominator sums over the constellation set Sb0\mathcal{S}_b^0 where “the bit is 0”, and the numerator over Sb1\mathcal{S}_b^1:

L(b)=ln⁡∑a∈Sb1exp⁡ ⁣(−∣s^i−a∣2νi)∑a∈Sb0exp⁡ ⁣(−∣s^i−a∣2νi)L(b) = \ln\frac{\sum_{a \in \mathcal{S}_b^1} \exp\!\left(-\dfrac{|\hat{s}_i - a|^2}{\nu_i}\right)} {\sum_{a \in \mathcal{S}_b^0} \exp\!\left(-\dfrac{|\hat{s}_i - a|^2}{\nu_i}\right)}

This is APP (exact a-posteriori probability) demodulation, corresponding to Demapper("app", ...) in Sionna. It evaluates every constellation point, and its complexity grows exponentially with the modulation order.

The max-log approximation keeps only the nearest point in each set, turning the sums into minima:

L(b)≈1νi(min⁡a∈Sb0∣s^i−a∣2−min⁡a∈Sb1∣s^i−a∣2)L(b) \approx \frac{1}{\nu_i}\left( \min_{a \in \mathcal{S}_b^0}|\hat{s}_i - a|^2 - \min_{a \in \mathcal{S}_b^1}|\hat{s}_i - a|^2 \right)

For 16-QAM only two distances must be compared; the complexity drops from 2M2^M to a constant, at the cost of a few tenths of a dB of performance loss. In Sionna this is demapping_method="maxlog".

Three Output Forms

OutputUseHow
Hard-decision bitsQuick evaluation, uncoded linksPick the constellation point nearest to s^i\hat{s}_i, then map back to bits
Bit LLRsSoft-decision decoding (LDPC/Polar/Turbo)The LLR formulas above
Symbol LLRs / logitsIterative receiversKeep symbol-level confidence for the next round of detection or channel estimation

The LLRs then enter the FEC decoder (LDPC in NR). Note that the scale of the LLRs depends on νi\nu_i: if νi\nu_i is underestimated, the LLR magnitudes are inflated and the decoder becomes overconfident; if overestimated, the soft information gets diluted. So whether Rnn\mathbf{R}_{nn} was estimated accurately ultimately shows up in the quality of the LLRs.

5. Estimating the Interference Covariance Matrix

Back to the core question: where does Rnn\mathbf{R}_{nn} come from?

Three Technical Routes

Route 1: the DMRS residual method (most common)

First do channel estimation to obtain H^\hat{\mathbf{H}}, then compute the residual on the DMRS REs

n^[k,l]=y[k,l]−H^[k,l] sDMRS[k,l]\hat{\mathbf{n}}[k,l] = \mathbf{y}[k,l] - \hat{\mathbf{H}}[k,l]\,\mathbf{s}_{\text{DMRS}}[k,l]

and form the sample covariance over a batch of residual samples:

R^nn=1K∑i=1Kn^in^iH\hat{\mathbf{R}}_{nn} = \frac{1}{K}\sum_{i=1}^{K}\hat{\mathbf{n}}_i\hat{\mathbf{n}}_i^{\mathrm{H}}

Two things to watch out for: the residual is contaminated by channel-estimation error (an inaccurate H^\hat{\mathbf{H}} directly pollutes n^\hat{\mathbf{n}}, especially at low SNR); and the despread samples are correlated, so the effective number of independent samples is smaller than the number of REs.

Route 2: silent-resource sampling

If there are resources known to carry “no desired signal” — unscheduled empty REs, zero-power CSI-RS, or deliberately blanked PRBs — there y=n\mathbf{y} = \mathbf{n}, and you can directly

R^nn=1K∑yiyiH\hat{\mathbf{R}}_{nn} = \frac{1}{K}\sum \mathbf{y}_i\mathbf{y}_i^{\mathrm{H}}

The upside is zero channel-estimation error contamination; the cost is that such resources may not exist, and their interference environment (position, beam direction) may not match the data REs you actually need to demodulate.

Route 3: structured modeling

Instead of estimating the matrix directly, estimate parameters:

Rnn=σw2I+∑i∈IPiΦi\mathbf{R}_{nn} = \sigma_w^2\mathbf{I} + \sum_{i \in \mathcal{I}} P_i\boldsymbol{\Phi}_i

The noise floor is a full-rank white component; each interferer contributes a power PiP_i and a spatial shape Φi\boldsymbol{\Phi}_i. Interference is spatially low-rank (the number of strong interferers is usually far smaller than the number of receive antennas), so this model has far fewer degrees of freedom than a complete Nr×NrN_r \times N_r matrix — and the sample requirement drops accordingly.

Why Per-RB Direct Estimation Fails

Now we can explain the number from the beginning. Estimating an Nr×NrN_r \times N_r covariance from KK samples, the rank of the sample covariance is at most KK:

rank⁡ ⁣(R^nn)≤K\operatorname{rank}\!\left(\hat{\mathbf{R}}_{nn}\right) \le K

As computed earlier, under OCC only about 3 independent samples are available within one RB. Already at Nr≥2N_r \ge 2 a full-rank result is impossible (when Nr>KN_r > K, rank deficiency is guaranteed); the matrix is singular, and plugging it straight into the MMSE formula breaks the inversion.

And because the interference RB allocation and starting positions are random, “averaging across RBs” cannot simply be used either — an averaging window that crosses an RB boundary mixes two different interference environments together.

“Global Shape + Per-RB Scalar”

The key observation is: the spatial shape is essentially frequency-independent; only the power varies across RBs.

That is, the covariance can be factored as

Rnn(k)  ≈  σ2(k) Φ\mathbf{R}_{nn}(k) \;\approx\; \sigma^2(k)\,\boldsymbol{\Phi}
  • Φ\boldsymbol{\Phi}: the normalized spatial shape matrix (usually with the convention tr⁡(Φ)=Nr\operatorname{tr}(\boldsymbol{\Phi}) = N_r), assumed shared over a bandwidth segment and therefore jointly estimable from data on all subcarriers, with ample samples;
  • σ2(k)\sigma^2(k): the scalar interference power on RB kk — a single real number, estimable fairly stably from just a few sample points.

This reduces “estimating a matrix” to “estimating one matrix + a list of scalars”, cutting the sample requirement by an order of magnitude. It is the same idea as Route 3 at two levels: Φ\boldsymbol{\Phi} absorbs the spatial shape of the interference, and σ2(k)\sigma^2(k) is the equivalent power.

In practice there are a few supporting details:

  • How to choose the averaging window: in frequency, do not cross RB boundaries (the interference allocation changes abruptly), but time-domain averaging across multiple slots is fine (the interference statistics can be considered stationary over tens of milliseconds);
  • Average only the shape, not the power: this is the premise on which the method works. If the power is averaged along with it, the per-RB variation gets smoothed away;
  • Diagonal loading: whichever route you take, you end up adding ϵI\epsilon\mathbf{I} (see below).

The Backlash of Estimation Error

Low rank is an opportunity, but estimation mismatch bites back.

Interference being spatially low-rank theoretically means MMSE only needs to suppress along those few directions, raising the performance ceiling. But if Φ\boldsymbol{\Phi} is misestimated, the suppression directions are misaligned, and the result can be worse than simply using a diagonal matrix (i.e., ignoring spatial correlation). In scenarios where confidence in the shape estimate is low, falling back to the diagonal model is often safer.

Similarly, inverting the raw sample covariance directly (instead of going through a structured model) is also dangerous at high SIR: the interference component is small there, so the relative estimation error of R^nn\hat{\mathbf{R}}_{nn} is actually larger.

6. On the Legitimacy of the Inversion

Finally, one easily confused point: the matrix in the MMSE formula

HHH+Rnn\mathbf{H}^{\mathrm{H}}\mathbf{H} + \mathbf{R}_{nn}

Its rank generally does not equal the rank of HHH\mathbf{H}^{\mathrm{H}}\mathbf{H}. The latter is determined by the number of independent transmit streams and can be deficient (guaranteed when Ns<NrN_s < N_r), whereas Rnn\mathbf{R}_{nn}, once the noise floor is added, is full-rank and positive definite. After summing the two, the rank of the whole is determined by Rnn\mathbf{R}_{nn}.

So whether the inversion is legitimate depends on whether Rnn\mathbf{R}_{nn} is positive definite, not on the rank of the channel matrix. This is also why the noise floor must be added to Rnn\mathbf{R}_{nn}:

R~nn(k)=σ2(k) Φ+ϵI\tilde{\mathbf{R}}_{nn}(k) = \sigma^2(k)\,\boldsymbol{\Phi} + \epsilon\mathbf{I}

Otherwise, on RBs where interference is weak or absent, the covariance matrix is nearly singular and the inversion result is dominated by numerical noise. The choice of ϵ\epsilon balances two extremes: too small provides no regularization; too large suppresses the interference-rejection capability along with it — in the extreme case ϵ→∞\epsilon \to \infty degenerates into matched filtering.

7. To Verify

  • Build a multi-UE interference scenario in Sionna and verify over how wide a bandwidth the shape matrix can be treated as invariant
  • Compare the BLER at different SIRs for three schemes: per-RB independent estimation, “shape + scalar”, and pure diagonal
  • Examine how the choice of ϵ\epsilon affects performance in the high-SIR region
  • Estimate Rnn\mathbf{R}_{nn} with the DMRS residual method and with silent-resource sampling respectively, and compare whether the estimated spatial shapes agree (this checks how large the residual channel-estimation error is)
  • Compare νi\nu_i against the true error variance and check whether the LLR scale needs correction

Comments

Loading comments…

    ← Back to home