Skip to content

About

This is the code of the paper "SpectrumFM: A Foundation Model for Intelligent Spectrum Management"

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

The Framework of Our Model

image The SpectrumFM framework comprises three key stages. First, in the data collection and processing stage, diverse spectrum data from multiple sources are gathered and preprocessed to ensure consistency and compatibility across datasets. Second, during the pre-training stage, the model learns fundamental spectrum representations through self-supervised learning tasks, namely, masked reconstruction and next-slot signal prediction. Finally, in the fine-tuning stage, the pre-trained model is adapted to specific downstream tasks, including AMC, WTC, SS, and AD.

Experimental Settings

The hyperparameters for SpectrumFM are as follows. The mask ratio r is set to 15%, the number of signal symbols is set to 128, the number of attention heads H is set to 4, the latent dimension d is set to 256, the feedforward dimension dfeed is set to 512, and the number of SpectrumFM encoder layers L is set to 16. The pre-training phase consists of 10 epochs with a batch size of 256 and a learning rate of 0.001. The AdamW optimizer is employed for optimization, and early stopping is utilized to prevent overfitting. During the fine-tuning stage, the same learning rate of 0.001 and the AdamW optimizer are used to further adapt the model to specific downstream tasks.

Results

Automatic Modulation Classification Task

image

Wireless Technology Classification Task

image

Spectrum Sensing Task

image

Anomaly Detection Task

image

The Code

The pretraining code is located in the pretrain.py file, while the fine-tuning code can be found in the amc.py file.

Cite Our Paper

@misc{zhou2025spectrumfmfoundationmodelintelligent,
      title={SpectrumFM: A Foundation Model for Intelligent Spectrum Management}, 
      author={Fuhui Zhou and Chunyu Liu and Hao Zhang and Wei Wu and Qihui Wu and Derrick Wing Kwan Ng and Tony Q. S. Quek and Chan-Byoung Chae},
      year={2025},
      eprint={2505.06256},
      archivePrefix={arXiv},
      primaryClass={eess.SP},
      url={https://arxiv.org/abs/2505.06256}, 
}

About

This is the code of the paper "SpectrumFM: A Foundation Model for Intelligent Spectrum Management"

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages