RT-GAN: Recurrent Temporal GAN for Adding Lightweight Temporal Consistency to Frame-Based Domain Translation Approaches
Shawn Mathew, Saad Nadeem, Alvin C. Goh, Arie Kaufman
TL;DR
The paper tackles the lack of temporally coherent data in frame-based colonoscopy domain translation by introducing RT-GAN, a lightweight approach that adds temporal consistency without full video-model training. It uses a single generator G that takes $(x_t, x_{t-1}, y_{t-1}')$ to produce $y_t'$, guided by a temporal discriminator operating on 3-frame sequences and a spatial discriminator, with a combined objective $ \mathcal{L}_{obj} = \lambda \mathcal{L}_{t} + \mathcal{L}_{f} + \mathcal{L}_{s}$ to balance temporal fidelity and frame-based fidelity. The method reduces training resources by around 5x relative to full video-domain methods and demonstrates improved segmentation and realistic video generation on colonoscopy tasks, including haustral fold segmentation and synthetic-to-real video synthesis; a temporal colonoscopy dataset and code are released for reproducibility. This work offers a practical path to temporally coherent frame-based translation in medical endoscopy, enabling more reliable AI-assisted analysis and documentation without prohibitive computational cost.
Abstract
Fourteen million colonoscopies are performed annually just in the U.S. However, the videos from these colonoscopies are not saved due to storage constraints (each video from a high-definition colonoscope camera can be in tens of gigabytes). Instead, a few relevant individual frames are saved for documentation/reporting purposes and these are the frames on which most current colonoscopy AI models are trained on. While developing new unsupervised domain translation methods for colonoscopy (e.g. to translate between real optical and virtual/CT colonoscopy), it is thus typical to start with approaches that initially work for individual frames without temporal consistency. Once an individual-frame model has been finalized, additional contiguous frames are added with a modified deep learning architecture to train a new model from scratch for temporal consistency. This transition to temporally-consistent deep learning models, however, requires significantly more computational and memory resources for training. In this paper, we present a lightweight solution with a tunable temporal parameter, RT-GAN (Recurrent Temporal GAN), for adding temporal consistency to individual frame-based approaches that reduces training requirements by a factor of 5. We demonstrate the effectiveness of our approach on two challenging use cases in colonoscopy: haustral fold segmentation (indicative of missed surface) and realistic colonoscopy simulator video generation. We also release a first-of-its kind temporal dataset for colonoscopy for the above use cases. The datasets, accompanying code, and pretrained models will be made available on our Computational Endoscopy Platform GitHub (https://github.com/nadeemlab/CEP). The supplementary video is available at https://youtu.be/UMVP-uIXwWk.
