Inferensys

Glossary

IQ Data Type Compression

A set of techniques specifically adapted to reduce the bit-width or sparsity of complex-valued in-phase and quadrature (IQ) samples, preserving the phase and magnitude fidelity critical for physical layer signal processing.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
COMPLEX-VALUED SIGNAL OPTIMIZATION

What is IQ Data Type Compression?

Specialized techniques to reduce the bit-width or sparsity of complex-valued in-phase and quadrature samples while preserving the phase and magnitude fidelity critical for physical layer signal processing.

IQ Data Type Compression is the application of quantization, pruning, and tensor decomposition techniques specifically adapted to the complex-valued, two-dimensional structure of in-phase and quadrature (I/Q) samples. Unlike standard image or audio compression, these methods must preserve the strict mathematical relationship between the I and Q components to maintain EVM (Error Vector Magnitude) and phase coherence during downstream demodulation.

Core strategies include complex-aware quantization that maps the Cartesian I/Q pair to polar magnitude-phase representation before integer mapping, and structured sparsity that prunes entire complex symbols rather than individual real-valued weights. This ensures the compressed data stream remains directly consumable by neural receivers and signal classifiers without catastrophic constellation distortion.

PRECISION REDUCTION STRATEGIES

Key IQ Compression Techniques

Specialized methods for reducing the bit-width of complex-valued in-phase and quadrature (IQ) samples while preserving the phase and magnitude fidelity critical for physical layer signal processing.

01

Complex-Valued Quantization

Unlike standard real-valued quantization, IQ data type compression must account for the circular symmetry of complex baseband signals. Direct scalar quantization of I and Q branches independently introduces phase distortion near the origin. Advanced techniques apply polar quantization, where magnitude and phase are quantized separately with non-uniform step sizes, or use vector quantization on the complex plane to preserve the relative angle between samples. This is critical for modulation schemes like QAM-256 where constellation point discrimination depends on precise phase relationships.

02

Block Floating-Point (BFP) Encoding

A shared-exponent compression scheme where a block of IQ samples shares a single exponent while maintaining individual mantissas. This exploits the temporal correlation in wireless signals where sample magnitudes within a coherence interval remain relatively stable. Key benefits:

  • Reduces dynamic range overhead by 2-4x compared to per-sample floating-point
  • Preserves relative precision within the block, critical for FFT operations
  • Enables efficient SIMD processing on DSP architectures
  • Commonly used in 5G NR baseband pipelines for fronthaul compression
03

Mu-Law Companding for IQ

Adapted from telephony codecs, mu-law companding applies a non-linear transfer function to IQ samples before uniform quantization. The logarithmic curve allocates more quantization levels to low-amplitude signals and fewer to high amplitudes, matching the crest factor characteristics of OFDM waveforms. This technique:

  • Reduces quantization noise floor for weak signals by 6-10 dB
  • Preserves EVM (Error Vector Magnitude) for constellation corners
  • Can be implemented with a simple lookup table in FPGA fabric
  • Pairs effectively with automatic gain control (AGC) front-ends
04

Sparsity-Aware IQ Pruning

Exploits the fact that in many wideband spectrum sensing applications, only a fraction of frequency bins contain active signals. By applying structured sparsity directly to the time-domain IQ stream or its frequency-domain representation, irrelevant samples can be zeroed or skipped. Techniques include:

  • Threshold-based gating: discard samples below a noise floor estimate
  • Sub-Nyquist sampling: leverage compressed sensing to reconstruct sparse spectra from fewer IQ samples
  • Attention-based masking: use a lightweight detector network to identify active signal regions before heavy processing This reduces memory bandwidth and MAC operations proportionally to spectrum occupancy.
05

IQ-Aware Quantization-Aware Training (QAT)

Standard QAT simulates quantization during training using a straight-through estimator (STE). For IQ data, the QAT process must be modified to handle complex gradients. The real and imaginary components of the loss gradient are backpropagated independently through the quantization nodes, but the quantization grid itself is defined on the complex plane. Advanced IQ-QAT techniques:

  • Use circular quantization grids that respect phase periodicity
  • Apply magnitude-dependent step sizes to protect low-power samples
  • Jointly optimize the dynamic range of I and Q branches
  • Simulate hardware-specific rounding modes (round-to-nearest-even) during the forward pass
06

Sigma-Delta IQ Modulation

A noise-shaping technique borrowed from oversampling ADCs. By applying a sigma-delta modulator to the IQ stream at a higher sample rate, quantization noise is pushed out of the band of interest. The decimated output achieves higher effective number of bits (ENOB) within the signal bandwidth than the raw quantizer resolution. For RFML applications:

  • Enables 1-2 bit IQ representation with high in-band SNR
  • Naturally anti-aliases adjacent channel interference
  • Pairs with polyphase filter banks for efficient multi-rate processing
  • Particularly effective for narrowband IoT and LPWAN signal classification
IQ DATA TYPE COMPRESSION

Frequently Asked Questions

Critical questions about reducing the bit-width and sparsity of complex-valued in-phase and quadrature (IQ) samples while preserving the phase and magnitude fidelity essential for physical layer signal processing.

IQ data type compression is the process of reducing the numerical precision or sparsity of complex-valued in-phase and quadrature (IQ) samples to fit within the severe memory and compute constraints of edge hardware. Unlike standard image or audio compression, IQ compression must preserve the phase and magnitude fidelity of the signal, as even minor quantization errors in the complex plane can catastrophically distort the constellation diagram and degrade bit error rate (BER). For on-device radio frequency machine learning (RFML), this is critical because neural receivers and spectrum sensors must process high-bandwidth streams in real-time on microcontrollers or FPGAs with limited SRAM, making naive truncation unacceptable. Techniques like complex-aware quantization and magnitude-preserving pruning are specifically adapted to respect the geometric properties of the complex baseband representation.

COMPARATIVE ANALYSIS

IQ Compression vs. Standard Neural Network Quantization

Key architectural and operational differences between complex-valued IQ data type compression and standard real-valued neural network quantization techniques.

FeatureIQ CompressionStandard NN QuantizationShared Characteristics

Data Domain

Complex-valued (I/Q) baseband samples

Real-valued weights and activations

Both reduce bit-width for efficiency

Primary Objective

Preserve phase and magnitude fidelity for signal reconstruction

Minimize accuracy loss on classification or regression tasks

Reduce memory footprint and inference latency

Quantization Granularity

Per-sample or per-symbol block scaling

Per-tensor or per-channel scaling

Supports symmetric and asymmetric schemes

Phase Preservation

Handles Complex Arithmetic

Calibration Data Required

Raw IQ captures from target RF front-end

Representative dataset from training distribution

Both require statistical profiling

Typical Bit-Width Target

4-bit to 8-bit per I/Q component

INT8 or INT4 for weights and activations

Aggressive compression below 8-bit

Error Metric

EVM (Error Vector Magnitude)

Top-1 or Top-5 accuracy delta

Quantization error measured against full-precision baseline

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.