Treating an Analog Transmitter's Drift as Part of the Wireless Channel

Learned image transmitters are a natural fit for analog in-memory chips. A learned image transmitter is an autoencoder whose encoder maps pixels straight to radio symbols and whose decoder rebuilds the image from noisy received symbols. An analog in-memory chip computes matrix products as currents flowing through a grid of programmable resistors, at a fraction of the energy of a digital processor. The obstacle is that these chips are imprecise. Their stored weights are written with noise, they drift over weeks, and some cells are stuck. The usual remedy is to retrain each model with injected noise and recalibrate the chip periodically, and both cost energy that a battery-powered sensor does not have. This note argues that a communication link has a property a classifier does not. Everything the transmitter chip gets wrong ends up in the transmitted signal, and the receiver is a powerful base station that already spends its effort estimating and undoing channel distortion. It can estimate and undo the transmitter's hardware distortion in the same way.

The proposal has two parts. First, split analog non-idealities into two kinds. Fast random errors (read noise, output noise) behave like a small loss in signal-to-noise ratio (SNR). Slow structured errors (conductance drift, programming error, stuck cells) behave like a slowly changing, device-specific distortion. Second, track that distortion at the receiver from occasional known pilot images, while the analog transmitter is never reprogrammed. If this works, the edge device's lifetime calibration burden moves entirely to the base station. The same view also suggests removing the output analog-to-digital converter at the transmitter, because its job (producing an accurate digital value) is pointless when the next step is to emit an analog waveform.

Core Claim

Consider a deep joint source-channel coding (DeepJSCC) uplink, meaning a neural network that compresses an image and protects it against channel noise in one step. Suppose its encoder runs on a phase-change-memory crossbar. We claim that, after standard noise-injected training of the encoder, the hardware-induced deviation between the ideal encoder output $x$ and the actual output $\tilde{x}(t)$ at device age $t$ is well approximated by a low-dimensional, slowly varying map plus white noise. If so, the receiver can estimate that map from a small number of pilot transmissions, because it holds a digital copy of the ideal encoder and can compute the $x$ that each pilot should have produced. A receiver that corrects for this estimate should then keep reconstruction quality near the drift-free level over a simulated year. The comparison point is a model trained with hardware-aware noise alone and left uncorrected. The pilot overhead should be a small fraction of channel uses.

The tested approximation is

$$\tilde{x}(t) \approx A(t)\,x + b(t) + \epsilon,$$

where $A(t)$ is a per-latent-channel gain (diagonal or low-rank), $b(t)$ is an offset, and $\epsilon$ is zero-mean noise whose variance adds to the channel noise variance. The form comes from the physics. Drift follows $G(t)\propto t^{-\nu}$ with a device-dependent exponent $\nu$, so to first order it rescales column currents. Whether that rescaling survives being propagated through several nonlinear layers is exactly the empirical question.

Relation to Prior Work

Three lines of communication-autoencoder work motivate the setting, and all three assume ideal digital arithmetic at both ends. Turbo Autoencoder learns channel codes that hold up under non-Gaussian and bursty noise. DeepJSCC-Q and MDJCM constrain encoder outputs to digital constellations using soft-to-hard quantization and straight-through gradients. WITT uses a Swin transformer conditioned on SNR. They show that learned links degrade gracefully, which is the property we rely on to absorb fast hardware noise. They do not model errors in the computation itself. WITT's SNR-conditioning module also supplies the mechanism for our receiver: a small network that rescales decoder features. We condition on an estimated hardware state as well as SNR.

From the analog side, we reuse methods and are constrained by their findings. Rasch et al. show that noise-injected training brings 5 of 11 workloads within 1% of floating point and keeps them stable over a simulated year of drift. They also find that output-side noise (converters, clipping) hurts far more than weight noise. That finding is the motivation for removing the output converter at the transmitter, where output noise simply becomes channel noise. Lammie et al. recover accuracy after training by recalibrating input ranges and per-channel conductances. CorrectNet adds Lipschitz regularization and small digital compensators placed by reinforcement learning. Every one of these fixes acts on the device that runs the network. Our approach acts on a different device, the receiver, which is possible only because a communication link has one. AIHWKit supplies the simulator for crossbars, drift, programming noise, and converters. It has no channel layer, so we add one.

Research Program

We map the convolutional and linear layers of two encoders onto simulated phase-change crossbars in AIHWKit. The first is a small convolutional DeepJSCC encoder for CIFAR-10. The second is the WITT encoder from the official codebase for Kodak, where only the static-weight layers go to the crossbar and attention stays digital, since its matrices depend on the input. The decoder stays digital at full precision.

The transmitter supports two output paths. The first uses a conventional 8-bit output converter followed by a digital-to-analog converter. The second sends crossbar outputs straight to the transmit front end, with power normalization done by a single analog gain. That second path is modeled as additive output noise with no quantization.

