Deep Learning for OFDM Channel Estimation:
From Classical LMMSE to Residual-Correcting Neural Networks

Prashant Raj Bista

personal research project — channel_estimation

August 2026

Abstract

Channel estimation recovers a wireless channel's frequency response from a small number of known pilot measurements. This project builds a fully synthetic, ground-truth-labeled OFDM testbed (64 subcarriers, an 8-tap Rayleigh channel, 16 comb pilots, 1000 independent realizations, 0–30 dB SNR) and uses it to run a controlled comparison of classical and learned estimators. Least-Squares (LS) and Linear-MMSE (LMMSE) with the exact channel covariance R are established first, since for this Gaussian data-generating process LMMSE is provably the Bayes-optimal estimator — a rare case where the ceiling is known analytically rather than discovered empirically. Three learned architectures (MLP, 1D-CNN, and a small Transformer) are then trained directly on raw noisy pilots, and all three approach but never beat that ceiling, exactly as theory predicts. To give the networks something real to learn, the covariance is deliberately mismatched — estimated from only 8 channel realizations instead of known exactly — which drops LMMSE's accuracy below even plain LS at some SNR points. On top of this mismatched estimate, three residual-correction hybrids (LMMSE output → NN correction, in the spirit of ChannelNet/ComNet) are trained and compared. The MLP hybrid provides the most reliable partial recovery of the lost accuracy; the CNN hybrid needed real hyperparameter retuning to escape a degenerate near-zero-residual solution; the Transformer hybrid did not converge under the tested configuration and is reported as an open negative result rather than smoothed over. The project's throughline is a single, testable idea: architectural inductive bias (or its absence) only matters where the data actually has exploitable structure to bias toward, and a synthetic dataset built to satisfy an estimator's assumptions exactly leaves nothing for a more flexible model to find.

1 Introduction

In OFDM, a wideband channel is split into narrow subcarriers, each of which sees an approximately flat, single complex gain. A receiver never observes this gain directly — it observes a noisy version of it only at a handful of known pilot subcarriers, and must infer the rest. Every pilot is overhead (it displaces payload), so the central problem in the field is recovering the full-band channel from as few pilots as possible, as accurately as possible.

This project treats that problem as a controlled testbed rather than a single deliverable. Every estimator, classical or learned, is scored against the same 1000 channel realizations at the same 7 SNR points, so differences in the results tables below are attributable to the estimator, not to lucky draws. Four questions motivate the structure of the work:

