potentialpaper

Order Matters: Competition-Guided Query Ordering for RNN-Based Object Detection

Shengjian Wu, Li Sun, Yu Shangguan, Qingli Li

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. DETRNN builds an explicit competition-aware order from prior predictions and refines object queries with an RNN decoder, reducing redundant detections and improving accuracy with comparable efficiency.

Abstract. DETR-style detectors use one-to-one bipartite matching during training to assign object queries to ground-truth objects, enabling end-to-end set prediction without non-maximum suppression (NMS). However, without an explicit de-duplication procedure, multiple queries can still produce highly similar hypotheses for the same object, making training unstable and predictions less decisive. Inspired by the sequential ordering of NMS, we propose DETRNN, a plug-and-play module that turns unordered object queries into a competition-aware sequence for recurrent refinement. DETRNN builds an explicit confidence-and-similarity based order from prior predictions, then refines queries with an RNN along this order to model competition inside the decoder. This ordered recurrent refinement reduces redundant predictions, stabilizes optimization, and improves final detection accuracy. Experiments on multiple DETR-style detectors show consistent gains with comparable efficiency. Code repository: https://github.com/nigelwoo2008-coder/DETRNN.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
16 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:45 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

Based on suggestions from several reviewers, this paper lacks some key experiments to verify whether the improvement of the proposed method truly comes from the order itself. Furthermore, the authors need to address reviewers' concerns regarding importance and originality. Additionally, while this paper is similar in approach to recurrent DETR (IEEE Access 2023) but has entirely different objectives (this paper uses it to remove duplicate predictions, while recurrent DETR uses it to identify highly overlapping targets), a separate discussion of COCO and CrowdHuman would be an interesting analysis.

Final justification

The author's rebuttal resolved some of the reviewers' issues and ultimately received a consistent rating. My final recommendation was accept (poster). However, because reviewers are still expressing important requests for additional content in their replies to the rebuttal, my actual rating falls between reject and accept (poster).

Area Chair d3gV · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

Based on suggestions from several reviewers, this paper lacks some key experiments to verify whether the improvement of the proposed method truly comes from the order itself. Furthermore, the authors need to address reviewers' concerns regarding importance and originality. Additionally, while this paper is similar in approach to recurrent DETR (IEEE Access 2023) but has entirely different objectives (this paper uses it to remove duplicate predictions, while recurrent DETR uses it to identify highly overlapping targets), a separate discussion of COCO and CrowdHuman would be an interesting analysis.

Final justification

The author's rebuttal resolved some of the reviewers' issues and ultimately received a consistent rating. My final recommendation was accept (poster). However, because reviewers are still expressing important requests for additional content in their replies to the rebuttal, my actual rating falls between reject and accept (poster).

2 comments
Authors · CommentOpenReview ↗

Response to Major Concerns, Relation to Recurrent DETR, and COCO/CrowdHuman Analysis

1. Response to Major Concerns

Thank you for summarizing the key concerns. We address them in reviewer replies:

  • Order-specificity: attribution controls with the same CGQO order but different interaction modules, including rank-bias attention, causal attn, 1D Conv, Uni-RNN, and Bi-RNN (K9UV Sec. 3; 6Ef8 Sec. 1; vmis Secs. 2–3).
  • Importance/robustness: modern-detector, crowded-benchmark, multi-seed, and strong-baseline results (K9UV Secs. 1/4; 6Ef8 Secs. 6–7; vmis Secs. 4/6).
  • Originality/mechanism: direct CGQO group statistics and distinction from attention-prior/pruning methods (K9UV Sec. 2; vmis Sec. 4).

Below, we focus on the relation to Recurrent DETR and the requested COCO/CrowdHuman analysis.


2. Relation to Recurrent DETR

The different objectives lead to different recurrence axes and model designs:

Aspect Recurrent DETR DETRNN
Objective Expand prediction capacity under limited queries Resolve competition among abundant queries
Recurrence axis Same queries across decoder stages Across different queries within one decoder stage
Predictons Merged from all recurrent stages From the final stage only
De-duplication NMS over merged predictions Soft interaction without hard pruning

How the recurrence differs

Recurrent DETR repeatedly decodes the same query set across decoder iterations and merges predictions from all iterations, so recurrence is used to expand the output set. DETRNN instead applies recurrence across different object queries within one decoder stage, so it needs a competition-aware order to make query-to-query interaction meaningful.

Why the designs differ

Recurrent DETR targets a limited-query regime, where crowded scenes may need more predictions than a fixed query set can provide. In contrast, our modern 900-query baseline (following Hybrid-/DINO-style training recipes) is less likely to be dominated by limited prediction supply. We support this view with two observations.

(1) The gain of Recurrent DETR decreases as the query number (Q) increases.

Dataset Q=5 Q=10 Q=30 Q=100 Q=300
COCO +11.3 +8.1 +2.7 N/A +0.4
CrowdHuman N/A N/A +1.7 +1.5 +0.4

A clear pattern is that the AP improvement becomes much smaller as the query number increases, suggesting that recurrent prediction expansion is most useful when the number of queries is limited(Values are from Tab. 2 and 3 of Recurrent DETR)

(2) NMS affects vanilla and modern baselines differently.

Baseline Q=5 Q=10 Q=30 Q=300 Q=900
Def-DETR (Recurrent-DETR) -0.6 -0.7 -0.7 -0.9 N/A
Def-DETR++ (ours) N/A N/A N/A 0.0 +0.1

NMS consistently reduces AP for vanilla Def-DETR baseline in Recurrent DETR(Values are from Tab. 7 of it), suggesting that in the original limited-query setting, pruning may remove useful predictions more often than redundant ones.

In contrast, NMS does not hurt our modern Def-DETR++ baseline and even improves the main Q=900 setting. We view this as a regime-level diagnostic rather than an attribution to any single component: in our setting, removable duplicates remain and the available predictions may already be largely sufficient.

Conclusion. These observations suggest that the two methods focus on different bottlenecks. Recurrent DETR expands the output set to address limited prediction supply, while DETRNN reduces redundancy among queries in a modern high-query baseline. Accordingly, Recurrent DETR applies recurrence across recurrent decoder stage, whereas DETRNN applies recurrence across object queries within one decoder stage and therefore requires a competition-aware query order.

A natural combination

Recurrent DETR merges predictions from multiple decoder iterations, which can introduce additional duplicates and therefore requires final NMS. A natural future extension is to append a final refinement decoder that applies CGQO and Bi-RNN jointly to all accumulated object queries, thereby internalizing de-duplication through soft interaction rather than hard suppression.


3. COCO/CrowdHuman analysis

We bin each valid GT by its maximum IoU with any other valid GT in the same image:

Max GT IoU COCO GTs COCO categories CrowdHuman GTs CrowdHuman categories
<0.3 31,904 (87.81%) 80 45,644 (45.88%) 1
0.3–0.5 3,047 (8.39%) 76 33,021 (33.19%) 1
≥0.5 1,384 (3.81%) 67 20,816 (20.92%) 1

The GT distributions differ sharply: highly overlapping GTs are rare in COCO but common in CrowdHuman. We therefore analyze the baseline and DETRNN separately on both datasets and will report the quantitative results in a follow-up.

Authors · CommentOpenReview ↗

Evaluating De-duplication under Varying Object Overlap

Building on the GT-overlap distribution reported in Sec. 3 of our previous official comment, we evaluate whether DETRNN's gains persist across overlap levels and finally relate the findings to Recurrent DETR.


4. Overlap-Stratified Evaluation

(a) Why evaluate by object overlap

Highly overlapping objects are particularly challenging for de-duplication because similar predictions may be either duplicates of one object or valid detections of different objects. Overall AP cannot show whether improvements also extend to these harder cases.

We group GTs by their maximum IoU with any other GT and report AP in each overlap bin. CrowdHuman contains far more medium-overlap GTs (33.2% vs. 8.4%) and high-overlap GTs (20.9% vs. 3.8%) than COCO, making it the stronger stress test.


(b) CrowdHuman

Method All GTs Low overlap (<0.3) Medium overlap (0.3–0.5) High overlap (≥0.5)
Baseline 46.5 42.4 39.0 29.5
Baseline + NMS 46.6 (+0.1\textcolor{blue}{\text{+0.1}}) 42.6 (+0.2\textcolor{blue}{\text{+0.2}}) 39.1 (+0.1\textcolor{blue}{\text{+0.1}}) 29.3 (-0.2\textcolor{red}{\text{-0.2}})
DETRNN 47.6 (+1.1\textcolor{blue}{\textbf{+1.1}}) 43.8 (+1.4\textcolor{blue}{\textbf{+1.4}}) 40.1 (+1.1\textcolor{blue}{\textbf{+1.1}}) 30.7 (+1.2\textcolor{blue}{\textbf{+1.2}})

Although both methods target redundancy, NMS improves overall AP by only +0.1\textcolor{blue}{\text{+0.1}}, with small gains at low/medium overlap but a 0.2\textcolor{red}{\text{0.2}} AP drop under high overlap. DETRNN instead improves AP in every bin, including +1.2\textcolor{blue}{\text{+1.2}} under high overlap.


(c) COCO

Method All GTs Low overlap (<0.3) Medium overlap (0.3–0.5) High overlap (≥0.5)
Baseline 47.6 47.2 18.4 11.6
Baseline + NMS 47.7 (+0.1\textcolor{blue}{\text{+0.1}}) 47.3 (+0.1\textcolor{blue}{\text{+0.1}}) 18.4 (0.0) 11.7 (+0.1\textcolor{blue}{\text{+0.1}})
DETRNN 48.7 (+1.1\textcolor{blue}{\textbf{+1.1}}) 48.1 (+0.9\textcolor{blue}{\textbf{+0.9}}) 19.5 (+1.1\textcolor{blue}{\textbf{+1.1}}) 12.8 (+1.2\textcolor{blue}{\textbf{+1.2}})

On COCO, NMS provides at most marginal gains, with essentially no benefit at medium overlap (+0.0). In contrast, DETRNN achieves much larger gains in the medium- and high-overlap bins (+1.1\textcolor{blue}{\text{+1.1}}/+1.2\textcolor{blue}{\text{+1.2}}), showing that its benefit persists as object overlap increases.


(d) Cross-dataset Summary

Across both datasets, overlap-stratified results reveal patterns that overall AP cannot show. DETRNN consistently improves AP across all overlap levels, including clear gains in the medium- and high-overlap bins. In contrast, NMS provides only marginal gains and even hurts high-overlap AP on CrowdHuman. This supports our claim that ordered recurrent interaction reduces redundancy while remaining effective for highly overlapping objects.


(e) Relation to Recurrent DETR

Although DETRNN and Recurrent DETR target different problems, they both need to handle highly overlapping objects. Our overlap-stratified results show that DETRNN's gains are not confined to easier, low-overlap objects: it consistently improves AP in the medium- and high-overlap bins on both datasets. While this is not a direct comparison with Recurrent DETR, it shows that DETRNN remains effective in the high-overlap regime central to its setting.

Reviewer K9UVOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes DETRNN, a plug-and-play query interaction module for DETR-style object detectors. The main idea is to make the implicit competition among object queries explicit by first constructing a competition-guided query order and then refining the ordered query sequence using a bidirectional RNN-style module. Specifically, the proposed CGQO procedure ranks queries by confidence, groups close competitors based on box and class-score similarity, and uses the resulting order as the input sequence for recurrent query refinement. The authors argue that this ordering mimics the ranking-and-grouping behavior of NMS while keeping all queries and performing de-duplication inside the decoder. Experiments on several DETR-style baselines show consistent AP improvements, and the paper further provides analyses on de-duplication behavior, training dynamics, ordering variants, RNN variants, and NMS sensitivity.

Strengths and weaknesses

Strengths:

  1. The paper studies an important and practically relevant problem. Although one-to-one matching enables NMS-free prediction in DETR-style detectors, duplicate or highly competing queries can still appear and may make optimization less stable. The proposed formulation of query competition as an ordering problem is intuitive and provides a clear motivation for recurrent refinement.

  2. The proposed method is conceptually simple and easy to understand. CGQO constructs a competition-aware query order based on confidence and similarity, and the Bi-RNN module then refines queries along this order. This design provides a clear connection between NMS-like competition ordering and learnable decoder-internal de-duplication.

  3. The experimental section is reasonably comprehensive. The authors evaluate the method on multiple DETR-style baselines and report consistent gains. The de-duplication analysis is also useful: the one-decoder stress test, the reduced AP gain from applying NMS, and the larger Top1–Top2 score gap all support the claim that the proposed module helps suppress redundant competitors.

  4. The ablation studies are well aligned with the core claim. In particular, the results showing that Bi-RNN alone or CGQO alone brings little improvement, while their combination is effective, help justify the interaction between explicit ordering and sequential refinement. The ordering-variant and RNN-variant studies further support the importance of competition-aware ordering and show that the effect is not tied to a single recurrent architecture.

  5. The paper is generally well written and easy to follow. The motivation, method, and experimental logic are presented clearly, and the authors provide several diagnostic experiments beyond simply reporting final AP.

Weaknesses:

  1. The novelty and insight of the paper are somewhat limited. The method can be viewed as converting an NMS-like confidence/similarity grouping heuristic into a query sequence and then applying an RNN-style interaction module. This is a reasonable design, but the conceptual contribution is not very strong, especially given prior work on query competition, relation-aware decoders, query pruning, and NMS-like mechanisms in DETR. The paper demonstrates that this design works empirically, but the method remains largely heuristic: it hand-designs an NMS-like ordering rule and couples it with recurrent refinement. As a result, it does not fully establish a principled or mechanism-level understanding of how query competition should be modeled in DETR-style decoders.

  2. The experimental coverage may overstate the generality of the method. Among the four main baselines, Deformable DETR and DINO are strong and representative, but MS-DETR is less commonly used as a standard baseline, and LoRA-DETR is not yet as widely established as standard baselines such as Deformable DETR or DINO. Since the paper claims that DETRNN is plug-and-play and broadly transferable, it would be important to evaluate it on more recent and practically important DETR-style detectors such as RT-DETR, D-FINE, or DEIM.

  3. The de-duplication evidence, while useful, is still somewhat indirect. The one-decoder comparisons, the reduction in NMS gain, and the increase in Top1–Top2 score gap are consistent with better de-duplication, but they do not directly analyze whether the proposed CGQO ordering indeed captures meaningful query competition. Since CGQO explicitly forms pivot-based groups, more direct statistics about the grouping behavior would make the mechanism more convincing. For example, the authors could report the number of CGQO groups per image, the distribution of group sizes, the relationship between the number of groups and the number of ground-truth objects, and whether large groups actually correspond to duplicated predictions around the same object or crowded local regions. Note that these examples are not meant to prescribe the only or necessarily the best additional experiments; rather, I just illustrate the type of more direct evidence that would help substantiate the claimed connection between CGQO grouping and object-level query competition.

  4. The necessity of using an RNN-style sequential module is not fully established. The paper compares different RNN variants and shows that the ordering matters, but it does not compare against simpler alternatives that could also exploit the same CGQO order. For example, one could imagine ordered local attention, windowed attention along the CGQO sequence, 1D convolution over the ordered sequence, or a lightweight MLP-based neighbor interaction. Such comparisons would help clarify whether the key contribution is recurrent sequential modeling itself, or more generally the introduction of an ordered local competition structure. The listed alternatives are not intended to be exhaustive or necessarily optimal baselines. They are meant to illustrate the kind of control experiments that could help disentangle the contribution of recurrence from the contribution of the CGQO-induced order.

  5. Some reported gains are relatively modest, especially on stronger or competition-aware baselines. While the improvements are consistent, several gains are around +0.3 to +0.5 AP. Given the heuristic nature of the ordering rule and the lack of extensive seed-variance analysis, it is not fully clear how robust these smaller improvements are.

