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

VISTA: Validation-Guided Integration of Spatial and Temporal Foundation Models with Anatomical Decoding for Rare-Pathology VCE Event Detection

B. Qiu, Yu-Fan Lin, Yu-Zhe Pien, Chia-Ming Lee, Fu-En Yang, Yu-Chiang Frank Wang, Chih–Chung Hsu · DOI

Abstract

Capsule endoscopy event detection is challenging because diagnostically relevant findings are sparse, visually heterogeneous, and embedded in long, noisy video streams, while evaluation is performed at the event level rather than by frame accuracy alone. We therefore formulate the RARE-VISION task as a metric-aligned event detection problem instead of a purely frame-wise classification task. Our framework combines two complementary backbones, EndoFM-LV for local temporal context and DINOv3 ViT-L/16 for strong frame-level visual semantics, followed by a Diverse Head Ensemble, Validation-Guided Hierarchical Fusion, and Anatomy-Aware Temporal Event Decoding. The fusion stage uses validation-derived class-wise model weighting, backbone weighting, and probability calibration, while the decoding stage applies temporal smoothing, anatomical constraints, threshold refinement, and per-label event generation to produce stable event predictions. Validation ablations indicate that complementary backbones, validation-guided fusion, and anatomy-aware temporal decoding all contribute to event-level performance. On the official hidden test set, the proposed method achieved an overall temporal [email protected] of 0.3530 and temporal [email protected] of 0.3235.

Introduction

Video Capsule Endoscopy (VCE) is a critical diagnostic tool where a patient swallows a miniature camera to record the entire gastrointestinal (GI) tract. However, detecting pathologies within these hours-long videos is exceptionally difficult. Relevant findings are sparse and imbalanced compared to normal tissue, and the footage is often degraded by bubbles, debris, and motion blur. Furthermore, standard AI models often focus on frame-by-frame accuracy, which fails to capture the clinical need for stable, event-level detection—identifying the precise start and end of a pathology segment without fragmentation.

To address these challenges, we introduce VISTA (Validation-Guided Integration of Spatial and Temporal Foundation Models). VISTA is designed to detect rare medical events by combining spatial and temporal foundation models with a decoding process that enforces anatomical constraints, such as the one-way transit of the GI tract. This approach transforms noisy frame-level classifications into stable, medically plausible event detections.

Proposed Method

The VISTA framework consists of four primary stages designed to bridge the gap between raw video data and clinical event predictions.

Overview of the VISTA framework, illustrating the pipeline from dual-backbone feature extraction to anatomy-aware temporal event decoding.

Dual-Backbone Feature Extraction

VISTA leverages two complementary foundation models. EndoFM-LV is utilized to capture local temporal context by processing 4-frame clips, providing insights into the "flow" of the video. Simultaneously, DINOv3 (ViT-L/16) provides high-resolution spatial features, which are essential for identifying the subtle textures and visual semantics of rare diseases.

Diverse Head Ensemble (DHE)

To mitigate the "long-tail" problem where rare classes are often overlooked, the framework employs a Diverse Head Ensemble. Five distinct classifiers are trained using various loss functions, including Focal Loss and Asymmetric Loss. This ensemble approach forces the model to prioritize difficult, rare examples that might otherwise be ignored by a single classifier.

Validation-Guided Hierarchical Fusion (VGHF)

Rather than simple averaging, VGHF employs a sophisticated fusion strategy. Model outputs are weighted based on their specific performance on a validation set. This stage also incorporates temperature scaling to ensure that predicted probabilities are well-calibrated, leading to more reliable confidence scores.

Anatomy-Aware Temporal Event Decoding (ATED)

The ATED stage is a novel component that incorporates domain knowledge of the GI tract. By treating the digestive system as a one-way street (mouth to colon), the system can suppress anatomically impossible predictions (e.g., a "stomach" event appearing after a "small intestine" event). Additionally, morphological operations like opening and closing are used to bridge small gaps in detections and filter out transient false positives, ensuring temporal stability.

Experiments and Results

The study was conducted as part of the ICPR 2026 RARE-VISION Challenge, using the Galar Dataset (80 labeled videos) for development and an official hidden test set of three NaviCam examinations for final evaluation.

Ablation Study

The ablation results demonstrate the critical importance of each component in the VISTA pipeline. As shown in the table below, the "Full VISTA" configuration achieved the best balance of performance across temporal metrics.

Ablation study results showing the impact of different backbone combinations, fusion strategies, and decoding methods on temporal mAP.

Key findings from the ablation include:

  • Anatomy-Aware Decoding: Removing the ATED component caused the [email protected] to drop significantly from 0.4730 to 0.3002, underscoring that post-processing with anatomical priors is as vital as the neural architecture itself.
  • Backbone Complementarity: While DINOv3 is a strong spatial model, its integration with EndoFM-LV provided a necessary boost in temporal understanding, outperforming single-backbone baselines.

Final Performance

On the official hidden test set, the VISTA model achieved an overall temporal [email protected] of 0.3530 and [email protected] of 0.3235. While there is a noticeable gap between validation and test performance, the results remain competitive for this challenging task.

Conclusion

VISTA demonstrates that integrating anatomical priors and metric-aligned decoding can significantly improve the detection of rare pathologies in VCE. By enforcing monotonic transit orders, the system effectively reduces anatomically implausible false positives. Future work will focus on improving robustness to domain shifts across different camera brands and enhancing long-range temporal modeling to further close the performance gap.

Summary updated

BibTeX
@misc{qiu2026vista,
  author = {B. Qiu and Yu-Fan Lin and Yu-Zhe Pien and Chia-Ming Lee and Fu-En Yang and Yu-Chiang Frank Wang and Chih–Chung Hsu},
  title = {{VISTA: Validation-Guided Integration of Spatial and Temporal Foundation Models with Anatomical Decoding for Rare-Pathology VCE Event Detection}},
  year = {2026},
  eprint = {2603.18343},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.18343},
}
Figure