Revisiting Scene Graph Generation from the Perspective of Detector-Conditioned Reachability


Abstract

Scene graph generation (SGG) approaches can be broadly classified into detector-based and query-based methods according to their underlying reasoning mechanisms. However, the discrepancy in their predictive behaviors, induced by these distinct mechanisms, has not been systematically analyzed. In this work, we design a controlled experimental setup to examine prediction discrepancies from the perspective of detector-conditioned reachability. The results suggest clear complementary clues. Motivated by this observation, we introduce a Dual-SGG method that consolidates both reasoning mechanisms via a dual-query design, thereby leveraging the complementary predictive behaviors of both detector-based and query-based methods. Extensive experiments on the Visual Genome, Open Images v6, and GQA-200 datasets demonstrate the effectiveness of the proposed method. Code is available at: Dual-SGG.

1 Introduction↩︎

Scene graphs represent images as graphs, with nodes as entities and edges as pairwise relations. Each relationship is typically expressed as a (subject, predicate, object) triplet. Because of their high-level image understanding, scene graphs have been widely used in image captioning [1], [2], visual question answering [3], and image generation [4], [5].

Existing scene graph generation (SGG) approaches can be broadly categorized into detector-based and query-based methods according to their underlying reasoning mechanisms. Detector-based models employ an internal object detector to localize entities and subsequently perform reasoning over pairs of detected entities to predict triplets. Conceptually, these models exhibit difficulties in predicting triplets whose subject or object instances are semantically or spatially uncovered by detections from the employed object detector. Here, we term this problem the detector constraint. To eliminate this detector constraint, query-based models introduce learnable triplet queries, inspired by the detection transformer (DETR) [6] paradigm, thereby enabling end-to-end triplet prediction without the need to enumerate entity pairs explicitly. In current studies, SGG models are predominantly evaluated using aggregate metrics such as Recall and mean-Recall, which quantify overall triplet prediction performance. However, these aggregate metrics do not elucidate the distinct predictive behaviors induced by the differing reasoning mechanisms. In particular, it remains unclear whether query-based models offer improvements on triplets that are challenging for detector-based models to detect due to the detector constraint.

a

b

c

d

Figure 1: SGG Models. (a) Detector-based model. (b) Query-based model. (c) Query-based model that additionally incorporates entity information derived from an object detector. (d) The proposed Dual-SGG method, which integrates detector-based and query-based reasoning mechanisms within a unified triplet decoder..

To bridge this gap, we design a controlled experimental setup on the Visual Genome (VG) [7] dataset to compare prediction behaviors from the perspective of detector-conditioned reachability. To this end, we pre-train an external object detector that serves as a discriminator, determining whether a triplet is reachable for a detector-based SGG model under the original detector condition. Specifically, the ground-truth triplet set is split into two subsets. (1) Det-T, comprising triplets for which both the subject and object instances are successfully detected by the external object detector; and (2) UDet-T, comprising triplets for which at least one of the subject or object instances is not detected. Subsequently, the backbone, image encoder, and object decoder (when required) of the external object detector are employed and fine-tuned within three distinct SGG models. The first is a detector-based model (1 (a)), constructed following [8]. The second is a query-based model (1 (b)), implemented in accordance with [9]. The third is an additional query-based model (1 (c)) that leverages prior entity information extracted from the object detector, following [10]. To control for confounding factors other than the underlying reasoning mechanisms, all three models are trained under an identical experimental protocol. We evaluate the performance of each model on Det-T and UDet-T sets with micro-Recall, denoted as micro-DR (on Det-T) and micro-UDR (on UDet-T), in addition to standard aggregate metrics. The results are reported in 1. The detector-based model 1 (a) achieves strong performance on Det-T but nearly collapses on UDet-T, demonstrating that fine-tuning the object detector in the SGG task does not fundamentally boost the detector-based model to capture triplets involving unreachable instances for the employed object detector. In contrast, query-based models 1 (b, c) substantially improve micro-UDR. This indicates that query-based models can explore more triplets that, due to the detector constraint, are challenging for the detector-based model. However, the improvement in micro-UDR does not lead to better SGG performance. The absence of the explicit detector condition results in significant drops in micro-DR even when entity information is incorporated.

Table 1: Pre-ablation study on the SGG models presented in [fig:Introduction]. The performance is evaluated on the VG validation dataset. All metrics are computed using the \(\operatorname{Top}100\) predictions from each model. Here, micro-R, R, and mR correspond to micro-Recall, Recall, and mean-Recall, respectively, computed over the complete ground-truth set. The metrics micro-DR and micro-UDR represent micro-Recall computed on the corresponding specialized subsets.
Model micro-R micro-DR micro-UDR R mR
a 32.5 53.6 0.3 33.4 10.9
b 30.7 47.3 5.4 31.4 9.6
c 31.8 48.8 5.8 32.4 10.3
d 34.2 53.6 4.8 35.0 11.2

These empirical results suggest that detector- and query-based methods exhibit complementary predictive behaviors. Motivated by this complementarity, we seek a unified method that integrates both predictive behaviors. A straightforward solution would be to merge the detected triplets from detector- and query-based models by adopting the probabilistic ensembling [11] in the object detection task. However, compared to the object detection task, the triplet scores are collectively determined by three sub-probability distributions, which are non-trivial to calibrate. We therefore propose a Dual-SGG method, which models the mechanisms of detector- and query-based methods within a single triplet decoder, as illustrated in 1 (d). These two mechanisms are achieved by a dual-query design. The first group of queries is top-down triplet queries (TD-Qs). Specifically, they detect triplets by conditioning on given entity pairs proposed by an entity pair selector (EPS). The second group of queries is called bottom-up triplet queries (BU-Qs). All BU-Qs are established to globally explore triplets by originating from the image center and subsequently expanding outwards. With this approach, the final predictions encompass triplets based on both predictive behaviors. Since the predictions are obtained from a unique decoder, explicit post-hoc calibration among the predictions is not required. As demonstrated by 1 (d), our proposed method maintains equal micro-DR to the detector-based model while increasing micro-UDR, thus leading to overall superior performance.

In summary, our contributions are as follows: We systematically and quantitatively compare the predictive behaviors of query- and detector-based SGG methods from the perspective of detector-conditioned reachability. Motivated by the results, we propose a method that integrates both detector-based and query-based reasoning mechanisms within a single triplet decoder to fuse their predictive behaviors. We conduct extensive experiments on three public datasets to demonstrate the effectiveness and efficiency of the proposed method.

2 Related Work↩︎

2.0.1 Scene Graph Generation.↩︎

Early SGG works largely adopt the detector-based method that employs an off-the-shelf Faster R-CNN [12] to propose entities. Given a detected entity pair, [13] leverages entity categories, locations, visual representations, and language prior knowledge to predict the predicates between them. [14] proposes utilizing global context information to support SGG. More recently, [15], [16] focus on improving predicate and triplet representations for predicate understanding.

Query-based SGG methods [17], [18] update a set of triplet queries to achieve SGG. Iterative-SGG [9] decomposes the triplet queries into subject, object, and predicate queries and models their dependencies with three transformer [19] decoders. [10], [20] propose introducing the entity information from an object detector into triplet query updating. SpeaQ [21] adopts one-to-many and groupwise matching at the triplet level to enhance supervision during training.

2.0.2 Improve DETR Training with Auxiliary Queries.↩︎

Due to one-to-one Hungarian matching [22], only a few detections can be assigned positive labels during the training of DETR [6], which may impede training speed. Numerous efforts [23][26] have been made to accelerate training by performing one-to-many matching strategies with auxiliary queries. However, labels assigned through Hungarian matching may still pose optimization challenges. To address this issue, DN-DETR [27] and DINO-DETR [28] adopt dual-query designs. They introduce additional queries formed by perturbing ground-truth labels and train them with a denoising objective for stable supervision. For this purpose, these auxiliary queries are used only during training.

Inspired by the query grouping, we adopt a dual-query for SGG. To the best of our knowledge, this study is the first to propose fusing distinct predictive behaviors for SGG. The dual-query is designed for a fundamentally different purpose than the object detection work: not to stabilize training, but to explicitly model complementary prediction within a single end-to-end framework, replacing the need for multiple specialized models and complex fusion strategies.

3 Method↩︎

3.0.1 Preliminary.↩︎

SGG aims to predict a set of triplets \(R=\{r_{k}\}=\{(s_{k},o_{k},p_{k})\}_{k=1}^{K}\) where \(s_k,o_k, p_{k}\) denote the subject, object, and predicate, respectively. During inference, SGG computes a score for every triplet candidate and returns the \(\operatorname{Top}K\) highest scoring triplets as the final predictions, , \(R=\operatorname{Top}K_{r}(S(r))\). According to the reasoning mechanism, the scoring function \(S(r)\) of the detector-based method can be expressed as \(S(r)=S_{d}(r\mid e_{s},e_{o},I)\), where \(I\) represents the image features, \(e_{s}\) and \(e_{o}\) denote the subject–object pair derived from the detected entity set \(E\), which is \(e_{s}, e_{o} \in E\). In contrast, for the query-based SGG method, the score function can be formulated as \(S(r)=S_{q}(r \mid I)\). As this study aims to preserve the predictive behaviors of both methods, we formulate the score function as follows: \[\begin{align} S(r)=\max (S_{d}(r\mid e_{s},e_{o},I),\; S_{q}(r\mid I)) \label{infernce32formulation} \end{align}\tag{1}\]

However, if \(d\) and \(q\) in 1 are independent, directly applying a \(\max\) operation to their scores may cause one branch to dominate due to score scale inconsistencies, which would undermine the intended complementarity between the two prediction sets. To avoid this issue, we integrate both reasoning mechanisms into a unified triplet decoder \(\theta\) via a dual-query design, enabling joint optimization within a single framework. Let \(\hat{R}=\{\hat{r}_x\}=\{(\hat{s}_x, \hat{o}_x, \hat{p}_x)\}\) denote the set of ground-truth triplets, while the objective of our method is: \[\begin{align} \max_{\theta} \sum_{x=1}^{X} \left( \log S_{\theta}(\hat{r}_x \mid I) + \sum_{(s,o)}( m_x \log S_{\theta}(\hat{r}_x \mid e_s, e_o, I) )\right) \label{objective} \end{align}\tag{2}\] This objective maximizes the log-likelihood of each ground-truth triplet under two conditions: (1) global image-conditioned prediction, corresponding to query-based reasoning, and (2) detector-conditioned prediction. The indicator variable \(m_{x}\) activates the second term only when such a match exists, defined as: \[\begin{align} m_{x}=\mathbf{1} [\operatorname{match}(\hat{s}_{x}, e_{s})\land \operatorname{match}(\hat{o}_{x}, e_{o})] \label{indicator} \end{align}\tag{3}\] thereby ensuring that the detector-conditioned supervision is applied exclusively when the subject and object instances are reachable for the object detector.

3.0.2 Model Overview.↩︎

Our Dual-SGG is illustrated in 2. An object detector first extracts visual features and detects entities (see 3.1). An Entity Pair Selector (EPS) selects subject-object pairs from these entities to initialize TD-Qs for detector-conditioned reasoning (see 3.2). Alongside TD-Qs, BU-Qs are initialized without any entity information for global image-conditioned prediction (see 3.3). Both query types, including content embeddings and triplet anchors, are jointly updated via a unified triplet decoder (see 3.4). Ultimately, the triplet detection heads are applied for triplet prediction.

Figure 2: Illustration of our Dual-SGG method. It includes an object detector, an entity pairs selector (EPS), and a triplet decoder. FFN denotes the feed-forward network. TD content and TD anchors form TD-Qs, while BU content and BU anchors form BU-Qs. (a) presents architectural details of EPS.

3.1 Object Detector↩︎

We adopt Deformable-DETR [29] as the object detector. Given an image, the encoder first extracts visual features \(I\). Subsequently, the decoder generates a set of entity candidates, denoted as \(E=\{e_{i}\}=\{(q^{e}_{i}, b^{e}_{i},c^{e}_{i})\}_{i=1}^{N_{e}}\), where \(q^{e}_{i} \in \mathbb{R}^{d}\), \(b^{e}_{i} \in \mathbb{R}^{4}\), and \(c^{e}_{i}\in \mathbb{R}^{N_{c}}\) refer to the entity features, boxes, and category distributions, respectively.

Object Detector Loss. We follow [29] to train the object detector. The Hungarian matching is applied to search for an optimal assignment between \(E\) and the ground-truth entity set by minimizing a global matching cost. Based on this assignment, the ground-truth entity set is permuted and padded with no-object labels for the unmatched detections. We define the permuted ground-truth set as \(\hat{E}=\{\hat{e}_{i}\}=\{(\hat{b}^{e}_{i},\hat{c}^{e}_{i})\}_{i=1}^{N_{e}}\), where \(\hat{b}^{e}_{i} \in \mathbb{R}^{4}\) and \(\hat{c}^{e}_{i}\in \mathbb{R}^{N_{c}}\) indicate the target boxes and one-hot class labels of entities. The object detector loss includes a focal loss [30] for entity classification and L1 plus GIoU losses for box regression: \[\begin{align} \mathcal{L}^{e}=\sum_{i=1}^{N_{e}}[\lambda^{cls}\mathcal{L}^{cls}(c_{i}^{e}, \hat{c}^{e}_{i})+\lambda^{box}\mathcal{L}^{box}(b^{e}_{i}, \hat{b}^{e}_{i})+\lambda^{giou}\mathcal{L}^{giou}(b^{e}_{i}, \hat{b}^{e}_{i})] \end{align}\] Building upon the aligned entity set \(\hat{E}\), we further construct a predicate matrix \({\hat{P}^{e}} \in \mathbb{R}^{N_{e} \times N_{e} \times N_{p}}\). For each detected entity pair \((i,j)\), \(\hat{P}^e_{ij}\) is a one-hot vector indicating the ground truth predicate between entity \(i\) and \(j\). Note that the matrix \({\hat{P}^{e}}\) is used for training the triplet decoder and the EPS.

3.2 Entity Pairs Selector (EPS)↩︎

TD-Qs are initialized with the detected entity pairs to introduce the detector condition. However, enumerating all possible pairs results in \(N_{e}^2\) queries, which leads to significant computational overhead. To reduce this cost, we employ an Entity Pair Selector (EPS) that evaluates both the content and spatial compatibility of entity pairs and selects the \(\operatorname{Top}N_{td}\) candidates for TD-Qs initialization. The content score favors entity pairs that correspond to ground-truth triplets, providing stable positive supervision for the subsequent training of triplet prediction. The spatial score emphasizes pairs that are spatially similar to content-positive candidates, providing informative hard negative samples.