Questions
  1. Can the authors evaluate DETRNN on at least one recent strong DETR-style detector such as RT-DETR, D-FINE, or DEIM? This would substantially strengthen the plug-and-play and generality claims.

  2. Can the authors provide more direct duplicate-prediction statistics, beyond NMS gain and Top1–Top2 score gap? As illustrated in Weakness 3.

  3. Can the authors compare CGQO + Bi-RNN with simpler ordered interaction modules? As illustrated in Weakness 4.

Limitations

The authors include a limitations and broader impact discussion, but I do not think it fully covers the main limitations of the work. In particular, the paper could more explicitly discuss the limited coverage of recent strong DETR-style detectors, since the current main experiments do not include practical modern frameworks such as RT-DETR, D-FINE, or DEIM. The authors should also acknowledge that the proposed ordering rule is largely heuristic and depends on hand-designed confidence/similarity grouping, whose failure cases and applicability beyond the evaluated settings are not fully analyzed. In addition, several reported gains on stronger baselines are relatively small, so a more complete discussion of seed variance and robustness would be helpful.

Final justification

I have raised my overall score from 3 to 4 after considering the rebuttal and the additional experimental evidence.

  • Issues substantially resolved: The new DEIM-RT-DETRv2-L results alleviate my concern about applicability to modern real-time DETRs. The direct CGQO grouping analysis provides much stronger evidence that the constructed groups correspond to meaningful object-level query competition. The comparisons with causal attention and 1D convolution help clarify that the CGQO-induced order can be exploited by different order-sensitive interaction modules, while Bi-RNN performs best among the tested alternatives. The multi-seed results also substantially address my concern about the robustness of the relatively modest gains.

  • Issues that remain: I find the paper’s identification of query competition to be conceptually meaningful and valuable. My reservation lies primarily in the proposed solution: although empirically effective, it feels more engineered than conceptually inevitable, and does not fully meet my expectations for methodological elegance and architectural coherence in a NeurIPS submission. I remain unsure whether explicitly coupling DETR with an RNN is the most intrinsic realization of the underlying insight.

  • Final weighting: The rebuttal does not fundamentally change my reservations regarding the methodological elegance and architectural coherence of the proposed solution. However, it convincingly strengthens the empirical support, robustness, and scope of the proposed method. The paper has also provided me with a useful new perspective on explicit ordering and query competition in DETR decoders. I therefore believe that the reasons to accept now slightly outweigh my remaining reservations, leading to a final rating of 4.

Formatting concerns

No.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the constructive comments. We address the main concerns on modern-detector coverage, direct CGQO evidence, simpler ordered modules, and robustness/scope below.


1. Modern DETR Coverage (W2, Q1)

We clarify that LoRA-DETR is not merely an arXiv preprint, but an AAAI-26 paper. We selected it because it represents a recent strong baseline in the conventional DETR family, following the unified training setting of Def-DETR++/DINO-style detectors. RT-DETR/DEIM-style detectors are another important real-time DETR family, but they use substantially different recipes, e.g., much longer schedules and different optimization settings.

To address the reviewer's concern, we further tested DETRNN on a recent real-time detector, DEIM-RT-DETRv2-L.

Standard setting.

Method Params Epochs AP AP50 AP75
Baseline (self-attn) 42M 60 54.3 72.3 58.8
CGQO + Bi-RNN 43M 50 54.4 72.3 59.1

In the standard long-schedule setting, DETRNN reaches comparable or slightly better accuracy with fewer epochs. The gain is modest, likely because long training and stronger decoding already reduce residual duplicates, consistent with Fig. 3(b).

1-Decoder stress setting. We also follow the 1-decoder stress setting used in Tab. 1(a), where duplicate suppression must be handled with limited decoder refinement:

Setting Method AP AP50 AP75
1-decoder Baseline 50.3 68.1 55.2
1-decoder CGQO + Bi-RNN 51.9 70.3 56.7

Under this stress setting, DETRNN improves AP by +1.6. These results show that DETRNN can be adapted to modern real-time DETRs, with clearer benefits when the detector has fewer decoder stages to resolve residual duplicate predictions internally. We will clarify this scope in the revision.


2. Novelty and Mechanistic Evidence (W1, W3, Q2)

Direct CGQO grouping analysis.

Setup. We analyze the first 1600 COCO val images using the final CGQO grouping from the 1× Def-DETRNN++ model.

Definitions. For query ii, let bib_i and sis_i denote its predicted box and class-score vector. For GT object gg, let bgb_g and ygy_g denote its box and class label. Let m(g)m(g) be the Hungarian-matched query for gg, and P(i)P(i) be the CGQO group containing query ii. We define the foreground competitors of gg as queries with IoU(bi,bg)≥0.5\mathrm{IoU}(b_i,b_g)\ge0.5 and GT-class score si(yg)≥0.05s_i(y_g)\ge0.05. Each image has only 7.3 GT objects on average but 900 object queries, so all-group statistics are dominated by background predictions. We therefore focus on foreground-related groups, i.e., CGQO groups that contain at least one foreground competitor.

  • Object-level grouping. The number of foreground-related groups has a strong correlation with the number of GT objects (Pearson $r=$0.863), indicating that CGQO groups follow object-level structure rather than arbitrary query partitions.

  • Reliable pivot. In 89.24% of cases, the matched query m(g)m(g) is the pivot of its group P(m(g))P(m(g)), showing that the group usually starts from the best prediction for the object.

  • Competitor coverage. The matched group P(m(g))P(m(g)) covers 78.85% of the foreground competitors for the same GT, showing that most duplicated/competing predictions around the object are grouped together.

  • Target-GT purity. Within P(m(g))P(m(g)), 49.10% of members are competitors only for this GT, 1.72% are shared with another GT, and only 0.51% are competitors only for other GTs; the rest are background queries. Thus, the foreground competitors inside a matched group are overwhelmingly associated with the target GT, with very little mixing from other objects.

Together, these statistics provide direct mechanism-level evidence that CGQO usually forms object-centered competition groups: it starts from the best prediction, gathers most same-object competitors, and rarely groups competitors from other objects.

