Skip to main content
Neural Defend

How AI Face Swaps Work: What a Face Swap Deepfake Is and How It Is Detected

AI face swaps work by finding a face in each frame, encoding the identity of a second person, generating that identity in the original pose, expression and lighting, then blending it back into the frame. A face swap deepfake is the result: footage where one person's face is replaced with another's while the body, voice and scene stay. Neural Defend detects the blending, texture and consistency traces this leaves.

Organization authorNeural Defend Editorial
Updated August 5, 2026
Siva Shankar, Co-founder and CTO of Neural Defend.
Siva ShankarCo-founder & CTO
A translucent identity shell transfers onto a faceless bust while pose and scene remain.

What is a face swap deepfake?

A face swap deepfake is an image or video in which one person's face has been replaced with another person's face by a machine learning model. The original performer's head movement, expression, body, clothing, background and often voice remain; only the apparent identity changes.

That distinguishes face swaps from other face manipulations. FaceForensics++, a 2019 benchmark by Rössler and colleagues, grouped manipulation methods into identity swaps (DeepFakes and FaceSwap) and facial reenactment (Face2Face and NeuralTextures). Reenactment keeps the person and changes what their face does. Lip-sync changes only the mouth to match new audio. Full face synthesis invents a face that belongs to nobody. The distinction matters for detection, because each method leaves different traces.

MethodWhat changesWhat staysCommon misuse
Face swapIdentityPose, expression, body, sceneImpersonating a real person in a selfie, video or call
Facial reenactmentExpression and head movementIdentityMaking a real person appear to say or react differently
Lip-syncMouth regionRest of the face and scenePutting new words in someone's mouth
Full face synthesisEntire face, generated from scratchNothing from a real personSynthetic identities and fake profiles
Face manipulation types and what each changes.

How AI face swaps work, step by step

Most face swap pipelines follow the same five stages, whether they run offline on recorded video or live on a webcam stream.

The classic approach, popularised by open tools such as DeepFaceLab (Perov et al., first posted in 2020), trains a model on many images of both people. A shared encoder learns to describe any face as a compact code covering pose, expression and lighting, and a separate decoder for each person learns to rebuild that person's face from the code. Feeding person A's code into person B's decoder produces B's face making A's expression.

Newer one-shot methods remove the need for training on the target. SimSwap (Chen et al., 2021) extracts an identity representation from a single source image and injects it into the target's features with an ID Injection Module, while a weak feature matching loss helps keep the target's expression and gaze. That is what makes fast, low-effort swaps possible, including real-time swaps streamed through a virtual camera.

  • Detect and align: find the face in each frame and locate landmarks such as eyes, nose and jawline so faces can be normalised.
  • Encode: describe the face's pose, expression and lighting, and separately capture the identity to be inserted.
  • Generate: render the new identity with the original pose, expression and lighting.
  • Blend: place the generated face back using a mask, matching colour and smoothing the seam.
  • Smooth over time: in video, reduce flicker between frames so the swap holds as the head moves.

What traces does a face swap leave?

Each stage of the pipeline can leave evidence. The blend stage is the most common source: a boundary around the inner face where texture, sharpness or colour shift slightly, sometimes visible at the jawline, hairline or ears. The generate stage can produce skin that is smoother or more uniform than the rest of the image, or lighting on the face that does not match the scene.

Identity mismatches are another clue. A swap changes the inner face but usually keeps the original head shape, ears, hair and neck, so the face can look subtly wrong for the head it sits on. In video, temporal inconsistency appears as flicker, momentary slips during fast movement, and failures when a hand or object passes in front of the face or the head turns to profile.

Some traces are invisible to people. Generators leave statistical patterns in pixel frequencies and noise that trained models can pick up. FaceForensics++ reported that detectors trained on manipulated images outperformed human observers and stayed accurate under strong compression, although compression, resizing and re-recording all erode the signal.

Where face swaps show up in fraud

Identity verification is the largest target. FinCEN's alert FIN-2024-Alert004 of 13 November 2024 describes criminals altering or generating images to get through banks' customer identification, and notes that some use third-party webcam plugins to display previously generated video instead of a live feed. A swapped face on a stolen identity can then pass a face match against the victim's genuine ID.

Remote hiring is another. The FBI's June 2022 notice on deepfakes in remote job applications reported interviews where the applicant's lip movements did not fully match the audio, and where coughs and sneezes did not line up with what was on camera. Executive impersonation is the third: the FBI's December 2024 announcement describes real-time video chats impersonating company executives and police. The guide to face swap detection for KYC covers the identity case in operational detail.

How face swaps are detected

Reliable face swap detection combines several checks, because no single trace survives every swap method and every compression setting. Models examine boundary consistency, texture statistics, frequency patterns, landmark geometry and, in video, motion and temporal coherence. Liveness checks add a separate question, whether a live person is present, and can be passed by a swap streamed in real time.

