Transformers are Provably Optimal In-context Estimators for Wireless Communications
Not on the map. Why?
Abstract (arXiv)
Pre-trained transformers exhibit the capability of adapting to new tasks through in-context learning (ICL), where they efficiently utilize a limited set of prompts without explicit model optimization. The canonical communication problem of estimating transmitted symbols from received observations can be modeled as an in-context learning problem: received observations are a noisy function of transmitted symbols, and this function can be represented by an unknown parameter whose statistics depend on an unknown latent context. This problem, which we term in-context estimation (ICE), has significantly greater complexity than the extensively studied linear regression problem. The optimal solution to the ICE problem is a non-linear function of the underlying context. In this paper, we prove that, for a subclass of such problems, a single-layer softmax attention transformer (SAT) computes the optimal solution of the above estimation problem in the limit of large prompt length. We also prove that the optimal configuration of such a transformer is indeed the minimizer of the corresponding training loss. Further, we empirically demonstrate the proficiency of multi-layer transformers in efficiently solving broader in-context estimation problems. Through extensive simulations, we show that solving ICE problems using transformers significantly outperforms standard approaches. Moreover, just with a few context examples, it achieves the same performance as an estimator with perfect knowledge of the latent context. The code is available hrefhttps://github.com/vishnutez/in-context-estimationhere.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 23 of its 55 references that are in the map. First posted on arXiv 1 Nov 2023.
Builds on
23 of 55 references.
References · 23
- 2017Attention Is All You Needcited by 60,361
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
- 2022Transformers learn in-context by gradient descentcited by 732
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
- 2021MetaICL: Learning to Learn In Contextcited by 454
- 2023Trained Transformers Learn Linear Models In-Contextcited by 337
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 309
- 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 279
11 more
- 2023One Step of Gradient Descent is Provably the Optimal In-Context Learner with One Layer of Linear Self-Attentioncited by 170
- 2023Supervised Pretraining Can Learn In-Context Reinforcement Learningcited by 139
- 2023In-Context Convergence of Transformerscited by 115
- 2023How Many Pretraining Tasks Are Needed for In-Context Learning of Linear Regression?cited by 96
- 2023In-Context Learning through the Bayesian Prismcited by 83
- 2023How Do Transformers Learn In-Context Beyond Simple Functions? A Case Study on Learning with Representationscited by 75
- 2020End-to-end Learning for OFDM: From Neural Receivers to Pilotless Communicationcited by 33
- 2020Deep Learning Methods for Solving Linear Inverse Problems: Research Directions and Paradigmscited by 16
- 2019Unsupervised Linear and Nonlinear Channel Equalization and Decoding using Variational Autoencoderscited by 11
- 2022Variational Autoencoder Leveraged MMSE Channel Estimationcited by 9
- 2023Semi-Supervised Variational Inference over Nonlinear Channelscited by 2
Built on by
Citing papers per year: 2024: 1; 2025: 5; 2026: 2.
8 papers.
- 2025DenoMAE2.0: Improving Denoising Masked Autoencoders by Classifying Local Patchescited by 3
- 2025Analogical Learning for Cross-Scenario Generalization: Framework and Application to Intelligent Localizationcited by 3
- 2024Decision Feedback In-Context Symbol Detection over Block-Fading Channelscited by 2
- 2025In-Context Learning for Gradient-Free Receiver Adaptation: Principles, Applications, and Theorycited by 1
- 2025Decision Feedback In-Context Learning for Wireless Symbol Detectioncited by 0
- 2025Chain-of-Thought Enhanced Shallow Transformers for Wireless Symbol Detectioncited by 0
- 2026Self-Evolving In-Context Learning for Direct Pilot-to-Beamformer Design in MU-MISO Systemscited by 0
- 2026Geometric Inductive Biases for Semi-Supervised Equalization: The Constellation-Aware Transformercited by 0
- 2026Geometric Inductive Biases for Semi-Supervised Equalization: The Constellation-Aware Transformer27 Sep 2026
- 2026Self-Evolving In-Context Learning for Direct Pilot-to-Beamformer Design in MU-MISO Systems13 Jul 2026
- 2025Chain-of-Thought Enhanced Shallow Transformers for Wireless Symbol Detection26 Jun 2025
- 2025In-Context Learning for Gradient-Free Receiver Adaptation: Principles, Applications, and Theory18 Jun 2025
- 2025Analogical Learning for Cross-Scenario Generalization: Framework and Application to Intelligent Localization9 Apr 2025
- 2025Decision Feedback In-Context Learning for Wireless Symbol Detection20 Mar 2025
- 2025DenoMAE2.0: Improving Denoising Masked Autoencoders by Classifying Local Patches25 Feb 2025
- 2024Decision Feedback In-Context Symbol Detection over Block-Fading Channels12 Nov 2024