{"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/highlighting-object-category-immunity-for-the","title":"Highlighting Object Category Immunity for the Generalization of Human-Object Interaction Detection","arxiv_id":"2202.09492","date":"2022-02-19","proceeding":null,"authors":["Xinpeng Liu","Yong-Lu Li","Cewu Lu"],"abstract":"Human-Object Interaction (HOI) detection plays a core role in activity understanding. As a compositional learning problem (human-verb-object), studying its generalization matters. However, widely-used metric mean average precision (mAP) fails to model the compositional generalization well. Thus, we propose a novel metric, mPD (mean Performance Degradation), as a complementary of mAP to evaluate the performance gap among compositions of different objects and the same verb. Surprisingly, mPD reveals that previous methods usually generalize poorly. With mPD as a cue, we propose Object Category (OC) Immunity to boost HOI generalization. The idea is to prevent model from learning spurious object-verb correlations as a short-cut to over-fit the train set. To achieve OC-immunity, we propose an OC-immune network that decouples the inputs from OC, extracts OC-immune representations, and leverages uncertainty quantification to generalize to unseen objects. In both conventional and zero-shot experiments, our method achieves decent improvements. To fully evaluate the generalization, we design a new and more difficult benchmark, on which we present significant advantage. The code is available at https://github.com/Foruck/OC-Immunity.","url_abs":"https://arxiv.org/abs/2202.09492v1","url_pdf":"https://arxiv.org/pdf/2202.09492v1.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":"highlighting-object-category-immunity-for-the","repo_url":"https://github.com/foruck/oc-immunity","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"human-object-interaction-detection","task_name":"Human-Object Interaction Detection"},{"task_slug":"object","task_name":"Object"},{"task_slug":"uncertainty-quantification","task_name":"Uncertainty Quantification"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2202.09492","atlas_url":"https://app.syntology.ai/?focus=2202.09492","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2202.09492"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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":"deterministic:regex_extraction","url":"https://github.com/Foruck/OC-Immunity","reach":null}],"summary":{"ran":4,"unverified":2},"by_repo_kind":{"official":{"samples":6,"ran":4,"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":"92359874c5d1a6bc","entry":"Swish","repo":"Foruck/OC-Immunity","repo_kind":"official","path":"model.py","file_url":"https://github.com/Foruck/OC-Immunity/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"92359874c5d1a6bc"}},{"code_sha256_prefix":"522132f1ee4a0c82","entry":"fusion_module","repo":"Foruck/OC-Immunity","repo_kind":"official","path":"model.py","file_url":"https://github.com/Foruck/OC-Immunity/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"522132f1ee4a0c82"}},{"code_sha256_prefix":"738c12b84f0a4a79","entry":"human_classifier","repo":"Foruck/OC-Immunity","repo_kind":"official","path":"model.py","file_url":"https://github.com/Foruck/OC-Immunity/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"738c12b84f0a4a79"}},{"code_sha256_prefix":"6012c37ba6de1a36","entry":"spatial_classifier","repo":"Foruck/OC-Immunity","repo_kind":"official","path":"model.py","file_url":"https://github.com/Foruck/OC-Immunity/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6012c37ba6de1a36"}},{"code_sha256_prefix":"596caa8796a528bb","entry":"object_classifier","repo":"Foruck/OC-Immunity","repo_kind":"official","path":"model.py","file_url":"https://github.com/Foruck/OC-Immunity/blob/HEAD/model.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":"596caa8796a528bb"}},{"code_sha256_prefix":"d0bd78b11d0f3825","entry":"unified_classifier","repo":"Foruck/OC-Immunity","repo_kind":"official","path":"model.py","file_url":"https://github.com/Foruck/OC-Immunity/blob/HEAD/model.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":"d0bd78b11d0f3825"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}