Unlike prior work [31][33], which uses intricate modules to evaluate detected triplets and adjust their scores, EPS serves here as a selector rather than a post-hoc scoring mechanism. While not directly determine final predictions, EPS enables a computationally efficient design, as shown in 2 (a). EPS includes a self-attention layer and a FFN for updating the entity features \(\{q^{e}_{i}\}_{i=1}^{N_{e}}\), yielding \(\{q^{eps}_{i}\}_{i=1}^{N_{e}}\). The spatial logits \(S^{sp} \in \mathbb{R}^{N_e \times N_{e}}\) and content logits \(S^{ct} \in \mathbb{R}^{N_e \times N_{e}}\) are obtained by performing a dot-product as follows: \[\begin{align} S^{sp}= \{q^{eps}_{i}\}W^{sp}_{sub} \cdot (\{q^{eps}_{i}\}W_{obj}^{sp})^{T} \qquad S^{ct}&= \{q^{eps}_{i}\}W^{ct}_{sub} \cdot (\{q^{eps}_{i}\}W_{obj}^{ct})^{T} \end{align}\] where \(W^{sp}_{sub}, W_{obj}^{sp}, W^{ct}_{sub}, W_{obj}^{ct}\) are linear projectors. Ultimately, the final scores for entity pairs \(S^{eps} \in \mathbb{R}^{N_e \times N_{e}}\) are calculated as follows: \[S^{eps} = \begin{cases} \operatorname{sigmoid}(S^{sp})\times \operatorname{sigmoid}(S^{ct}), & \text{Training} \\ \operatorname{sigmoid}(S^{ct}), & \text{Inference} \end{cases}\]

EPS Loss. The EPS loss consists of two focal losses: spatial loss \(\mathcal{L}^{sp}\) and content loss \(\mathcal{L}^{ct}\). \[\begin{align} \mathcal{L}^{eps}=\mathcal{L}^{sp}(S^{sp}, \hat{S}^{sp})+ \mathcal{L}^{ct}(S^{ct},\hat{S}^{ct}) \label{equ:32EPS} \end{align}\tag{4}\] The content labels \(\hat{S}^{ct} \in \mathbb{R}^{N_{e} \times N_{e}}\) are derived by converting the predicate matrix \(\hat{P}^{e}\) introduced in 3.1 into a binary matrix: \[\hat{S}^{ct}_{ij} = \begin{cases} 1, & \text{If}\; \sum_{k=1}^{N_{p}} \hat{P}^{e}_{ijk} > 0 \\ 0, & \text{Otherwise} \end{cases}\] Rather than using the locations of ground-truth triplets, we use the locations of detected entity pairs with content-positive labels to assign spatial labels, as shown in 5 . This ensures that all spatial-positive pairs exhibit spatial configurations similar to the content-positive samples: \[\hat{S}^{sp}_{ij} = \begin{cases} 1, & \text{if } \mathrm{IoU}(b^{e}_i, b^{e}_x) > 0.5 \land \mathrm{IoU}(b^{e}_j, b^{e}_y) > 0.5 \land \hat{S}^{ct}_{xy} = 1, \\ 0, & \text{otherwise.} \end{cases} \label{eq:spatial95label}\tag{5}\] where \(b^{e}_{i}, b^{e}_{j}, b^{e}_{x},b^{e}_{y} \in E\) are the entity boxes produced by the object detector.

3.3 Triplet Queries Initialization↩︎

Inspired by DAB-DETR [34], our TD-Qs and BU-Qs consist of content embeddings and triplet anchors. The triplet anchors are introduced to guide the attention of the triplet decoder in detecting triplets in two different patterns.

TD-Qs Initialization. To impose the detector condition, TD-Qs are constructed with the selected pairs of entities. Specifically, the TD-Qs content embeddings and triplet anchors are initialized by concatenating the corresponding entity features and bounding boxes, respectively. Given \(S^{eps} \in \mathbb{R}^{N_{e} \times N_{e}}\), \(\operatorname{Top}N_{td}\) entity pairs are selected. Let \(\tilde{s}_{(i)}\) and \(\tilde{o}_{(i)}\) denote the indices of the entities involved in the selected pairs by EPS. The content embedding \(\{q^{td}_{i}\}_{i=1}^{N_{td}}\) and triplet anchors \(\{a^{td}_{i}\}_{i=1}^{N_{td}}\) are initialized as follows: \[\begin{align} \{q^{td}_{i}\}=\operatorname{Concat}(\{q^{e}_{\tilde{s}_{(i)}}\},\{q^{e}_{\tilde{o}_{(i)}}\}), \qquad \{a^{td}_{i}\}=\operatorname{Concat}(\{b^{e}_{\tilde{s}_{(i)}}\},\{b^{e}_{\tilde{o}_{(i)}}\}) \end{align}\] where \(q^{td}_{i} \in \mathbb{R}^{2d}\) and \(a^{td}_{i} \in \mathbb{R}^{8}\).

BU-Qs Initialization. For BU-Qs, the content embeddings \(\{q^{bu}_{i}\}_{i=1}^{N_{bu}}\), where \(q^{bu}_{i} \in \mathbb{R}^{2d}\), are randomly initialized with a set of learnable vectors. The anchors of BU-Qs, denoted as \(\{a^{bu}_{i}\}_{i=1}^{N_{bu}}\), where \(a^{bu}_{i} \in \mathbb{R}^{8}\), are initialized with a set of pairwise frozen boxes centered in the image. These center-biased anchors encourage the decoder to initially focus on the central region and gradually expand its attention outwards across decoder layers. Consequently, the BU-Qs capture triplets that are not reachable for the TD-Qs due to the detector constraint.

3.4 Triplet Decoder↩︎

The triplet decoder consists of \(L\) transformer [19] blocks. To reduce computation, we adopt a single-branch decoder that reasons over complete triplets. This design can be extended to a multi-branch version, where each branch models a triplet component, as in [9], [10], [35]. The decoder takes the initialized TD-Qs and BU-Qs as input and updates them jointly through stacked transformer blocks. Triplet detection heads are then applied to the updated queries, producing two triplet sets denoted as \(R^{td}=\{r^{td}_{i}\}=\{(s^{td}_{i},o^{td}_{i},p^{td}_i)\}_{i=1}^{N_{td}}\) and \(R^{bu}=\{r^{bu}_{i}\}=\{(s^{bu}_{i},o^{bu}_{i},p^{bu}_i)\}_{i=1}^{N_{bu}}\), respectively. To prevent the rich prior in TD-Qs from leaking into BU-Qs and causing a significant dependency of \(R^{bu}\) on \(R^{td}\), we use self-attention masks [19] to restrict the information flow from TD-Qs to BU-Qs in each transformer’s self-attention layer.

