Proceedings

Detecting Out-Of-Context Objects Using Graph Contextual Reasoning Network

Video #1 Video #2 Download BibTeX Cite

Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence. Main Track. Pages 629-635.

https://doi.org/10.24963/ijcai.2022/89

Abstract

This paper presents an approach for detecting out-of-context (OOC) objects in images. Given an image with a set of objects, our goal is to determine if an object is inconsistent with the contextual relations and detect the OOC object with a bounding box. In this work, we consider common contextual relations such as co-occurrence relations, the relative size of an object with respect to other objects, and the position of the object in the scene. We posit that contextual cues are useful to determine object labels for in-context objects and inconsistent context cues are detrimental to determining object labels for out-of-context objects. To realize this hypothesis, we propose a graph contextual reasoning network (GCRN) to detect OOC objects. GCRN consists of two separate graphs to predict object labels based on the contextual cues in the image: 1) a representation graph to learn object features based on the neighboring objects and 2) a context graph to explicitly capture contextual cues from the neighboring objects. GCRN explicitly captures the contextual cues to improve the detection of in-context objects and identify objects that violate contextual relations.

In order to evaluate our approach, we create a large-scale dataset by adding OOC object instances to the COCO images. We also evaluate on recent OCD benchmark. Our results show that GCRN outperforms competitive baselines in detecting OOC objects and correctly detecting in-context objects. Code and data: https://nusci.csl.sri.com/project/trinity-ooc

  1. [Beery et al., 2018] Sara Beery, Grant Van Horn, and Pietro Perona. Recognition in terra incognita. In Proceedings of the European conference on computer vision (ECCV), pages 456-473, 2018.
  2. [Blum et al., 2021] Hermann Blum, Paul-Edouard Sarlin, Juan Ni- eto, Roland Siegwart, and Cesar Cadena. The fishyscapes bench- mark: Measuring blind spots in semantic segmentation. Interna- tional Journal of Computer Vision, pages 1-17, 2021.
  3. [Bomatter et al., 2021] Philipp Bomatter, Mengmi Zhang, Dimitar Karev, Spandan Madan, Claire Tseng, and Gabriel Kreiman. When pigs fly: Contextual reasoning in synthetic and natural scenes. arXiv preprint arXiv:2104.02215, 2021.
  4. [Choi et al., 2012] Myung Jin Choi, Antonio Torralba, and Alan S Willsky. Context models and out-of-context objects. Pattern Recognition Letters, 33(7):853-862, 2012.
  5. [Dai et al., 2016] Hanjun Dai, Bo Dai, and Le Song. Discrimina- tive embeddings of latent variable models for structured data. In International conference on machine learning, pages 2702-2711. PMLR, 2016.
  6. [Friston, 2018] Karl Friston. Does predictive coding have a future? Nature neuroscience, 21(8):1019-1021, 2018.
  7. [Hamilton et al., 2017] William L Hamilton, Rex Ying, and Jure Leskovec. Inductive representation learning on large graphs. In Proceedings of the 31st International Conference on Neural In- formation Processing Systems, pages 1025-1035, 2017.
  8. [He et al., 2016] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, pages 770-778, 2016.
  9. [He et al., 2017] Kaiming He, Georgia Gkioxari, Piotr Dollár, and Ross Girshick. Mask r-cnn. In CVPR, pages 2961-2969, 2017.
  10. [Jha et al., 2019] Susmit Jha, Sunny Raj, Steven Fernandes, Sumit K Jha, Somesh Jha, Brian Jalaian, Gunjan Verma, and Ananthram Swami. Attribution-based confidence metric for deep neural networks. Advances in Neural Information Processing Systems, 32, 2019.
  11. [Jha et al., 2020] Susmit Jha, John Rushby, and Natarajan Shankar. Model-centered assurance for autonomous systems. In Interna- tional Conference on Computer Safety, Reliability, and Security, pages 228-243. Springer, 2020.
  12. [Kipf and Welling, 2017] Thomas N Kipf and Max Welling. Semi- supervised classification with graph convolutional networks. In ICLR, 2017.
  13. [Koller and Friedman, 2009] Daphne Koller and Nir Friedman. Probabilistic graphical models: principles and techniques. MIT press, 2009.
  14. [Lafferty et al., 2001] John Lafferty, Andrew McCallum, and Fer- nando CN Pereira. Conditional random fields: Probabilistic mod- els for segmenting and labeling sequence data. In ICML, 2001.
  15. [Liang et al., 2018] Shiyu Liang, Yixuan Li, and Rayadurgam Srikant. Enhancing the reliability of out-of-distribution image detection in neural networks. In ICLR, 2018.
  16. [Lin et al., 2014] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft COCO: Common objects in con- text. In European conference on computer vision, pages 740-755. Springer, 2014.
  17. [Madras and Zemel, 2021] David Madras and Richard Zemel. Identifying and benchmarking natural out-of-context prediction problems. In NeuRIPS, 2021.
  18. [Oliva and Torralba, 2007] Aude Oliva and Antonio Torralba. The role of context in object recognition. Trends in cognitive sciences, 11(12):520-527, 2007.
  19. [Puig et al., 2018] Xavier Puig, Kevin Ra, Marko Boben, Jiaman Li, Tingwu Wang, Sanja Fidler, and Antonio Torralba. Virtual- home: Simulating household activities via programs. In Proceed- ings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 8494-8502, 2018.
  20. [Qu et al., 2019] Meng Qu, Yoshua Bengio, and Jian Tang. Gmnn: Graph markov neural networks. In International conference on machine learning, pages 5241-5250. PMLR, 2019.
  21. [Richardson and Domingos, 2006] Matthew Richardson and Pedro Domingos. Markov logic networks. Machine learning, 62(1- 2):107-136, 2006.
  22. [Rosenfeld et al., 2018] Amir Rosenfeld, Richard Zemel, and John K Tsotsos. The elephant in the room. arXiv preprint arXiv:1808.03305, 2018.
  23. [Roy et al., 2022] Anirban Roy, Adam Cobb, Nathaniel D. Bastian, Brian Jalaian, and Susmit Jha. Runtime monitoring of deep neu- ral networks using top-down context models inspired by predic- tive processing and dual process theory. In AAAI Spring Sympo- sium Designing Artificial Intelligence for Open Worlds, 2022.
  24. [Sun and Jacobs, 2017] Jin Sun and David W Jacobs. Seeing what is not there: Learning context to determine where objects are missing. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5716-5724, 2017.
  25. [Velickovic et al., 2019] Petar Velickovic, William Fedus, William L Hamilton, Pietro Liò, Yoshua Bengio, and R Devon Hjelm. Deep graph infomax. ICLR (Poster), 2(3):4, 2019.
  26. [Wang et al., 2019] Minjie Wang, Lingfan Yu, Da Zheng, Quan Gan, Yu Gai, Zihao Ye, Mufei Li, Jinjing Zhou, Qi Huang, Chao Ma, et al. Deep graph library: Towards efficient and scalable deep learning on graphs. arXiv preprint arXiv:1909.01315, 2019.
  27. [Yuille and Kersten, 2006] Alan Yuille and Daniel Kersten. Vision as bayesian inference: analysis by synthesis? Trends in cognitive sciences, 10(7):301-308, 2006.
  28. [Zhang and Chen, 2012] Yimeng Zhang and Tsuhan Chen. Effi- cient inference for fully-connected crfs with stationarity. In 2012 IEEE Conference on Computer Vision and Pattern Recognition, pages 582-589. IEEE, 2012.
  29. [Zhang et al., 2020] Mengmi Zhang, Claire Tseng, and Gabriel Kreiman. Putting visual object recognition in context. In Pro- ceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 12985-12994, 2020.

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

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