This paper introduces a novel framework for electromagnetic spectrum monitoring that moves away from rigid, task-specific models toward flexible, instruction-conditioned Multimodal Large Language Models (MLLMs). The researchers present BATok, a budget-adaptive signal tokenizer, and EMSpec-Instruct, a large-scale multimodal instruction dataset, to bridge the gap between raw radio frequency (RF) signals and natural language.
TL;DR
The authors propose BATok, a smart tokenizer that converts raw I/Q radio signals into a compact, length-adaptive set of tokens for Large Language Models. By combining this with a new 467k-record instruction dataset, they enable a single model to perform diverse tasks like modulation recognition and signal grounding through a unified natural language interface.
What Problem Does This Paper Address?
Traditional electromagnetic spectrum monitoring relies on "siloed" models: one for classifying modulation, another for detecting signal bursts, and perhaps a third for localization. As shown in Figure 1, this requires manual redesign for every new task and often leads to "error inheritance" when cascading different models.
While MLLMs offer a potential "one model for all" solution, they struggle with raw I/Q (In-phase and Quadrature) signals. These numerical sequences are often extremely long and non-uniform. Existing methods usually convert them into "waterfall" images (spectrograms), but this discards crucial waveform-level information like phase and transient evidence. Furthermore, standard tokenizers either produce too many tokens for long signals or lose too much detail for short ones.
Methods
The core technical contribution is BATok (Budget-Adaptive signal Tokenizer). Its architecture, detailed in Figure 2, follows a four-step process:
- Feature Enhancement: Instead of just raw I/Q, BATok extracts instantaneous amplitude, power, and phase differences to provide the model with richer physical context.
- Multi-Resolution Encoding: The signal is processed through three parallel branches (Fine, Medium, and Coarse). This allows the model to capture both localized waveform details and broader contextual structures.
- Budget-Adaptive Resampling: Unlike fixed-length tokenizers, BATok uses a piecewise-constant function to determine a "token budget" based on the input signal's length. It then uses cross-attention with learnable queries—biased by a local energy prior—to select the most informative parts of the signal.
- VLM Integration: These tokens are projected into the embedding space of a VLM (like Qwen or LLaVA), where they are processed alongside text instructions and waterfall images.
Datasets
The authors introduce EMSpec-Instruct, a comprehensive multimodal dataset designed for instruction tuning.
- Scale: 400,000 training and 67,883 test instructions.
- Composition: It aligns raw I/Q signals and waterfall images with structured metadata.
- Tasks: It covers three main areas:
- Modulation Recognition: Identifying the signal type (e.g., QPSK, 16QAM).
- Structured Detection: Finding all signals in a scene and returning bounding boxes.
- Signal Grounding: Retrieving specific signals based on complex queries (e.g., "Find the longest-duration transmission").
Key Insights and Ideas
- I/Q and Images are Complementary: The "aha moment" here is that while waterfall images are excellent for spatial localization (where a signal is in time/frequency), raw I/Q tokens are significantly better at resolving semantic ambiguities in modulation.
- Adaptive Budgeting Matters: A fixed token budget is inefficient. By scaling the number of tokens with the signal length (while keeping a strict upper bound), BATok maintains high fidelity for long observations without wasting resources on short ones.
- Energy as a Bias, Not a Filter: Instead of just keeping high-energy segments (which might just be noise), BATok uses energy as a "soft bias" during resampling, allowing the model to learn which low-energy features are actually task-relevant.
Key Results
The authors integrated BATok into Qwen3-VL-2B and LLaVA-1.5-7B. The results were impressive:
- Modulation Recognition: Adding BATok to an image-only VLM improved Overall Accuracy (OA) by 7.01 points for Qwen and a massive 18.56 points for LLaVA.
- Signal Grounding: The unified model achieved an [email protected] score of 83.00% on grounding tasks, proving it can follow complex relational instructions.
- Standalone Performance: In a head-to-head comparison with task-specific state-of-the-art models (like DNCNet and SiT), a standalone version of BATok achieved the highest mean accuracy (58.64%) across benchmarks.
Limitations and Future Work
While BATok is powerful, the authors note a few hurdles:
- Latency: Because it uses multi-resolution resampling, BATok has higher inference latency than simpler, compact classifiers.
- Generalization: The current study focuses on specific datasets; how well these models generalize to entirely "open-set" environments or new, unseen hardware remains an open question.
- Complexity: The framework requires both I/Q and image inputs for best performance, which increases the computational footprint compared to single-modality systems.
Summary updated