TD-Loss. To ensure \(R^{td}\) predicted by TD-Qs follows the provided detector condition, we construct the labels for triplets detected with TD-Qs, denoted as \(\hat{R}^{td}=\{\hat{r}^{td}_{i}\}=\{(\hat{s}^{td}_{i},\hat{o}^{td}_{i},\hat{p}^{td}_i)\}_{i=1}^{N_{td}}\), based on the labels of their initial entities obtained from object detector training. Specifically, given the ground-truth labels \(\hat{E}=\{\hat{e}_{i}\}=\{(\hat{b}^{e}_{i},\hat{c}^{e}_{i})\}_{i=1}^{N_{e}}\) of the detected entities introduced in 3.1, the labels of subjects and objects are extracted as \(\{\hat{s}^{td}_{i}\}=\{(\hat{b}^{e}_{\tilde{s}_{(i)}}, \hat{c}^{e}_{\tilde{s}_{(i)}})\}_{i=1}^{N_{td}}\) and \(\{\hat{o}^{td}_{i}\}=\{(\hat{b}^{e}_{\tilde{o}_{(i)}}, \hat{c}^{e}_{\tilde{o}_{(i)}})\}_{i=1}^{N_{td}}\), respectively, where \(\tilde{s}_{(i)}\) and \(\tilde{o}_{(i)}\) are the indices of entities involved by the selected entity pairs, as introduced in 3.3. The predicate labels are extracted from \(\hat{P}^{e}\) defined as \(\{\hat{p}^{td}_{i}\}=\{\hat{P}^{e}_{\tilde{s}_{(i)}\tilde{o}_{(i)}}\}_{i=1}^{N_{td}}\). The entire objective of TD-Qs is as follows: \[\begin{align} \mathcal{L}^{TD}=\sum_{i}^{N_{td}}[\mathcal{L}^{TD}_{sub}(s^{td}_{i},\hat{s}^{td}_{i})+\mathcal{L}^{TD}_{obj}(o^{td}_{i},\hat{o}^{td}_{i})+\mathcal{L}^{TD}_{p}(p^{td}_{i},\hat{p}^{td}_{i})] \label{loss95td} \end{align}\tag{6}\] where \(L^{TD}_{p}\) is a focal loss, and \(\mathcal{L}^{TD}_{sub}\) and \(\mathcal{L}^{TD}_{obj}\) are identical and share the same loss weights with the object detector loss. For instance: \[\begin{align} \mathcal{L}^{TD}_{sub}(s^{td}_{i},\hat{s}^{td}_{i})=\lambda^{cls}\mathcal{L}^{cls}(s^{td}_{i,c}, \hat{s}^{td}_{i,c})+\lambda^{box}\mathcal{L}^{box}(s^{td}_{i,b}, \hat{s}^{td}_{i, b})+\lambda^{giou}\mathcal{L}^{giou}(s^{td}_{i,b}, \hat{s}^{td}_{i,b}) \label{loss95td95entity} \end{align}\tag{7}\] \(s^{td}_{i,c}, \hat{s}^{td}_{i,c}\) refer to the categories and \(s^{td}_{i,b}, \hat{s}^{td}_{i,b}\) indicate the boxes of corresponding subjects. Note that the TD-Qs may not be trained on all ground-truth triplets due to the selection process of EPS.

BU-Loss. BU-Qs are supervised following the standard query-based SGG method, where labels are assigned by applying Hungarian matching between detected triplets and ground-truth triplets in a one-to-one manner, as in [9]. However, in our approach, the predicate cost is excluded from the matching cost calculation, as its computational overhead outweighs its empirical benefit. Ultimately, given the labels for the detected triplets, the calculation of BU-loss, denoted as \(\mathcal{L}^{BU}\), is analogous to 6 and 7 .

3.5 Training and Inference↩︎

Training. In summary, the entire loss function of our method is: \[\begin{align} \mathcal{L}=\mathcal{L}^{e}+\mathcal{L}^{eps}+\mathcal{L}^{TD}+\mathcal{L}^{BU} \label{eq:overall32objective} \end{align}\tag{8}\] where \(\mathcal{L}^{TD}\) and \(\mathcal{L}^{BU}\) realize \(\sum_{(s,o)}( m_x \log S_{\theta}(\hat{r}_x \mid e_s, e_o, I) )\) and \(\log S_{\theta}(\hat{r}_x \mid I)\) in 2 , respectively. \(\mathcal{L}^{e}\) and \(\mathcal{L}^{eps}\) further ensure high-quality entity-pair proposals for TD-Qs initialization. Whilst the present work introduces additional loss terms in comparison to previous studies, all newly added losses are assigned a unit weight to isolate the influences from hyperparameter tuning.
Inference. In the inference stage, the predictions \(R^{td}\) and \(R^{bu}\) are concatenated to form the final prediction set \(R=\{r_{i}\}_{i=1}^{N_{td}+N_{bu}}\). In addition, Non-Maximum Suppression (NMS) is applied to serve as a practical implementation of the max operation in 1 for removing duplicate triplets, as in [9], [10], [16], [21], [32]. Ultimately, \(\operatorname{Top}K\) triplets are selected based on the triplet scores, which are calculated by multiplying the subject, object, and predicate scores together.

4 Experiments↩︎

4.1 Experimental Setup↩︎

This section contains the descriptions of datasets, evaluation metrics, and implementation details.

Datasets. The experiments are conducted on the following datasets:
Visual Genome (VG) [7] includes 57,723 training, 5,000 validation, and 26,446 test images. It defines 150 entity and 50 predicate categories.
Open Images V6 (OIv6) [36] consists of 126,368 training, 1,813 validation, and 5,322 test images. It features 601 entity and 30 predicate categories.
GQA-200 [37] contains 27,623 training, 5,000 validation, and 8,208 test images, comprising 200 entity and 100 predicate categories.

Evaluation Metrics. We evaluate our method on the scene graph detection (SGDet) task, following [8], [14], [16], [17], [32]. On VG and GQA-200, Recall@K (R@K), mean Recall@K (mR@K), and their harmonic mean F@K are reported under the graph constraint proposed by [14]. For OIv6, we report mR@50, micro-Recall@50 (micro-R@50), weighted mean AP of triplets (wmAPrel), weighted mean AP of phrases (wmAPphr), and a final score defined as \(\text{score}=0.2\times\text{micro-R@50}+0.4\times\text{wmAPrel}+0.4\times\text{wmAPphr}\).

Implementation Details. For all three datasets, we adopt the same training setup and hyperparameters. The training consists of two parts. First, we pre-train the object detector (Deformable-DETR [29]) with a ResNet50 [38] backbone and 200 entity queries (\(N_e\)). The loss weights \(\lambda^{cls}\), \(\lambda^{box}\), and \(\lambda^{giou}\) are 2, 5, and 2. Next, the EPS and triplet decoder are jointly trained while fine-tuning the pre-trained object detector. We set \(N_{td}=300\), \(N_{bu}=800\), and \(L=4\). We use AdamW [39] as an optimizer with an initial learning rate of \(10^{-4}\) and a weight decay of \(10^{-4}\). The batch size is 16 in total. This second part is trained for 25 epochs, with the learning rate reduced by a factor of 0.1 at epoch 20. All experiments run on a single NVIDIA RTX A6000 GPU.

4.2 Main Results↩︎

