LipForensics
A face forgery detector that judges videos by mouth movements, using a network pretrained on lipreading.
Video · 225 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Video
- Parameters
- 36M
- Operations
- 225
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2021
- Cited by
- 530 (as of 26 October 2026)
- Authors
- Alexandros Haliassos, Konstantinos Vougioukas, Stavros Petridis, Maja Pantic
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m17955
- Graph hash
- 4d66c1c7255f0ed065c7b444d1afbd94656e9eceb2505ea82ed0e5e298c0223f
- Skeleton hash
- eca2befeda98e6841ecf8c2fb8566b0386f53df83f720e8a91170fde08bf0578
- Architecture hash
- 0bc6c0fd55c3f0efe63777914c8b13b886437588c343776156cbe26276e44f10
- Diagram SHA-256
- 1ca2d84c8d4d9c256b28bd50e0aab564f03cac005e3720069c97d3170a5a038b
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
LipForensics is a detector of forged face videos that bases its decision on how the mouth moves. The paper starts from the observation that existing detectors are vulnerable to samples created by unseen manipulation methods, and that some more general ones rely on cues easily corrupted by post-processing such as compression.
The network is first pretrained on visual speech recognition, also called lipreading, so that it learns representations related to natural mouth motion. Its input is 25 grayscale, aligned mouth crops. These pass through a frozen feature extractor, a ResNet-18 with an initial 3-D convolutional layer. The feature extractor outputs a 512-D vector for each input frame. On top sits a multi-scale temporal convolutional network (MS-TCN), also pretrained on lipreading, which is the part finetuned to detect fake videos. After a temporal global average pooling layer, a linear classifier outputs the estimated class probabilities.
The feature extractor stays frozen because, the paper says, the network may otherwise learn to rely on unwanted artifacts rather than mouth movements. For a model trained on FaceForensics++, the code repository lists the paper's video-level AUC results as 82.4% on CelebDF-v2, 73.5% on DFDC, 97.1% on FaceShifter and 97.6% on DeeperForensics.
Key idea. LipForensics pretrains a spatio-temporal network on lipreading, then finetunes only its temporal network on real and forged data to detect fake videos from mouth movements.
- lipforensics
- lips don't lie
- face forgery detection
- fake video detection
- lipreading pretraining
- mouth movements
- ms-tcn
- visual speech recognition
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{haliassos2021lipsdontliegeneralisable,
title={Lips Don't Lie: A Generalisable and Robust Approach to Face Forgery Detection},
author={Alexandros Haliassos and Konstantinos Vougioukas and Stavros Petridis and Maja Pantic},
year={2021},
eprint={2012.07657},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2012.07657},
}