UniQ: Unified Decoder with Task-specific Queries for Efficient Scene Graph Generation
Xinyao Liao, Wei Wei, Dangyang Chen, Yuanyuan Fu
TL;DR
This paper tackles scene graph generation by addressing weak entanglement in one-stage methods. It introduces UniQ, a unified transformer decoder that takes task-specific queries for subjects, objects, and predicates, enabling decoupled feature extraction while enabling triplet-wide coupling via a triplet self-attention mechanism. Key innovations include relation-aware task-specific queries, triplet-coupled self-attention, and decoupled parallel decoding, combined with end-to-end training and one-to-many assignment to boost positives and learning efficiency. Empirical results on Visual Genome VG150 demonstrate that UniQ achieves superior performance with fewer parameters than prior one- and two-stage methods, and ablations validate the effectiveness of each component and the transferability of the STS paradigm.
Abstract
Scene Graph Generation(SGG) is a scene understanding task that aims at identifying object entities and reasoning their relationships within a given image. In contrast to prevailing two-stage methods based on a large object detector (e.g., Faster R-CNN), one-stage methods integrate a fixed-size set of learnable queries to jointly reason relational triplets <subject, predicate, object>. This paradigm demonstrates robust performance with significantly reduced parameters and computational overhead. However, the challenge in one-stage methods stems from the issue of weak entanglement, wherein entities involved in relationships require both coupled features shared within triplets and decoupled visual features. Previous methods either adopt a single decoder for coupled triplet feature modeling or multiple decoders for separate visual feature extraction but fail to consider both. In this paper, we introduce UniQ, a Unified decoder with task-specific Queries architecture, where task-specific queries generate decoupled visual features for subjects, objects, and predicates respectively, and unified decoder enables coupled feature modeling within relational triplets. Experimental results on the Visual Genome dataset demonstrate that UniQ has superior performance to both one-stage and two-stage methods.
