Large Language Models Can Perform Automatic Modulation Classification via Discretized Self-supervised Candidate Retrieval
Abstract
Identifying wireless modulation schemes is essential for cognitive radio, but standard supervised models often degrade under distribution shift, and training domain-specific wireless foundation models from scratch is computationally prohibitive. Large Language Models (LLMs) offer a promising training-free alternative via in-context learning, yet feeding raw floating-point signal statistics into LLMs overwhelms models with numerical noise and exhausts token budgets. We introduce DiSC-AMC, a framework that reformulates Automatic Modulation Classification (AMC) as an LLM reasoning task by combining aggressive feature discretization with nearest-neighbor retrieval over self-supervised embeddings. By mapping continuous features to coarse symbolic tokens, DiSC-AMC aligns abstract signal patterns with LLM reasoning capabilities and reduces prompt length by over \%. Simultaneously, utilizing a DINOv2 visual encoder to retrieve the most similar labeled exemplars provides highly relevant, query-specific context rather than generic class averages. On a 10-class benchmark, a fine-tuned 7B-parameter LLM using DiSC-AMC achieves \% in-distribution accuracy (\,to\,\,dB) and \% out-of-distribution (OOD) accuracy (\,to\,\,dB), outperforming supervised baselines. Comprehensive ablations on vanilla LLMs demonstrate the token efficiency of DiSC-AMC. A training-free B LLM achieves \% accuracy using only \,K-token prompt,surpassing a B-parameter baseline that relies on a K-token prompt. Furthermore, similarity-based exemplar retrieval outperforms naive class-average selection by over \%. Finally, we identify a fundamental limitation of this pipeline. At extreme OOD noise levels (\,dB), the underlying self-supervised representations collapse, degrading retrieval quality and reducing classification to random chance.
Cite
@article{arxiv.2510.00316,
title = {Large Language Models Can Perform Automatic Modulation Classification via Discretized Self-supervised Candidate Retrieval},
author = {Mohammad Rostami and Atik Faysal and Reihaneh Gh. Roshan and Huaxia Wang and Nikhil Muralidhar and Yu-Dong Yao},
journal= {arXiv preprint arXiv:2510.00316},
year = {2026}
}