Segmentor-Guided Counterfactual Fine-Tuning for Locally Coherent and Targeted Image Synthesis

Tian Xia, Matthew Sinclair, Andreas Schuh, Fabio De Sousa Ribeiro, Raghav Mehta +6 more
9/29/2025
cs.CVcs.AI

Official code: biomedia-mira/seg-cft (1 star, last commit 2025-06-25).

Abstract

Counterfactual image generation is a powerful tool for augmenting training data, de-biasing datasets, and modeling disease. Current approaches rely on external classifiers or regressors to increase the effectiveness of subject-level interventions (e.g., changing the patient's age). For structure-specific interventions (e.g., changing the area of the left lung in a chest radiograph), we show that this is insufficient, and can result in undesirable global effects across the image domain. Previous work used pixel-level label maps as guidance, requiring a user to provide hypothetical segmentations which are tedious and difficult to obtain. We propose Segmentor-guided Counterfactual Fine-Tuning (Seg-CFT), which preserves the simplicity of intervening on scalar-valued, structure-specific variables while producing locally coherent and effective counterfactuals. We demonstrate the capability of generating realistic chest radiographs, and we show promising results for modeling coronary artery disease. Code: https://github.com/biomedia-mira/seg-cft.

View on arXivView PDF

Code Implementations(1)

This is the repository for our seg-cft work accepted in MICCAI 2025

10Jun 25, 20251 years ago

Similar Papers

Cite this paper

@article{xia2025segmentorguided,
  title  = {Segmentor-Guided Counterfactual Fine-Tuning for Locally Coherent and Targeted Image Synthesis},
  author = {Tian Xia and Matthew Sinclair and Andreas Schuh and Fabio De Sousa Ribeiro and Raghav Mehta and Rajat Rasal and Esther Puyol-Antón and Samuel Gerber and Kersten Petersen and Michiel Schaap and Ben Glocker},
  year   = {2025},
  eprint = {2509.24913},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.24913v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.24913.svg)](https://codeofpaper.com/paper/2509.24913)

Discussion