Table 2: Graph-Constraint results on the VG test set. Methods are grouped by backbone into X101-FPN [40] (top) and ResNet [38] (bottom). In each group, the best and second-best results are highlighted in bold and underline. \(✔\) denotes methods with debiasing strategies (Unbiased-SGG). LA indicates logit adjustment [41]
Unbiased Method #params(M) FPS R@50 R@100 mR@50 mR@100 F@50 F@100
Motifs [14][CVPR’18] 369.9 1.9 32.1 36.9 5.5 6.8 9.4 11.5
VCTree [42][CVPR’19] 361.5 0.8 31.8 36.1 6.6 7.7 10.9 12.7
\(✔\) BGNN [43][CVPR’21] 341.9 1.7 31.0 35.8 10.7 12.6 15.9 18.6
\(✔\) DT2-ACBS [44][ICCV’21] - - 15.0 16.3 22.0 24.4 17.8 19.5
\(✔\) IETrans [45][ECCV’22] 369.9 1.9 23.5 27.3 15.7 18.2 18.8 21.8
\(✔\) SHA [46][CVPR’22] - - 14.9 18.2 17.9 20.9 16.3 19.5
SSR-CNN [17][CVPR’22] 274.3 3.1 33.5 38.4 8.6 10.3 13.7 16.2
\(✔\) SSR-CNN+LA\(^{*}\) [17][CVPR’22] 274.3 3.1 23.7 27.3 18.6 22.5 20.8 24.7
PE-Net [15][CVPR’23] - - 32.4 36.9 8.9 11.0 14.0 16.9
DRM DKT [16][CVPR’24] - - 34.0 38.9 9.0 11.2 14.2 17.4
\(✔\) DRM [16][CVPR’24] - - 19.0 22.9 20.4 24.1 20.8 23.5
\(✔\) RA-SGG [47][AAAI’25] - - 26.0 30.3 14.4 17.1 18.5 21.9
\(✔\) SGTR [20][CVPR’22] 117.1 6.2 25.1 26.6 12.0 14.6 16.2 18.9
RelTR [10][TPAMI’22] 63.7 13.4 27.5 30.7 10.8 12.3 15.5 17.6
Relationformer [48][ECCV’22] 92.9 8.5 28.4 31.3 9.3 10.7 14.0 15.9
ISG [9][NIPS’22] 93.5 6.0 29.7 32.1 8.0 8.8 12.6 13.8
\(✔\) Mg-RMPN [32][ECCV’24] - - 29.1 33.5 14.4 17.3 19.3 22.8
EGTR [8][CVPR’24] 42.5 14.7 30.2 34.3 7.9 10.1 12.5 15.6
\(✔\) EGTR+LA [8][CVPR’24] 42.5 14.7 24.2 26.7 17.1 21.4 20.0 23.8
\(✔\) Hydra-SGG [18][ICLR’25] 67.6 5.3 28.4 33.1 16.0 19.7 20.5 24.7
\(✔\) Salience-SGG [33][WACV’26] 77.7 13.3 28.8 33.4 18.0 21.6 22.1 26.2
Dual-SGG (Ours) 84.7 14.0 33.5 38.5 10.3 12.3 15.8 18.6
\(✔\) Dual-SGG+LA \(\tau=0.2\) (Ours) 84.7 14.0 30.2 35.2 18.7 22.2 23.1 27.3
\(✔\) Dual-SGG+LA \(\tau=0.3\) (Ours) 84.7 14.0 25.3 30.0 22.2 25.2 23.6 27.4

.

Table 3: Graph-Constraint results on the GQA-200 test set.
Unbiased Method R@50 R@100 mR@50 mR@100 F@50 F@100
VTransE [49][CVPR’17] 27.2 30.7 5.8 6.6 9.6 10.9
Motifs [14][CVPR’18] 28.9 33.1 6.4 7.7 10.5 12.5
VCTree [42][CVPR’19] 28.3 31.9 6.5 7.4 10.6 12.0
\(✔\) SHA [46][CVPR’22] 14.8 17.9 17.8 20.1 16.2 18.9
\(✔\) DRM [16][CVPR’24] 18.6 21.7 18.9 21.0 18.7 21.3
\(✔\) Mg-RMPN [32][ECCV’24] 23.2 25.7 12.8 14.5 16.5 18.5
\(✔\) Hydra-SGG [18][ICLR’25] 22.8 26.5 12.7 15.9 16.3 19.9
\(✔\) Salience-SGG [33][WACV’26] 23.6 26.6 16.2 18.4 19.2 21.7
Dual-SGG (Ours) 29.4 33.3 9.1 10.4 13.9 15.8
\(✔\) Dual-SGG+LA \(\tau=0.2\) (Ours) 26.2 29.9 17.1 19.3 20.7 23.4
\(✔\) Dual-SGG+LA \(\tau=0.3\) (Ours) 22.0 25.7 19.0 21.1 20.4 23.2
Table 4: Results on the OIv6 test set.
Method mR@50 micro-R@50 wmAPrel wmAPphr score
BGNN [43][CVPR’21] 40.5 75.0 33.5 34.2 42.1
RU-Net [50][CVPR’22] - 76.9 35.4 34.9 43.5
SSR-CNN [17][CVPR’22] 42.8 76.7 41.5 43.6 49.4
PE-Net [15][CVPR’23] - 76.5 36.6 37.4 44.9
SQUAT [31][ICCV’23] - 75.8 34.9 35.9 43.5
DRM [16][CVPR’24] - 75.9 40.5 41.4 47.9
SGTR [20][CVPR’22] 42.6 59.9 37.0 38.7 42.3
RelTR [10][TPAMI’22] - 71.7 37.2 37.5 43.0
Mg-RMPN [32][ECCV’24] 45.5 77.8 35.5 36.4 43.6
Hydra-SGG [18][ICLR’25] - 76.1 42.8 44.3 50.1
Salience-SGG [33][WACV’26] 48.0 78.1 45.6 44.9 51.8
Dual-SGG (Ours) 48.0 79.6 46.0 46.5 52.9

We evaluate our method by comparing it with previous SGG models, including Motifs [14], SSR-CNN [17], PE-Net [15], DRM w/o DKT [16], RelTR [10], EGTR [8], and ISG [9]. To evaluate Dual-SGG on the long-tailed distribution problem, we apply logit adjustment (LA) [41] as a debiasing strategy. The result is compared with other Unbiased-SGG models, such as BGNN [43], SHA [46], IETrans [45], SSR-CNN+LA [17], DRM [16], EGTR+LA [8], and Salience-SGG [33]. Note: We further compare with VETO [51], SpeaQ [21], and HQSG [35] without graph constraints in the suppl. material.

VG Dataset. 2 presents the comparison results on the VG test set. Among SGG models with a ResNet [38] backbone, Dual-SGG achieves the best results, outperforming the second-best EGTR in all metrics. Despite being heavier, our model achieves a similar inference speed to EGTR (14.0 FPS vs 14.7 FPS), as EGTR employs an MLP performing on \(N_e^2\) detected entity pairs. RelTR exhibits close performance in mR@K and F@K to our method but has a significant lag in R@K of 6.0/7.8. Our method achieves comparable performance to DRM w/o DKT, which employs X101-FPN as the backbone. Specifically, the relative differences between Dual-SGG and DRM w/o DKT are -0.5/-0.4 in R@K, 1.3/1.1 in mR@K, and 1.6/1.2 in F@K. However, our Dual-SGG is much lighter and faster than DRM w/o DKT, as the X101-FPN backbone alone requires more parameters than our entire model. Regarding Unbiased-SGG, the debiasing strategy in Dual-SGG+LA leads to a relatively smaller degradation in R@K compared to SSR-CNN+LA and EGTR+LA. This is attributed to the improved exploration of subject-object instances by our Dual-SGG, which is less sensitive to predicate understanding. Consequently, our Dual-SGG+LA at \(\tau=0.3\) achieves state-of-the-art performance, attaining F@K of 23.6/27.4 and mR@K of 22.2/25.2 simultaneously.

