Plug-and-Play AMC: Context Is King in Training-Free, Open-Set Modulation with LLMs

1 st Mohammad Rostami, 2 nd Atik Faysal, 3 rd Reihaneh Gh. Roshan, 4 th Huaxia Wang, 5 th Nikhil Muralidhar, 6 th Yu-Dong Yao · 2025

Read Plug-and-Play AMC: Context Is King in Training-Free, Open-Set Modulation with LLMs by 1 st Mohammad Rostami, 2 nd Atik Faysal, 3 rd Reihaneh Gh. Roshan, 4 th Huaxia Wang, 5 th Nikhil Muralidhar, 6 th Yu-Dong Yao (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2505-03112.txt.

Introduction

Mohammad Rostami and co-authors present a 2025 method for sorting radio signals by their modulation type. Such sorting helps manage crowded airwaves and keeps wireless links sound. Noise and mixed signals make the task hard. Their method pairs classic signal math with a large language model, and it needs no fresh training for each new case.

The team turns signal traits, drawn from higher-order statistics, into neat written prompts. Worked examples inside the prompt guide the model to a one-shot answer. Tests on made-up data, both clean and noisy, showed scores that matched set methods across many signal types. Because the method skips denoising and retraining, it could cut the cost of building signal tools for each new channel. The work points toward shared base models for wireless tasks.

Catalog record

CREATOR1 st Mohammad Rostami, 2 nd Atik Faysal, 3 rd Reihaneh Gh. Roshan, 4 th Huaxia Wang, 5 th Nikhil Muralidhar, 6 th Yu-Dong Yao
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE22 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2505-03112

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Plug-and-Play AMC: Context Is King in Training-Free, Open-Set Modulation with LLMs 1 st Mohammad Rostami, 2 nd Atik Faysal, 3 rd Reihaneh Gh. Roshan, 4 th Huaxia Wang, 5 th Nikhil Muralidhar, 6 th Yu-Dong Yao Abstract Automatic Modulation Classification (AMC) is critical for efficient spectrum management and robust wireless communications. However, AMC remains challenging due to the complex interplay of signal interference and noise. In this work, we propose an innovative framework that integrates traditional signal processing techniques with Large-Language Models (LLMs) to address AMC. Our approach leverages higher-order statistics and cumulant estimation to convert quantitative signal features into structured natural language prompts. By incorporating exemplar contexts into these prompts, our method exploits the LLM’s inherent familiarity with classical signal processing, enabling effective one-shot classification without additional training or preprocessing (e.g., denoising). Experimental evaluations on synthetically generated datasets—spanning both noiseless and noisy conditions—demonstrate that our framework achieves competitive performance across diverse modulation schemes and Signal-to-Noise Ratios (SNRs). Moreover, our approach paves the way for robust foundation models in wireless communications across varying channel conditions, significantly reducing the expense associated with developing channel-specific models. This work lays the foundation for scalable, interpretable, and versatile signal classification systems in next-generation wireless networks. The source code is available at https://github.com/RU-SIT/context-is-king I Introduction Automatic Modulation Classification (AMC) is a critical technology in modern wireless communications, underpinning applications in cognitive radio, spectrum sensing, and interference management. By accurately identifying modulation schemes, AMC facilitates efficient spectrum utilization and enhances the adaptability and reliability of communication networks. However, despite its significance, AMC remains a challenging problem due to the complex interplay of signals with ambient noise and other channel impairments. Early approaches to AMC predominantly relied on traditional machine learning techniques and handcrafted feature extraction, but these methods have gradually been superseded by deep learning models. For instance, Convolutional Neural Networks (CNNs) have been extensively applied in this domain. Peng et al. [ 1 ] transformed raw modulated signals into constellation diagrams to serve as inputs for CNN architectures such as AlexNet, while subsequent studies introduced variants like MCNet [ 2 ] that leveraged multiple convolutional blocks with skip connections and asymmetric kernels to capture spatio-temporal correlations. In another investigation, a CNN framework was explored using multiple signal representations, such as constellation diagrams, ambiguity functions, and eye diagrams, with empirical results indicating that combining these representations could improve classification accuracy [ 3 ] . Fig. 1 : Overview of our in-context AMC framework. The raw signal is first summarized into high-order statistics and cumulants, which are then embedded in a text prompt. This prompt is fed into a large language model to perform modulation classification from a predefined set of modulation types (e.g., 4ASK, 4PAM, 8ASK, 16PAM). More recently, attention-based models, particularly transformers, have garnered significant interest for AMC. Transformers, introduced by Vaswani et al. [ 4 ] , are adept at processing sequential data by dynamically focusing on the most relevant parts of the input. Cai et al. [ 5 ] demonstrated that a transformer network (TRN)-based approach can capture long-range dependencies more effectively than conventional CNNs, which is especially beneficial in low SNR scenarios. Building on this idea, Kong et al. [ 6 ] further improved transformer-based AMC by incorporating convolutional embedding and attention pooling techniques, and Qu et al. [ 7 ] combined transformers with Long Short-Term Memory (LSTM) networks to address long-range temporal dependencies and enhance robustness against noise through novel data augmentation strategies. Despite these advancements, many existing methods are developed under idealized, noise-free conditions [ 8 , 9 ] . Such conditions are rarely encountered in real-world environments where signals are typically contaminated with noise. Moreover, several approaches struggle with fine-tuning downstream tasks when only limited labeled data is available [ 10 , 11 ] . Nmformer [ 12 ] employs a Vision Transformer (ViT) trained on a large labeled dataset to achieve strong performance when retrained on low-SNR signals. However, the model struggles to attain high accuracy due to the absence of unsupervised pretraining. In contrast, DenoMAE [ 13 ] and DenoMAE2.0 [ 14 ] aim to achieve competitive performance with only a few thousand samples during pretraining and significantly fewer labeled samples in the downstream task. Nevertheless, the limited data constrains the model’s ability to achieve substantial performance improvements. This underscores the need for a more advanced framework that effectively leverages large-scale data to enhance accuracy. Addressing these limitations, recent work has begun to explore more sophisticated frameworks that can balance performance across varying SNR conditions. Gao et al. in the MoE-AMC study [ 15 ] proposed a Mixture-of-Experts (MoE) approach that integrates a ResNet-based model for high SNR signals with a transformer-based model for low SNR signals, achieving a more balanced and robust classification performance. Complementing this, the review by Jafarigol et al. [ 16 ] provided a comprehensive analysis of contemporary AI/ML-based AMC models, highlighting both recent advances and persistent challenges, particularly the difficulty of maintaining accuracy in noisy environments and the need for efficient models that operate under constrained computational resources. In this work, we take a novel direction by leveraging a pretrained LLM-based approach for automatic modulation classification. Our method utilizes traditional modulation statistics and cumulants, capitalizing on the LLM’s inherent familiarity with classical signal processing techniques. This capability enables our framework to perform competitive one-shot modulation classification without the need for exhaustive training across all SNRs, modulation types, or channel conditions, and without the computational overhead of extra preprocessing steps such as denoising. By transforming quantitative signal features into natural language descriptions, our approach bridges the gap between classical signal processing and modern AI, achieving robust performance even in challenging, noisy scenarios. Our contributions include: • A novel in-context approach for AMC using LLMs that simplifies the processing pipeline. • A one-shot classification method that eliminates the need for extensive training data. • Competitive performance under both noiseless and noisy conditions. Beyond improving AMC performance, our approach paves the way for developing foundation models for wireless communications. Such foundation models can provide a robust unified solution across diverse scenarios, reducing the need for channel-specific models and lowering the associated development and deployment costs. By enabling models that generalize well without extensive retraining, our method has the potential to streamline the design of wireless communication systems, making them more adaptable, scalable, and cost-effective. Overall, this work not only simplifies modulation classification but also sets the stage for further research in robust, scalable, and versatile signal processing using large language models. II Theoretical Background This section presents the key theoretical foundations of higher-order statistics and cumulants that capture essential signal features and inform our LLM prompt construction approach. II-A High-Order Statistics Statistical moments offer a quantitative description of the shape and characteristics of a random variable’s probability distribution. In particular, the n^{\mathrm{th}} -order moment of a random variable x is defined as m_{n}(x)=\int x^{n}f(x)\,dx, (1) where f(x) represents the probability density function of x . The existence of the n^{\mathrm{th}} -order moment guarantees that all moments of lower order are also defined. We refer to m_{n}(x-\mu) as the central moment , where \mu is the mean, and m_{n}(x/\sigma) as the normalized moment , with \sigma denoting the standard deviation. Cumulants, denoted by c_{n} , provide

Read the complete text