Generalized Visual Relation Detection With Diffusion Models
Visual relation detection (VRD) aims to identify relationships (or interactions) between object pairs in an image. Although recent VRD models have achieved impressive performance, they are all restricted to pre-defined relation categories, while failing to consider the <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">semantic ambiguity</i> characteristic of visual relations. Unlike objects, the appearance of visual relations is always subtle and can be described by multiple predicate words from different perspectives, e.g., “ride” can be depicted as “race” and “sit on”, from the sports and spatial position views, respectively. To this end, we propose to model visual relations as continuous embeddings, and design diffusion models to achieve generalized VRD in a conditional generative manner, termed Diff-VRD. We model the diffusion process in a latent space and generate all possible relations in the image as an embedding sequence. During the generation, the visual and text embeddings of subject-object pairs serve as conditional signals and are injected via cross-attention. After the generation, we design a subsequent matching stage to assign the relation words to subject-object pairs by considering their semantic similarities. Benefiting from the diffusion-based generative process, our Diff-VRD is able to generate visual relations beyond the pre-defined category labels of datasets. To properly evaluate this generalized VRD task, we introduce two evaluation metrics, i.e., text-to-image retrieval and SPICE PR Curve inspired by image captioning. Extensive experiments in both human-object interaction (HOI) detection and scene graph generation (SGG) benchmarks attest to the superiority and effectiveness of Diff-VRD.
Authors
- Hanwang Zhang (ORCID: https://orcid.org/0000-0001-7374-8739)
- Siqi Chen (ORCID: https://orcid.org/0000-0002-0800-0713)
- Jun Xiao (ORCID: https://orcid.org/0000-0002-6142-9914)
- Qianru Sun (ORCID: https://orcid.org/0000-0003-2689-317X)
- Yueting Zhuang (ORCID: https://orcid.org/0000-0001-7361-3084)
- Kaifeng Gao (ORCID: https://orcid.org/0000-0003-2450-6551)
Institutions
- Zhejiang University of Science and Technology (CN)
- Nanyang Technological University (SG)
- Zhejiang University (CN)
- Singapore Management University (SG)
Publication Details
- Journal
- IEEE Transactions on Circuits and Systems for Video Technology
- Published
- 2025-07-14
- DOI
- https://doi.org/10.1109/tcsvt.2025.3588357
- Primary Topic
- Image Retrieval and Classification Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Fundamental Research Funds for the Central Universities