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.
Glossary
DeepCluster

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.
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.
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.
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.
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.
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.
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
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.
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)
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
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.
Related Terms
Explore the foundational concepts and sibling architectures that contextualize DeepCluster within the broader landscape of self-supervised representation learning for radio frequency signals.
K-Means Clustering for RF
The core unsupervised algorithm at the heart of DeepCluster. It partitions raw IQ embeddings into K distinct groups by iteratively minimizing the within-cluster sum of squares. In the RF domain, this groups signal bursts with similar spectral shapes or hardware impairments without prior labels. The quality of the resulting pseudo-labels is highly dependent on the initialization of centroids and the assumption of spherical clusters, which may not hold for complex modulation manifolds.
Representation Collapse
A critical failure mode in self-supervised learning where the encoder produces a constant, non-informative vector for all inputs. DeepCluster avoids this trivially because the k-means step forces a partition, but the model can still collapse if all features map to a single cluster. Modern methods like VICReg and Barlow Twins explicitly prevent this through variance and covariance regularization on the embedding batch.
Few-Shot Modulation Recognition
The downstream task that validates DeepCluster's pre-training efficacy. After unsupervised feature learning, the frozen or fine-tuned encoder must classify modulation schemes (BPSK, QAM64, etc.) from only 1-5 labeled examples per class. Prototypical networks compute a class centroid from the support set and classify queries by nearest neighbor in the embedding space, directly leveraging the cluster-friendly features DeepCluster produces.

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us