Inferensys

Glossary

Raw I/Q Input

A neural network input modality where time-domain complex baseband samples are fed directly into the model without explicit feature extraction, relying on the network to learn optimal representations.
Data engineer managing feature store on laptop, feature definitions visible, casual data engineering session.
NEURAL NETWORK INPUT MODALITY

What is Raw I/Q Input?

Raw I/Q Input is a machine learning methodology where time-domain complex baseband samples are fed directly into a neural network without explicit feature extraction, relying on the model to autonomously learn optimal discriminative representations.

Raw I/Q Input refers to the direct use of discrete In-Phase and Quadrature sample streams as the input tensor for a deep learning classifier. Unlike traditional approaches that require manual feature engineering—such as calculating cumulants or cyclostationary signatures—this method presents the network with the unprocessed I+jQ time-series data. The neural network is tasked with learning its own internal representations of modulation-specific structures, including phase transitions and amplitude variations, directly from the complex baseband signal.

This end-to-end learning paradigm is typically implemented using either a Dual-Channel Input architecture, where I and Q are treated as separate real-valued channels, or a Complex-Valued Input design that preserves phase orthogonality natively. The approach requires careful preprocessing, including I/Q Normalization and Carrier Frequency Offset correction, to prevent numerical instability. By bypassing lossy feature extraction, raw I/Q input allows the model to exploit subtle signal characteristics that may be discarded by human-designed algorithms.

NEURAL NETWORK INPUT MODALITY

Key Characteristics of Raw I/Q Input

Raw I/Q input feeds time-domain complex baseband samples directly into a neural network without explicit feature extraction, forcing the model to learn optimal representations from the fundamental signal structure.

01

Complex-Valued Signal Preservation

Raw I/Q input retains the complete complex baseband representation of the signal, preserving both magnitude and phase relationships that are often destroyed by feature extraction. Each sample is a complex number I + jQ, where the In-Phase (I) and Quadrature (Q) components capture the signal's instantaneous state. This allows the neural network to learn phase-sensitive patterns such as:

  • Rotational symmetries in QPSK and QAM constellations
  • Phase transitions in CPM and GMSK signals
  • Cross-coupling between I and Q channels caused by hardware impairments Unlike magnitude-only or spectrogram-based inputs, complex-valued preservation enables the classifier to exploit the full information content of the received waveform.
02

End-to-End Representation Learning

Feeding raw I/Q samples directly to a neural network eliminates the need for hand-crafted feature engineering. The model learns hierarchical representations automatically:

  • Early layers typically learn bandpass filters and transient detectors
  • Middle layers discover modulation-specific temporal patterns
  • Deeper layers construct invariant representations robust to noise and channel impairments This approach outperforms traditional feature-based methods when the optimal discriminative features are unknown or when channel conditions deviate from textbook models. The network discovers data-driven features that human engineers might overlook, particularly for complex or compound modulation schemes.
03

Dual-Channel vs. Complex-Valued Architectures

Raw I/Q input can be processed through two fundamentally different neural network paradigms:

Dual-Channel Real-Valued Input:

  • I and Q components treated as separate real-valued channels
  • Analogous to RGB image channels in computer vision
  • Compatible with standard real-valued CNN and ResNet architectures
  • Requires the network to implicitly learn I/Q relationships

Complex-Valued Neural Networks (CVNNs):

  • Process I/Q data natively as complex numbers
  • Use complex-valued weights, activations, and backpropagation
  • Naturally preserve phase information through complex multiplication
  • Often achieve superior performance with fewer parameters
  • More computationally demanding and less supported by standard frameworks
04

Sample Rate and Segmentation Requirements

Raw I/Q input imposes specific constraints on data preparation:

Sample Rate Considerations:

  • Must satisfy Nyquist criterion for the signal bandwidth
  • Typically 2-4× the symbol rate for adequate temporal resolution
  • Higher sample rates capture finer transient details but increase computational load

Segmentation Strategy:

  • Continuous I/Q streams must be divided into fixed-length segments for batch processing
  • Segment length determines the temporal context window available to the classifier
  • Typical lengths range from 128 to 2048 samples per inference example
  • Overlapping segments can increase temporal coverage at the cost of redundant computation
  • Segment boundaries should ideally align with symbol boundaries to avoid truncation artifacts
05

Sensitivity to Hardware Impairments

