Skip to main content
NC State Home
Symposium 2026 Projects

RF-SHIELD: AI-Driven RF Sensemaking Framework for Intelligent Spectrum Sensing and Threat Detection

A machine learning framework to convert radio frequency (RF) into actionable intelligence by detecting signals, identifying sources, and flagging anomalous activity.

End-to-end architecture chart for radio frequency (RF) sensing, activity characterization, and analyst interaction.
Figure 1: RF-SHIELD end-to-end architecture for radio frequency (RF) sensing, activity characterization, and analyst interaction.
  • Sultan M. Manjur, Parker Trzebunia, Wahab Khawaja, and Ali C. Gurbuz (North Carolina State University)

Spectrum Awareness in a Crowded RF Environment

The radio spectrum is shared by a growing set of systems, including cellular networks, Wi-Fi, radar, satellite links, and unmanned aircraft. Spectrum policy is moving toward dynamic sharing, and radio dynamic zones (RDZs) manage access to a band in real time based on what sensors observe. Both depend on knowing what is on the air, including an unauthorized transmitter, a jammer, or a brief link in a restricted band hidden among routine traffic.

A receiver records a wide band as in-phase and quadrature (I/Q) data, complex samples that capture the signal’s amplitude and phase. The challenge is turning that record into answers: what is transmitting, which emitter sent it, and whether it is authorized.

We developed RF-SHIELD (Figure 1), an end-to-end framework that detects RF activity, characterizes each signal by modulation and source, and lets analysts query the results in natural language. It builds on our GNU Radio Conference (GRCon) 2026 paper.

Why Detecting Energy Is Not Enough

Most spectrum sensing tools report whether energy is present at a given time and frequency. That indicates something transmitted, but not what or who. An authorized radar and an unknown drone link can look nearly identical on an energy display.

Besides frequency, bandwidth, and timing, one of the most informative clues is modulation, the way a transmitter encodes data by varying a carrier’s amplitude, phase, or frequency. Many digital links vary phase (phase-shift keying, PSK) or both amplitude and phase (quadrature amplitude modulation, QAM), radars sweep frequency in chirps, and Wi-Fi and 5G spread data across many subcarriers (orthogonal frequency-division multiplexing, OFDM). A modulation that does not match a band’s registered users can reveal a misconfigured device or an intruder.

Modulation recognition is well studied, but most methods assume the signal has already been detected and isolated, which rarely holds in a wideband capture. Modulations also differ in fine phase and amplitude structure, while a spectrogram keeps only energy: quadrature PSK, 16-QAM, and 64-QAM at the same symbol rate have the same spectrum. Vision models, including vision-language models, therefore cannot reliably separate them from images, and large language models cannot ingest raw RF at millions of samples per second.

RF-SHIELD addresses this by giving each model the question its input can answer. A You Only Look Once (YOLOv11) object detector on the spectrogram finds where signals are, I/Q-based models determine what each one is and who sent it, and a language model reasons over the resulting records to explain what it means.

How RF-SHIELD Works

RF-SHIELD processes a RF capture in four stages and stores every detected burst as a structured record (Figure 1).

  1. Detect. The complex I/Q observation is converted to a spectrogram using the short-time Fourier transform (STFT), and a YOLOv11 object detector localizes each RF burst, estimating its time span, center frequency, and occupied bandwidth. The detector is intentionally class-agnostic: in our experiments, asking it to also predict modulation reduced detection confidence and increased missed detections.
  2. Extract. Each detection is mapped back to the original complex I/Q data. The burst is cropped in time, translated to baseband using the estimated center frequency, and band-limited with a zero-phase filter, producing an isolated I/Q event for each emitter.
  3. Recognize. Every extracted burst passes through two models. A lightweight one-dimensional cross-covariance image transformer (XCiT) classifies the waveform across 57 modulation classes directly from raw I/Q, followed by a family-wise refinement step that uses classical tests: a constellation match for QAM, PSK, and amplitude-shift keying (ASK), and a cyclic-prefix check for OFDM. In parallel, a one-dimensional residual network (ResNet) learns an RF fingerprint from hardware impairments, and an open-set decision assigns the burst to a known emitter (E0–E7) or flags it as unknown.
  4. Output. Each burst becomes a descriptor containing its modulation, family, emitter, time span, center frequency, and bandwidth (Figure 2).
Figure 2: RF burst detection and recognition workflow. Three simultaneous bursts are detected, extracted to baseband, and labeled with modulation, emitter, and time-frequency parameters.

The classifier was trained on TorchSig-generated synthetic data covering 57 waveform classes in eight families, with noise, channel fading, I/Q imbalance, carrier phase variation, passband distortion, clock drift, and quantization impairments.

Talking to the Spectrum: The RF Analysis Assistant

Every burst descriptor lands in an RF activity database. Over a week of monitoring, that adds up to millions of records, far more than an analyst can scan by hand. RF-SHIELD gives analysts two ways in: a dashboard for seeing the activity, and an assistant for questioning it.

The dashboard. Figure 3 shows a simulated seven-day monitoring scenario in the 3.5-4.0 GHz band. It holds about 2.27 million burst detections, with eight authorized emitters and 15 flagged violations, including restricted-band activity and prohibited-modulation bursts. Analysts can browse occupancy by time and frequency, select an anomalous event to see its spectrogram, and then ask the assistant about it in plain language.

Figure 3: RF activity analysis dashboard, showing hourly detections with anomalous events, spectrum occupancy, and time-frequency occupancy.

