From upload to verdict, and the reason why
Explainability · audio-only explanation
Where does the detector hear the fake?
- Spectrogram
- Relevance mask (U-Net)
- Ground truth: vocoded 1–2 kHz
- Spectrogram
- Relevance mask
- Ground truth
- Faithfulness check
Late fusion · video input
Three cores, one weighted score
final = 0.5·lipsync + 0.4·audio + 0.1·video
Each core returns p(fake). Weights are renormalised over the cores that returned a score, so a core that fails simply drops out. Scores above 0.5 read as fake.
How it works
Four ideas behind the pipeline
One entry point for audio and video. An audio file goes straight to the audio core. A video is split across audio, video and lipsync cores whose scores are fused. When the input is audio only, an explainability model shows which parts of the spectrogram drove the decision.
-
01
Route by input type
An audio file goes only to the audio core, and its score is the final score. For a video, ffmpeg extracts the soundtrack for the audio core, and the video itself goes to the video and lipsync cores.
-
02
Three independent cores
Each core returns the probability that the input is fake. Audio: a frozen encoder with a logistic-regression head. Video: a frozen encoder with a CNN head. Lipsync: AV-HuBERT features, an alignment network and a fusion head, trained on real videos only. The cores run in separate environments because their dependencies clash.
-
03
Late fusion
final = 0.5·lipsync + 0.4·audio + 0.1·video
The weights are renormalised over the cores that produced a score. If a core fails, for example because the lipsync core finds no face, its score is dropped and the others are reweighted.
-
04
Explaining audio decisions
The explainability model is a U-Net mask predictor that highlights the time–frequency regions behind a “fake” decision. Keep the relevant regions and the decision holds; keep the rest and it flips. Here only the 1–2 kHz band was vocoded, so the ground truth is known.
Run it on your own files
The full pipeline, retraining scripts and setup notes are on the model card.
$ python detect.py INPUT_FILE --json
Open model card
Model card on Hugging Face