---
title: 'AVPDN: Adaptive Video Polyp Detection'
url: https://www.emergentmind.com/topics/adaptive-video-polyp-detection-network-avpdn
type: topic
---

# AVPDN: Adaptive Video Polyp Detection

Searching arXiv for AVPDN and closely related video polyp detection papers to ground the article in current literature.
Adaptive Video Polyp Detection Network (AVPDN) is a video-based polyp detection framework for colonoscopy that is proposed to address motion-induced noise and scale variation in dynamic endoscopic video. In the paper "AVPDN: Learning Motion-Robust and Scale-Adaptive Representations for Video-Based Polyp Detection," AVPDN is built on RT-DETR and augments its feature extraction stage with two modules: Adaptive Feature Interaction and Augmentation (AFIA) and Scale-Aware Context Integration (SACI). The method is framed as a real-time detector for colonoscopy video frames, with the stated goal of learning motion-robust and scale-adaptive representations rather than performing explicit temporal sequence modeling [2508.03458].

## 1. Concept and problem setting

AVPDN is defined for video-based polyp detection in colonoscopy, where the input is described as the current frame of a colonoscopy video clip and the output is a standard object detection prediction consisting of class and bounding box for polyp instances [2508.03458]. The motivating claim is that dynamic colonoscopy videos provide more comprehensive visual information than static images, but also introduce substantial background noise because the endoscope moves rapidly and the scene can undergo motion blur, background distortion, and apparent structural “fracture” of tissue patterns such as folds and vasculature [2508.03458].

The framework is positioned against several domain-specific sources of difficulty. The paper emphasizes motion blur, transient artifacts such as specular highlights, air bubbles, and fluid interference, and severe scale variation caused by changing camera-to-tissue distance. It also states that small polyps may resemble surrounding mucosa and can behave like partially occluded objects in the detector’s feature space, increasing both false positives and false negatives [2508.03458]. This suggests that AVPDN treats colonoscopy video not primarily as a long-horizon temporal reasoning problem, but as a setting in which frame-wise detection must be made robust to video-induced corruption.

This design choice distinguishes AVPDN from prior video polyp detectors that explicitly aggregate adjacent frames. For example, Ivy-Net formulates image-to-video domain adaptation through modified mixup and temporal coherence regularization [2012.15531], STFT performs proposal-guided deformable alignment and channel-aware temporal aggregation across multiple frames [2107.03609], and YONA uses one adjacent reference frame with foreground temporal alignment and background dynamic alignment [2306.03686]. By contrast, AVPDN emphasizes representation design inside a real-time detector rather than explicit temporal fusion [2508.03458].

## 2. Architectural organization