Interpretation, novelty, and scope.

We agree that CGQO uses an explicit confidence/similarity prior, and we will clarify this heuristic nature and possible failure cases in the limitations. Still, combining CGQO with RNN-style query interaction is a meaningful attempt to make recurrence useful inside DETR decoders for learnable de-duplication. Moreover, our large-query profiling in Tables 11–12 shows clear time/memory advantages over attention when the query number becomes very large, suggesting a promising direction beyond this specific heuristic.


3. Ordering vs. Recurrence (W4, Q3)

We thank the reviewer for suggesting simpler ordered interaction modules. We add controlled comparisons under the same DINO/R50/1× setting, where all variants use the same CGQO order and replace only the query-interaction module.

Method Params AP AP50 AP75
Baseline (self-attn) 47.5M 49.0 66.6 53.5
CGQO + causal attn 47.5M 49.4 67.3 53.7
CGQO + 1D Conv 47.7M 49.5 67.3 53.8
CGQO + Bi-RNN 47.6M 50.0 68.1 54.0

This comparison shows two points. First, CGQO also improves simpler non-recurrent modules, e.g., causal attention and 1D Conv improve AP from 49.0 to 49.4/49.5, confirming that the competition-aware order itself is useful. Second, Bi-RNN performs best with comparable parameters, suggesting that recurrent state propagation more fully exploits the ordered competition sequence.


4. Robustness and Expanded Limitations (W5, Limitations)

We agree that the modest gains on stronger baselines require additional variance evidence and a clearer discussion of the method's scope.

Multi-seed results. We conduct three runs on four representative R50/1x settings:

Detector Baseline AP Seed 1 Seed 2 Seed 3 Mean Std
Def-DETRNN++ 47.6 48.7 48.9 48.6 48.73 0.15
DINO-RNN 49.0 50.0 50.0 49.8 49.93 0.12
MS-DETRNN 50.0 50.5 50.3 50.5 50.43 0.12
LoRA-DETRNN 52.5 53.0 53.0 52.9 52.97 0.06

Finding. Although the gains on stronger baselines are modest, all individual runs improve over their corresponding baselines, and the observed standard deviations are substantially smaller than the improvements. This supports that these are stable gains rather than single-run fluctuations.

Revision. We will expand the Limitations section to explicitly acknowledge:

  • Detector coverage. The current evaluation does not include recent practical frameworks such as RT-DETR, D-FINE. Generalization to these detector families remains to be verified, and gains may be smaller on already strong or competition-aware baselines.
  • Heuristic ordering. CGQO uses a non-differentiable, hand-designed confidence/similarity grouping rule rather than a learned ordering objective.
  • Scope of analysis. More exhaustive tests under unusually large or chain structured competition custers, extreme query distributions, and broader detector or task settings remain future work and will be explicitly discussed as limitations.
Reviewer K9UV · CommentOpenReview ↗

Thank you for the detailed rebuttal and for taking my concerns seriously.

Taken together, the experiments in the original submission and the additional results provided in the rebuttal make a strong case for the effectiveness of the proposed approach. In particular, the new results on a modern real-time DETR, the direct analysis of CGQO grouping behavior, the comparisons with alternative ordered interaction modules, and the multi-seed results have addressed most of my empirical concerns.

On a more personal note, I am also glad to see continued exploration of the Deformable-DETR/DINO line of detectors at a time when RT-DETR-style architectures are becoming increasingly prominent in practical detector design. Diversity in architectural directions remains valuable for the detection community.

Having worked on object detection for some years, I would say that this paper is not exactly the type of work I am usually most drawn to—namely, work characterized by strong conceptual economy and architectural elegance. Nevertheless, the paper has given me a new perspective on query competition and on the potential role of explicit ordering in DETR decoders. I appreciate this aspect of the work more after reading the rebuttal.

I still retain some reservations about whether explicitly coupling DETR with an RNN is the most natural architectural realization of the underlying insight. I suspect that a more intrinsic solution—one that models query competition directly within the native DETR decoding or optimization process—may exist. In this regard, the relatively modest gain under the DEIM setting also raises the possibility that mechanisms already present in modern real-time DETRs, potentially including layer-wise decoder distillation proposed by D-FINE, may partially internalize or alleviate the query-competition problem identified in this work. I view this as an interesting direction for future investigation rather than a concern affecting my assessment of the current submission; overall, the strengths of the work outweigh my remaining reservations.

I will therefore raise my overall score.

Authors · CommentOpenReview ↗

Thank You for the Thoughtful Discussion

Thank you for your thoughtful and candid follow-up, and for carefully reconsidering our response. We greatly appreciate both your careful assessment of the additional evidence and the broader perspective you shared on query competition and detector design. Your observations on more intrinsic approaches to modeling query competition will inform our revision and future work, and we remain receptive to further feedback.

Reviewer vmisOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes DETRNN, a plug-and-play decoder module for DETR-style object detectors that makes query competition explicit. The core idea is to replace order-agnostic self-attention with a competition-guided query ordering step, which ranks queries by confidence and groups likely duplicates using a confidence-similarity criterion, followed by a Bi-RNN refinement stage that processes queries sequentially along this order. The authors argue that this ordered recurrent refinement better internalizes de-duplication than standard parallel attention. Experiments on MS-COCO and CrowdHuman, across several DETR-family baselines including Def-DETR++, DINO, MS-DETR, and LoRA-DETR, show consistent AP gains with small parameter overhead.

Strengths and weaknesses

This is a well-motivated and generally convincing paper. The central observation is: DETR-style detectors still produce redundant predictions The paper translates the NMS into a learnable sequential refinement mechanism instead of applying hard post-processing. The ablation study shows it yields gains. The method is still fairly heuristic: CGQO depends on hand-designed confidence/similarity ordering, a pivot-and-group procedure, and thresholding choices, so the mechanism is not yet explained why sequential refinement should work. The gains are also uneven across settings, the strongest baselines only improve by a small margin. Finally, the main paper could be more explicit about failure modes and the practical limits of the approach, especially when the prior predictions used to build the order are noisy.

Questions

How sensitive are the main results to the exact CGQO design, especially the confidence/similarity weighting and the density-adaptive threshold?

Can the authors compare Bi-RNN against a unidirectional recurrent refinement with the same ordering?

How much of the gain comes from the explicit ordering itself versus the IOF-based positional cue and stage-placement choices?

The strongest results appear on crowded scenes and weaker baselines. Can the authors clarify whether the method still provides meaningful gains when the baseline already has strong competition-aware decoding

Limitations

The appendices do address threshold sensitivity, stage placement, scaling, and profiling. But I would still like to see a short, explicit limitations discussion in the main paper covering: dependence on prior prediction quality, smaller gains on stronger baselines, and the possibility that the sequential ordering may matter less once a detector is already highly optimized.

Final justification

Thank you to the authors for their rebuttal. I will keep my original score of 4.

Formatting concerns

No major formatting concerns.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

1. Sensitivity to CGQO Design (Q1)

CGQO remains stable across a broad range of hyperparameter settings.

In Appendix B, Fig. 6(a) varies the similarity weight α\alpha, while Fig. 6(b) varies the saturation constant KK; both cause only minor AP changes, mostly within 0.1–0.2 AP around the default setting. Fig. 7(a,b) similarly shows that varying τmin⁡\tau_{\min} and τmax⁡\tau_{\max} changes AP by at most 0.1 AP for DINO-RNN and 0.2 AP for MS-DETRNN. Fig. 7(c) further shows that the density-adaptive threshold outperforms fixed thresholds by 0.1–0.3 AP.

