Abstract
Channel equalization is fundamental for mitigating distortions such as frequency-selective fading and inter-symbol interference. Unlike standard supervised learning approaches that require costly retraining or fine-tuning for each new task, in-context learning (ICL) adapts to new channels at inference time with only a few examples. However, existing ICL-based equalizers are primarily developed for and evaluated on static channels within the context window. Indeed, to our knowledge, prior principled analyses and theoretical studies of ICL focus exclusively on the stationary setting, where the function remains fixed within the context. In this paper, we investigate the ability of ICL to address non-stationary problems through the lens of time-varying channel equalization. We employ a principled framework for designing efficient attention mechanisms with improved adaptivity in non-stationary tasks, leveraging algorithms from adaptive signal processing to guide better designs. For example, new attention variants can be derived from the Least Mean Square (LMS) adaptive algorithm, a Least Root Mean Square (LRMS) formulation for enhanced robustness, or multi-step gradient updates for improved long-term tracking. Experimental results demonstrate that ICL holds strong promise for non-stationary MIMO equalization, and that attention mechanisms inspired by classical adaptive algorithms can substantially enhance adaptability and performance in dynamic environments. Our findings may provide critical insights for developing next-generation wireless foundation models with stronger adaptability and robustness.
Introduction
In wireless communications, channel equalization is the critical process of reversing distortions like fading and interference to recover transmitted data. While deep learning has significantly improved equalization, most models remain "static," struggling when channel conditions evolve rapidly over time. In-context learning (ICL) offers a promising alternative by allowing models to adapt at inference time. However, standard ICL assumes the underlying function remains fixed within the context window. In real-world dynamic environments, such as high-mobility scenarios, the channel matrix evolves constantly, causing standard softmax-based transformers to fail as they cannot effectively track temporal drifts.
Methodology: Adaptive Attention Mechanisms
To bridge the gap between transformer architectures and adaptive signal processing, we propose three novel attention variants designed for non-stationary tasks:
- LMS Attention: This mechanism replaces standard softmax with a state-space approach where a state matrix is updated using a one-step gradient descent based on the Least Mean Square (LMS) error. This effectively transforms the attention layer into an online optimizer that tracks the channel.
- Multi-Step LMS (Multi-LMS): To accelerate adaptation, we derive a closed-form expression for $M$ gradient steps within a single forward pass, allowing the model to react more aggressively to rapid channel variations.
- Least Root Mean Square (LRMS) Attention: Designed for robustness in noisy or heavily quantized environments, LRMS implements an update where the loss grows linearly rather than quadratically with the error, making it more resilient to outliers.
These mechanisms are integrated into a 2-layer GPT-2 style transformer, enabling "test-time regression" as the model processes a stream of signals.
Experimental Setup
We evaluated our approach using a synthetic 2×2 time-varying MIMO dataset. The channel evolution is governed by an autoregressive model with a memory factor ($\rho$) determining the rate of change. Signals are drawn from a QPSK constellation and subjected to additive Gaussian noise and $b$-bit uniform quantization to simulate hardware constraints. The models were pretrained on 8,192 channels and validated on 1,000 independent time-varying instances.
Results and Discussion
Experimental results demonstrate that adaptive attention mechanisms significantly outperform standard softmax attention and even classical estimators with perfect channel knowledge.
As shown in Figure 1, LMS attention consistently achieves lower Mean Square Error (MSE) than the Linear Minimum Mean Square Error (LMMSE) baseline, despite LMMSE having access to perfect channel information. This indicates that the transformer effectively learns to track the channel's temporal evolution more accurately than traditional linear methods, particularly in high-noise and low-bit quantization scenarios.
Further analysis in Figure 3 highlights the benefits of the proposed variants. Multi-LMS improves performance as the number of steps $M$ increases, though it eventually reaches a point of diminishing returns. Additionally, LRMS attention demonstrates superior robustness compared to standard LMS, providing better tracking performance across different memory factors.
Conclusion
This work demonstrates that ICL is a powerful tool for non-stationary MIMO equalization. By grounding attention mechanisms in classical adaptive algorithms like LMS and LRMS, we can create transformers that are not only more accurate but also more robust to dynamic channel conditions and hardware constraints. These findings provide critical insights for developing next-generation wireless foundation models with enhanced adaptability.
Summary updated