Table of Contents
Fetching ...

CCIS-Diff: A Generative Model with Stable Diffusion Prior for Controlled Colonoscopy Image Synthesis

Yifan Xie, Jingge Wang, Tao Feng, Fei Ma, Yang Li

TL;DR

The paper addresses the scarcity and variability of colonoscopy datasets that hinder robust polyp detection. CCIS-DIFF introduces a diffusion-based framework with a Stable Diffusion prior to enable controlled generation of colonoscopy images, guiding polyp spatial attributes and clinical text via a blur mask weighting strategy and a text-aware attention mechanism. A first multi-modal colonoscopy dataset, combining images, masks, and LLM-generated clinical descriptions, supports precise training and evaluation, and the model is trained with the diffusion objective $L = E[ (\text{epsilon} - \text{epsilon}_\theta(I_t,t,T,M))^2 ]$ (simplified for clarity). Results show high fidelity and text consistency, improved downstream segmentation performance, and practical potential for data augmentation in colonoscopy workflows.

Abstract

Colonoscopy is crucial for identifying adenomatous polyps and preventing colorectal cancer. However, developing robust models for polyp detection is challenging by the limited size and accessibility of existing colonoscopy datasets. While previous efforts have attempted to synthesize colonoscopy images, current methods suffer from instability and insufficient data diversity. Moreover, these approaches lack precise control over the generation process, resulting in images that fail to meet clinical quality standards. To address these challenges, we propose CCIS-DIFF, a Controlled generative model for high-quality Colonoscopy Image Synthesis based on a Diffusion architecture. Our method offers precise control over both the spatial attributes (polyp location and shape) and clinical characteristics of polyps that align with clinical descriptions. Specifically, we introduce a blur mask weighting strategy to seamlessly blend synthesized polyps with the colonic mucosa, and a text-aware attention mechanism to guide the generated images to reflect clinical characteristics. Notably, to achieve this, we construct a new multi-modal colonoscopy dataset that integrates images, mask annotations, and corresponding clinical text descriptions. Experimental results demonstrate that our method generates high-quality, diverse colonoscopy images with fine control over both spatial constraints and clinical consistency, offering valuable support for downstream segmentation and diagnostic tasks.

CCIS-Diff: A Generative Model with Stable Diffusion Prior for Controlled Colonoscopy Image Synthesis

TL;DR

The paper addresses the scarcity and variability of colonoscopy datasets that hinder robust polyp detection. CCIS-DIFF introduces a diffusion-based framework with a Stable Diffusion prior to enable controlled generation of colonoscopy images, guiding polyp spatial attributes and clinical text via a blur mask weighting strategy and a text-aware attention mechanism. A first multi-modal colonoscopy dataset, combining images, masks, and LLM-generated clinical descriptions, supports precise training and evaluation, and the model is trained with the diffusion objective (simplified for clarity). Results show high fidelity and text consistency, improved downstream segmentation performance, and practical potential for data augmentation in colonoscopy workflows.

Abstract

Colonoscopy is crucial for identifying adenomatous polyps and preventing colorectal cancer. However, developing robust models for polyp detection is challenging by the limited size and accessibility of existing colonoscopy datasets. While previous efforts have attempted to synthesize colonoscopy images, current methods suffer from instability and insufficient data diversity. Moreover, these approaches lack precise control over the generation process, resulting in images that fail to meet clinical quality standards. To address these challenges, we propose CCIS-DIFF, a Controlled generative model for high-quality Colonoscopy Image Synthesis based on a Diffusion architecture. Our method offers precise control over both the spatial attributes (polyp location and shape) and clinical characteristics of polyps that align with clinical descriptions. Specifically, we introduce a blur mask weighting strategy to seamlessly blend synthesized polyps with the colonic mucosa, and a text-aware attention mechanism to guide the generated images to reflect clinical characteristics. Notably, to achieve this, we construct a new multi-modal colonoscopy dataset that integrates images, mask annotations, and corresponding clinical text descriptions. Experimental results demonstrate that our method generates high-quality, diverse colonoscopy images with fine control over both spatial constraints and clinical consistency, offering valuable support for downstream segmentation and diagnostic tasks.

Paper Structure

This paper contains 14 sections, 4 equations, 4 figures, 3 tables.

Figures (4)

  • Figure 1: In contrast to ArSDM du2023arsdm and ControlNet zhang2023adding, CCIS-DIFF can utilize not only mask but also textual description to generate high-fidelity, text-consistent colonoscopy images.
  • Figure 2: (a) The overall architecture of CCIS-DIFF. The parameters of the frozen modules refer to Stable Diffusion v1.5 rombach2022high. The trainable modules incorporate a text-aware attention mechanism to address the issue of neglecting text prompts. Additionally, we introduce a blur mask weighting strategy to ensure seamless integration of synthesized polyps with the colonic mucosa. (b) The construction pipeline of the multi-modal colonoscopy dataset.
  • Figure 3: Qualitative comparison of colonoscopy image synthesis.
  • Figure 4: Visualization of the ablation experiments.