These results indicate that CGQO does not rely on fragile hyperparameter choices. We will make this analysis more visible in the main paper.


2. Unidirectional vs. Bidirectional RNN (Q2)

We thank the reviewer for this useful suggestion. We add a controlled ablation under the same DINO-/R50/1× setting, where the CGQO order is fixed and only the recurrent refinement direction is changed.

Method Params AP AP50 AP75
Baseline (self-attn) 47.5M 49.0 66.6 53.5
CGQO + Uni-RNN 47.6M 49.6 67.5 54.2
CGQO + Bi-RNN 47.6M 50.0 68.1 54.0

The unidirectional variant already improves the baseline from 49.0 to 49.6 AP, showing that the ordered recurrent refinement is effective even with one-way propagation. The bidirectional variant further improves AP to 50.0, suggesting that using context from both directions better exploits the competition sequence.


3. Contribution of Ordering, IOF Cue, and Stage Placement (Q3)

We further summarize the contribution of different components on Def-DETRNN++/R50/1×:

Variant CGQO + Bi-RNN Selected Stage IOF-PE AP
Baseline (self-attn) ✗ ✗ ✗ 47.6
Ordered recurrent refinement ✓ ✗ ✗ 48.2 (+0.6)
+ IOF-PE ✓ ✗ ✓ 48.4 (+0.8)
+ Selected Stage ✓ ✓ ✗ 48.6 (+1.0)
Full DETRNN ✓ ✓ ✓ 48.7 (+1.1)

This shows that the main gain comes from the CGQO-ordered recurrent refinement itself. The IOF-PE provides a smaller additional gain (+0.2 AP in this setting), while choosing a better insertion stage further improves the result (+0.1 AP).

We do not list “CGQO alone” as a separate component here because CGQO is an ordering operator rather than an interaction module. As shown in Tab. 4, applying CGQO without recurrent interaction does not bring clear gains. In contrast, Tab. 5 compares different orders under the same RNN module and shows that the CGQO order consistently outperforms other orders, directly supporting the importance of explicit ordering.


4. Strong Competition-Aware Baselines (Q4)

We agree that DETRNN has smaller gains when the detector already includes strong competition-aware decoding. This is expected because both lines of work share a common objective: mitigating query redundancy and duplicate competition.

However, DETRNN addresses this challenge from a fundamentally different paradigm:

  • Prior Competition-Aware Designs rely on modifying parallel self-attention via complex pairwise spatial/relation attention priors or applying hard, multi-stage query pruning.

  • DETRNN (Ours) reformulates query competition into an explicit, ordered recurrent sequence refinement, leveraging sequence ordering and recurrent state propagation to softly suppress duplicates inside the decoder.

As shown in Tab. 8, when directly replacing these tailored competition modules with DETRNN under a strictly matched recipe, we can achieve:

  • Better Accuracy. DETRNN consistently outperforms all three strong baselines (+0.3 AP over EASE-, +0.5 AP over Relation-, and +0.4 AP over DDQ-), proving that ordered recurrent refinement resolves competition more effectively than complex attention priors or pruning.

  • Higher Efficiency. DETRNN achieves higher throughput (e.g., 16 →\rightarrow 19 FPS on Relation-DETR; 15 →\rightarrow 17 FPS on DDQ) by replacing multi-stage attention/pruning operations with a lightweight, single-stage recurrent refinement.

Thus, even on highly optimized, competition-aware baselines, DETRNN is not merely an incremental add-on—it serves as a conceptually novel, higher-performing, and more efficient alternative. This demonstrates our core perspective that query competition can be modeled through ordered recurrent refinement, rather than only through attention-prior design.


5. Additional Mechanistic and Robustness Evidence (Weaknesses)

We agree that the main paper should explain more directly why the heuristic sequence is meaningful and how it behaves when prior predictions are noisy.

Direct grouping evidence. In our response to Reviewer K9UV, under "Novelty and Mechanistic Evidence," we directly analyze the final CGQO groups on 1,600 COCO val images. The number of foreground-related groups strongly correlates with the number of GT objects (Pearson r=0.863r=0.863); the Hungarian-matched query is the group pivot in 89.24% of cases; and its group covers 78.85% of the same-GT competitors, while only 0.51% of group members are competitors exclusively for other GTs. These statistics show that CGQO usually constructs object-centered competition sequences rather than arbitrary query permutations.

Robustness to noisy prior predictions. In our response to Reviewer 6Ef8, under "Early-Training Lock-in and Ordering Evolution," the pivot-match rate (matched query selected as pivot) rises from 40.28% at step 100 to 83.78% by step 4,000 of the first epoch, and reaches 89.24% in the final model. Thus, noisy early predictions can weaken the initial order, but the ordering improves rapidly rather than remaining fixed.


6. Expanded Limitations

We will add a concise and explicit limitations discussion in the main paper covering:

  • Heuristic ordering. CGQO is a hand-designed similarity grouping rule rather than a learned ordering objective.
  • Dependence on prior predictions. Inaccurate boxes or poorly calibrated scores can reduce ordering quality, particularly early in training or under distribution shifts, although CGQO is dynamically recomputed and improves as predictions become more reliable.
  • Smaller gains on strong baselines. The benefit can become smaller when a detector already contains highly optimized or competition-aware query interaction, where sequential ordering may provide less additional information.
  • Scope of the diagnostic analysis. We will incorporate the new diagnostics on early ordering quality, long-distance competitors, and crowded scenes. More extreme cases, including very large or chain-structured competition clusters, severely miscalibrated scores, and unusual query-density distributions, remain insufficiently explored.
Authors · CommentOpenReview ↗

Correction to the Q2 ablation table

We noticed a transcription error in the CGQO + Uni-RNN row of our response to Q2. The corrected table is provided below; the baseline and Bi-RNN results are unchanged.

Method Params AP AP50 AP75
Baseline (self-attn) 47.5M 49.0 66.6 53.5
CGQO + Uni-RNN 47.6M 49.5 67.3 54.1
CGQO + Bi-RNN 47.6M 50.0 68.1 54.0

Accordingly, Uni-RNN improves the baseline by +0.5 AP, while Bi-RNN achieves the best overall AP of 50.0 (+1.0). The qualitative conclusion remains unchanged: one-way recurrent refinement is already effective, while bidirectional refinement yields the best overall AP. We apologize for the error.

Authors · CommentOpenReview ↗

Thank You for the Helpful Feedback

Thank you for your careful and constructive review. Your questions helped us better disentangle the roles of ordering, recurrent directionality, and other design choices, while clarifying the behavior and practical limitations on stronger baselines. We sincerely appreciate the time and attention you devoted to our paper. We hope the additional analyses and clarifications provided in our response have been helpful, and we remain receptive to further feedback.

Reviewer 6Ef8OpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

DETRNN reframes duplicate suppression in DETR decoders as a sequential refinement problem. It (1) sorts object queries into an explicit competition order via CGQO (confidence c=max(s) + IoU/cosine similarity with a density-adaptive threshold), and (2) replaces decoder self-attention with a bidirectional RNN (mainly Mamba) that refines queries along this order. Inserted in the last 1–2 decoder stages, it reports +0.3–1.1 AP across Def-DETR++, DINO, MS-DETR, and LoRA-DETR on COCO/CrowdHuman, with comparable FLOPs/FPS.

