Multi-frame Collaboration for Effective Endoscopic Video Polyp Detection via Spatial-Temporal Feature Transformation

Lingyun Wu, Zhiqiang Hu, Yuanfeng Ji, Ping Luo, Shaoting Zhang

Abstract

Colorectal cancer screening relies heavily on the accurate detection of polyps during endoscopy. However, erratic camera motion and internal artifacts like bubbles and reflections make video-based detection challenging. This paper introduces the Spatial-Temporal Feature Transformation (STFT) framework, which leverages multi-frame collaboration through proposal-guided spatial alignment and channel-aware temporal attention. STFT significantly improves detection performance over single-frame baselines and existing video object detection methods on standard benchmarks, demonstrating high robustness in chaotic clinical environments.

Introduction: The Challenges of Endoscopic Video

Detecting polyps in real-time video is significantly more difficult than in still images. While video provides a continuous stream of data, it also introduces two major "noise" factors specific to endoscopy that hinder traditional detection algorithms:

  1. Erratic Camera Motion: Unlike standard video datasets where the camera is often static or moves smoothly, an endoscope is constantly manipulated by a clinician. This creates massive background variation between frames, making standard motion-compensation techniques like optical flow unreliable.
  2. Internal Artifacts: The digestive tract is a "messy" environment. Water flow, specular reflections (light bouncing off wet tissue), bubbles, and instrument occlusions cause image quality to fluctuate wildly from one frame to the next.
Figure 1: Examples of the challenging endoscopic environment, featuring polyps (green arrows) obscured by artifacts like reflections and bubbles (blue arrows).

Existing video object detection (VOD) methods often fail in this context because they assume a level of temporal consistency that endoscopy simply does not provide.

Methodology: The STFT Framework

The STFT framework is built upon a one-stage detector (FCOS) and introduces two primary modules designed to handle the unique challenges of endoscopy: Proposal-guided Spatial Feature Transformation and Channel-aware Temporal Feature Transformation.

Figure 2: Overview of the STFT framework (b) compared to a standard image-based detector (a). The framework utilizes target and support frames to perform spatial alignment and temporal aggregation.

Proposal-guided Spatial Feature Transformation

Instead of attempting to align the entire chaotic background, the framework uses "proposals" (initial bounding box guesses) from the target frame to guide Deformable Convolutions (DCN). This forces the network to focus its alignment efforts on the potential polyp (the foreground) rather than getting distracted by the shifting intestinal walls.

Channel-aware Temporal Feature Transformation

Not all frames are of equal quality. If a frame is obscured by a burst of bubbles, the model should weight its contribution less than a clear neighboring frame. The authors designed a specialized attention module that evaluates both the correlation (similarity to the target) and the quality (cleanliness of features) across different feature channels. This allows the model to adaptively aggregate information, effectively filtering out noise from corrupted frames.

Experimental Results

The authors evaluated STFT on two major public benchmarks: CVC-VideoClinicDB (18 sequences, 11,954 images) and the ASU-Mayo Clinic Colonoscopy Video dataset (10 videos, 5,402 images). These datasets represent the gold standard for evaluating real-world polyp variety and endoscopic conditions.

Performance Gains

STFT demonstrated dramatic improvements over both still-image and video-based competitors:

  • Vs. Still Image Baseline (FCOS): STFT improved the F1-score by 10.6% on CVC-Clinic and 20.6% on ASU-Mayo.
  • Vs. State-of-the-Art Video Methods: It outperformed previous best video-based methods, such as FGFA and RDN, by 3.6% and 8.0% respectively.

Qualitative results confirm that STFT maintains a "lock" on polyps even when they are momentarily obscured by bubbles or light flashes—scenarios where single-frame detectors typically fail.

Key Insights

  • Object-Centered Alignment: By focusing strictly on aligning candidate polyp features, the model ignores the "distracting trifles" of the moving intestinal background.
  • Channel-Specific Artifacts: Different artifacts (reflections vs. water flow) trigger different activation patterns in convolutional layers. Channel-aware attention allows the model to selectively ignore specific parts of a feature map corrupted by a specific artifact.
  • Synergistic Modules: Spatial alignment and temporal aggregation are mutually beneficial; the temporal module performs better on pre-aligned features, while the spatial module provides the clean input needed for accurate quality judgment.

Conclusion and Future Work

STFT offers a robust solution for real-time polyp detection, showing stability even when trained on sparse annotations (e.g., labeling only 1 out of every 10 frames). While multi-frame models introduce higher computational overhead and rely on the quality of initial proposals, the authors suggest the framework is ready for deployment on clinical platforms like SenseCare. Future work may focus on optimizing GPU memory usage to accommodate a larger number of support frames during training.

Summary updated

BibTeX
@inproceedings{wu2021multi,
  author = {Lingyun Wu and Zhiqiang Hu and Yuanfeng Ji and Ping Luo and Shaoting Zhang},
  title = {{Multi-frame Collaboration for Effective Endoscopic Video Polyp Detection via Spatial-Temporal Feature Transformation}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2021},
  url = {https://openreview.net/forum?id=yd4-DsfTO8R},
}
Figure