Inferensys

Glossary

I/Q Dataset

A curated collection of labeled In-Phase and Quadrature (IQ) sample recordings representing various modulation schemes, channel conditions, and signal-to-noise ratios used to train and benchmark classification models.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
TRAINING DATA FOR SIGNAL INTELLIGENCE

What is an I/Q Dataset?

An I/Q dataset is a curated collection of labeled complex baseband signal recordings used to train and benchmark machine learning models for tasks like automatic modulation classification.

An I/Q dataset is a structured repository of synchronized In-Phase (I) and Quadrature (Q) sample vectors, each meticulously labeled with metadata such as the modulation scheme, signal-to-noise ratio (SNR), and channel impairment profile. Unlike simple image datasets, these collections capture the raw electromagnetic waveform's amplitude and phase, providing the ground truth required for supervised learning in cognitive radio and spectrum awareness systems.

These datasets are constructed either by capturing over-the-air transmissions with high-fidelity software-defined radios or through synthetic generation using channel simulation to model fading, multipath, and Additive White Gaussian Noise (AWGN). A robust dataset must include diverse propagation conditions and hardware impairments like I/Q imbalance to prevent the classifier from overfitting to unrealistic, pristine signal representations, ensuring robust real-world deployment.

Dataset Engineering

Core Characteristics of I/Q Datasets

A well-constructed I/Q dataset is defined by its statistical diversity, labeling precision, and fidelity to real-world channel impairments. These characteristics directly determine a modulation classifier's ability to generalize from training to deployment.

01

Modulation Scheme Diversity

The dataset must contain a balanced representation of target modulation classes, from simple BPSK to high-order 256-QAM. Class imbalance leads to biased classifiers that over-predict common schemes. A robust dataset includes both linear (PSK, QAM) and non-linear (CPM, GMSK) modulations to prevent the model from learning spurious correlations.

02

Signal-to-Noise Ratio (SNR) Range

Samples must span a wide SNR range, typically from -20 dB to +30 dB, to train classifiers that are robust in both noisy and clean channel conditions. Low-SNR samples teach the model to extract features from noise-like signals, while high-SNR samples provide clean reference constellations. A common pitfall is training only on high-SNR data, causing catastrophic failure in real-world low-SNR environments.

03

Channel Impairment Modeling

Realistic datasets apply physics-based channel simulations to synthetic or collected IQ streams. Key impairments include:

  • Multipath fading: Rician and Rayleigh fading profiles that cause frequency-selective distortion
  • Carrier Frequency Offset (CFO): Residual rotation of the constellation
  • Sample Timing Offset: Misalignment of the optimal sampling instant
  • Phase Noise: Random phase jitter from local oscillators Without these, a classifier learns an idealized version of the signal that does not exist in the field.
04

Labeling Precision and Metadata

Each IQ segment must be paired with a ground-truth label and rich metadata. Beyond the modulation type, metadata should capture the exact SNR, sample rate, center frequency, and channel model parameters used during generation or collection. This enables stratified evaluation, where performance is analyzed per impairment condition rather than as a single aggregate metric.

05

Train/Validation/Test Stratification

Dataset splits must be stratified by modulation type and SNR to ensure each subset contains a proportional representation of all classes. A naive random split can create a test set that is easier or harder than the training set, invalidating benchmark results. For channel-impaired data, group-based splitting by recording session prevents data leakage where nearly identical samples appear in both training and test sets.

06

Synthetic vs. Over-the-Air Collection

Synthetic datasets are generated via software simulation, offering perfect labels and infinite scalability but often lack the hardware-specific impairments of real receivers. Over-the-Air (OTA) datasets are captured from physical transmitters and receivers, providing authentic hardware fingerprints and environmental effects but requiring costly labeling. Production-grade datasets often blend both, using synthetic data for pre-training and OTA data for fine-tuning.

DATASET CURATION

How I/Q Datasets Are Constructed

An I/Q dataset is a curated collection of labeled complex baseband recordings used to train and benchmark automatic modulation classification models.

An I/Q dataset is constructed by systematically recording or simulating streams of In-Phase and Quadrature (I/Q) samples that represent specific modulation schemes under varied channel conditions. Each recording is segmented into fixed-length examples and paired with a ground-truth label, such as BPSK or 64QAM, creating the supervised training pairs required for deep learning classifiers.

To ensure robust real-world performance, the dataset must capture a diverse range of Signal-to-Noise Ratios (SNR), carrier frequency offsets, and fading profiles. This diversity is often achieved through channel simulation and I/Q augmentation, where realistic impairments are applied to clean synthetic signals, expanding the dataset's coverage of rare or hostile electromagnetic environments.

I/Q DATASET ESSENTIALS

Frequently Asked Questions

Curated answers to the most common technical questions about building, preprocessing, and utilizing I/Q datasets for training robust automatic modulation classification models.

An I/Q dataset is a curated collection of labeled complex baseband signal recordings where each sample is represented as a pair of In-Phase (I) and Quadrature (Q) components. The structure typically consists of a 2D tensor with dimensions [N, 2, L], where N is the number of examples, 2 represents the dual-channel I and Q streams, and L is the sequence length in samples. Each example is associated with a metadata label indicating the modulation scheme (e.g., BPSK, 16QAM, GMSK), the Signal-to-Noise Ratio (SNR), and often the channel impairment profile. Unlike image datasets, I/Q datasets preserve the complex-valued nature of the signal, meaning the phase relationship between the I and Q channels is mathematically critical. High-quality datasets like RadioML store data in hierarchical formats such as HDF5, with separate groups for different SNR levels and modulation types, enabling stratified sampling during training. The raw data is typically stored as 32-bit floating-point interleaved I/Q pairs, though some datasets use 16-bit integers to reduce storage footprint for large-scale collections.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.