Raw I/Q input exposes the neural network to real-world receiver non-idealities that must be learned or compensated:

I/Q Imbalance:

  • Gain mismatch between I and Q paths causes elliptical constellation distortion
  • Phase error destroys orthogonality, creating cross-talk

DC Offset:

  • Manifests as a shifted constellation center
  • Can saturate subsequent network layers if not addressed

Carrier Frequency Offset (CFO):

  • Causes continuous constellation rotation over time
  • The network must learn rotational invariance or rely on preprocessing

Phase Noise:

  • Introduces random phase jitter from local oscillator instability
  • Particularly problematic for high-order QAM classification

Networks trained on clean synthetic data often fail when deployed on real hardware unless these impairments are included in training augmentation.

06

Data Augmentation for Robustness

Training with raw I/Q input requires aggressive channel-aware data augmentation to achieve real-world robustness:

  • Phase rotation: Random angular shifts teach rotational invariance for CFO resilience
  • Additive White Gaussian Noise (AWGN): Variable SNR levels simulate thermal noise conditions
  • Amplitude scaling: Random gain variations mimic automatic gain control (AGC) fluctuations
  • Frequency offset injection: Synthetic CFO teaches the network to handle rotating constellations
  • Multipath fading: Rayleigh and Rician fading models simulate mobile channel conditions
  • Time stretching/compression: Small sample rate variations mimic clock drift

These augmentations effectively multiply the training dataset size and force the network to learn impairment-invariant features rather than memorizing clean signal templates.

INPUT MODALITY COMPARISON

Raw I/Q Input vs. Feature-Based Input

Comparative analysis of feeding raw time-domain IQ samples directly into a neural network versus using pre-engineered statistical or spectral features for automatic modulation classification.

MetricRaw I/Q InputFeature-Based InputHybrid Input

Input Representation

Time-domain complex baseband samples (I and Q pairs)

Handcrafted features (cumulants, spectral moments, cyclostationary signatures)

Raw I/Q concatenated with a feature vector

Preprocessing Overhead

Minimal (normalization, centering, segmentation)

High (expert feature extraction, FFT, statistical computation)

Moderate (raw path preprocessing plus feature extraction)

Learned Representation

End-to-end learned features, including non-linear and phase relationships

Fixed, human-interpretable features; no learned abstraction

Learned features from raw data supplemented by engineered priors

Generalization to Unknown Impairments

High; network can learn to compensate for novel channel distortions

Low; performance degrades if impairment is not captured by the feature set

Moderate; engineered features provide a fallback for unseen conditions

Computational Complexity at Inference

Higher (deep CNN, ResNet, or Transformer required)

Lower (shallow classifier like SVM or lightweight MLP on reduced dimensions)

Highest (dual-path architecture with fusion layer)

Data Efficiency

Low; requires large, diverse datasets to learn robust representations

High; effective with smaller datasets due to dimensionality reduction

Moderate; feature priors reduce sample complexity vs. pure raw input

Interpretability

Low; decision logic is opaque and distributed across network weights

High; feature importance can be directly analyzed (e.g., cumulant values)

Low; raw path remains opaque, feature path provides partial explainability

Suitability for Real-Time Edge Deployment

RAW I/Q INPUT CLARIFIED

Frequently Asked Questions

Direct answers to the most common technical questions about using raw in-phase and quadrature samples as the primary input modality for neural network-based modulation classifiers.

Raw I/Q input is a neural network input modality where the time-domain complex baseband samples—the discrete In-Phase (I) and Quadrature (Q) pairs—are fed directly into the model without any explicit, hand-crafted feature extraction stage. Unlike traditional approaches that require pre-computed features like cumulants or cyclostationary signatures, this method presents the network with the unprocessed, complex-valued waveform. The architecture relies entirely on the model's internal layers, typically Convolutional Neural Networks (CNNs) or complex-valued networks, to learn the optimal hierarchical representations for tasks such as Automatic Modulation Classification (AMC). This end-to-end learning paradigm eliminates the need for domain-specific signal processing expertise during feature design, allowing the model to discover discriminative patterns that may be missed by manual engineering. The input tensor is typically structured as a 2×N array, where N is the number of time samples, treating the I and Q components as two separate real-valued channels analogous to the red and blue channels of an image, or as a single 1×N vector of complex numbers in a complex-valued architecture.

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.