PricingDemo
Log InGet API Key
AI Security

Detect Deepfakes Without Seeing the Original

Encrypted comparison of biometric embeddings detects manipulation while the original media remains private, protected by fully homomorphic encryption.

Deepfake detection has a paradox at its core. To verify that a piece of media is authentic, you typically need access to the original. But the original is often the most sensitive asset in the system. A government official's biometric template, a CEO's voice signature, a patient's medical imaging, these are exactly the data that deepfakes target, and exactly the data that cannot be shared with a third-party detection service without creating new attack surfaces.

Traditional deepfake detection services require the original media to be uploaded for comparison. This means trusting the detection service with your most sensitive biometric data. If that service is compromised, the attacker now has both the deepfake and the authentic original, enabling even more sophisticated attacks. The detection service itself becomes a honeypot for the very data it is supposed to protect.

Fully homomorphic encryption eliminates this paradox entirely. With FHE, the detection service computes similarity scores between the suspect media and the reference template without ever decrypting either one. The comparison happens entirely in encrypted space. The service learns whether the media is authentic or manipulated, but never sees the original biometric data. This is not a trade-off between security and accuracy. The encrypted comparison produces mathematically identical results to the plaintext comparison.

How Encrypted Biometric Comparison Works

Deepfake detection at its core is a similarity computation. You take a biometric embedding from the suspect media, a biometric embedding from the reference, and compute a distance metric between them. If the distance exceeds a threshold, the media has been manipulated. If it falls within the threshold, the media is authentic.

The biometric embedding is a numerical vector, typically 128 to 512 dimensions, extracted by a feature extraction model. Each dimension captures a specific aspect of the biometric: facial geometry ratios, skin texture patterns, micro-expression dynamics, iris patterns, or voice spectral characteristics. The embedding is what makes the biometric computationally useful, transforming a complex biological signal into a fixed-length numerical representation that can be compared with standard distance metrics.

H33 encrypts these embedding vectors using BFV fully homomorphic encryption with 4096 SIMD slots. Each SIMD slot holds one dimension of the embedding vector, and homomorphic operations apply to all slots simultaneously. Computing a Euclidean distance or cosine similarity between two encrypted vectors requires only homomorphic addition, subtraction, and multiplication, all of which BFV supports natively.

The encrypted inner product between two biometric vectors produces an encrypted scalar value. This encrypted distance score is then compared against an encrypted threshold. The final result, a binary match or no-match decision, can be produced without ever decrypting the intermediate similarity score. The detection service learns the outcome (authentic or manipulated) but never learns the actual distance value, the reference embedding, or the suspect embedding.

The Deepfake Arms Race

Deepfake technology improves continuously. Generative adversarial networks (GANs) and diffusion models produce synthetic media that is increasingly difficult to distinguish from authentic content. Face-swap deepfakes can replace one person's face with another in real-time video. Voice cloning can reproduce a person's speech patterns from just a few seconds of sample audio. Full-body deepfakes can create entirely synthetic individuals that pass casual visual inspection.

Traditional detection approaches analyze the media itself for artifacts: inconsistent lighting, unnatural blinking patterns, compression artifacts around face boundaries, or spectral anomalies in audio. These approaches work against current-generation deepfakes but face an ongoing arms race. Each generation of deepfake technology specifically targets the artifacts that detection systems look for, making artifact-based detection increasingly unreliable.

Biometric comparison takes a fundamentally different approach. Instead of looking for artifacts in the deepfake, it compares the deepfake against a known-authentic reference. This comparison is robust against improvements in deepfake quality because it measures fidelity to the original rather than presence of artifacts. A perfect deepfake that eliminates all artifacts would still fail a biometric comparison if the underlying identity does not match the encrypted reference template.

The challenge with biometric comparison has always been protecting the reference template. If the reference is stored in plaintext, it can be stolen and used to create even better deepfakes. FHE solves this by ensuring the reference template is never exposed, even to the comparison service itself.

Multi-Modal Encrypted Detection

Modern deepfake detection requires analyzing multiple modalities simultaneously. A video deepfake might perfectly replicate facial appearance but fail on lip synchronization, micro-expression timing, or audio-visual consistency. Effective detection examines all of these modalities and looks for discrepancies between them.

H33's encrypted detection pipeline supports multi-modal comparison by encrypting each modality's embedding independently and computing cross-modal consistency scores homomorphically. The system checks whether the encrypted facial embedding, the encrypted voice embedding, and the encrypted lip-sync embedding are all consistent with the same encrypted reference identity. Any inconsistency triggers a manipulation alert.

The cross-modal comparison is particularly powerful because deepfake generators typically operate on a single modality. A face-swap deepfake replaces the face but does not modify the voice. A voice clone replaces the voice but does not modify the face. By checking consistency across modalities in encrypted space, the system catches single-modality deepfakes that might pass inspection when each modality is analyzed independently.

With 4096 SIMD slots available in each ciphertext, H33 can pack multiple embedding dimensions across slots and process the entire multi-modal comparison in a small number of homomorphic operations. The SIMD batching also enables comparing one suspect sample against multiple reference templates simultaneously, useful for scenarios where the identity of the person in the media is unknown and must be checked against a database of encrypted references.

Real-Time Video Call Verification