Training proceeds in two stages. In stage one, the encoder is trained with noise injection in the style of Rasch et al., sampling programming noise, read noise, and drift ages drawn log-uniformly from one second to one year. In stage two, the receiver learns to use a hardware-state estimate. Every $T$ transmissions, the transmitter sends $K$ fixed pilot images through its analog encoder. The receiver computes the ideal outputs with its digital encoder copy, fits $A$ and $b$ by least squares averaged over pilots and channel noise, and passes them to two consumers. The first is an equalizer that inverts the affine map. The second is a feature-rescaling module in the decoder, trained over many simulated device instances and ages.

When the affine fit leaves a large residual, a fallback updates small low-rank adapters in the decoder by gradient steps on the pilot reconstruction loss. This is supervised, because the pilots are known. Each device is a fresh simulator seed, so every device has its own stuck cells, programming errors, and drift exponents.

Baselines

The do-nothing reference takes a DeepJSCC or WITT model trained in floating point, programs it onto the crossbar unmodified, and decodes with the standard receiver. Given CorrectNet's report that VGG16 on CIFAR-100 falls from 70.52% to 1.69% under weight variation $\sigma=0.5$ with direct mapping, we expect severe loss. We will measure rather than assume it, because graceful degradation may soften the collapse.

The strongest existing method is hardware-aware training of the encoder in the style of Rasch et al., combined with the post-training recalibration of Lammie et al. applied at the transmitter. Recalibration happens at the same intervals as our pilots, so the two methods use the same update schedule. Lacuna has no reported result for DeepJSCC or WITT on analog hardware. The closest reported numbers are on other tasks: iso-accuracy within 1% for 5 of 11 workloads (Rasch et al.), and GLUE improving from 76.3% to 81.6% with post-training optimization (Lammie et al.). Fairness rules are as follows. Both arms use the same encoder weights from stage one, the same simulated devices and seeds, and the same SNR grid. Training and adapter-tuning budgets are matched in GPU-hours. Pilot channel uses are charged against our method's bandwidth.

We beat this baseline if, at 1 month and 1 year of drift, our method matches or exceeds its PSNR while the transmitter performs no reprogramming and no calibration compute. Alternatively, it must exceed the baseline by at least 0.5 dB when the baseline is allowed no transmitter-side recalibration, which is the edge-realistic setting.

A third baseline is the digital reference. The same encoder is quantized to INT8 with quantization-aware training, as in Q-YOLOP, and run on ideal integer hardware. This bounds what quality we give up for analog efficiency.

Two ablations isolate the key ingredients. The first removes pilot tracking and keeps everything else. The second swaps the converter-free output path for the 8-bit converter path. Together they show whether gains come from receiver tracking, from the output path, or from both.

Why not just…?

Why not just use hardware-aware training on the encoder and stop? This is the real threat. Rasch et al. report one-year stability for several workloads with noise injection alone. If the PSNR-versus-age curve under hardware-aware training alone stays within 0.3 dB of the drift-free curve, the tracking component is unnecessary. In that case we would report the decomposition result and the converter-free path as the contribution. The time-sweep experiment settles this directly. Our prior expectation that tracking will matter comes from the link itself: encoder output errors become constellation errors that the decoder cannot tell apart from signal. Classifiers, by contrast, tolerate output shifts that preserve the top class.

Why not just recalibrate or reprogram the transmitter chip periodically? It works, which is why it sits inside the strongest baseline. But it spends energy on the transmitter, requires reading out the transmitter's own outputs, and wears the memory cells, while the receiver idles. We count the transmitter-side operations and the pilot channel uses each scheme needs and compare quality at equal transmitter cost.

Why not just train the link over a wider SNR range and treat all hardware error as channel noise? For fast random errors, that is our own hypothesis, and we test it. The test asks whether PSNR curves under read and output noise collapse onto the clean curve shifted by a fixed number of dB. Drift is a systematic gain and offset that is consistent within one device, not independent noise. Wider SNR training cannot invert it. The ablation that trains on SNR range alone, without drift samples, shows whether this distinction holds in practice.

Proposed Experiments

The first experiment decides everything else. On CIFAR-10 DeepJSCC across 50 simulated devices, we measure how much of the variance of $\tilde{x}(t)-x$ is explained by the per-channel affine fit, at ages from one second to one year, with and without stage-one training. A high explained fraction after training (we will treat roughly 90% as encouraging) supports the core claim. A low fraction pushes the method toward adapter tuning, and we will report that honestly.

The second experiment traces PSNR and SSIM against SNR (0 to 20 dB, AWGN and Rayleigh fading) and against drift age for all baselines and ablations, on CIFAR-10 and on Kodak with WITT trained on DIV2K. We report the effective SNR loss in dB relative to the floating-point link, the pilot overhead as a fraction of channel uses, and the quality as the pilot interval $T$ grows. The interval at which quality falls by 0.5 dB gives the calibration rate the method actually requires.

The third experiment compares the converter-free and 8-bit converter output paths at matched transmit power. It tests whether the output noise Rasch et al. found most harmful becomes nearly free once it lands in the channel. Alongside it, we report AIHWKit energy estimates for each path, presented as simulator projections rather than measurements.

Finally, a held-out device test checks whether the receiver's hardware-state module generalizes. It is trained on one set of device seeds and evaluated on unseen ones with different stuck-cell rates. This tests whether a base station can serve a fleet of differently flawed transmitters without per-device training.