GQA-200 Dataset. The results on the GQA-200 test dataset are shown in 3. Consistent with the observations for VG, Dual-SGG attains the best performance among SGG models, including VTransE, Motifs, and VCTree. Furthermore, compared with other Unbiased-SGG models, our Dual-SGG+LA at \(\tau = 0.3\) establishes new state-of-the-art results, achieving mR@K of 19.0/21.1 and F@K of 20.4/23.2 simultaneously.

OIv6 Dataset. 4 demonstrates the effectiveness of our method on the OIv6 dataset. Dual-SGG outperforms previous methods under all metrics.

4.3 Ablation Studies↩︎

In the ablation studies, all results are produced on the VG test dataset. The analysis of hyperparameters and efficiency is provided in the suppl. material.

Table 5: Ablation study on BU-Qs and TD-Qs. Baseline refers to the model shown in [fig:32Detector-based32SGG]. \(*\) indicates that the model employ Swin-B as backbone and \(N_{e}\) is set as 900.
Models R@50/100 mR@50/100 micro-R@50/100 micro-DR@50/100 micro-UDR@50/100
Baseline 31.6/36.0 9.1/11.2 30.2/34.8 46.7/53.8 0.2/0.3
Dual-SGG w/o BU-Qs 31.9/36.3 8.6/10.3 30.4/35.2 46.3/53.4 1.5/2.2
Dual-SGG w/o TD-Qs 31.3/34.7 10.0/11.6 30.0/33.7 44.1/49.0 4.5/5.9
Dual-SGG 33.5/38.5 10.3/12.3 31.8/36.9 47.3/54.3 3.7/5.2
Dual-SGG\(^{*}\) w/o BU-Qs 37.1/42.7 10.1/13.0 35.2/40.6 46.5/53.6 1.5/1.7
Dual-SGG\(^{*}\) w/o TD-Qs 35.3/38.5 11.3/13.0 33.6/37.2 43.4/47.6 4.4/6.1
Dual-SGG\(^{*}\) 38.8/44.6 11.7/14.8 36.3/42.5 47.2/54.9 3.8/5.7
Table 6: Ablation study on complementarity. The top part indicates the performances of specialized models. The bottom part shows the results from various fusion strategies.
Models R@50/100 mR@50/100 micro-R@50/100 micro-DR@50/100 micro-UDR@50/100
Dual-SGG w/o BU-Qs 31.7/36.1 8.4/9.9 30.4/34.9 46.3/53.1 1.5/1.8
Dual-SGG w/o TD-Qs 30.8/33.8 9.4/11.0 29.5/32.8 43.8/48.2 3.7/4.8
Max 31.7/36.3 9.0/11.2 28.9/34.1 43.1/50.3 3.2/4.7
Average 17.6/29.7 5.3/9.3 17.1/28.9 25.3/42.7 2.2/4.1
Normalization 32.2/37.3 9.6/11.8 30.7/36.0 45.8/53.2 3.3/4.9
Dual-SGG 33.5/38.5 10.3/12.3 31.8/36.9 47.3/54.3 3.7/5.2
Table 7: Ablation study on individual model components. MSA indicates the self-attention mask and \(cA^{bu}\) refers to the center-biased boxes in BU-Qs initialization.
\(S^{sp}\) \(S^{ct}\) \(MSA\) \(cA^{bu}\) R@50 R@100 mR@50 mR@100
\(✔\) \(\space\) \(✔\) \(✔\) 33.0 37.5 10.1 12.2
\(\space\) \(✔\) \(✔\) \(✔\) 31.5 36.5 9.5 11.6
\(✔\) \(✔\) \(\space\) \(✔\) 32.8 37.5 9.8 11.7
\(✔\) \(✔\) \(✔\) \(\space\) 32.9 37.8 9.7 12.0
\(✔\) \(✔\) \(✔\) \(✔\) 33.5 38.5 10.3 12.3

TD-Qs and BU-Qs Analysis. To analyze the effect of TD-Qs and BU-Qs, we compare the results of the Dual-SGG w/o TD-Qs, Dual-SGG w/o BU-Qs, and Dual-SGG. Note that when only a single group of triplet queries is employed, we extend the number of triplet queries to \(N_{td}+N_{bu}\) for fair comparison. In addition to R@K and mR@K, we also detail the micro-R@K, micro-UDR@K, and micro-DR@K, as introduced in 1, to provide a breakdown analysis from the perspective of detector-conditioned reachability. To this end, we report the performance of the detector-based model introduced in 1 (a) as the baseline. The sizes of the created Det-T and UDet-T on the VG test set are 98,103 and 54,123. The comparison is shown in 5 above. Dual-SGG w/o BU-Qs slightly improves SGG performance compared to the baseline by achieving a higher micro-UDR@K. Despite the TD-Qs being designed to approximate the detector-based reasoning mechanism, updating TD-Qs in the context of triplets provides the possibility to explore triplets involving instances that are semantically uncovered by the object detector. However, the micro-UDR@K is still lagging behind Dual-SGG w/o TD-Qs, as TD-Qs struggle to capture the triplets spatially outside the detector-conditioned reachability, as shown in 3. Consistent with 1, the great micro-UDR@K of Dual-SGG w/o TD-Qs comes at the cost of micro-DR@K, which leads to lower overall performance. Dual-SGG achieves the best overall performance and outperforms the baseline and Dual-SGG w/o BU-Qs by increasing micro-UDR@K while maintaining micro-DR@K. This comparison demonstrates the necessity of the co-existence of TD-Qs and BU-Qs under the same total triplet query budget.

Strong Detector Condition Case Analysis. The performance improvement of Dual-SGG over Dual-SGG w/o BU-Qs primarily arises from its enhanced results on UDet-T, which may be sensitive to the size of UDet-T. If a stronger object detector is employed, reducing UDet-T, the improvement of Dual-SGG may be negligible. To investigate the effect of Dual-SGG under stronger detector conditions, we conduct an additional experiment. Specifically, we train new Dual-SGG, Dual-SGG w/o BU-Qs, and Dual-SGG w/o TD-Qs based on a new object detector constructed by replacing the backbone of the default detector (Deformable DETR) with Swin-B [52], and the entity query (\(N_{e}\)) is set to 900. The results are shown in 5 below. Although UDet-T shrinks from 35% to 28% under a stronger detector condition, our Dual-SGG still remains effective.

Complementarity Analysis. In this section, we provide a detailed comparison to analyze 1) whether Dual-SGG can truly capture the complementary predictive behaviors of specialized detector-based and query-based models, and 2) whether the joint updating of TD-Qs and BU-Qs is necessary. Specifically, we independently train a Dual-SGG w/o TD-Qs and a Dual-SGG w/o BU-Qs as specialized models, setting the number of triplet queries as \(N_{bu}\) and \(N_{td}\). The performances of these models are reported in 6 above. Subsequently, \(\operatorname{Top}100\) predictions from each specialized model are taken to form a 200-candidate pool. We apply three post-hoc methods, including max, average, and normalization, as alternative fusion strategies that directly calibrate the 200 triplet scores and re-rank them, yielding 100 predictions for the evaluation. As shown in 6, our Dual-SGG outperforms both specialized models on all evaluation metrics, demonstrating that our Dual-SGG is attributable to the complementary predictions of the two specialized models. In addition, the comparison with other fusion strategies reflects the necessity of the joint updating of TD-Qs and BU-Qs.

