Deepfake
Real-Time Deepfake Detection: State of the Art and Limits
How deepfake detection algorithms work, why the race against fraudsters never ends and what the real limitations of these techniques are in practice.
In our squads, autonomous AI agents do most of the work and human architects are accountable for the outcome, because we know no model gets it right every time. Deepfake detection follows the same logic: algorithms handle triage at scale, but trust comes from layers of verification and from specialists who step in on the cases that matter. In this article, we look at the state of the art in deepfake detection and, above all, at its limits.
Understanding the nature of the deepfake threat
Deepfakes mark a crucial turning point in our relationship with digital media. For the first time in history, it is technically feasible to create completely fake videos of real people saying or doing things they never did, with visual fidelity so high that they become indistinguishable to the casual observer.
The technology behind this is fascinating: variational autoencoders (VAEs) and generative adversarial networks (GANs) are trained on hundreds or thousands of frames of a target person. The system learns not only facial appearance but also movement patterns, changes in expression and the way light interacts with the geometry of the face. Once trained, it can apply different facial expressions or synthesized speech to generate a video in which the person appears to say something new.
The result is deeply unsettling: visual proof is no longer proof. Because any video could be a deepfake, it becomes much harder to use video as evidence. The implications are enormous: criminals can fabricate evidence against innocent people, fraudsters can impersonate authority figures to gain trust and politicians can be discredited even when they are telling the truth.
Deepfake detection, therefore, is not a technical curiosity — it is a matter of public safety and trust in media.
Detection approaches: learning to look for inconsistencies
The predominant approach to detecting deepfakes is, paradoxically, AI-based: using neural networks trained to identify the specific artifacts that reveal a video has been synthesized.
Researchers have identified several types of inconsistency that tend to appear in deepfakes:
- Facial edges. They often do not blend perfectly with the background. The synthesizer generates the face in high fidelity but can leave small artifacts at the transitions.
- Eyes. They are extremely hard to synthesize perfectly. The reflection of light in the eyes has to be physically consistent with the ambient lighting, and the synthesizer often fails at this detail.
- Skin texture. Synthetic skin tends to show patterns slightly different from real skin, which has microscopic variations in pigmentation that are very hard to reproduce.
- Color across frames. Color changes can be subtly different. A deepfake may have luminance variations that do not exactly follow the pattern of natural lighting.
Detection algorithms are trained on enormous datasets in which half the videos are deepfakes (synthesized with VAEs/GANs) and half are genuine. The algorithm learns to tell the subtle patterns apart. A 3D convolutional neural network — which operates on video rather than still images — can analyze frame sequences and identify temporal inconsistencies that indicate synthesis.
These algorithms reach 98–99% accuracy on test datasets. But test datasets are controlled: we know exactly how the deepfakes were created. In the real world, deepfakes produced with new techniques or variations of them may have different signatures.
The permanent race: AI versus AI
There is a fundamental truth about deepfake detection that is crucial to understand: it will never be a fully solved problem, because fraudsters also have access to generative AI.
When a detection algorithm is published, fraudsters study how it works and develop techniques to get around it. If the algorithm looks for inconsistencies at facial edges, they start using post-processing to smooth the transitions. If it looks for inconsistencies in skin texture, they train their generative models on real-skin datasets and increase fidelity.
But there is a truth that works in our favor: the innovation cycle on defense is much faster than on offense. A fraudster may spend months developing a new deepfake technique; a team of researchers can study it and train a new detector in weeks. The algorithm learns from datasets of thousands of new deepfakes, while a lone fraudster building an individual deepfake simply cannot iterate that fast.
On top of that, the number of people working on defense (university researchers, engineers at companies) exceeds by orders of magnitude the number of people actually dedicated to creating fraudulent deepfakes. That creates a fundamental asymmetry in favor of defense.
So although there will always be some level of deepfakes that initially slip past detectors, the system as a whole — humans and AI working together — can adapt faster than fraudsters can innovate.
A closer look: images, artifacts and temporal data
Let us look more deeply at how modern detection algorithms work.
Still-image analysis
The algorithm examines the frequency spectrum. Synthetically generated images often have a frequency distribution different from that of real photographs. A deepfake may show slightly anomalous high frequencies (fine details) in certain regions. The algorithm can use the Fast Fourier Transform (FFT) to decompose the image into its frequency components and look for anomalies.
Compression artifacts
Every digital video or image goes through compression (JPEG, H.264, VP9), and compression affects different kinds of content in different ways. Synthesized deepfakes often show compression patterns slightly different from those of natural footage. Algorithms learn to detect these signatures.
Temporal analysis
In a genuine video, changes between frames follow the laws of physical continuity: objects do not abruptly appear or disappear, motion is smooth and lighting is consistent. A deepfake, even if each individual frame is convincing, can break that continuity. A 3D neural network analyzes frame sequences to find these discontinuities.
Biometric analysis
Especially important is biometric analysis: how the eyes move, how often the person blinks, how the mouth moves during speech. Research in human psychology has provided data on the “normal” patterns of these parameters, and deepfakes often violate them in subtle ways that algorithms can detect.
Honest limitations and practical reality
It is essential to be brutally honest about the limitations of deepfake detection. There is no detector that is 100% accurate under all conditions. There is always a trade-off between false positives (flagging a genuine video as a deepfake) and false negatives (failing to detect a real deepfake).
Deepfakes created with very large datasets and a lot of compute time can reach such high fidelity that they get past detectors. A fraudster with access to practically unlimited GPU farms could eventually create a deepfake that passes detection. This is not common — it requires significant resources — but it is theoretically possible.
In addition, there are adversarial techniques designed specifically to fool detectors. Adversarial security researchers have shown how small modifications imperceptible to humans (a few altered pixels) can fool neural networks, and the same holds for deepfake detectors.
There is also the moving-target problem. As detectors improve, synthesis techniques improve alongside them. A detector trained in 2024 may be obsolete by 2026 because deepfake generators have evolved.
In practice, then, deepfake detection is best understood as a triage tool rather than a perfect source of truth. It can remove more than 95% of obvious deepfakes from a social media platform. But for high-value targets (criminal forensics, media authentication in court proceedings), it needs to be combined with other forms of authentication and with expert human verification.
Defense-in-depth strategies
Given these limitations, security professionals recommend a defense-in-depth approach. A single technique is not enough: several layers need to work together.
- Prevention. Whenever possible, prevent deepfakes from being created. That means carefully managing facial data (restricting the distribution of high-resolution images of people), using digital watermarking on important content and keeping access credentials tightly controlled.
- Detection. Use multiple detection algorithms that look for different patterns: a technique that gets past one detector may fail against another. Also apply detection at several levels — still-image, video, audio (lip-sync) and metadata analysis.
- Verification. For high-impact content, implement cryptography and digital signature mechanisms. If a video comes from a verified source, a cryptographic signature can prove its authenticity. This is not perfect (whoever holds the private key can sign a deepfake), but it offers more assurance than just looking at the video.
- Education. Train people to be skeptical of videos. Even with the naked eye, there are signs a trained observer can spot in convincing deepfakes: abnormal micro-movements, glitches in fine details, subtle inconsistencies. Public education about how deepfakes work reduces their effectiveness, because people become more skeptical.
- Legal accountability. Establish severe penalties for the malicious creation of deepfakes. If the cost of fraud outweighs the benefit, many fraudsters will not even try.