The data. The SQLite database holds five kinds of records:

  • Detections: time, frequency, bandwidth, signal-to-noise ratio (SNR), modulation, and emitter for every burst.
  • Snapshots: every capture, including those with no detections, for occupancy and idle-time questions.
  • Tracks: bursts grouped by emitter and channel over time.
  • Violations: unknown emitters, unregistered channels, prohibited modulations, and restricted-band activity.
  • Registry and policy: each authorized emitter’s channel, modes, and schedule, plus the protected band and prohibited modulations.

How it answers. The assistant runs on Qwen 3.5-9B, an open-weight language model small enough to run locally through Ollama on a single 8 GB consumer graphics processing unit (GPU), so no data leaves the machine. The model never writes free-form Structured Query Language (SQL). Instead, it plans which predefined query tools to call, and the tools run parameterized SQL against the database. Before an answer is returned, every number, date, and ID in it is checked against the retrieved records. If no reliable query fits a question, the assistant says so rather than guessing.

What it can answer. The assistant handles counts, time windows, frequency ranges, statistics and percentiles, rankings, emitter and track lookups, and policy checks, and it can chain two of these in one question. The examples below come from our 200-question evaluation; answers are lightly shortened.

CapabilityAnalyst asksRF-SHIELD answers
Time patternsWhich hour of the day (UTC) has the most detections?07:00 UTC, with 106,900 detections (4.72% of the week).
StatisticsWhat’s the 90th percentile of detection bandwidth?4.91 MHz, across 2,265,013 detections.
EmittersTop 3 emitters by number of detections?E0, E4, and E3.
AnomalyWhich prohibited modulations were actually observed?Tone, chirp spread spectrum, and AM-DSB.
Multi-stepOn the day of the restricted-band emission, which emitter had the most detections?On October 2, the day of the violation, E0 had the most, with 65,217.
Out of rangeWhat was the busiest hour on 15 October 2026?No monitoring coverage for that date; the database covers October 1–7, 2026.
Out of scopeWhere is emitter E5 physically located?This can’t be answered: the database does not store emitter locations.

Results

The table below summarizes RF-SHIELD’s performance on detection, modulation recognition, emitter identification, and analyst queries.

TaskMetricResult
RF burst detection (YOLOv11, single class)Mean average precision ([email protected])99.3%
Modulation recognition, 57 classesFine-grained accuracy91.3%
Modulation recognition, 8 familiesFamily-level accuracy98.5%
Emitter identificationAccuracy over tracks99.8%
Unknown transmittersFlagged as unknown4 of 4 tracks
Analyst queries (Qwen 3.5-9B assistant)Independently scored, 200 queries91.2%

Modulation recognition. On 4,873 signals from 2,000 fresh synthetic captures, with each modulation evaluated at SNRs where it is used in practice, XCiT alone reached 71.7% accuracy across 57 classes. It placed 98.5% of signals in the correct family but often confused members of the same family, such as different QAM orders or OFDM subcarrier counts, visible as spread inside the red family boxes in Figure 4 (left). Family-wise refinement targets exactly these confusions and raised accuracy to 91.3%: in Figure 4 (right), the diagonal becomes much stronger and most of the spread inside the boxes disappears. The remaining errors are mostly between the closest neighbors within a family.

Figure 4: Modulation recognition performance. Left: XCiT alone (71.7%). Right: XCiT with family-wise refinement (91.3%). Red boxes mark modulation families.

Over-the-air (OTA) validation. The classifier was trained only on synthetic data and tested on signals physically transmitted and received through two front-ends of a Universal Software Radio Peripheral (USRP) X310 at 3.2 GHz, with a Rubidium reference and horn antennas 0.5 m apart (Figure 5). Classification ran in real time inside a GNU Radio Companion flowgraph. Family-level recognition remained robust over the air, while fine-grained discrimination between closely related variants was more sensitive to SNR, as detailed in our GRCon 2026 paper.

Figure 5: Hardware setup for OTA modulation classification.

Emitter identification. In the simulated week, eight authorized radios and three unknown ones transmitted on schedule. After grouping bursts into tracks, sequences of bursts from the same emitter on the same channel, the fingerprint model labeled 597 of 598 known tracks correctly (99.8%) and flagged all 4 unknown-emitter tracks.

Impact and Next Steps

RF-SHIELD turns raw RF into answers an analyst can act on, and it is built to do this at the edge, next to the receiver. Every stage is lightweight, from the compact detector and I/Q models to an assistant that runs on a single 8 GB GPU, and the modulation classifier already ran in real time in our over-the-air test. The high-rate I/Q stream is reduced on site to compact burst records, so neither the data nor the analysis has to leave the sensor.

Why the edge matters. This matters wherever bandwidth, connectivity, or confidentiality is limited. A sensor at a radio dynamic zone, a test range, or a remote site can monitor the band continuously, flag an unknown emitter or a prohibited mode as it appears, and let an operator on site ask what happened in plain language, without an RF specialist or a link back to a data center. The same records support interference analysis, policy enforcement in shared bands, and anomaly investigation after the fact.

Limitations. Most of our evaluation uses synthetic data, and the over-the-air test was a short-range lab setup with a single radio. Emitter identification currently covers eight known emitters, and the assistant’s answers can only be as accurate as the detection and recognition stages beneath it. The assistant usually declines when it cannot plan a query, but it occasionally returns a wrong number, and chained reasoning across tables is the next thing to improve.

Next, we will extend OTA validation to outdoor environments with independent radios and longer links, deploy the full pipeline in real time, and improve recognition of previously unseen signals.

Publications and Acknowledgments

This work was supported by the National Science Foundation under Grant No. 2534621 and by the Laboratory for Analytic Sciences. Any opinions, findings, conclusions, or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the sponsors or the U.S. Government.