One of the most urgent applications for encrypted deepfake detection is real-time video call verification. As deepfake technology enables real-time face replacement in video calls, organizations face the risk that the person they are speaking with is not who they appear to be. Financial institutions conducting video KYC, legal firms taking depositions, and government agencies conducting remote interviews all need assurance that the person on the call is authentic.

H33's pipeline can process biometric comparisons at 2,293,766 authentications per second with 38 microsecond per-authentication latency. For video call verification, this means sampling frames from the video stream, extracting encrypted biometric embeddings client-side, and sending them to H33 for comparison against the encrypted reference template. The comparison result returns in microseconds, fast enough to provide continuous verification throughout the call without perceptible latency.

The continuous verification model is significantly stronger than a one-time check at the start of the call. A sophisticated attacker might authenticate with their real face, then switch to a deepfake mid-call. Continuous encrypted comparison catches this by detecting the moment the biometric embedding diverges from the reference. The system can flag the exact timestamp where manipulation began, providing forensic evidence in addition to real-time detection.

Provenance and Attestation

Detecting a deepfake is only half the problem. The other half is proving that the detection was performed correctly. If a deepfake detection service claims that a video is authentic, how do you know the service actually ran the comparison algorithm? What if the service was compromised and returned a fabricated result?

H33 addresses this through post-quantum attestation of every detection result. When the encrypted comparison completes, the system generates a cryptographic attestation that binds the specific input embeddings, the comparison algorithm, and the output decision through a chain of post-quantum signatures. This attestation is distilled into 74 bytes through H33-74, using three independent hardness assumptions.

The attestation creates an unforgeable record that can be presented as evidence. A court can verify that a specific video was compared against a specific encrypted reference at a specific time, and that the comparison algorithm produced a specific result. The verification can be performed by any party with the public verification key, without needing access to the encrypted biometric data.

This is critical for legal proceedings where deepfake evidence is contested. The encrypted comparison result plus the attestation provides a chain of custody from the original biometric enrollment through the detection decision. Every link in the chain is cryptographically bound, and every link uses post-quantum cryptography to ensure the evidence remains valid against future quantum attacks.

Protecting the Reference Database

The reference biometric database is the crown jewel of any deepfake detection system. If an attacker can access the reference templates, they can train deepfake models specifically against those templates, creating synthetic media that is optimized to fool the comparison algorithm.

With FHE, the reference database is encrypted at rest and remains encrypted during comparison. There is no decryption step, ever. The comparison service operates on encrypted templates and produces encrypted results. Even a complete compromise of the comparison service reveals nothing about the reference templates, because the service never possesses the decryption key.

Key management follows a split model. The encryption keys are held by the template owners (the individuals whose biometrics are enrolled), not by the comparison service. The comparison service holds only evaluation keys that allow it to perform homomorphic operations on the ciphertexts without being able to decrypt them. This ensures that the reference database remains secure even against an insider threat at the comparison service.

For organizations that enroll biometric templates for their employees, the encryption key can be managed at the organizational level with hardware security modules. Individual employees do not need to manage their own keys. The organization encrypts templates during enrollment, and the encrypted templates are used for all subsequent comparisons without ever being decrypted.

Regulatory Compliance

Biometric data is subject to some of the strictest privacy regulations globally. GDPR classifies biometric data as special category data, requiring explicit consent and heightened protection. The Illinois Biometric Information Privacy Act (BIPA) imposes strict requirements on how biometric data is collected, stored, and shared. CCPA grants consumers the right to know what biometric data is collected and how it is used.

FHE-based deepfake detection simplifies compliance dramatically. Since the comparison service never accesses plaintext biometric data, many regulatory requirements become moot. You cannot misuse data you never see. You cannot fail to delete data that was never stored in decrypted form. You cannot share data with unauthorized parties when the data is encrypted with a key you do not possess.

This is not a legal loophole; it is a genuine privacy improvement. The regulatory intent behind biometric data protection is to prevent unauthorized access to sensitive biometric information. FHE achieves this intent at a technical level, making regulatory compliance a consequence of the architecture rather than an additional burden.

The Architecture of Trust

Encrypted deepfake detection represents a broader architectural pattern that H33 applies across its product line: perform computation on the most sensitive data without ever exposing it, and attest to the correctness of that computation with post-quantum cryptographic proofs. The pattern applies equally to biometric authentication, medical diagnosis, financial analysis, and any other domain where the data is too sensitive to share but too valuable to leave unused.

The deepfake problem is particularly urgent because the consequences of failure are severe. A successful deepfake can enable financial fraud, political manipulation, identity theft, and reputational destruction. Traditional detection methods create new vulnerabilities by requiring access to the original data. Encrypted detection eliminates those vulnerabilities while maintaining full detection accuracy.

As deepfake technology continues to improve, the arms race between generation and detection will intensify. But the fundamental advantage of encrypted biometric comparison remains: it measures fidelity to an encrypted reference that the attacker cannot access, using an algorithm the attacker cannot tamper with, producing results that are cryptographically attested. That is a defense that does not degrade as attack technology improves.

Encrypted Deepfake Detection

Verify media authenticity without exposing biometric references. Post-quantum attested results.

Get API Key Explore Biometrics
Verify It Yourself