ResNet-50 with Class Reweighting and Anatomy-Guided Temporal Decoding for Gastrointestinal Video Analysis
Organizations: Department of Computer Science and Biomedical Informatics, University of Thessaly, Papasiopoulou 2–4, Lamia 35131, Greece
Abstract
We developed a multi-label gastrointestinal video analysis pipeline based on a ResNet-50 frame classifier followed by anatomy-guided temporal event decoding. The system predicts 17 labels, including 5 anatomy classes and 12 pathology classes, from frames resized to 336x336. A major challenge was severe class imbalance, particularly for rare pathology labels. To address this, we used clipped class-wise positive weighting in the training loss, which improved rare-class learning while maintaining stable optimization. At the temporal stage, we found that direct frame-to-event conversion produced fragmented mismatches with the official ground truth. The final submission therefore combined GT-style framewise event composition, anatomy vote smoothing, and anatomy-based pathology gating with a conservative hysteresis decoder. This design improved the final temporal mAP from 0.3801 to 0.4303 on the challenge test set.
Figures & tables
| Video | Phase | [email protected] | [email protected] |
|---|---|---|---|
| ukdd_navi_00051 | Before | 0.5319 | 0.5000 |
| After | 0.5341 | 0.5294 | |
| ukdd_navi_00068 | Before | 0.3533 | 0.3529 |
| After | 0.3529 | 0.3529 | |
| ukdd_navi_00076 | Before | 0.4056 | 0.3529 |
| After | 0.4069 | 0.3529 |
Temporal Video Understanding
Temporal video understanding studies how models track actions, events, and changes over time to answer questions, locate moments, and predict what happens next.
See all 371 papers