{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/gps-net-graph-property-sensing-network-for","title":"GPS-Net: Graph Property Sensing Network for Scene Graph Generation","arxiv_id":"2003.12962","date":"2020-03-29","proceeding":"CVPR 2020 6","authors":["Xin Lin","Changxing Ding","Jinquan Zeng","DaCheng Tao"],"abstract":"Scene graph generation (SGG) aims to detect objects in an image along with their pairwise relationships. There are three key properties of scene graph that have been underexplored in recent works: namely, the edge direction information, the difference in priority between nodes, and the long-tailed distribution of relationships. Accordingly, in this paper, we propose a Graph Property Sensing Network (GPS-Net) that fully explores these three properties for SGG. First, we propose a novel message passing module that augments the node feature with node-specific contextual information and encodes the edge direction information via a tri-linear model. Second, we introduce a node priority sensitive loss to reflect the difference in priority between nodes during training. This is achieved by designing a mapping function that adjusts the focusing parameter in the focal loss. Third, since the frequency of relationships is affected by the long-tailed distribution problem, we mitigate this issue by first softening the distribution and then enabling it to be adjusted for each subject-object pair according to their visual appearance. Systematic experiments demonstrate the effectiveness of the proposed techniques. Moreover, GPS-Net achieves state-of-the-art performance on three popular databases: VG, OI, and VRD by significant gains under various settings and metrics. The code and models are available at \\url{https://github.com/taksau/GPS-Net}.","url_abs":"https://arxiv.org/abs/2003.12962v1","url_pdf":"https://arxiv.org/pdf/2003.12962v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"gps-net-graph-property-sensing-network-for","repo_url":"https://github.com/taksau/GPS-Net","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"graph-generation","task_name":"Graph Generation"},{"task_slug":"scene-graph-generation","task_name":"Scene Graph Generation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/scene-graph-generation-on-visual-genome","task":"Scene Graph Generation","dataset":"Visual Genome","model":"GPS-Net","rank_in_archive_order":5,"of":19,"metrics":{"Recall@50":"28.9"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2003.12962","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2003.12962"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/taksau/GPS-Net","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":2,"unverified":6},"by_repo_kind":{"official":{"samples":8,"ran":2,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"a1e587129dd2dfaf","entry":"get_ranking","repo":"taksau/GPS-Net","repo_kind":"official","path":"lib/pytorch_misc.py","file_url":"https://github.com/taksau/GPS-Net/blob/HEAD/lib/pytorch_misc.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a1e587129dd2dfaf"}},{"code_sha256_prefix":"fef49730c9e9a2b8","entry":"pairwise","repo":"taksau/GPS-Net","repo_kind":"official","path":"lib/pytorch_misc.py","file_url":"https://github.com/taksau/GPS-Net/blob/HEAD/lib/pytorch_misc.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fef49730c9e9a2b8"}},{"code_sha256_prefix":"e3ba7c0c024ad75d","entry":"get_ap","repo":"taksau/GPS-Net","repo_kind":"official","path":"gpsnet-detectron/lib/datasets_rel/ap_eval_rel.py","file_url":"https://github.com/taksau/GPS-Net/blob/HEAD/gpsnet-detectron/lib/datasets_rel/ap_eval_rel.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e3ba7c0c024ad75d"}},{"code_sha256_prefix":"da2ae147332ee568","entry":"load_info","repo":"taksau/GPS-Net","repo_kind":"official","path":"lib/dataloaders/visual_genome.py","file_url":"https://github.com/taksau/GPS-Net/blob/HEAD/lib/dataloaders/visual_genome.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"da2ae147332ee568"}},{"code_sha256_prefix":"9bd7267a7be37916","entry":"mc_matmul","repo":"taksau/GPS-Net","repo_kind":"official","path":"lib/direction_aware_context.py","file_url":"https://github.com/taksau/GPS-Net/blob/HEAD/lib/direction_aware_context.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9bd7267a7be37916"}},{"code_sha256_prefix":"ea27b0d3cafa05fe","entry":"node_priority_sensitive_loss","repo":"taksau/GPS-Net","repo_kind":"official","path":"lib/nps_loss.py","file_url":"https://github.com/taksau/GPS-Net/blob/HEAD/lib/nps_loss.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ea27b0d3cafa05fe"}},{"code_sha256_prefix":"6d0daf87a6ec7e39","entry":"optimistic_restore","repo":"taksau/GPS-Net","repo_kind":"official","path":"lib/pytorch_misc.py","file_url":"https://github.com/taksau/GPS-Net/blob/HEAD/lib/pytorch_misc.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6d0daf87a6ec7e39"}},{"code_sha256_prefix":"5097daf8530eeaa5","entry":"random_crop","repo":"taksau/GPS-Net","repo_kind":"official","path":"lib/dataloaders/image_transforms.py","file_url":"https://github.com/taksau/GPS-Net/blob/HEAD/lib/dataloaders/image_transforms.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5097daf8530eeaa5"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}