# Composite Relationship Fields with Transformers for Scene Graph Generation

- Authors: George Adaimi, David Mizrahi, Alexandre Alahi
- Year: 2023
- Type: Conference paper
- Venue: IEEE/CVF Winter Conference on Applications of Computer Vision (WACV 2023)
- Research area: Perception (VITA lab, EPFL)
- DOI: https://doi.org/10.1109/WACV56688.2023.00014
- Lab project: https://vita.epfl.ch/research/perception/pifpaf/
- EPFL Infoscience: https://infoscience.epfl.ch/handle/20.500.14299/191701
- Web page: https://vita.epfl.ch/papers/composite-relationship-fields-with-transformers-for-scene-graph/



## Abstract

Scene graph generation (SGG) methods extract relationships between objects. While most methods focus on improving top-down approaches, which build a scene graph based on detected objects from an off-the-shelf object detector, there is a limited amount of work on bottom-up approaches, which jointly detect objects and their relationships in a single stage. In this work, we present a novel bottom-up SGG approach by representing relationships using Composite Relationship Fields (CoRF). CoRF turns relationship detection into a dense regression and classification task, where each cell of the output feature map identifies surrounding objects and their relationships. Furthermore, we propose a refinement head that leverages Transformers for global scene reasoning, resulting in more meaningful relationship predictions. By combining both contributions, our method outperforms previous bottom-up methods on the Visual Genome dataset by 26% while preserving real-time performance.

## Keywords

Scene Graph Generation, Scene Understanding, Visual Relationship Detection, Object Detection, Computer Vision

## Related VITA papers

- [Visual Scene Understanding for Transportation: From Detecting Objects To Relationships](https://vita.epfl.ch/papers/visual-scene-understanding-for-transportation-from-detecting.md) (2022)
- [Perceiving Traffic from Aerial Images](https://vita.epfl.ch/papers/perceiving-traffic-from-aerial-images.md) (2020)
- [Traffic perception from aerial images using butterfly fields](https://vita.epfl.ch/papers/traffic-perception-from-aerial-images-using-butterfly-fields.md) (2023)
- [PifPaf: Composite Fields for Human Pose Estimation](https://vita.epfl.ch/papers/pifpaf-composite-fields-for-human-pose-estimation.md) (2019)
- [OpenPifPaf: Composite Fields for Semantic Keypoint Detection and Spatio-Temporal Association](https://vita.epfl.ch/papers/openpifpaf-composite-fields-for-semantic-keypoint-detection-and.md) (2022)
- [A Master-Slave Approach for Object Detection and Matching with Fixed and Mobile Cameras](https://vita.epfl.ch/papers/a-master-slave-approach-for-object-detection-and-matching-with.md) (2008)

## BibTeX

```bibtex
@inproceedings{adaimi2023composite,
  title = {{Composite Relationship Fields with Transformers for Scene Graph Generation}},
  author = {Adaimi, George and Mizrahi, David and Alahi, Alexandre},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision (WACV 2023)},
  year = {2023},
  pages = {52--64},
  doi = {10.1109/WACV56688.2023.00014},
  url = {https://doi.org/10.1109/WACV56688.2023.00014}
}
```
