One-Shot Enrollment is a registration process where a system creates a unique, identifiable template for a device or identity from only a single captured sample. Unlike traditional methods requiring multiple readings to average out noise, this technique relies on a pre-trained embedding space—often built via metric learning or meta-learning—to immediately map the single input into a robust, high-dimensional feature vector suitable for future comparison.
Glossary
One-Shot Enrollment

What is One-Shot Enrollment?
A biometric or device registration process that requires only a single sample to create a unique, identifiable template for future authentication.
In the context of RF fingerprinting, one-shot enrollment captures a single transmission burst to extract hardware-specific impairments, such as I/Q imbalance or DAC non-linearity. The success of this approach depends on the model's prior knowledge, acquired through episode-based training on diverse signal datasets, allowing it to generalize from a single support set example without overfitting to channel noise or requiring multiple registration attempts.
Key Characteristics of One-Shot Enrollment
One-shot enrollment defines a registration process where a unique, identifiable template is created from a single sample of a device's RF fingerprint. This capability is critical for rapid IoT onboarding where collecting multiple transmissions is impractical or impossible.
Single-Sample Template Generation
The core mechanism distills a complete, verifiable identity from one transmission burst. Unlike traditional biometric systems requiring multiple samples for statistical averaging, one-shot enrollment extracts a robust feature vector from a single capture.
- Process: A raw IQ waveform is captured once, preprocessed, and passed through a feature extractor to generate an embedding.
- Challenge: The model must be invariant to channel noise and transient conditions present in that single snapshot.
- Outcome: A stored template vector ready for future cosine similarity comparisons.
Metric-Based Matching Architecture
One-shot enrollment relies on metric learning frameworks, typically Siamese or Prototypical Networks, to function. The model learns a distance function where genuine and impostor signals are separable.
- Embedding Space: The single enrollment sample is projected into a high-dimensional space where Euclidean or cosine distance defines identity.
- No Retraining: New devices are enrolled by simply storing their embedding; the neural network weights remain frozen.
- Thresholding: Authentication is a simple distance check against a calibrated threshold, enabling sub-millisecond verification.
Channel-Robust Feature Extraction
The primary technical hurdle is ensuring the single enrollment sample is not corrupted by multipath fading or interference. Channel-robust learning techniques are mandatory.
- Domain Adversarial Training: A gradient reversal layer forces the feature extractor to ignore channel-specific artifacts.
- Data Augmentation: The single sample is synthetically distorted with simulated Rayleigh fading and additive white Gaussian noise (AWGN) during training to improve generalization.
- Cyclostationary Anchors: Features tied to the signal's periodic statistical structure remain stable even when the channel varies.
Open Set Recognition Capability
A one-shot enrollment system must inherently support open set recognition. It cannot assume all future devices will be pre-registered.
- Unknown Rejection: If a query embedding's distance to the nearest enrolled template exceeds a calibrated threshold, the device is flagged as unknown.
- Extreme Value Theory (EVT): Statistical models like Weibull distributions are fitted to the tail of the match-score distribution to set rigorous rejection boundaries.
- Novelty Detection: This prevents zero-day rogue transmitters from being incorrectly matched to an existing enrolled identity.
Drift-Aware Template Update
Hardware impairments drift slowly over time due to temperature variation and component aging. A pure one-shot enrollment is a snapshot that can become stale.
- Continuous Authentication: Subsequent successful authentications provide new samples that can update the stored template via exponential moving average.
- Drift Compensation: The system tracks the vector shift of the centroid over time without requiring a full re-enrollment.
- Catastrophic Forgetting Prevention: Elastic Weight Consolidation (EWC) can be applied to the feature extractor if fine-tuning is used to adapt to drift.
Adversarial Robustness Requirements
A system relying on a single sample is a high-value target for replay attacks and adversarial perturbation. Defensive measures are non-negotiable.
- Liveness Detection: The enrollment process must verify the sample is from a live, active transmission and not a recorded replay.
- Adversarial Training: The feature extractor is hardened against gradient-based perturbations designed to cause misclassification.
- Physical Unclonable Function (PUF) Correlation: The extracted fingerprint should correlate with the underlying hardware PUF, making it mathematically unclonable.
Frequently Asked Questions
Explore the core concepts behind one-shot enrollment, a critical technique for rapidly onboarding IoT devices and biometric identities using only a single sample to create a unique, identifiable template.
One-shot enrollment is a biometric or device registration process that requires only a single sample to create a unique, identifiable template for future authentication. Unlike traditional systems that need multiple captures to average out noise and build a statistical model, one-shot enrollment leverages a pre-trained neural network that has already learned to extract highly discriminative features from a related domain. The process works by passing the single sample through a feature extractor—often a Siamese or Prototypical Network—to generate a compact embedding vector in a high-dimensional space. This vector becomes the enrolled template. During authentication, a new sample is converted to an embedding and compared to the stored template using a distance metric like cosine similarity. If the distance falls below a calibrated threshold, the identity is verified. The key enabler is the model's prior meta-learning on diverse data, which allows it to generalize from a single example without overfitting.
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.
Related Terms
Core concepts and adjacent techniques that enable or compete with single-sample device registration in physical-layer security systems.
Few-Shot Learning (FSL)
The broader machine learning paradigm that encompasses one-shot enrollment. FSL trains models to generalize from k examples per class, where k is typically between 1 and 5. Unlike traditional deep learning which requires thousands of labeled samples, FSL leverages prior knowledge from related tasks to make accurate predictions on novel classes.
- N-way K-shot classification defines the task format
- Relies heavily on episodic training to simulate deployment conditions
- Critical when capturing multiple enrollment samples is impractical or insecure
Prototypical Networks
A metric-based architecture particularly well-suited for one-shot enrollment. The network learns an embedding function that maps inputs to a vector space where a single support sample defines a class prototype. Classification is performed by finding the nearest prototype.
- Each class is represented by the mean embedding of its support set
- With one-shot, the single sample is the prototype
- Uses Euclidean distance in the learned metric space
- Simple, computationally efficient, and highly effective for RF fingerprinting
Siamese Networks
A twin-network architecture that learns a similarity function between pairs of inputs rather than explicit class boundaries. During one-shot enrollment, the stored template is compared against a new capture using the learned distance metric.
- Two identical subnetworks with shared weights process both inputs
- Output is a similarity score, not a class prediction
- Naturally suited for open set recognition—rejecting unknown devices
- Training uses contrastive loss or triplet loss to structure the embedding space
Triplet Loss
The contrastive loss function that powers many one-shot enrollment systems. It operates on triplets of samples: an anchor, a positive (same class), and a negative (different class). The loss forces the anchor-positive distance to be smaller than the anchor-negative distance by at least a margin.
- Formulation:
max(d(a,p) - d(a,n) + margin, 0) - Hard negative mining selects the most challenging negatives for efficient training
- Directly optimizes for the relative ranking needed in one-shot verification
Embedding Space
The lower-dimensional continuous vector space where one-shot enrollment templates and query samples are compared. A well-structured embedding space exhibits intra-class compactness and inter-class separability.
- Dimensionality typically ranges from 128 to 512 for RF applications
- Distance metrics: cosine similarity, Euclidean, or Mahalanobis
- Quality directly determines False Acceptance Rate (FAR) and False Rejection Rate (FRR)
- Visualizable with t-SNE or UMAP for debugging enrollment quality
Open Set Recognition
A critical capability for one-shot enrollment systems deployed in the wild. The model must not only match enrolled devices but also reject unknown emitters that were never seen during training or enrollment.
- Requires a confidence threshold on similarity scores
- Out-of-Distribution (OOD) detection mechanisms prevent forced classification
- Essential for detecting spoofing attacks and unauthorized transmitters
- Extreme value theory and Weibull distributions often model the rejection boundary

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