Individual Components. 7 demonstrates the effect of other individual components in Dual-SGG, including the spatial and content scores in EPS \(S^{sp}\) and \(S^{ct}\), the self-attention mask in the triplet decoder, and the center-biased initialization of triplet anchors \(\{a^{bu}_{i}\}_{i=1}^{N_{bu}}\). The exclusion of \(S^{sp}\) or \(S^{ct}\) results in degradation, as they provide high-quality positive and negative samples, respectively. When the self-attention mask is removed, the decreased performance demonstrates that the dependency of \(R^{bu}\) on \(R^{td}\) leads to a negative effect on complementarity. The results in the last two rows illustrate that the center-biased initialization for \(\{a^{bu}_{i}\}_{i=1}^{N_{bu}}\) is important for achieving better performance. Note that when center-biased initialization is removed, the anchors of BU-Qs are initialized with uniformly distributed boxes over the image, which is widely adopted in DETR-style models.

4.4 Qualitative Results↩︎

Attention Visualization. We identify the \(\operatorname{Top}100\) triplets from each of \(R^{td}\) and \(R^{bu}\). The corresponding triplet queries are tracked across the decoder layers. For each layer, the cross-attention maps of the TD-Qs and BU-Qs are aggregated separately to produce heat maps. The heat maps indicate the focused regions of TD-Qs and BU-Qs for exploring triplets. As shown in 3, distinct exploration patterns are exhibited. Specifically, BU-Qs initially focus on the center of the image due to the center-biased initialization and gradually spread outwards. In contrast, TD-Qs consistently focus on the regions of the initial entity pairs. This figure illustrates that the BU-Qs can capture the triplets involving instances that are spatially unreachable for the TD-Qs due to the detector constraint.
Complementarity Visualization. 4 (a) and 4 (b) demonstrate the complementarity property of our Dual-SGG. The triplets missed by either Dual-SGG w/o TD-Qs or Dual-SGG w/o BU-Qs can be successfully predicted by Dual-SGG. 4 (c) illustrates that sometimes the complementarity of Dual-SGG cannot recover every detected ground-truth triplet from Dual-SGG w/o TD-Qs and Dual-SGG w/o BU-Qs. We aim to address this limitation in future work.

Figure 3: Attention visualization. Columns 2–5 and 6-end depict the attention distributions of BU-Qs and TD-Qs across the decoder layers (l_{i}), respectively.

a

b

c

Figure 4: Example visualization. For each image, the detected ground-truth triplets by Dual-SGG w/o TD-Qs (top), Dual-SGG w/o BU-Qs (middle), and Dual-SGG (bottom), are provided. Triplets highlighted in bold denote missed triplets by at least one of the other two models..

5 Conclusion↩︎

This study investigates the distinct predictive behaviors of detector-based and query-based SGG methods from the perspective of detector-conditioned reachability. The analysis reveals that detector-based methods effectively capture triplets that lie within their detector-conditioned reachability space, whereas query-based methods are capable of identifying triplets beyond this space. Based on these insights, a Dual-SGG method is introduced, achieving superior performance by amalgamating the strengths of the two reasoning mechanisms within a single framework. The end-to-end framework consolidates the distinct predictive behaviors without the need for multiple specialized models and complex fusing strategies.

Acknowledgements↩︎

Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy – EXC 2002/1 “Science of Intelligence” – project number 390523135. This work has been partially supported by the MIAI Cluster - project number ANR-23-IACL-0006, and by the Institute of Information & Communications Technology Planning & Evaluation (IITP) grant funded by the Korean Government (MSIT) (No. RS-2024-00457882, National AI Research Lab Project).

References↩︎