Strengths and weaknesses

Strengths

  1. Casting NMS's "rank-and-group then suppress" as an in-decoder, learnable sequential refinement is a fresh and intuitive perspective, and to my knowledge among the first to use an RNN for query–query interaction in DETR decoders.
  2. Gains appear across four baselines, two backbones (R50, Swin-L), two datasets, and multiple RNN families (Mamba/RWKV/xLSTM/TTT), suggesting the effect is not tied to one specific sequential operator.
  3. FLOPs are essentially unchanged and FPS is comparable; module-level profiling shows favorable memory scaling at very large query counts, and in some cases throughput even improves after replacing heavier query-interaction modules.
  4. The 1-decoder stress test and the ∆AP-after-NMS proxy are sensible attempts to measure decoder-internal de-duplication beyond final AP.

Weaknesses

  1. The gain is not shown to come from sequential modeling specifically. Missing controls: (a) injecting the same CGQO order into self-attention (as a rank bias) under matched parameters, and (b) a head-to-head with EASE-/Relation-DETR's attention-prior mechanism under a shared recipe. The improvement may stem from competition-aware priors any operator could use.
  2. Many results are +0.3–0.5 AP, but only LoRA-DETRNN uses 3 seeds; all others are single runs with no variance, so gains may lie within noise.
  3. All baselines are adapted under a unified recipe and EASE-DETR is self-reimplemented (no official code); given the small margins, mild under-tuning could explain them. No comparison to original reported numbers.
  4. "Replacing self-attention" overstates the result, and capacity is uncontrolled. Tab. 9 shows replacing self-attention in all layers is worse than only the last 1–2 (48.4 vs 48.7 AP, 18 vs 20 FPS), i.e., the Bi-RNN does not fully substitute for self-attention. Separately, Mamba adds parameters + bidirectionality + IOF-PE, yet no parameter-matched self-attention baseline is given.
  5. CGQO is non-differentiable and its failure modes are untested. Ordering uses discrete, gradient-stopped operations, so the RNN cannot fix a poor order (the random-order drop in Tab. 5 confirms this sensitivity). No stress test of worst cases (large or chain-structured competition clusters, or competitors placed far apart in the sequence).
Questions
  1. When same-object competitors are far apart in the CGQO sequence, does suppression degrade with hop count? A distance-bucketed diagnostic vs. self-attention would help.
  2. Set-to-sequence effects. At group boundaries, do adjacent queries from different objects interfere through the hidden state?
  3. Can a poor early-training order lock in a wrong winner? How does ordering quality evolve?
Limitations

Appendix notes slightly higher per-module latency, 2D-only evaluation, and many-query regimes needing validation. The dataset scope is also narrow given the motivation: despite targeting de-duplication under heavy competition, broader benchmarks such as Objects365 (large-vocabulary) and WiderPerson (crowded) are not explored, though some cited competitors already report on them. The discussion also omits the most decision-relevant points: CGQO's non-differentiability, the lack of significance for small gains, and that "replacing self-attention" applies only to the last 1–2 layers.

Final justification

Given that the requested controls and statistical support have been provided and the results are consistent, I am raising my score to 4 (borderline accept).

Formatting concerns

None

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

1. Ordered Interaction Controls (W1)

(a) Order-aware Self-attention

We thank the reviewer for suggesting this important control. We add a parameter-matched order-aware self-attention baseline on DINO/R50/1×. Specifically, after CGQO orders the queries, we encode the relative rank distance between each query pair and project it into an attention bias added to the self-attention matrix.

Method Params AP AP50 AP75
Baseline self-attn 47.5M 49.0 66.6 53.5
CGQO + rank-bias attn 47.7M 49.6 67.5 54.2
CGQO + Bi-RNN 47.6M 50.0 68.1 54.0

This result further validates the effectiveness and extensibility of CGQO, showing that the competition-aware order can also benefit attention when injected as a rank bias. Meanwhile, under comparable parameters, Bi-RNN still achieves higher AP, suggesting that recurrent state propagation provides additional benefit beyond simply injecting the rank prior.

(b) Competition-aware Baselines

We clarify that Tab. 8 compares against the numbers reported in the original papers of EASE-, Relation-, and DDQ-. For each method, we keep its detector setting fixed and replace its original attention-prior / competition-aware interaction module with CGQO + Bi-RNN.

Therefore, the comparison does NOT rely on under-tuned baselines, but evaluates whether DETRNN can replace existing competition-aware modules under matched settings. The gains are modest because these baselines already contain strong competition-aware priors, but DETRNN still remains competitive as an alternative query-interaction module.


2. Baseline Fairness (W3)

We apologize if the current wording caused confusion. In Tab.1 and Tab. 8, we use the original reported or officially matched results available, and compare each DETRNN variant with its corresponding baseline under matched settings. These baselines are NOT obtained by under-tuning them under our own recipe. Thus, the reported gains do not come from weakening the baseline recipe. We will clarify this in the revision.


3. Distance-Bucketed Suppression Diagnostic (W5, Q1)

To directly test whether same-object suppression weakens over long sequence distances, we conduct a distance-bucketed diagnostic.

Setup. We analyze the first 1,600 COCO val images using Def-DETRNN++/R50/1x and its self-attention baseline, with the same CGQO construction and filtering criteria.

Pair construction. For each GT object gg, foreground competitors satisfy IoU(bi,bg)≥0.5\mathrm{IoU}(b_i,b_g)\geq 0.5 and si(yg)≥0.05s_i(y_g)\geq 0.05. We use the pivot of the CGQO group containing the Hungarian-matched query m(g)m(g) and pair it with every same-GT competitor. The hop distance is their absolute positional distance in the CGQO sequence.

Metrics. The first column groups pivot–competitor pairs into hop-distance buckets. For each bucket, we report their mean GT-class scores and the pivot–competitor margin. Higher pivot score, lower competitor score, and larger margin indicate stronger suppression.

Hop-distance bucket Method Pivot score ↑ Competitor score ↓ Margin ↑
1–16 Attn 0.441 0.125 0.316
DETRNN 0.455 0.118 0.337
17–64 Attn 0.377 0.143 0.234
DETRNN 0.391 0.136 0.255
65–256 Attn 0.410 0.106 0.304
DETRNN 0.419 0.105 0.314
257-900 Attn 0.456 0.096 0.360
DETRNN 0.459 0.092 0.367

Finding. DETRNN's suppression does not weaken as hop distance increases, and it outperforms self-attention in every bucket.


4. Early-Training Lock-in and Ordering Evolution (W5, Q3)

To test whether a poor early order can lock in a wrong winner, we examine both CGQO's mechanism and its ordering evolution during the first epoch.

Mechanism. CGQO only reorders queries: it neither forces the pivot to be Hungarian-matched nor removes non-pivot queries. All queries still participate in matching and loss computation, and CGQO is recomputed from the current predictions at every inserted decoder layer.

Diagnostic. Using the same model and data setting as the "Distance-Bucketed Suppression Diagnostic", we measure the pivot-match rate, i.e., the percentage of GT objects whose Hungarian-matched query is also the pivot of its CGQO group. A higher rate indicates more reliable pivot selection. The first epoch contains 7,393 training steps.

Training step Pivot-match rate ↑
100 40.28%
500 54.52%
1,000 57.81%
2,000 80.86%
4,000 83.78%

Finding. The pivot-match rate rises rapidly from 40.28% to 80.86% within the first 2,000 steps and reaches 83.78% by step 4,000. Since CGQO dynamically recomputes the order without discarding queries, early ordering errors are corrected rather than locked in.


5. Group-Boundary Effects (W5, Q2)

Using the same experimental setup as the preceding “Distance-Bucketed Suppression Diagnostic,” we examine group boundaries from two complementary perspectives: whether they are distinguishable in the recurrent input, and whether they cause measurable degradation of the following group pivot.

Boundary cue. CGQO forms a piecewise-continuous sequence: queries remain similar within a competition group, while each new group starts from the strongest remaining query as its pivot. This structure is intentional. A purely spatial ordering could avoid explicit group boundaries, but it would not explicitly organize confidence-ranked queries around their competing duplicates, which is central to our de-duplication objective.

To test whether the resulting group transition is visible in the query features, we compare the cosine similarity of the last within-group adjacent pair (tail-1 vs. tail) with that of the adjacent pair across the boundary (tail vs. next pivot).

Compared queries Mean similarity 25th-percentile similarity 75th-percentile similarity
tail-1 vs. tail 0.734 0.610 0.906
tail vs. next pivot 0.330 0.133 0.486

The mean cosine similarity drops by 0.404 at group boundaries. Moreover, the 25th-percentile cosine similarity for tail-1 vs. tail remains higher than the 75th-percentile cosine similarity for tail vs. next pivot. This clear feature change lets the recurrent module recognize that a new competition group has started, rather than treating it as part of the previous group.

Empirical effect. If hidden-state carryover caused systematic cross-group interference, the following group pivot should be the first query to degrade. However, in the preceding "Distance-Bucketed Suppression Diagnostic," DETRNN maintains pivot-competitor margins of 0.337, 0.255, 0.314, and 0.367 across all hop-distance buckets, consistently larger than those of self-attention. Moreover, in "Early-Training Lock-in and Ordering Evolution," the pivot-match rate rises to 83.78% by step 4,000 of the first epoch and reaches 89.24% in the final model (in our response to Reviewer 6Ef8) .

Conclusions. Together, the boundary is clearly visible in the recurrent input, while the following pivots remain strong in the output. The boundary is therefore not simply an undesirable discontinuity, but a useful cue introduced by the competition-centered grouping: it separates successive object groups without causing systematic cross-group interference.


6. Seed Robustness (W2)

We agree that small gains should be checked with multiple seeds. We therefore add 3-seed results on four representative R50/1× settings:

Detector Baseline AP Seed 1 Seed 2 Seed 3 Mean Std
Def-DETRNN++ 47.6 48.7 48.9 48.6 48.73 0.15
DINO-RNN 49.0 50.0 50.0 49.8 49.93 0.12
MS-DETRNN 50.0 50.5 50.3 50.5 50.43 0.12
LoRA-DETRNN 52.5 53.0 53.0 52.9 52.97 0.06

All individual runs outperform their corresponding baselines, and the standard deviations are small. The gains on stronger baselines are indeed more modest, but these results suggest that they are stable rather than artifacts of a single run. We will include these multi-seed results in the revision.

7. Broader Crowded Benchmark (Limitations)

We agree that broader crowded benchmarks are useful for evaluating de-duplication. Note that Tab. 6 already includes CrowdHuman, a standard crowded pedestrian benchmark, where DETRNN improves Def-DETR++ by +1.1 AP. Following the suggestion, we additionally evaluate on WiderPerson.

We use the same Def-DETR++/R50/1× setting and evaluate both the baseline and DETRNN with the same AP metrics:

Method AP AP50 AP75
Def-DETR++ 47.2 75.7 49.6
Def-DETRNN++ 48.2 76.6 50.6

DETRNN improves AP by +1.0, consistent with the improvement observed on CrowdHuman. These results further support that DETRNN is helpful in crowded scenarios with stronger duplicate competition.

Authors · CommentOpenReview ↗

8. Scope of Self-Attention Replacement and Capacity Control (W4)

We thank the reviewer for highlighting this ambiguity.

  • Scope of replacement. We agree that DETRNN is not intended to replace self-attention throughout the entire decoder. It replaces self-attention only in the selected late decoder stage(s), while earlier stages retain standard self-attention. We will clarify this scope throughout the revision.

  • Late-stage placement. Tab. 9 supports this targeted design: restricting DETRNN from all stages to the last two improves both AP (48.4→48.7) and FPS (18→20). Our stage-wise AP/AR analysis (response to Reviewer 6Ef8, “Toward Systematic Stage Placement”) further shows that early stages mainly build object coverage, while later stages focus more on resolving residual competition.

  • Matched attention control. The baseline and our Mamba-based Bi-RNN are already closely matched in size (47.5M vs. 47.6M). More importantly, with the same CGQO order, the rank-bias attention control has slightly more parameters (47.7M) but reaches 49.6 AP, below Bi-RNN’s 50.0 AP. Thus, recurrent interaction provides an additional benefit beyond the shared CGQO prior and parameter count.

  • Bidirectionality control. We adopt bidirectional processing following common practice in vision Mamba models. Our Uni/Bi control (response to Reviewer vmis) shows that Uni-RNN already improves AP from 49.0 to 49.5, while Bi-RNN further reaches 50.0 with the same 47.6M parameters.

  • IOF-PE contribution. Removing IOF-PE still preserves gains of +1.0 AP on Def-DETR++; IOF-PE adds only a further +0.1 (Tab. 10). It is therefore an auxiliary cue rather than the main source of improvement.

We will revise the wording to position DETRNN more precisely as a targeted late-stage competition-refinement module.

Reviewer 6Ef8 · CommentOpenReview ↗

Given that the requested controls and statistical support have been provided and the results are consistent, I am raising my score to 4 (borderline accept). For the revision, I encourage the authors to: (i) include all rebuttal experiments in the paper/appendix, (ii) extend the rank-bias attention control to at least one additional baseline, since the current comparison rests on a single setting and a single run, and (iii) revise the framing throughout to position DETRNN as a late-stage competition-refinement module as promised.

Authors · CommentOpenReview ↗

Thank You for the Constructive Follow-up

Thank you for carefully reconsidering our response and for the constructive follow-up. We greatly appreciate your recognition of the additional controls and statistical support, as well as your concrete suggestions for strengthening the revision and clarifying DETRNN as a late-stage competition-refinement module. We will carefully consider these suggestions in revising the paper and remain receptive to further feedback.

Reviewer 2F6SOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only, CLEAR MAJOR CONCERN: Check this box if there is a clear, major concern for which you do not need further clarifications. Detail the concern in the Strengths and Weaknesses section. Use another option below if you would benefit from a consultation with an expert., Major Concern: Improper research involving human subjects, Major Concern: Data privacy, copyright, and consent, Major Concern: Data quality and representativeness, Major Concern: Safety and security, Major Concern: Discrimination, bias, and unfairness, Major Concern: Deception and harassment, Major Concern: Environmental impact, Major Concern: Human rights (including surveillance)
Read review
Summary

