sshinCPN commited on
Commit
6bee6cd
·
verified ·
1 Parent(s): bf60051

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +221 -3
README.md CHANGED
@@ -1,3 +1,221 @@
1
- ---
2
- license: gpl
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # CMuSeNet
2
+
3
+ > Complex-Valued Multi-Signal Segmentation Network for Cognitive Radio Systems.
4
+
5
+ ---
6
+
7
+ [![IEEE Xplore](https://img.shields.io/badge/IEEE-Xplore-blue)]()
8
+ [![Github](https://img.shields.io/badge/HuggingFace-CMuSeNet-orange)](https://github.com/UNL-CPN-Lab/CMuSeNet)
9
+ [![IEEE Dataport](https://img.shields.io/badge/IEEE-Dataport-blue)](https://ieee-dataport.org/documents/cv-musenet-complex-valued-multi-signal-segmentation-dataset-0)
10
+ [![License](https://img.shields.io/badge/License-GPL%20Family-green)]()
11
+
12
+ ---
13
+
14
+ ## Overview
15
+
16
+ **CMuSeNet** is a Complex-Valued Neural Network (CVNN)-based residual architecture designed for wideband spectrum segmentation in challenging low-SNR environments.
17
+ It leverages complex signal properties (phase, amplitude) inherently using complex-valued convolutions and introduces:
18
+
19
+ - **Complex-Valued Fourier Spectrum Focal Loss (CFL)** for robust low-SNR training
20
+ - **Complex Plane Intersection-over-Union (CIoU)** for accurate segmentation evaluation
21
+ - **Residual CVNN architecture** for enhanced feature extraction
22
+
23
+ <img src="assets/overview.png" alt="CMuSeNet Overview" width="400"/>
24
+
25
+ **Key highlights:**
26
+ - Up to **9.2%** improvement in segmentation accuracy over RVNNs
27
+ - **99.4%** Average Accuracy over SNR of [-20, 10] dB with synthetic dataset and **98.98** Average Accuracy over SNR of [-10, 10] dB with Indoor OTA dataset
28
+ - **33.1%** reduction in total training time compared to RVNN models
29
+ - Achieves equivalent RVNN accuracy within **2 epochs** vs **27 epochs**
30
+ - Evaluated on Synthetic, Indoor Over-The-Air (OTA), and Real-World Broadband Irregularly-sampled Geographical Radio Environment Dataset (BIG-RED).
31
+ - Dataset publicly available on IEEE DataPort
32
+
33
+ ## CMuSeNet Architecture
34
+
35
+ CMuSeNet employs a residual Complex-Valued Neural Network (CVNN) architecture based on complex convolutions, batch normalization, and CReLU activation.
36
+ FFT preprocessing preserves signal phase and amplitude in the frequency domain before feeding into the network.
37
+
38
+ <img src="assets/architecture_training.png" alt="CMuSeNet Architecture" width="400"/>
39
+
40
+ ---
41
+
42
+ ## Complex Fourier Spectrum Focal Loss (CFL)
43
+
44
+ CMuSeNet introduces a novel **Complex-Valued Fourier Spectrum Focal Loss (CFL)** to improve training for multi-signal segmentation under low-SNR conditions.
45
+
46
+ - Instead of reducing FFT outputs to real-valued magnitudes, CFL retains real and imaginary components separately.
47
+ - Applies a focal loss formulation on the **real** and **imaginary** parts of the Fourier spectrum.
48
+ - Focuses learning on **hard-to-detect weak signals** by dynamically adjusting the loss contribution.
49
+ - Allows the network to preserve **phase** and **amplitude** information crucial for accurate segmentation.
50
+
51
+ CFL enhances model robustness and convergence speed, achieving faster training and better low-SNR performance compared to real-valued losses.
52
+
53
+ <img src="assets/ComplexFL.png" alt="Complex Fourier Spectrum Focal Loss Concept" width="400"/>
54
+
55
+ ---
56
+
57
+
58
+ ## Complex Plane Intersection over Union (CIoU) Concept
59
+
60
+ Unlike traditional segmentation that treats outputs as magnitude-only, CMuSeNet evaluates predictions over the complex-valued Fourier spectrum using a novel CIoU metric.
61
+ This treats real and imaginary axes jointly, improving boundary detection for signals in low-SNR environments.
62
+
63
+ <img src="assets/ComplexIoU.png" alt="Complex IoU Concept" width="400"/>
64
+
65
+
66
+ Detailed technical description available in:
67
+
68
+ > **Reference:**
69
+ > Sangwon Shin, Mehmet C. Vuran, “I Can’t Believe It’s Not Real: CV-MuSeNet: Complex-Valued Multi-Signal Segmentation”, in *Proc. IEEE Dynamic Spectrum Access Networks (DySPAN'25)*, IEEE, May 2025.
70
+
71
+ ---
72
+
73
+ ## Model and Dataset Links
74
+
75
+ - [GitHub](https://github.com/UNL-CPN-Lab/CMuSeNet)
76
+ - [IEEE Dataport Dataset](https://ieee-dataport.org/documents/cv-musenet-complex-valued-multi-signal-segmentation-dataset)
77
+ - IEEE Xplore Publication: *(Link will be updated once available)*
78
+
79
+ ---
80
+
81
+ ## Requirements
82
+
83
+ - CUDA-capable NVIDIA GPU (e.g., Tesla V100)
84
+ - Intel CPU with i7 or higher
85
+ - Python 3.8
86
+ - Jupyter Notebook
87
+ - Anaconda (preferred) or pip
88
+
89
+ ## Evaluation setup
90
+
91
+ - Intel Xeon Silver 4110 CPU
92
+ - NVIDIA Tesla V100 - 16GB VRAM
93
+ - 187 GB RAM
94
+
95
+ ---
96
+
97
+ ## Installation
98
+
99
+ ### Anaconda (Recommended)
100
+
101
+ ```bash
102
+ conda create -n cmusenet python=3.8
103
+ conda activate cmusenet
104
+
105
+ conda install tqdm
106
+ conda install pytorch torchvision torchaudio pytorch-cuda=12.4 -c pytorch -c nvidia
107
+ conda install -c conda-forge tensorflow
108
+ conda install scikit-learn
109
+ conda install numpy scipy matplotlib -y
110
+ conda install git
111
+ pip install git+https://github.com/wavefrontshaping/complexPyTorch.git
112
+ conda install -c anaconda ipykernel
113
+ ```
114
+
115
+ ### Pure pip (Alternative)
116
+
117
+ ```bash
118
+ python -m venv cmusenet-env
119
+ source cmusenet-env/bin/activate # (Linux/Mac) or .\cmusenet-env\Scripts\activate (Windows)
120
+
121
+ pip install tqdm
122
+ pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
123
+ pip install tensorflow
124
+ pip install scikit-learn
125
+ pip install numpy scipy matplotlib
126
+ pip install gitpython
127
+ pip install git+https://github.com/wavefrontshaping/complexPyTorch.git
128
+ pip install ipykernel
129
+ ```
130
+
131
+ ---
132
+
133
+ ## Quick Start
134
+
135
+ ### Clone the Repository
136
+
137
+ ```bash
138
+ git clone https://github.com/your_username/CMuSeNet.git
139
+ cd CMuSeNet
140
+ ```
141
+
142
+ > Replace `your_username` with your GitHub ID if publishing!
143
+
144
+ ### Launch Jupyter Notebook
145
+
146
+ ```bash
147
+ jupyter notebook
148
+ ```
149
+
150
+ Open and run:
151
+
152
+ - `Seek_VGG_ResNet_CVNN_RawComplexValue`
153
+ - `Seek_ResNet_CVNN_OTA`
154
+ - `BIGRED_Seek_ResNet_CVNN`
155
+
156
+ **Note:**
157
+ Ensure datasets are downloaded and change the dataset direction in the code.
158
+
159
+ ---
160
+
161
+ ## Training and Evaluation
162
+
163
+ Each notebook contains detailed blocks for:
164
+
165
+ - Loading synthetic, Indoor-OTA, or Broadband Irregularly-sampled Geographical Radio Environment Dataset BIG-RED data
166
+ - Model initialization
167
+ - Training with complex-valued loss
168
+ - Validation metrics tracking (CIoU, CFL)
169
+
170
+ Hyperparameters tuned for low-SNR robustness:
171
+ - Batch size = 64
172
+ - Early stopping patience = 3
173
+ - CFL loss parameters γ = 1, α = 3
174
+
175
+ Transfer learning supported from Synthetic → OTA → BIG-RED datasets.
176
+
177
+ ---
178
+
179
+ ## Additional Citations
180
+
181
+ This project also uses [complexPyTorch](https://github.com/wavefrontshaping/complexPyTorch):
182
+
183
+ ```bibtex
184
+ @misc{meunier2023complexpytorch,
185
+ title={complexPyTorch},
186
+ author={S\u00e9bastien Meunier},
187
+ year={2023},
188
+ publisher={GitHub},
189
+ howpublished={\url{https://github.com/wavefrontshaping/complexPyTorch}}
190
+ }
191
+
192
+
193
+ ## License
194
+
195
+ This project is licensed under the **GPL family** (General Public License) terms.
196
+ Details will be updated following IEEE publication.
197
+
198
+ ---
199
+
200
+ ## Citation
201
+
202
+ If you use this code, dataset, or model, please cite:
203
+
204
+ ```bibtex
205
+ @inproceedings{shin2025cmusenet,
206
+ title={I Can't Believe It's Not Real: {CV-MuSeNet}: Complex-Valued Multi-Signal Segmentation},
207
+ author={Sangwon Shin and Mehmet C. Vuran},
208
+ booktitle={IEEE Dynamic Spectrum Access Networks (DySPAN)},
209
+ year={2025},
210
+ organization={IEEE}
211
+ }
212
+ ```
213
+
214
+ ## Acknowledgement
215
+ Office of Naval Research, NSWC Crane N00174-23-1-0007
216
+
217
+ This work relates to Department of Navy award N00174-23-1-0007 issued by the Office of Naval Research, NSWC Crane. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the Office of Naval Research.
218
+
219
+ ---
220
+
221
+