Q1 — BaselineHow much does statistical channel knowledge (LMMSE's covariance R) buy over ignoring it (LS)?
Q2 — Learned, no biasCan a neural network match a provably-optimal linear estimator when the underlying data actually satisfies that estimator's assumptions?
Q3 — Inductive biasDoes encoding known structure (the channel covariance is Toeplitz) into the architecture (Conv1d's weight-sharing) measurably help, and does it help more or less than a less-constrained architecture (attention)?
Q4 — Where NNs actually winOnce the classical estimator's assumptions are deliberately broken (an imperfect, finite-sample covariance estimate), can a network recover some of the lost accuracy by learning a residual correction on top of it?

2 Background & Signal Model

One OFDM symbol, N = 64 subcarriers, an L = 8 tap Rayleigh channel with an exponentially decaying power delay profile (unit total power). The frequency response is the DFT of the taps:

H[k]  =  ∑l al·exp(−j·2π·k·l/N),  al ~ ℂℕ(0, pl),  ∑l pl = 1

Pilots sit at every 4th subcarrier (16 of 64, all-ones symbols so the received pilot value is the raw LS estimate) and the noisy observation model is

y[k] = H[k] + n[k],  n ~ ℂℕ(0, σ²),  σ² = 10−SNRdB/10

Because the taps are independent zero-mean complex Gaussians, the channel covariance is known in closed form — the Fourier transform of the power delay profile:

R[a,b] = E[H[a]·H*[b]] = ∑l pl·exp(−j·2π·(a−b)·l/N)

Two properties of R drive most of the results below. First, it is rank 8 — despite being a 64×64 matrix, only 8 eigenvalues are nonzero, because 8 taps generate all 64 subcarrier gains and the other 56 dimensions carry zero energy. Second, it is Toeplitz — R[a,b] depends only on the lag a−b, not on absolute position, since the underlying physical process (multipath delay) has no preferred frequency origin. Both properties are exploited directly by later sections.

3 Dataset

Generated by make_dataset.py: 1000 independent channel realizations, 7 SNR points (0–30 dB in 5 dB steps), written as three CSVs — ground-truth channel.csv (64,000 rows, never seen by any estimator), noisy pilot observations.csv (112,000 rows, the only input any estimator receives), and covariance.csv (4,096 rows, LMMSE's side information). An 80/20 train/test split by realization (seed 0, 800/200) is held fixed across every learned model in this report, so all NMSE numbers below are on identical held-out data.

4 Classical Baselines: LS & LMMSE

LS linearly interpolates the 16 noisy pilots onto all 64 subcarriers, using no statistical knowledge. LMMSE applies one linear filter built from the exact covariance:

W = Rkp·(Rpp + σ²I)−1,  Ĥ = W·ypilots

Geometrically this projects the 16 noisy measurements onto the rank-8 subspace R defines, discarding anything living outside it as provably noise. Since H and the pilot observations are jointly Gaussian here, LMMSE is not merely the best linear estimator — it is the Bayes-optimal estimator, full stop. No architecture, however flexible, can beat it while this data-generating process holds.

SNR (dB)LS + interp.LMMSE (true R)gain
0−1.15−5.254.10
5−5.73−9.003.27
10−9.37−13.243.88
15−11.87−17.976.10
20−12.99−22.9910.00
25−13.45−27.9514.50
30−13.61−32.8819.27
LS vs LMMSE NMSE comparison and single-realization reconstruction
Fig. 1 — LS floors around −13.6 dB (interpolation error, not noise); LMMSE tracks SNR with no floor.

LS hits a hard floor near −13.6 dB past 15 dB: past that point the limiting error is not noise but interpolation — straight-line segments cannot follow a curved frequency response. LMMSE has no such floor, because it reconstructs the channel's shape from R rather than connecting dots. This exact-R LMMSE curve is the ceiling every learned estimator in this report is measured against.

5 Learned Estimators on Raw Pilots

Three architectures, all trained end-to-end on the identical input/output contract — 33-dim input (16 pilots × re/im + SNR), 128-dim output (64 subcarriers × re/im), 200 epochs, Adam, seed 0:

ModelKey structureParams
MLP3× Linear(·,128) + ReLU, fully unconstrained37,376
CNN2× Conv1d(k=3) over pilot position, then a linear head33,920
Transformer2-layer self-attention (d_model=16), learned absolute positions37,776

The CNN's convolution deliberately encodes the Toeplitz property from §2 as weight-sharing: the same small filter is reused at every pilot position, matching the assumption that correlation depends on distance, not absolute position. The Transformer makes no such assumption — every position can attend to every other position, with any positional structure learned from scratch via a plain per-index embedding.

SNR (dB)LSLMMSEMLPCNNTransformer
0−1.15−5.25−4.32−4.60−4.65
5−5.73−9.00−8.02−8.52−8.54
10−9.37−13.24−11.68−12.52−12.62
15−11.87−17.97−15.44−16.44−16.42
20−12.99−22.99−18.49−19.43−18.87
25−13.45−27.95−20.18−20.96−20.09
30−13.61−32.88−20.84−21.53−20.61
mean−9.74−18.47−14.14−14.86−14.54
CNN vs MLP vs LS vs LMMSE NMSE comparison
Fig. 2 — CNN (33,920 params) beats the larger MLP (37,376 params) at every SNR point; both approach but never cross the LMMSE ceiling.

Two findings, both consistent with theory rather than surprising:

Capacity check. A hidden-layer sweep of the MLP (32→2048 units) shows train loss falling monotonically the whole way while test NMSE peaks around 64 units and degrades past 128 — classic overfitting once params exceed training rows by roughly an order of magnitude. The same shape reappears in a CNN channel-width sweep (2→64 channels, peak at 16). Both architectures reported above sit at or near their respective peaks, not under-tuned.

6 Introducing a Realistic Mismatch

The LMMSE ceiling in §5 is an oracle: it is handed the exact R and exact σ². A real receiver never knows R exactly — it estimates it from a limited number of past observations. This is precisely the gap that model-driven deep-learning channel-estimation papers (ChannelNet, ComNet, and similar) exploit: LMMSE built on an imperfect statistical model is no longer optimal, so a learned correction has a real target to hit. On the exact-R data used above, that gap does not exist, so reproducing those papers' recipe there would show a foregone null result.

make_dataset_mismatched.py replaces covariance.csv with the sample covariance estimated from only N_EST extra channel realizations (drawn after the main 1000, no leakage into the eval set), leaving channel.csv/observations.csv untouched. Sweeping N_EST surfaces exactly the threshold §2 predicts: R has only 8 nonzero eigenvalues, so LMMSE barely degrades once N_EST clears 8 (enough samples to span the true subspace) and collapses sharply below it.

NESTR̂ rel. errorMean LMMSE(R̂) NMSE
3−1.57 dB−2.69 dB
5−2.84 dB−5.47 dB
8−2.94 dB−13.50 dB
15−4.88 dB−17.61 dB
30−6.37 dB−18.34 dB
100−14.51 dB−18.46 dB ≈ oracle

N_EST=8 was fixed for the rest of this report — the smallest sample count for which the estimate remains meaningfully usable while still leaving a real, non-trivial gap to the true-R ceiling (roughly 5 dB mean, and at 10 dB the mismatched LMMSE actually loses to plain LS).

7 Residual-Correction Hybrids: LMMSE + NN

Each hybrid reuses the raw-pilot architectures from §5 unmodified, just with a different input/output contract and, critically, a different statistical estimator supplying that input:

input = LMMSE(R̂) estimate (2N re/im) + SNR  →  target = Htrue − LMMSE(R̂)  →  Ĥ = LMMSE(R̂) + fθ(·)

The model only has to learn the correction, not rebuild the channel from scratch. Passing n_pilots=N=64 into the existing ChannelMLP / ChannelCNN / ChannelTransformer classes was sufficient to repurpose each unmodified — no new model code, only two small feature/target builders.

SNR (dB)LSLMMSE(R̂)LMMSE(true R)MLP resid.CNN resid.Transformer resid.
0−1.15−3.69−5.25−3.60−3.69−4.04
5−5.73−6.45−9.00−6.46−6.44−7.05
10−9.37−9.16−13.24−10.06−9.16−9.96
15−11.87−12.01−17.97−14.15−12.00−12.76
20−12.99−15.24−22.99−17.86−15.21−15.16
25−13.45−20.30−27.95−21.80−20.16−16.93
30−13.61−27.33−32.88−24.93−26.52−16.62
mean−9.74−13.45−18.47−14.12−13.31−11.79
MLP residual correction NMSE comparison
Fig. 3 — MLP residual correction: helps in the 15–25 dB range, roughly breaks even with LMMSE(R̂) alone at the extremes.

7.1 MLP residual — the most reliable of the three

Best overall (−14.12 dB mean, 49,664 params), but not a clean win: it helps substantially at 15–25 dB (e.g. −17.86 vs. −15.24 at 20 dB) while underperforming plain LMMSE(R̂) at the extremes (0, 5, 10, 30 dB). Likely cause: one architecture pooled across all 7 SNR levels isn't SNR-conditioned enough to know when to trust its own correction — at low SNR the residual is mostly noise and should be suppressed toward zero; at high SNR the correction is small but structured, and the model appears to add variance rather than remove bias there.

7.2 CNN residual — needed real retuning

The first attempt (default lr=1e-3, matching the raw-pilot CNN's recipe) failed outright: train loss stalled at MSE 0.043 and the resulting curve went flat around −12 dB regardless of SNR — worse than doing nothing at 20–30 dB. A small hyperparameter sweep found the fix was counterintuitive: a higher learning rate (1e-2) and more channels (32) escaped the collapse, even though it left a higher raw train loss than a lower-lr run that looked better on paper. The lower-loss run (lr=3e-3, more epochs) had in fact converged to a degenerate, flat, near-zero-residual solution — minimizing pooled MSE across SNR levels by giving up on the small, structured high-SNR residual in favor of not-being-wrong on the large-magnitude low-SNR one. The retuned model (−13.31 dB mean, 265,728 params) is a real fix but still roughly breaks even with LMMSE(R̂) alone — the locality bias that helped so much in §5 does not carry over to a residual-correction target the same way.

CNN residual correction NMSE comparison, tuned
Fig. 4 — CNN residual correction (channels=32, lr=1e-2) after retuning — scales properly with SNR but sits close to the LMMSE(R̂) baseline it was meant to improve on.

7.3 Transformer residual — an open negative result

Trained at the same default configuration as the raw-pilot Transformer (§5), this hybrid did not converge to a useful solution: mean NMSE −11.79 dB, worse than LMMSE(R̂) alone (−13.45 dB), and the curve degrades rather than improves between 25 and 30 dB — a clear sign of the same collapse pattern documented in §7.2, uncorrected. This result is reported as-is rather than silently retrained to look better: the CNN residual case shows the fix (a higher learning rate) plausibly transfers, but that has not been verified for the Transformer at the time of writing.

Transformer residual correction NMSE comparison, unconverged
Fig. 5 — Transformer residual correction under the tested configuration — does not clear even the LMMSE(R̂) baseline. Left as an open item, not tuned away.

8 Discussion

Three results together tell a single, coherent story:

  1. Inductive bias is only worth what the data has to offer. The CNN's Toeplitz-matching weight-sharing beat the MLP by a real margin on raw pilots (§5) because the raw-pilot correlation structure genuinely is Toeplitz. The same bias, applied to a residual target in §7.2, bought almost nothing — the residual's structure comes from the covariance estimator's finite-sample error, not from the channel's own physical correlation, so there was less exploitable structure for locality to match.
  2. A synthetic dataset that satisfies an estimator's assumptions exactly leaves nothing for a more flexible model to find. This is why §5's learned models can only approach, never beat, exact-R LMMSE, and why the covariance mismatch of §6 was necessary before any hybrid experiment in §7 could show a non-trivial result at all.
  3. Residual/small-magnitude targets are a harder optimization problem than they look. Both the CNN (§7.2) and, apparently, the Transformer (§7.3) found degenerate near-zero-residual solutions under hyperparameters that worked fine for the larger-magnitude raw-pilot regression in §5. Pooling all 7 SNR levels into one MSE loss, without per-SNR normalization, structurally favors this collapse, since low-SNR residuals dominate the raw loss magnitude.

9 Conclusion & Future Work

Across eight estimators evaluated on identical held-out data, the ranking observed here is: LMMSE(true R) > MLP residual > CNN(raw) > Transformer(raw) > MLP(raw) > CNN residual ≈ LMMSE(R̂) > LS > Transformer residual by mean NMSE. The headline findings:

Concrete next steps, in rough priority order: (1) fix the Transformer residual's convergence, mirroring the CNN's lr fix, before drawing any architecture-level conclusion about attention on this task; (2) replace the Transformer's learned absolute positional embedding with a relative, distance-based scheme (relative position bias / ALiBi-style), which would give it the same kind of structural prior the CNN already has for both the raw-pilot and residual tasks; (3) move beyond the single-realization, single-symbol, purely-Gaussian data-generating process — off-grid delays, per-realization-varying delay spread, or a nonlinear front-end (clipping, PA distortion, quantization) would create a genuine nonlinear advantage for learned estimators that this dataset, by construction, does not have; (4) validate any of the above against 3GPP TDL channel profiles before treating any result here as more than a controlled, synthetic demonstration.

Appendix — Reproducibility

FilePurpose
make_dataset.pyExact-R dataset generator
make_dataset_mismatched.pyOverwrites covariance.csv with an 8-sample estimate
estimate.pyLS / LMMSE baseline, Fig. 1
nn_model.pyAll model classes + shared train/eval utilities
channel_nn.ipynbMLP, raw pilots (§5)
channel_cnn.ipynbCNN, raw pilots (§5)
channel_transformer.ipynbTransformer, raw pilots (§5)
channel_residual.ipynbMLP residual hybrid (§7.1)
channel_residual_cnn.ipynbCNN residual hybrid, tuned (§7.2)
channel_residual_transformer.ipynbTransformer residual hybrid (§7.3)
python3 -m venv .venv
.venv/bin/pip install numpy matplotlib torch torchinfo jupyter
.venv/bin/python make_dataset.py             # exact-R dataset
.venv/bin/python estimate.py                 # LS/LMMSE baseline, Fig. 1
.venv/bin/python make_dataset_mismatched.py  # overwrite covariance.csv with R̂
# then run any notebook: jupyter nbconvert --to notebook --execute --inplace <name>.ipynb