NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CS2: A Controllable and Simultaneous Synthesizer of Images and Annotations with Minimal Human Intervention

Xiaodan Xing, Jiahao Huang, Yang Nan, Yinzhe Wu, Chengjia Wang, Zhifan Gao, Simon Walsh, Guang Yang · DOI

Introduction

Training robust deep learning models for medical imaging is frequently bottlenecked by the scarcity of high-quality, expert-labeled data. In tasks such as COVID-19 infection segmentation, models require thousands of precisely annotated CT scans to achieve clinical-grade accuracy. However, manual annotation by radiologists is a slow, expensive, and often subjective process.

To address this, researchers have introduced CS² (Controllable and Simultaneous Synthesizer), a generative framework designed to synthesize realistic CT images and their corresponding segmentation masks simultaneously. By requiring only minimal human intervention, CS² offers a scalable solution to the data scarcity problem, even outperforming models trained on limited real-world datasets.

The Limitations of Current Generative Approaches

While Generative Adversarial Networks (GANs) have been explored for data augmentation, existing methods typically fall into three categories that limit their utility in clinical workflows:

  1. Uncontrollable Generation (Vector-to-Image): These models generate realistic images from noise but offer no control over the placement or morphology of pathological features like lesions.
  2. Labor Intensive (Mask-to-Image): These models require users to provide manual masks as input to generate images, which fails to reduce the overall annotation burden.
  3. Label Hungry (Vector-to-Mask-to-Image): These frameworks require hundreds of pre-existing manual labels to learn how to generate masks, creating a "chicken and egg" problem for new pathologies.

The CS² Framework

The CS² pipeline overcomes these hurdles through a three-stage process that integrates unsupervised learning with targeted human supervision.

1. Unsupervised Mask Generation

Rather than relying on human labels, the system utilizes a super-pixel guided CNN to decompose images into structural clusters. To give these clusters anatomical meaning, the authors assign each a "Mean Hounsfield Unit (HU)" value. This transforms an abstract unsupervised map into an organized "HU value map" representing distinct tissues such as lung parenchyma, bone, and infection sites.

2. Multiple AdaIN GAN

The generative core of CS² is a GAN that utilizes Multiple Adaptive Instance Normalization (AdaIN). This component treats the HU value map as a structural skeleton and a real CT scan as a "style" reference. The GAN effectively "paints" realistic medical textures onto the structural map, ensuring the output maintains the anatomical integrity of a CT scan while allowing for precise control over the content.

3. Ensemble MLP Classifier

To generate the final segmentation masks, the authors employ a "feature recycling" strategy. Instead of training a separate segmentation network from scratch, they extract the internal features already learned by the GAN’s decoder. A small ensemble of Multi-Layer Perceptrons (MLPs) is then trained on these features using only 30 manually labeled synthetic images. Because the GAN has already learned the underlying structure of the data to generate the images, the MLPs require very little data to map those features to accurate class labels.

Experimental Validation

The researchers validated CS² using two major datasets:

  • In-house Multi-center Chest CT Dataset: Comprising 7,140 3D CT volumes from 2,071 COVID-19 patients. For benchmarking, 1,192 volumes were manually labeled.
  • COVID-19-CT-Seg: An open-access dataset of 20 3D CT volumes used to test the model’s ability to generalize across different hospital settings.

To maintain 3D context while managing computational overhead, the images were processed as 2.5D stacks (four consecutive slices stacked together).

Key Insights

  • Structural Editability: The use of HU value maps makes the system "programmable." Users can manually modify a mask—for example, by adding a circular patch with a specific HU value—and the GAN will synthesize a realistic COVID-19 lesion in that exact location.
  • Training Stability: By using Mean Squared Error (MSE) for content loss rather than traditional VGG-based losses, the authors reduced memory consumption. This allowed for larger batch sizes, which significantly stabilized the GAN training process.
  • Superior Performance: In head-to-head comparisons on the in-house dataset, a UNet trained on CS² synthetic data (derived from just 30 manual labels) achieved higher Dice scores for lung and infection segmentation than a nnUNet that was pre-trained and fine-tuned on 199 manually labeled real-world volumes.

Conclusion and Future Work

CS² demonstrates that synthetic data, when generated with structural control and feature-aware segmentation, can be more effective than limited real-world data. Qualitatively, CS² captures complex textures like "ground glass opacity" (GGO) more accurately than standard GANs, which often produce unrealistic artifacts.

Despite these successes, the authors identified a "pixel-wise fuzziness" in some masks, where approximately 8% of pixels may be scattered or mislabeled. Currently, this is addressed through standard post-processing techniques like connected component analysis. Future iterations of CS² aim to expand the number of classes in the unsupervised guidance maps, potentially allowing the model to synthesize even more complex pathologies, such as Idiopathic Pulmonary Fibrosis (IPF).

Summary updated

BibTeX
@inproceedings{xing2022cs,
  author = {Xiaodan Xing and Jiahao Huang and Yang Nan and Yinzhe Wu and Chengjia Wang and Zhifan Gao and Simon Walsh and Guang Yang},
  title = {{CS2: A Controllable and Simultaneous Synthesizer of Images and Annotations with Minimal Human Intervention}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2022},
  url = {https://openreview.net/forum?id=xJiYTh9bmm},
}
Figure