[1]
K. Nguyen, S. Tripathi, B. Du, T. Guha, and T. Q. Nguyen, “In defense of scene graphs for image captioning , booktitle = Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV),” 2021, pp. 1407–1416.
[2]
N. Xu, A.-A. Liu, J. Liu, W. Nie, and Y. Su, “Scene graph captioner: Image captioning based on structural visual representation,” Journal of Visual Communication and Image Representation, vol. 58, pp. 477–485, 2019.
[3]
J. Shi, H. Zhang, and booktitle=Proceedings. of the I. conference on computer vision and pattern recognition Li Juanzi, “Explainable and explicit visual reasoning over scene graphs,” 2019, pp. 8376–8384.
[4]
J. Johnson, A. Gupta, and booktitle=Proceedings. of the I. conference on computer vision and pattern recognition Fei-Fei Li, “Image generation from scene graphs,” 2018, pp. 1219–1228.
[5]
Y. Li, T. Ma, Y. Bai, N. Duan, S. Wei, and X. Wang, “Pastegan: A semi-parametric method to generate image from scene graph,” Advances in Neural Information Processing Systems, vol. 32, 2019.
[6]
N. Carion, F. Massa, G. Synnaeve, N. Usunier, A. Kirillov, and booktitle=European. conference on computer vision Zagoruyko Sergey, “End-to-end object detection with transformers,” 2020 , organization={Springer}, pp. 213–229.
[7]
R. Krishna et al., “Visual genome: Connecting language and vision using crowdsourced dense image annotations,” International journal of computer vision, vol. 123, no. 1, pp. 32–73, 2017.
[8]
J. Im, J. Nam, N. Park, H. Lee, and booktitle=Proceedings. of the I. conference on computer vision and pattern recognition Park Seunghyun, “Egtr: Extracting graph from transformer for scene graph generation,” 2024, pp. 24229–24238.
[9]
S. Khandelwal and L. Sigal, “Iterative scene graph generation,” Advances in Neural Information Processing Systems, vol. 35, pp. 24295–24308, 2022.
[10]
Y. Cong, M. Y. Yang, and B. Rosenhahn, “Reltr: Relation transformer for scene graph generation,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 45, no. 9, pp. 11169–11183, 2023.
[11]
Y.-T. Chen, J. Shi, Z. Ye, C. Mertz, D. Ramanan, and booktitle=European. C. on C. V. Kong Shu, “Multimodal object detection via probabilistic ensembling,” 2022 , organization={Springer}, pp. 139–158.
[12]
S. Ren, K. He, R. Girshick, and J. Sun, “Faster r-CNN: Towards real-time object detection with region proposal networks,” IEEE transactions on pattern analysis and machine intelligence, vol. 39, no. 6, pp. 1137–1149, 2016.
[13]
C. Lu, R. Krishna, M. Bernstein, and booktitle=European. conference on computer vision Fei-Fei Li, “Visual relationship detection with language priors,” 2016 , organization={Springer}, pp. 852–869.
[14]
R. Zellers, M. Yatskar, S. Thomson, and booktitle=Proceedings. of the I. conference on computer vision and pattern recognition Choi Yejin, “Neural motifs: Scene graph parsing with global context,” 2018, pp. 5831–5840.
[15]
C. Zheng, X. Lyu, L. Gao, B. Dai, and booktitle=Proceedings. of the I. C. on C. V. and P. R. Song Jingkuan, “Prototype-based embedding network for scene graph generation,” 2023, pp. 22783–22792.
[16]
J. Li, Y. Wang, X. Guo, R. Yang, and booktitle=Proceedings. of the I. C. on C. V. and P. R. Li Weixin, “Leveraging predicate and triplet learning for scene graph generation,” 2024, pp. 28369–28379.
[17]
Y. Teng and booktitle=Proceedings. of the I. C. on C. V. and P. R. Wang Limin, “Structured sparse r-cnn for direct scene graph generation,” 2022, pp. 19437–19446.
[18]
M. Chen, G. Chen, W. Wang, and Y. Yang, “Hydra-sgg: Hybrid relation assignment for one-stage scene graph generation,” arXiv preprint arXiv:2409.10262, 2024.
[19]
A. Vaswani et al., “Attention is all you need,” Advances in neural information processing systems, vol. 30, 2017.
[20]
R. Li, S. Zhang, and booktitle=proceedings. of the I. conference on computer vision and pattern recognition He Xuming, “Sgtr: End-to-end scene graph generation with transformer,” 2022, pp. 19486–19496.
[21]
J. Kim, J. Park, J. Park, J. Kim, S. Kim, and booktitle=Proceedings. of the I. conference on computer vision and pattern recognition Kim Hyunwoo J, “Groupwise query specialization and quality-aware multi-assignment for transformer-based visual relationship detection,” 2024, pp. 28160–28169.
[22]
H. W. Kuhn, “The hungarian method for the assignment problem,” Naval research logistics quarterly, vol. 2, no. 1–2, pp. 83–97, 1955.
[23]
D. Jia et al., “Detrs with hybrid matching,” 2023, pp. 19702–19712.
[24]
Q. Chen et al., “Group detr: Fast detr training with group-wise one-to-many assignment,” 2023, pp. 6633–6642.
[25]
C. Zhao et al., “Ms-detr: Efficient detr training with mixed supervision,” 2024, pp. 17027–17036.
[26]
C.-B. Zhang, Y. Zhong, and booktitle=Proceedings. of the C. V. and P. R. C. Han Kai, “Mr. Detr: Instructive multi-route training for detection transformers,” 2025, pp. 9933–9943.
[27]
F. Li, H. Zhang, S. Liu, J. Guo, L. M. Ni, and booktitle=Proceedings. of the I. conference on computer vision and pattern recognition Zhang Lei, “Dn-detr: Accelerate detr training by introducing query denoising,” 2022, pp. 13619–13627.
[28]
H. Zhang et al., “Dino: Detr with improved denoising anchor boxes for end-to-end object detection,” arXiv preprint arXiv:2203.03605, 2022.
[29]
X. Zhu, W. Su, L. Lu, B. Li, X. Wang, and J. Dai, “Deformable detr: Deformable transformers for end-to-end object detection,” arXiv preprint arXiv:2010.04159, 2020.
[30]
T.-Y. Lin, P. Goyal, R. Girshick, K. He, and booktitle=Proceedings. of the I. international conference on computer vision Dollár Piotr, “Focal loss for dense object detection,” 2017, pp. 2980–2988.
[31]
D. Jung, S. Kim, W. H. Kim, and booktitle=Proceedings. of the I. C. on C. V. and P. R. Cho Minsu, “Devil’s on the edges: Selective quad attention for scene graph generation,” 2023, pp. 18664–18674.
[32]
L. Wang, Z. Yuan, and booktitle=European. C. on C. V. Chen Badong, “Multi-granularity sparse relationship matrix prediction network for end-to-end scene graph generation,” 2024 , organization={Springer}, pp. 105–121.
[33]
R. Qu et al., “Salience-SGG: Enhancing unbiased scene graph generation with iterative salience estimation,” arXiv preprint arXiv:2601.08728, 2026.
[34]
S. Liu et al., “Dab-detr: Dynamic anchor boxes are better queries for detr,” arXiv preprint arXiv:2201.12329, 2022.
[35]
J. Fu, T. Zhang, K. Chen, and booktitle=Proceedings. of the C. V. and P. R. C. Dou Qi, “Hybrid reciprocal transformer with triplet feature alignment for scene graph generation,” 2025, pp. 8953–8963.
[36]
A. Kuznetsova et al., “The open images dataset v4: Unified image classification, object detection, and visual relationship detection at scale,” International journal of computer vision, vol. 128, pp. 1956–1981, 2020.
[37]
D. A. Hudson and booktitle=Proceedings. of the I. conference on computer vision and pattern recognition Manning Christopher D, “Gqa: A new dataset for real-world visual reasoning and compositional question answering,” 2019, pp. 6700–6709.
[38]
K. He, X. Zhang, S. Ren, and booktitle=European. conference on computer vision Sun Jian, “Identity mappings in deep residual networks,” 2016 , organization={Springer}, pp. 630–645.
[39]
I. Loshchilov and F. Hutter, “Decoupled weight decay regularization,” arXiv preprint arXiv:1711.05101, 2017.
[40]
T.-Y. Lin, P. Dollár, R. Girshick, K. He, B. Hariharan, and booktitle=Proceedings. of the I. conference on computer vision and pattern recognition Belongie Serge, “Feature pyramid networks for object detection,” 2017, pp. 2117–2125.
[41]
A. K. Menon, S. Jayasumana, A. S. Rawat, H. Jain, A. Veit, and S. Kumar, “Long-tail learning via logit adjustment,” arXiv preprint arXiv:2007.07314, 2020.
[42]
K. Tang, H. Zhang, B. Wu, W. Luo, and booktitle=Proceedings. of the I. conference on computer vision and pattern recognition Liu Wei, “Learning to compose dynamic tree structures for visual contexts,” 2019, pp. 6619–6628.
[43]
R. Li, S. Zhang, B. Wan, and booktitle=Proceedings. of the I. conference on computer vision and pattern recognition He Xuming, “Bipartite graph network with adaptive message passing for unbiased scene graph generation,” 2021, pp. 11109–11119.
[44]
A. Desai, T.-Y. Wu, S. Tripathi, and booktitle=Proceedings. of the I. I. C. on C. V. Vasconcelos Nuno, “Learning of visual relations: The devil is in the tails,” 2021, pp. 15404–15413.
[45]
A. Zhang et al., “Fine-grained scene graph generation with data transfer,” 2022 , organization={Springer}, pp. 409–424.
[46]
X. Dong, T. Gan, X. Song, J. Wu, Y. Cheng, and booktitle=Proceedings. of the I. C. on C. V. and P. R. Nie Liqiang, “Stacked hybrid-attention and group collaborative learning for unbiased scene graph generation,” 2022, pp. 19427–19436.
[47]
K. Yoon, K. Kim, J. Jeon, Y. In, D. Kim, and booktitle=Proceedings. of the A. C. on A. I. Park Chanyoung, “Ra-sgg: Retrieval-augmented scene graph generation framework via multi-prototype learning,” 2025, vol. 39, pp. 9562–9570.
[48]
S. Shit et al., “Relationformer: A unified framework for image-to-graph generation,” 2022 , organization={Springer}, pp. 422–439.
[49]
H. Zhang, Z. Kyaw, S.-F. Chang, and booktitle=Proceedings. of the I. conference on computer vision and pattern recognition Chua Tat-Seng, “Visual translation embedding network for visual relation detection,” 2017, pp. 5532–5540.
[50]
X. Lin, C. Ding, J. Zhang, Y. Zhan, and booktitle=Proceedings. of the I. C. on C. V. and P. R. Tao Dacheng, “Ru-net: Regularized unrolling network for scene graph generation,” 2022, pp. 19457–19466.
[51]
G. Sudhakaran, D. S. Dhami, K. Kersting, and booktitle=Proceedings. of the I. I. C. on C. V. Roth Stefan, “Vision relation transformer for unbiased scene graph generation,” 2023, pp. 21882–21893.
[52]
Z. Liu et al., “Swin transformer: Hierarchical vision transformer using shifted windows,” 2021, pp. 10012–10022.