Standards now expect manipulation analysis in identity flows. NIST SP 800-63A-4, published in July 2025, requires remote identity proofing to analyse submitted media for manipulation and recommends analysing it for signatures of generative AI and deepfake tools.

Human review still has a role, mainly for context: does the scene, voice and story fit? It should not be the main defence against high-quality swaps, which may show no flaw a viewer can see.

How Neural Defend detects face swaps

For investigators and analysts, NeuroDetect shows where a swap was found. An authorised image or video is uploaded into a case, and explainability heatmaps and attention views point to specific regions and frames, with a downloadable report recording observations, uncertainty and model version. That makes it suited to verifying a suspect clip of an executive or a disputed recording.

For automated identity checks, NeuroVerify runs Face Manipulation Detection alongside five other signals, including Live Presence Verification and AI Generative Model Analysis, in one API call, returning eligible image results in under 200 ms p95 under defined test conditions.

Both build on ARCAS 1B, Neural Defend's own detection model. The public VendorBench-100 benchmark includes face swaps among its eight edge-case families; across its 100 still images, Neural Defend ranked first of 36 systems with an MCC of 0.876 against 0.646 for the next vendor. One VendorBench author also co-authored the ARCAS paper, and the benchmark does not test video, where temporal traces add further evidence.

Evidence boundary

Limitations

  • Detection accuracy depends on the swap method, resolution and compression; heavily recompressed or screen-recorded copies weaken every trace described here.
  • A detection result shows manipulation, not who made the swap or which tool was used; attribution needs separate evidence.
  • Beauty filters and video-call effects can produce artifacts that resemble swap traces, so context matters.
  • VendorBench-100 covers still images only and shares an author with the ARCAS paper.

Frequently asked questions

Can a face swap be done in real time on a video call?

Yes. One-shot methods that need only a single image of the target, such as SimSwap, made fast swaps practical, and the output can be routed through a virtual camera into a video call or verification flow. The FBI's December 2024 announcement describes criminals impersonating executives and police in real-time video chats. Real-time swaps tend to slip during fast movement, occlusion and profile views.

How many images does a face swap need?

It depends on the method. Classic autoencoder tools such as DeepFaceLab train on many images or video frames of both people, which takes time and computing power. One-shot methods such as SimSwap can insert an identity from a single source image. More source material generally produces a more convincing swap across angles and lighting.

Is every face swap a deepfake?

Not every face swap is malicious, but technically any AI face swap is a form of deepfake: synthetic media that changes a person's apparent identity. Swaps are used openly in film, entertainment apps and with consent. The concern is undisclosed swaps used to impersonate someone, pass identity checks or put a real person into a scene they were never in.

Can people spot a face swap by eye?

Sometimes, on low-quality swaps: look at the jawline, hairline and ears, skin texture, lighting on the face versus the scene, and moments when the head turns or a hand crosses the face. High-quality swaps may show none of these. FaceForensics++ found trained detectors outperformed human observers, so visual inspection is best used for context, not as the main check.

Source record

Sources and references

  1. arXivFaceForensics++: Learning to Detect Manipulated Facial ImagesPublished January 25, 2019. Verified October 19, 2026.
  2. arXivDeepFaceLab: Integrated, flexible and extensible face-swapping frameworkPublished May 12, 2020. Verified October 19, 2026.
  3. arXivSimSwap: An Efficient Framework For High Fidelity Face SwappingPublished June 11, 2021. Verified October 19, 2026.
  4. Financial Crimes Enforcement Network (FinCEN)FIN-2024-Alert004: FinCEN Alert on Fraud Schemes Involving Deepfake Media Targeting Financial InstitutionsPublished November 13, 2024. Verified October 19, 2026.
  5. FBI Internet Crime Complaint CenterI-062822-PSA: Deepfakes and Stolen PII Utilized to Apply for Remote Work PositionsPublished June 28, 2022. Verified October 19, 2026.
  6. FBI Internet Crime Complaint CenterI-120324-PSA: Criminals Use Generative Artificial Intelligence to Facilitate Financial FraudPublished December 3, 2024. Verified October 19, 2026.
  7. National Institute of Standards and TechnologySP 800-63A-4, Digital Identity Guidelines: Identity Proofing and EnrollmentPublished July 1, 2025. Verified October 19, 2026.
  8. arXivVendorBench-100: A Unified Cross-Paradigm Benchmark for Deepfake Image DetectionPublished July 29, 2026. Verified October 19, 2026.

Face swap analysis

Check a suspect clip for face swap traces in NeuroDetect.

Upload an authorised image or video and see region and frame-level evidence of manipulation, with a report you can share.

Explore NeuroDetect