Video Inpainting Localization with Contrastive Learning
<|reference_start|>Video Inpainting Localization with Contrastive Learning: Deep video inpainting is typically used as malicious manipulation to remove important objects for creating fake videos. It is significant to identify the inpainted regions blindly. This letter proposes a simple yet effective forensic scheme for Video Inpainting LOcalization with ContrAstive Learning (ViLocal). Specifically, a 3D Uniformer encoder is applied to the video noise residual for learning effective spatiotemporal forensic features. To enhance the discriminative power, supervised contrastive learning is adopted to capture the local inconsistency of inpainted videos through attracting/repelling the positive/negative pristine and forged pixel pairs. A pixel-wise inpainting localization map is yielded by a lightweight convolution decoder with a specialized two-stage training strategy. To prepare enough training samples, we build a video object segmentation dataset of 2500 videos with pixel-level annotations per frame. Extensive experimental results validate the superiority of ViLocal over state-of-the-arts. Code and dataset will be available at https://github.com/multimediaFor/ViLocal.<|reference_end|>
@article{lou2024video,
    title={Video Inpainting Localization with Contrastive Learning},
    author={Zijie Lou, Gang Cao, Man Lin},
    journal={arXiv preprint arXiv:2406.17628},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.17628},
    primaryClass={cs.CV cs.CR}
}