Reproduce “CleanerCLIP: Fine-grained Counterfactual Semantic Augmentation for Backdoor Defense in Contrastive Learning” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yuan Xun, Siyuan Liang, Xiaojun Jia, Xinwei Liu, Xiaochun Cao

CleanerCLIP applies a fine-grained counterfactual semantic augmentation strategy to defend multimodal contrastive learning models like CLIP against backdoor attacks during fine-tuning. This approach substantially reduces the Attack Success Rate, particularly against stealthy attacks such as BadCLIP, while preserving the model's performance on clean tasks.

Key insights

  • Disrupting semantic links at a granular level through fine-grained counterfactual augmentation effectively counters stealthy attacks that exploit true feature regions.
  • The defense maintains high efficacy with a lightweight approach, requiring augmentation of only a small, randomly selected subset of data per epoch during fine-tuning.
  • The research team's direct involvement in developing the BadCLIP attack provides a deep understanding of advanced attack mechanisms, enabling a robust defense strategy.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.