Inferensys

Glossary

Autocorrelation Embedding

A learned vector representation derived from the autocorrelation function of a signal, capturing periodicities and cyclostationary features that serve as informative input tokens for a transformer-based classifier.
Data engineer managing feature store on laptop, feature definitions visible, casual data engineering session.
SIGNAL REPRESENTATION

What is Autocorrelation Embedding?

A learned vector representation derived from the autocorrelation function of a signal, capturing periodicities and cyclostationary features that serve as informative input tokens for a transformer-based classifier.

An autocorrelation embedding is a dense, fixed-dimensional vector generated by processing a signal's autocorrelation function (ACF) through a neural encoder. The ACF reveals inherent periodicities and cyclostationary features—statistical properties that vary periodically with time—which are critical for distinguishing modulated signals from noise. By transforming the ACF into a learned embedding space, the representation captures these latent temporal structures in a format directly consumable by a transformer's self-attention mechanism.

This technique serves as a powerful tokenization strategy for transformer signal processing, converting variable-length time-series data into a compact sequence of feature vectors. Unlike raw IQ samples or spectrogram patches, the autocorrelation embedding explicitly encodes second-order statistics, making it highly robust to noise and phase offsets. The resulting tokens enable a downstream transformer to model long-range dependencies in the signal's periodic structure for tasks like automatic modulation classification and RF fingerprinting.

Autocorrelation Embedding

Key Characteristics

A learned vector representation derived from the autocorrelation function of a signal, capturing periodicities and cyclostationary features that serve as informative input tokens for a transformer-based classifier.

01

Cyclostationary Feature Extraction

Autocorrelation embedding explicitly encodes cyclostationary signatures—statistical properties that vary periodically with time—which are fundamental to distinguishing modulated signals. By computing the autocorrelation function at multiple lag values, the embedding captures the symbol rate, carrier frequency offset, and pulse shaping characteristics that remain invariant to random data content. This transforms a raw time-series into a compact, discriminative representation that highlights the signal's underlying periodic structure.

02

Tokenization for Transformer Input

The autocorrelation function is sampled at discrete lag intervals to produce a fixed-length vector, which is then projected through a learned linear layer or small MLP to create a dense embedding token. This token serves as a single input to a transformer encoder, representing the entire signal segment's temporal correlation structure. Unlike raw IQ samples that require long sequences, a single autocorrelation embedding token can summarize hundreds of samples, dramatically reducing sequence length and computational complexity.

03

Noise Robustness

Autocorrelation naturally suppresses uncorrelated additive white Gaussian noise (AWGN) because noise samples at different time lags have zero expected correlation. This property makes autocorrelation embeddings inherently more robust to low signal-to-noise ratio (SNR) conditions compared to raw waveform embeddings. The signal's deterministic periodic components accumulate constructively in the autocorrelation domain, while random noise contributions diminish, providing a cleaner representation for downstream classification.

04

Phase Invariance Property

The autocorrelation function discards absolute phase information while preserving relative phase relationships between time-shifted copies of the signal. This provides a degree of invariance to arbitrary carrier phase rotations and constant time delays, which are common channel impairments. The embedding focuses on the signal's second-order statistics—the correlation structure—rather than its exact waveform shape, improving generalization across varying channel conditions without requiring explicit phase synchronization.

05

Multi-Lag Temporal Representation

By computing autocorrelation values across a range of discrete lags, the embedding captures temporal dependencies at multiple timescales simultaneously. Short lags encode fine-grained pulse shaping and rapid variations, while longer lags reveal symbol-period periodicity and frame-level structure. This multi-resolution representation allows a single embedding vector to encode both micro-level signal characteristics and macro-level protocol patterns, providing rich input to the transformer's attention mechanism.

06

Integration with Learned Receivers

Autocorrelation embeddings serve as a feature extraction frontend within end-to-end learned receiver architectures like DeepRx. The embedding module replaces traditional synchronization and matched filtering blocks, providing a differentiable transformation from raw IQ samples to a compact statistical representation. This allows the entire receiver—from feature extraction through classification—to be trained jointly via backpropagation, optimizing the autocorrelation lag selection and embedding projection for the specific classification task.

AUTOCORRELATION EMBEDDING

Frequently Asked Questions

Clear, technical answers to the most common questions about how autocorrelation embeddings transform raw signal periodicity into structured input tokens for transformer-based classifiers.

An autocorrelation embedding is a learned, fixed-dimensional vector representation derived from the autocorrelation function (ACF) of a signal, explicitly encoding its periodicities and cyclostationary features. The process works by first computing the ACF of a raw time-series or IQ sample sequence, which measures the similarity of the signal with a delayed copy of itself as a function of lag. This ACF sequence is then passed through a learnable projection—typically a small neural network or a linear layer—that maps the lag-domain values into a dense embedding space. The resulting vector captures the fundamental period, symbol rate, and repeating structural patterns of the signal in a format that a transformer can process as an input token, allowing the self-attention mechanism to directly compare the periodic signatures of different signal segments.

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.