Inferensys

Glossary

DeepCluster

A self-supervised learning approach that iteratively clusters deep features using k-means and uses the cluster assignments as pseudo-labels to train a convolutional network, applicable to unsupervised modulation discovery.
Strategy consultant facilitating AI use case discovery workshop, sticky notes on glass wall, casual corporate meeting.
SELF-SUPERVISED REPRESENTATION LEARNING

What is DeepCluster?

A self-supervised learning algorithm that iteratively groups deep convolutional features using k-means clustering and uses the resulting cluster assignments as pseudo-labels to train the network, enabling unsupervised discovery of signal classes in unlabeled RF data.

DeepCluster is a self-supervised learning framework that jointly learns a neural network's parameters and the cluster assignments of its output features. The algorithm alternates between two steps: first, it applies the k-means clustering algorithm to the feature representations produced by a convolutional neural network (CNN), generating pseudo-labels for the entire unlabeled dataset. Second, it trains the CNN to predict these cluster assignments using a standard cross-entropy loss, treating the clustering output as ground truth. This iterative process forces the network to progressively refine its internal representations, discovering meaningful structure in the data without any human-provided annotations.

In the context of radio frequency machine learning, DeepCluster is applied directly to raw IQ samples to perform unsupervised modulation discovery and emitter clustering. The method is particularly valuable for spectrum awareness applications where labeled signal data is scarce or nonexistent, such as in electronic warfare or dynamic spectrum monitoring. By pre-training on massive volumes of unlabeled RF captures, DeepCluster produces a feature extractor that can be fine-tuned for downstream tasks like automatic modulation classification or specific emitter identification with only a handful of labeled examples, bridging the gap between unsupervised pre-training and few-shot learning in the physical layer.

SELF-SUPERVISED RF LEARNING

Key Characteristics of DeepCluster

DeepCluster is a self-supervised learning paradigm that jointly learns deep feature representations and cluster assignments, enabling unsupervised discovery of modulation types and emitter categories from unlabeled IQ data.

01

Iterative Pseudo-Labeling via k-Means

DeepCluster alternates between two steps: clustering the output features of a ConvNet using k-means and using the resulting cluster assignments as pseudo-labels to train the network via standard supervised cross-entropy loss. This iterative process forces the network to learn semantically meaningful representations without any human annotation. In the RF domain, this enables the automatic grouping of IQ samples by modulation scheme, symbol rate, or transmitter hardware characteristics.

02

Unsupervised Modulation Discovery

When applied to raw IQ streams, DeepCluster can autonomously partition signals into distinct groups corresponding to modulation types (QPSK, 16QAM, GMSK) without prior knowledge of the modulation scheme. The learned clusters often align with:

  • Modulation families (PSK vs. QAM vs. FSK)
  • Symbol rates and bandwidth configurations
  • Pulse-shaping filter characteristics This capability is critical for spectrum monitoring and electronic support measures where emitter parameters are unknown a priori.
03

ConvNet Backbone Architecture

DeepCluster typically employs a standard convolutional architecture such as AlexNet or VGG as the feature extractor, processing spectrograms or raw IQ sequences. The network learns hierarchical representations: early layers capture low-level signal features (carrier frequency, bandwidth), while deeper layers encode higher-level abstractions (modulation type, symbol constellation geometry). The architecture is agnostic to the specific backbone, allowing substitution with ResNet or EfficientNet variants optimized for RF data.

04

Cluster Reassignment and Trivial Solutions

A critical implementation detail is the periodic reassignment of clusters. After each epoch, features are re-extracted and k-means is rerun, preventing the network from overfitting to stale pseudo-labels. However, DeepCluster is susceptible to trivial solutions where all samples map to a single cluster. Mitigation strategies include:

  • Uniform sampling across clusters during training
  • Variance regularization to prevent feature collapse
  • Careful initialization of the k-means centroids using PCA or random sampling
05

Downstream Transfer Learning for RF Tasks

After self-supervised pre-training on unlabeled IQ data, the learned representations can be transferred to downstream tasks with limited labeled samples:

  • Few-shot modulation classification: Fine-tune with 5-10 labeled examples per class
  • Specific emitter identification: Use cluster centroids as initial prototypes for prototypical networks
  • Anomaly detection: Identify signals that fall far from any established cluster centroid The pre-trained backbone serves as a powerful feature extractor, significantly outperforming random initialization when labeled data is scarce.
06

Scalability and Computational Considerations

DeepCluster's reliance on full-dataset k-means clustering at each epoch introduces computational overhead, scaling as O(NKD) where N is dataset size, K is cluster count, and D is feature dimension. For large-scale RF datasets with millions of IQ samples, practical optimizations include:

  • Mini-batch k-means for approximate clustering
  • Feature caching to avoid redundant forward passes
  • Dimensionality reduction via PCA before clustering
  • Hierarchical clustering for very large K values (1000+ clusters)
DEEPCLUSTER EXPLAINED

Frequently Asked Questions

Clear, technically precise answers to the most common questions about DeepCluster's mechanism, application to radio frequency machine learning, and its role in self-supervised representation learning.

DeepCluster is a self-supervised learning method that iteratively groups deep convolutional features using k-means clustering and then uses the resulting cluster assignments as pseudo-labels to train the network via standard cross-entropy loss. The algorithm alternates between two phases: first, it extracts feature vectors from all images (or signal representations) in the dataset using the current state of a ConvNet, then clusters these features into k groups using k-means. Second, it treats the cluster assignments as ground-truth labels and trains the network to predict them. This iterative process forces the network to learn semantically meaningful representations without any human-annotated labels. The key insight is that the pseudo-labels evolve as the representation improves, creating a virtuous cycle where better features produce better clusters, which in turn produce better supervision. For RF applications, DeepCluster can be applied to spectrogram images or raw IQ sample representations to discover modulation types, emitter identities, or channel conditions in a completely unsupervised manner.

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.