Counterfactual contrastive learning: robust representations via causal image synthesis
<|reference_start|>Counterfactual contrastive learning: robust representations via causal image synthesis: Contrastive pretraining is well-known to improve downstream task performance and model generalisation, especially in limited label settings. However, it is sensitive to the choice of augmentation pipeline. Positive pairs should preserve semantic information while destroying domain-specific information. Standard augmentation pipelines emulate domain-specific changes with pre-defined photometric transformations, but what if we could simulate realistic domain changes instead? In this work, we show how to utilise recent progress in counterfactual image generation to this effect. We propose CF-SimCLR, a counterfactual contrastive learning approach which leverages approximate counterfactual inference for positive pair creation. Comprehensive evaluation across five datasets, on chest radiography and mammography, demonstrates that CF-SimCLR substantially improves robustness to acquisition shift with higher downstream performance on both in- and out-of-distribution data, particularly for domains which are under-represented during training.<|reference_end|>
@article{roschewitz2024counterfactual,
    title={Counterfactual contrastive learning: robust representations via causal
  image synthesis},
    author={Melanie Roschewitz, Fabio De Sousa Ribeiro, Tian Xia, Galvin Khara,
  Ben Glocker},
    journal={arXiv preprint arXiv:2403.09605},
    year={2024},
    doi={10.1007/978-3-031-73748-0_3},
    archivePrefix={arXiv},
    eprint={2403.09605},
    primaryClass={cs.CV cs.AI}
}