This paper introduces DETRNN, a plug-and-play module designed to address the issue of redundant predictions in DETR-style object detectors. While these detectors use one-to-one bipartite matching to avoid post-processing like Non-Maximum Suppression (NMS), they still struggle with multiple queries producing highly similar hypotheses for the same object, especially in dense scenes. The authors identify that an explicit sequential order is a missing but vital cue for organizing competition among duplicates in end-to-end detection. This paper proposes a novel module that combines CGQO for structuring queries and a Bi-RNN for sequential interaction, turning de-duplication into a learnable internal process. Extensive experiments on multiple detectors (including DINO, MS-DETR, and LoRA-DETR) demonstrate that DETRNN consistently improves accuracy (mAP) and reduces redundancy with efficiency comparable to standard self-attention. The module demonstrates better memory scaling than standard self-attention when the number of object queries increases, as it avoids the O(N2N^2) memory cost of large attention maps.

Strengths and weaknesses

This paper addresses a fundamental bottleneck in DETR-style object detectors: the persistent issue of redundant predictions despite the use of one-to-one bipartite matching. The authors present DETRNN, a novel "plug-and-play" module that replaces the standard parallel self-attention in the decoder with a learnable, sequential refinement process. The core insight is that the unordered nature of queries in standard Transformers lacks the explicit competition cues necessary to effectively suppress duplicates. To solve this, the authors propose Competition-Guided Query Ordering (CGQO) to structure queries into a meaningful sequence, followed by a Bi-directional RNN to model their interaction.

[Strengths]

  1. DETRNN significantly reduces redundant predictions internal to the decoder. In "stress tests" using only a single decoder stage, the module achieved large AP gains and dramatically reduced the residual redundancy that typically requires post-processing NMS to fix.
  2. The module is highly transferable, providing consistent accuracy improvements across various DETR-style architectures, including DINO, MS-DETR, Def-DETR++, and LoRA-DETR. It also showed improvements when replacing more complex competition-specific components in other SOTA models.
  3. While standard self-attention suffers from O(N2N^2 ) memory growth due to large attention maps, DETRNN scales much more efficiently. At 5,000 queries, it uses only 164.1 MB of peak memory compared to 1545.4 MB for standard self-attention.

[Weaknesses]

  1. At common query counts (e.g., 900 queries), the sequential reordering (CGQO) and recurrent interaction add a slight runtime overhead compared to parallel self-attention. For example, the module-level runtime increases from 0.2ms to 0.9ms at 900 queries.
  2. The authors found that the optimal placement of the module varies; weaker baselines benefit from insertion in the last two decoder stages, while stronger baselines perform best with insertion only in the final stage.
  3. The ordering mechanism (CGQO) relies on the quality of bounding boxes and confidence scores generated by encoder proposals or previous decoder stages. If these initial predictions are poor, the resulting competition sequence may be less effective.
  4. Compared to the standard Transformer decoder, DETRNN requires additional steps for sorting, grouping, and assembling query clusters, which is more complex to implement than order-agnostic parallel attention.
Questions
  1. Given that the isolated module runtime increases from 0.2ms to 0.9ms at 900 queries, what specific parts of the CGQO process (e.g., the O(N2N^2) pairwise similarity or the grouping logic) contribute most to this overhead?
  2. The current CGQO similarity metric relies heavily on geometric overlap (IoU) of bounding boxes; how would this mechanism adapt to tasks where bounding boxes are less representative, such as instance segmentation?
  3. The authors currently use a "rule-of-thumb" for stage placement, inserting the module in the last two stages for weaker baselines and only the last stage for stronger ones. Is there a more systematic metric (e.g., measuring the entropy of the one-to-one matching) that can predict the optimal insertion point?
Limitations

yes

Formatting concerns

In the references, some conference names are abbreviated while others are not. Authors should carefully review them and ensure consistent formatting.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

1. Runtime Breakdown and Implementation Cost (W1, W4, Q1)

Profiling setup. Following Appendix F, we benchmark the full CGQO and a similarity-only CUDA variant at 900 queries with identical inputs and hyperparameters. After 128 warm-up calls, latency is averaged over 8000 timed calls using synchronized CUDA events. The remaining latency estimates the grouping and order-construction overhead.

Component Runtime Approx. share
Pairwise similarity 0.09 ms 19%
Grouping and order construction ~0.39 ms ~81%
Full CGQO 0.48 ms 100%

Although pairwise similarity has O(N2)O(N^2) complexity, it is implemented as dense GPU operations over compact box and class-score tensors and takes only 0.09 ms at 900 queries. Most of the overhead comes from the subsequent grouping stage. These operations involve dependent control flow and irregular index updates, making them less GPU-friendly than dense similarity computation.


2. Beyond Box-Based Similarity (Q2)

CGQO is metric-agnostic and relies solely on pairwise candidate similarity. For task like instance segmentation, the box-IoU term can be naturally replaced by mask IoU, while the pivot-and-group procedure remain unchanged. Extending CGQO to mask-level similarity is an important future direction.


3.Robustness to Imperfect Predictions (W3)

We clarify that CGQO does not require highly accurate initial predictions.

Mechanism. Crucially, the pivot query chosen during CGQO is not required to be the one matched to the ground-truth box in the subsequent Hungarian matching. As long as queries in the same local region are grouped adjacently, the Bi-RNN can effectively model relative competition and suppress duplicate hypotheses along the sequence, regardless of absolute initial box quality. Moreover, CGQO is mainly applied in later decoder layers and is recomputed from current predictions, so the order can improve as predictions become more reliable.

Ordering evidence. In the “Early-Training Lock-in and Ordering Evolution” (response to Reviewer 6Ef8) , the pivot-match rate (matched query selected as pivot) increases from 40.28% at step 100 to 83.78% by step 4,000 of the first epoch. It further reaches 89.24% in the final model(response to Reviewer K9UV under “Novelty and Mechanistic Evidence”). Poor early predictions can temporarily reduce ordering quality, but the order improves rapidly rather than remaining fixed or locking in an early error.


4. Toward Systematic Stage Placement (W2, Q3)

Early decoder stages likely need to retain candidate redundancy for recall, while later stages resolve residual competition; inserting sequential ordering too early may prematurely suppress viable hypotheses, especially for baselines with built-in one-to-many supervision.

We measured layer-wise AP/AR100 for the original Def-DETR++ and MS-DETR baselines:

Baseline Metric Stage 4 Stage 5 Stage 6
Def-DETR++ AP 47.1 47.4 47.6
AR100 67.4 67.7 67.6
MS-DETR AP 49.1 49.5 50.0
AR100 72.7 73.0 72.6

AR100 saturates by decoder stage 4 (within 0.3 of its peak at stage 5) while AP still gains 0.5-0.9 points through stage 6, indicating that object coverage stabilizes early and later layers mainly resolve residual query competition, which is consistent with placing sequential refinement in late stages only.

This recall-saturation signal identifies the right late-layer region; we are exploring further diagnostics (layer-wise CGQO group statistics, NMS-gain curves) and will note this as an open direction in the revision.

Authors · CommentOpenReview ↗

Thank You for the Constructive Review

Thank you for your careful and constructive review. Your questions helped us clarify the efficiency, stage-placement strategy, and broader applicability of DETRNN, while strengthening the corresponding analyses. We sincerely appreciate the time and attention you devoted to our paper and our response. We hope the additional clarifications and analyses provided in our response have been helpful, and we remain receptive to further feedback.

Reviewer 2F6S · CommentOpenReview ↗

I appreciate your feedback. I will proceed with the score adjustments and ensure that all your comments are fully incorporated into the revised version.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…