Proceedings

CogTree: Cognition Tree Loss for Unbiased Scene Graph Generation

Download BibTeX Cite

Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence. Main Track. Pages 1274-1280.

https://doi.org/10.24963/ijcai.2021/176

© 2021 International Joint Conferences on Artificial Intelligence

Abstract

Scene graphs are semantic abstraction of images that encourage visual understanding and reasoning. However, the performance of Scene Graph Generation (SGG) is unsatisfactory when faced with biased data in real-world scenarios. Conventional debiasing research mainly studies from the view of balancing data distribution or learning unbiased models and representations, ignoring the correlations among the biased classes. In this work, we analyze this problem from a novel cognition perspective: automatically building a hierarchical cognitive structure from the biased predictions and navigating that hierarchy to locate the relationships, making the tail relationships receive more attention in a coarse-to-fine mode. To this end, we propose a novel debiasing Cognition Tree (CogTree) loss for unbiased SGG. We first build a cognitive structure CogTree to organize the relationships based on the prediction of a biased SGG model. The CogTree distinguishes remarkably different relationships at first and then focuses on a small portion of easily confused ones. Then, we propose a debiasing loss specially for this cognitive structure, which supports coarse-to-fine distinction for the correct relationships. The loss is model-agnostic and consistently boosting the performance of several state-of-the-art models. The code is available at: https://github.com/CYVincent/Scene-Graph-Transformer-CogTree.

  1. Predicate Classification Scene Graph Classification Scene Graph Detection Model mR@20 / 50 / 100 R@20 / 50 / 100 mR@20 / 50 / 100 R@20 / 50 / 100 mR@20 / 50 / 100 R@20 / 50 / 100 IMP+ -/ 9.8 / 10.5 52.7 / 59.3 / 61.3 -/ 5.8 / 6.0 31.7 / 34.6 / 35.4 -/ 3.8 / 4.8 14.6 / 20.7 / 24.5 FREQ 8.3 / 13.0 / 16.0 53.6 / 60.6 / 62.2 5.1 / 7.2 / 8.5 29.3 / 32.3 / 32.9 4.5 / 6.1 / 7.1 20.1 / 26.2 / 30.1 KERN -/ 17.7 / 19.2 -/ 65.8 / 67.6 -/ 9.4 / 10.0 -/ 36.7 / 37.4 -/ 6.4 / 7.3 -/ 27.1 / 29.8 MOTIFS 10.8 / 14.0 / 15.3 58.5 / 65.2 / 67.1 6.3 / 7.7 / 8.2 32.9 / 35.8 / 36.5 4.2 / 5.7 / 6.6 21.4 / 27.2 / 30.3 VCTree 14.0 / 17.9 / 19.4 60.1 / 66.4 / 68.1 8.2 / 10.1 / 10.8 35.2 / 38.1 / 38.8 5.2 / 6.9 / 8.0 22.0 / 27.9 / 31.3 MOTIFS* 11.5 / 14.6 / 15.8 59.5 / 66.0 / 67.9 6.5 / 8.0 / 8.5 35.8 / 39.1 / 39.9 4.1 / 5.5 / 6.8 25.1 / 32.1 / 36.9 MOTIFS + Focal 10.9 / 13.9 / 15.0 59.2 / 65.8 / 67.7 6.3 / 7.7 / 8.3 36.0 / 39.3 / 40.1 3.9 / 5.3 / 6.6 24.7 / 31.7 / 36.7 MOTIFS + Reweight 16.0 / 20.0 / 21.9 45.4 / 57.0 / 61.7 8.4 / 10.1 / 10.9 24.2 / 29.5 / 31.5 6.5 / 8.4 / 9.8 18.3 / 24.4 / 29.3 MOTIFS + Resample 14.7 / 18.5 / 20.0 57.6 / 64.6 / 66.7 9.1 / 11.0 / 11.8 34.5 / 37.9 / 38.8 5.9 / 8.2 / 9.7 23.2 / 30.5 / 35.4 MOTIFS + TDE 18.5 / 25.5 / 29.1 33.6 / 46.2 / 51.4 9.8 / 13.1 / 14.9 21.7 / 27.7 / 29.9 5.8 / 8.2 / 9.8 12.4 / 16.9 / 20.3 MOTIFS + CogTree 20.9 / 26.4 / 29.0 31.1 / 35.6 / 36.8 12.1 / 14.9 / 16.1 19.4 / 21.6 / 22.2 7.9 / 10.4 / 11.8 15.7 / 20.0 / 22.1 VCTree* 11.7 / 14.9 / 16.1 59.8 / 66.2 / 68.1 6.2 / 7.5 / 7.9 37.0 / 40.5 / 41.4 4.2 / 5.7 / 6.9 24.7 / 31.5 / 36.2 VCTree + TDE 18.4 / 25.4 / 28.7 36.2 / 47.2 / 51.6 8.9 / 12.2 / 14.0 19.9 / 25.4 / 27.9 6.9 / 9.3 / 11.1 14.0 / 19.4 / 23.2 VCTree + CogTree 22.0 / 27.6 / 29.7 39.0 / 44.0 / 45.4 15.4 / 18.8 / 19.9 27.8 / 30.9 / 31.7 7.8 / 10.4 / 12.1 14.0 / 18.2 / 20.4 SG-Transformer 14.8 / 19.2 / 20.5 58.5 / 65.0 / 66.7 8.9 / 11.6 / 12.6 35.6 / 38.9 / 39.8 5.6 / 7.7 / 9.0 24.0 / 30.3 / 33.3 SG-Transformer + CogTree 22.9 / 28.4 / 31.0 34.1 / 38.4 / 39.7 13.0 / 15.7 / 16.7 20.8 / 22.9 / 23.4 7.9 / 11.1 / 12.7 15.1 / 19.5 / 21.7
  2. [Burnaev et al., 2015] Evgeny Burnaev, Pavel Erofeev, and Artem Papanov. Influence of resampling on accuracy of imbalanced classification. In ICMV, pages 987521- 987521, 2015.
  3. [Cadene et al., 2019] Remi Cadene, Corentin Dancette, Hedi Ben younes, Matthieu Cord, and Devi Parikh. Rubi: re- ducing unimodal biases for visual question answering. In NeurIPS, pages 841-852, 2019.
  4. [Chen et al., 2019a] Long Chen, Hanwang Zhang, Jun Xiao, Xiangnan He, Shiliang Pu, and Shih-Fu Chang. Counter- factual critic multi-agent training for scene graph genera- tion. In ICCV, pages 4613-4623, 2019.
  5. [Chen et al., 2019b] Tianshui Chen, Weihao Yu, Riquan Chen, and Liang Lin. Knowledge-embedded routing net- work for scene graph generation. In CVPR, pages 6163- 6171, 2019.
  6. [Cui et al., 2019] Yin Cui, Menglin Jia, Tsung-Yi Lin, Yang Song, and Serge Belongie. Class-balanced loss based on effective number of samples. In CVPR, pages 9268-9277, 2019.
  7. [Hudson and Manning, 2019] Drew Hudson and Christo- pher D Manning. Learning by abstraction: the neural state machine. In NeurIPS, pages 5903-5916, 2019.
  8. [Jiang et al., 2020] Xiaoze Jiang, Jing Yu, Zengchang Qin, Yingying Zhuang, Xingxing Zhang, Yue Hu, and Qi Wu. Dualvd: an adaptive dual encoding model for deep visual understanding in visual dialogue. In AAAI, pages 11125- 11132, 2020.
  9. [Krishna et al., 2017] Ranjay Krishna, Yuke Zhu, Oliver Groth, Justin Johnson, Kenji Hata, Joshua Kravitz, Stephanie Chen, Yannis Kalantidis, Li-Jia Li, David A Shamma, Michael S. Bernstein, and Li Fei-Fei. Visual genome: connecting language and vision using crowd- sourced dense image annotations. IJCV, 123:32-73, 2017.
  10. [Li and Vasconcelos, 2019] Yi Li and Nuno Vasconcelos. Repair: removing representation bias by dataset resam- pling. In CVPR, pages 9572-9581, 2019.
  11. [Liang et al., 2019] Yuanzhi Liang, Yalong Bai, Wei Zhang, Xueming Qian, Li Zhu, and Tao Mei. Vrr-vg: refocus- ing visually-relevant relationships. In ICCV, pages 10403- 10412, 2019.
  12. [Lin et al., 2017a] Tsung-Yi Lin, Piotr Dollar, Ross Gir- shick, Kaiming He, Bharath Hariharan, and Serge Be- longie. Feature pyramid networks for object detection. In CVPR, pages 2117-2125, July 2017.
  13. [Lin et al., 2017b] Tsung-Yi Lin, Priya Goyal, Ross Gir- shick, Kaiming He, and Piotr Dollár. Focal loss for dense object detection. In ICCV, pages 2980-2988, 2017.
  14. [Lu et al., 2016] Cewu Lu, Ranjay Krishna, Michael Bern- stein, and Li Fei-Fei. Visual relationship detection with language priors. In ECCV, pages 852-869, 2016.
  15. [Norcliffe-Brown et al., 2018] Will Norcliffe-Brown, Stathis Vafeias, and Sarah Parisot. Learning conditioned graph structures for interpretable visual question answering. In NeurIPS, pages 8334-8343, 2018.
  16. [Pennington et al., 2014] Jeffrey Pennington, Richard Socher, and Christopher D Manning. Glove: Global vectors for word representation. In EMNLP, pages 1532-1543, 2014.
  17. [Ren et al., 2015] Shaoqing Ren, Kaiming He, Ross Gir- shick, and Jian Sun. Faster r-cnn: towards real-time ob- ject detection with region proposal networks. In NeurIPS, pages 91-99, 2015.
  18. [Sarafyazd and Jazayeri, 2019] Morteza Sarafyazd and Mehrdad Jazayeri. Hierarchical reasoning by neural cir- cuits in the frontal cortex. Science, 364(6441):eaav8911, 2019.
  19. [Shi et al., 2019] Jiaxin Shi, Hanwang Zhang, and Juanzi Li. Explainable and explicit visual reasoning over scene graphs. In CVPR, pages 8376-8384, 2019.
  20. [Simon, 1990] Herbert A Simon. Bounded rationality. In Utility and probability, pages 15-18. Springer, 1990.
  21. [Tang et al., 2019] Kaihua Tang, Hanwang Zhang, Baoyuan Wu, Wenhan Luo, and Wei Liu. Learning to compose dy- namic tree structures for visual contexts. In CVPR, pages 6619-6628, 2019.
  22. [Tang et al., 2020] Kaihua Tang, Yulei Niu, Jianqiang Huang, Jiaxin Shi, and Hanwang Zhang. Unbiased scene graph generation from biased training. In CVPR, pages 3716-3725, 2020.
  23. [Vaswani et al., 2017] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NeurIPS, pages 5998-6008, 2017.
  24. [Xu et al., 2017] Danfei Xu, Yuke Zhu, Christopher B Choy, and Li Fei-Fei. Scene graph generation by iterative mes- sage passing. In CVPR, pages 5410-5419, 2017.
  25. [Zareian et al., 2020] Alireza Zareian, Svebor Karaman, and Shih-Fu Chang. Bridging knowledge graphs to generate scene graphs. In ECCV, pages 606-623, 2020.
  26. [Zellers et al., 2018] Rowan Zellers, Mark Yatskar, Sam Thomson, and Yejin Choi. Neural motifs: scene graph parsing with global context. In CVPR, pages 5831-5840, 2018.
  27. [Zhang et al., 2017] Ji Zhang, Mohamed Elhoseiny, Scott Cohen, Walter Chang, and Ahmed Elgammal. Relation- ship proposal networks. In CVPR, pages 5678-5686, 2017.
  28. [Zhang et al., 2019] Ji Zhang, Kevin J. Shih, Ahmed Elgam- mal, Andrew Tao, and Bryan Catanzaro. Graphical con- trastive losses for scene graph parsing. In CVPR, pages 11535-11543, 2019.
  29. [Zhu et al., 2020] Zihao Zhu, Jing Yu, Yujing Wang, Yajing Sun, Yue Hu, and Qi Wu. Mucko: multi-layer cross- modal knowledge reasoning for fact-based visual question answering. In IJCAI, pages 1097-1103, 2020.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards