Medical image analysisPreprintOpen accesscs.CV

Hierarchical causal construction for semantic-granularity-aligned counterfactual medical image generation.

Zhizhong Fu, Wei Zhou, Zhaoyang Jiang, Yudong Lin, Gaoming Li, Yuke Cao, Yifu Hou, Xiaorong Ding,

Clinical Hospital of Chengdu Brain Science Institute, MOE Key Lab for Neuroinformation, University of Electronic Science and Technology of China, Chengdu, 611731, China; School of Life Science and Technology, University of Electronic Science and Technology of China, Chengdu, 611731, China; Brain-Computer Interface & Brain-Inspired Intelligence Key Laboratory of Sichuan Province, University of Electronic Science and Technology of China, Chengdu, 611731, China. · Clinical Hospital of Chengdu Brain Science Institute, MOE Key Lab for Neuroinformation, University of Electronic Science and Technology of China, Chengdu, 611731, China; School of Life Science and Technology, University of Electronic Science and Technology of China, Chengdu, 611731, China; Departmen of Radiology, Huzhou Materniy and Child Health Care Hospial, Huzhou, 313000, China.

Key points

From the paper's conclusion
  • We propose QCC-WM, a visual world model based on Quotient-based Causal Construction.

Abstract

Counterfactual image generation seeks to answer how a medical image should change when a clinical semantic factor is altered, and is important for model interpretation, lesion localization, and controllable image editing. This work addresses the semantic granularity mismatch in existing counterfactual generation methods and formulates it as the problem of semantic-granularity alignment (SGA). Specifically, counterfactual queries typically target macro-level semantics, such as lesion morphology, tissue intensity, or risk phenotype, whereas generative models operate on micro-level visual units, including pixels, patches, textures, and local boundaries. Without an explicit correspondence between these two levels, macro-level semantic interventions cannot be reliably translated into changes in the relevant local structures. To address this issue, we propose hierarchical causal construction (HCC), which uses causal abstraction to establish a hierarchical mapping between micro-level visual units and macro-level clinical semantics. We further integrate HCC with causal representation learning (CRL) to develop HCC-CRL, which first encodes an image into micro-level causal nodes, and then aggregates them into macro-level causal nodes and semantic slots through a learnable soft quotient mapping. Counterfactual interventions are subsequently performed at the macro level, and the intervened states are projected back into the micro-level visual space for counterfactual image generation. Within a unified hierarchical causal representation, the framework jointly models target semantic changes, preservation of non-target information, and local visual consistency. Experiments on Morpho-MNIST, the Breast Ultrasound Images (BUSI) dataset, and a microvascular invasion (MVI) prediction task show that HCC-CRL generates counterfactual images with well-directed semantic changes and improved structural preservation, while maintaining a robust balance among intervention success, identity preservation, and image quality.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers