SurgicaL-CD: Generating Surgical Images via Unpaired Image Translation with Latent Consistency Diffusion Models

Danush Kumar Venkatesh, Dominik Rivoir, Micha Pfeiffer, Stefanie Speidel · OpenReview

Abstract

Computer-assisted surgery (CAS) systems are designed to assist surgeons during procedures, thereby reducing complications and enhancing patient care. Training machine learning models for these systems requires a large corpus of annotated datasets, which is challenging to obtain in the surgical domain due to patient privacy concerns and the significant labeling effort required from doctors. Previous methods have explored unpaired image translation using generative models to create realistic surgical images from simulations. However, these approaches have struggled to produce high-quality, diverse surgical images. In this work, we introduce SurgicaL-CD, a consistency-distilled diffusion method to generate realistic surgical images with only a few sampling steps without paired data. We evaluate our approach on three datasets, assessing the generated images in terms of quality and utility as downstream training datasets. Our results demonstrate that our method outperforms GANs and diffusion-based approaches.

Introduction

Training deep learning models for computer-assisted surgery (CAS) is notoriously difficult due to a massive data bottleneck. While "natural" image datasets are abundant, surgical data is scarce because of patient privacy regulations and the extreme cost of expert manual labeling. Surgical simulators offer a potential source of "free" data because they can automatically generate perfect labels, such as semantic masks or depth maps. However, a significant domain gap exists: models trained on "clean" simulations often fail when faced with the "messy" reality of actual surgery, which includes vessels, blood, reflections, and complex textures. Previous attempts to bridge this gap using Generative Adversarial Networks (GANs) often lacked image quality or diversity, while standard Diffusion Models were too computationally expensive for large-scale dataset generation.

Methodology

SurgicaL-CD is a multi-stage pipeline designed for Unpaired Image-to-Image (UI2I) translation, allowing the model to learn the transition from simulation to reality without side-by-side examples of the same scene.

The SurgicaL-CD pipeline consisting of fine-tuning, distillation, and image translation.

Key Components:

  • Stable Diffusion Fine-tuning: A standard Stable Diffusion (SD) model is first fine-tuned on real surgical datasets (e.g., Cholec80) to learn the visual characteristics of actual anatomy.
  • Latent Consistency Distillation (LCD): To overcome the slow sampling of standard diffusion, the fine-tuned SD model is distilled into a Consistency Model. This allows the generation of high-quality images in just 1–4 steps.
  • SDEdit for Translation: To maintain the structural integrity of the simulation, SDEdit adds noise to the simulation image and then "denoises" it using the SurgicaL-CD model.
  • Optimal Transport (OT): This pre-processing step aligns the color distribution of the simulation to real-world data, facilitating a smoother translation.
  • ControlNet (Optional): A pre-trained ControlNet can be integrated to strictly enforce anatomical boundaries, such as edges and depth, during generation.

Experimental Setup

The study utilized benchmark surgical datasets for evaluation:

  • Real Data: Cholec80/CholecSeg8K, CholecT50, and the Dresden Surgical Anatomy Dataset (DSAD).
  • Simulated Data: 10,000 laparoscopic and 4,000 gastroscopic scenes generated from specialized surgical simulators.

Results and Discussion

SurgicaL-CD achieved a 10x speedup in inference time compared to standard diffusion baselines, making large-scale dataset generation feasible. The model excels at adding fine details, such as vessels, that are absent in simulations but critical for realism.

Visual comparison of real images, simulated inputs, and SurgicaL-CD outputs at different step counts.

Key Findings:

  • Image Quality: SurgicaL-CD outperformed popular GANs (CycleGAN, CUT) and other diffusion methods in terms of CFID (realism) and LPIPS (perceptual quality).
  • Semantic Consistency: Using a pre-trained segmentation model as a judge, the authors demonstrated that SurgicaL-CD preserved original labels better than GAN-based approaches.
  • Downstream Utility: Integrating SurgicaL-CD generated images into real training sets led to a 10% performance improvement in organ segmentation across multiple architectures, including DeepLabV3+, Segformer, and UperNet.
  • Efficiency: The 1-step and 2-step generation modes provided the optimal balance between high diversity and structural accuracy.

Conclusion and Future Work

While SurgicaL-CD significantly bridges the reality gap, some limitations remain. At higher sampling steps (e.g., 4 steps), the model may occasionally distort organ structures or experience "texture leakage." Future research will focus on incorporating temporal components to generate realistic surgical videos, ensuring consistency across consecutive frames in a procedure.

Summary updated

BibTeX
@inproceedings{venkatesh2024surgical,
  author = {Danush Kumar Venkatesh and Dominik Rivoir and Micha Pfeiffer and Stefanie Speidel},
  title = {{SurgicaL-CD: Generating Surgical Images via Unpaired Image Translation with Latent Consistency Diffusion Models}},
  booktitle = {Workshops @ ECCV},
  year = {2024},
  doi = {10.1007/978-3-031-91907-7\_13},
}
Figure