AVPDN is built on RT-DETR, with a ResNet-50 backbone, a series of Adaptive Feature Enhancement (AFE) blocks, and the Transformer encoder-decoder inherited from RT-DETR, including deformable attention in the decoder and auxiliary prediction heads [2508.03458]. An input frame is denoted by
$$
I \in \mathbb{R}^{H \times W \times C},
$$
and the backbone produces a low-level representation
$$
F_0 \in \mathbb{R}^{H/s \times W/s \times C'},
$$
where $s$ is the backbone downsampling factor, typically 32, and $C'$ is the channel dimension [2508.03458].

The AFE block is the main representational unit. Each block applies Layer Normalization, then AFIA, then another Layer Normalization, then SACI [2508.03458]. The resulting enhanced multi-scale features are passed to the RT-DETR transformer decoder, which predicts bounding boxes and class labels. The paper does not specify the exact number of AFE blocks or the exact pyramid levels at which they are inserted, and it does not provide exact tensor shapes for each branch beyond generic $H \times W \times C$ notation [2508.03458].

This architecture is best understood as a domain-specialized RT-DETR variant. The backbone and decoder remain detector-standard, while the feature enhancement stage is modified to better accommodate colonoscopy video artifacts. A plausible implication is that AVPDN aims to preserve the throughput advantages of RT-DETR while improving robustness at the representation level.

## 3. AFIA and motion-robust feature interaction

The Adaptive Feature Interaction and Augmentation module is the more distinctive of AVPDN’s two additions. AFIA has a triple-branch architecture consisting of a channel shuffle branch, a dense self-attention branch, and a sparse self-attention branch [2508.03458]. The paper motivates this design by arguing that ordinary Vision Transformer-style attention is not ideal in colonoscopy videos because motion blur, specular reflections, and repetitive background texture produce redundant or misleading interactions [2508.03458].

Given a normalized feature map
$$
X \in \mathbb{R}^{H \times W \times C},
$$
the channel shuffle branch is written as
$$
\begin{aligned}
F_{cs} &= SConv_{3\times3}({Conv}_{1\times1}({CS}(X)),
\end{aligned}
$$
where $F_{cs}$ is the branch output, $SConv_{3\times3}$ denotes stacked $3\times3$ convolutions, $Conv_{1\times1}$ is a $1\times1$ convolution, and $CS(\cdot)$ denotes channel shuffle [2508.03458]. The paper notes that this equation is typographically incomplete, and it does not provide exact implementation details of the shuffle groups [2508.03458].

In the dense self-attention branch, $Q$, $K$, and $V$ are generated from $X$ using $1\times1$ convolutions followed by $3\times3$ depthwise convolutions. Dense self-attention is defined as
$$
\begin{aligned}
DSA &= \text{Softmax}(\mathit{Q}\mathit{K}^{T}/\sqrt{d}+B),
\end{aligned}
$$
where $d$ is the feature dimension used for scaling and $B$ is a learnable relative positional bias [2508.03458]. This branch is intended to preserve global context.

The sparse self-attention branch replaces softmax with ReLU:
$$
\begin{aligned}
SSA &= \text{ReLU}(\mathit{Q}\mathit{K}^{T}/\sqrt{d}+B),
\end{aligned}
$$
so that low or negative query-key similarity pairs contribute nothing [2508.03458]. The paper explicitly states that this branch mitigates the influence of low query-key similarity in feature aggregation, which is presented as useful under motion blur and specular reflection [2508.03458].

The dense and sparse branches are fused with learned weights:
$$
\begin{aligned}
w_n = \frac{e^{a_n}}{\sum_{i=1}^{N} e^{a_i}}, \quad n \in \{1, 2\},
\end{aligned}
$$
and
$$
\begin{aligned}
F_{att} &= {Conv}_{1\times1}((w_1*DSA+w_2*SSA)\mathit{V}),
\end{aligned}
$$
where $\{a_i\}_{i=1,2}$ are learnable parameters and $F_{att}$ is the fused attention output [2508.03458]. The final AFIA output is
$$
\begin{aligned}
F_{out} &= F_{cs}+F_{att}.
\end{aligned}
$$
The paper interprets this as combining local and channel-mixed features with globally contextualized features [2508.03458].

The ablation study on LDPolypVideo attributes the largest gain to this dual-attention design. Starting from RT-DETR at AP 94.2, Precision 94.4, Recall 92.3, and F1 93.3, adding only DSA gives AP 95.5 and F1 94.9, adding only SSA gives AP 95.2 and F1 94.7, and combining DSA + SSA gives AP 96.3 and F1 95.5. Adding channel shuffle on top of DSA + SSA yields AP 96.6 and F1 95.6 [2508.03458]. This suggests that the interaction between dense context retention and sparse suppression is central to AVPDN’s motion robustness.

## 4. SACI and scale-aware context integration

The Scale-Aware Context Integration module is designed to improve multi-scale context modeling and denoising [2508.03458]. The paper motivates SACI by arguing that the standard transformer FFN behaves as a single-scale feature aggregator with limited contextual range. SACI replaces this with a dual-branch unit built on dilated and stacked convolutions [2508.03458].

Given input
$$
X \in \mathbb{R}^{H \times W \times C},
$$
the upper branch uses two $3\times3$ dilated convolutions with different dilation rates:
$$
\begin{aligned}
F_{u} &= DConv^{N1}_{3\times3}({Conv}_{1\times1}(X))+DConv^{N2}_{3\times3}({Conv}_{1\times1}(X)),
\end{aligned}
$$
where $DConv^{N1}_{3\times3}$ and $DConv^{N2}_{3\times3}$ are dilated convolutions with rates $N1$ and $N2$ [2508.03458]. In experiments, the paper sets
$$
N1=2,\quad N2=3.
$$

The lower branch is defined as
$$
\begin{aligned}
F_{l} &= Conv_{1\times1}(SConv_{3\times3}({Conv}_{1\times1}(X))),
\end{aligned}
$$
where $SConv_{3\times3}$ denotes stacked $3\times3$ convolutions [2508.03458]. The final SACI output is
$$
\begin{aligned}
F_{s} &= F_{u}*\text{ReLU}(F_{l}).
\end{aligned}
$$
According to the paper, the multiplication acts like a gating mechanism in which broader contextual responses are amplified where local evidence is strong [2508.03458].

SACI alone improves the RT-DETR baseline on LDPolypVideo to AP 95.0 and F1 94.7, and the full model with AFIA + SACI reaches AP 96.6, Precision 96.8, Recall 95.0, and F1 95.8 [2508.03458]. The paper states that SACI improves performance more robustly on larger polyps, while AFIA and SACI together help smaller ones [2508.03458]. This suggests that AVPDN’s scale adaptivity is achieved by embedding candidate regions in broader context rather than by explicit multi-frame size tracking.

## 5. Training, datasets, and reported performance

The paper explicitly defines its localization losses. With predicted box $B_p$, ground-truth box $B_g$, and smallest enclosing box $C$, generalized IoU is given as
$$
\text{GIoU} = \frac{\text{Area}(B_p \cap B_g)}{\text{Area}(B_p \cup B_g)} - \frac{\text{Area}(C \setminus (B_p \cup B_g))}{\text{Area}(C)},
$$
with
$$
L_{GIoU} = 1 - \text{GIoU}.
$$
The $L_1$ term is
$$
\begin{split}
L_1 = \frac{1}{n} \sum_{i=1}^{n} ( |x_p^i - x_g^i| + |y_p^i - y_g^i| + |w_p^i - w_g^i| + |h_p^i - h_g^i| ).
\end{split}
$$
The total loss is written as
$$
\begin{aligned}
L &= L_{GIoU}(B_p,B_g)+L_1(B_p,B_g).
\end{aligned}
$$
The paper notes auxiliary prediction heads for localization and classification, but it does not provide a classification loss equation or assignment details, even though the architecture is built on RT-DETR [2508.03458]. This is an important limitation of the published specification.

AVPDN is evaluated on two public video polyp detection datasets. LDPolypVideo contains 160 endoscopic videos and 40,266 image frames, with 33,884 frames containing at least one polyp and 200 annotated polyps. CVC-ClinicVideoDB contains 40 endoscopic videos and 17,000 frames, with 6,949 frames annotated for polyps. The paper states that all methods use a 7:2:1 split for training, test, and validation [2508.03458]. All images are normalized and resized to $640\times640$, training runs for 60 epochs with batch size 32, optimizer AdamW, learning rate 0.001, weight decay 0.0005, and ImageNet-pretrained ResNet-50 initialization [2508.03458].

On LDPolypVideo, Table 1 reports for AVPDN: AP 96.6, Precision 96.8, Recall 95.0, F1 95.8, and FPS 53.2. The direct baseline RT-DETR reports AP 94.2, Precision 94.4, Recall 92.3, F1 93.3, and FPS 52.1 [2508.03458]. On CVC-VideoClinicDB, AVPDN reports AP 95.7, Precision 95.9, Recall 94.9, F1 95.3, and FPS 53.2, compared with RT-DETR at AP 93.1, Precision 94.1, Recall 93.9, F1 93.9, and FPS 52.1 [2508.03458]. The paper interprets these margins as evidence of effectiveness and generalization under variations in illumination, camera angle, and motion [2508.03458].

Among polyp-specific methods, the paper reports that YONA achieves Precision 92.8, Recall 93.8, and F1 93.3 on CVC-ClinicVideoDB, whereas AVPDN reaches 95.9, 94.9, and 95.3 respectively [2508.03458]. This situates AVPDN within a line of video polyp detection methods that includes YONA’s adjacent-frame adaptivity [2306.03686], STFT’s multi-frame alignment [2107.03609], and TSdetector’s temporal-spatial self-correction on YOLOX [2409.19983].

## 6. Position in the literature, limitations, and interpretation

AVPDN belongs to a broader progression in colonoscopy video analysis. Earlier work on image-to-video transfer, such as Ivy-Net, treated the problem as domain adaptation from report images to real-time video and emphasized target-domain negative frames and temporal coherence regularization [2012.15531]. Later methods introduced explicit temporal modules: STFT used proposal-guided deformable convolutions and channel-aware attention [2107.03609], YONA argued that one adjacent reference frame can be sufficient when foreground and background are handled adaptively [2306.03686], and TSdetector combined temporally modulated convolutions, hierarchical temporal integration, and position-aware confidence correction [2409.19983]. AVPDN differs from these in that its “video” character lies mainly in motion-robust and scale-adaptive feature design rather than in explicit adjacent-frame interaction [2508.03458].

That distinction is also the main limitation. The AVPDN paper explicitly states no temporal consistency loss or sequential supervision, and the current formulation does not explicitly exploit temporal continuity [2508.03458]. It is therefore closer to a domain-specialized robust frame detector for colonoscopy video frames than to a fully temporal video detection architecture. This suggests that its gains come from representation robustness to video artifacts rather than from modeling temporal persistence itself.

Other limitations are also stated or implied in the paper. It does not explain whether the unlabeled portion of LDPolypVideo is used in training, it does not report data augmentation beyond normalization and resizing, and it does not provide FLOPs, parameter counts, or a formal failure-case analysis [2508.03458]. The loss specification is incomplete relative to standard RT-DETR training because classification and assignment details are not documented [2508.03458]. A plausible implication is that reproduction depends on inheriting default RT-DETR machinery while inserting AFIA and SACI.

Within the narrower sense of the term, however, AVPDN names an explicit architecture and contributes a specific thesis: colonoscopy video detection can be improved by learning motion-robust and scale-adaptive representations inside a real-time detector. Its distinctiveness lies in the combination of dense self-attention, ReLU-based sparse self-attention, channel shuffle, and dual-branch dilated context integration, all layered onto RT-DETR without introducing dedicated temporal memory or multi-frame inference [2508.03458]. In that sense, AVPDN marks a branch of the literature in which “adaptive” refers less to explicit temporal aggregation than to representational adaptation to the visual instability of colonoscopy video.

Source: https://www.emergentmind.com/topics/adaptive-video-polyp-detection-network-avpdn