atlas

Research map / Detection and segmentation / CNN features

EGTR: Extracting Graph from Transformer for Scene Graph Generation

CVPR 2024 · Detection and segmentation › CNN features · approach: Efficient DETR query design · 64 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes EGTR, a lightweight one-stage scene graph generator that extracts relations from DETR decoder self-attention by-products, trained with adaptive relation smoothing and a connectivity prediction auxiliary task.

Problem

One-stage scene graph generation (SGG) is complex and ignores the inherent object-query relationships already learned in the multi-head self-attention of DETR-style object detectors, while triplet-based models miss objects without relations.

Approach

Treat attention queries and keys from all decoder self-attention layers (plus final hidden states) as subject and object representations, pairwise-concatenate them, gate-sum across layers, and predict predicates with a shallow MLP. Adaptive relation smoothing scales GT relation labels by detection quality, giving a curriculum from detection to multi-task learning, and a connectivity head filters p

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add attention query/key representations alongside final hidden states (ablation)EGTR · Visual GenomeR@50: 29.9 -> 30.2Helped
Add attention query/key representations alongside final hidden states (ablation)EGTR · Visual GenomemR@50: 7.6 -> 7.9Helped
Use hidden states instead of attention query/key representations across layers (ablation)EGTR · Visual GenomeR@50: 30.2 -> 29.6Hurt
Use hidden states instead of attention query/key representations across layers (ablation)EGTR · Visual GenomemR@50: 7.9 -> 7.4Hurt
Add adaptive smoothing (ablation)EGTR · Visual GenomeR@50: 26.6 -> 28.3Helped
Add adaptive smoothing (ablation)EGTR · Visual GenomemR@50: 5.3 -> 6.5Helped
Add connectivity prediction (ablation)EGTR · Visual GenomeR@50: 26.6 -> 29.6Helped
Add connectivity prediction (ablation)EGTR · Visual GenomemR@50: 5.3 -> 7.0Helped
Add negative and non-matching sampling (ablation)EGTR · Visual GenomeR@50: 26.6 -> 28.9Helped
Add negative and non-matching sampling (ablation)EGTR · Visual GenomemR@50: 5.3 -> 7.1Helped
Add hard negative sampling (ablation)EGTR · Visual GenomeR@50: 29.6 -> 30.2Helped
Add hard negative sampling (ablation)EGTR · Visual GenomemR@50: 7.7 -> 7.9Helped

Surprising findings

Limitations

Experimental setup

Datasets: Visual Genome Open Images V6

Benchmarks: Visual Genome Open Images V6

Metrics: R@20 R@50 R@100 mR@20 mR@50 mR@100 AP50 FPS micro-R@50 wmAP

Baselines: RelTR SGTR Relationformer Iterative SGG SSR-CNN IMP VCTree GPS-Net BGNN FCSGG Motifs

Builds on: DETR Deformable DETR Motifs SSR-CNN logit adjustment Graph-RCNN

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy