{"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/learning-context-aware-classifier-for","title":"Learning Context-aware Classifier for Semantic Segmentation","arxiv_id":"2303.11633","date":"2023-03-21","proceeding":null,"authors":["Zhuotao Tian","Jiequan Cui","Li Jiang","Xiaojuan Qi","Xin Lai","Yixin Chen","Shu Liu","Jiaya Jia"],"abstract":"Semantic segmentation is still a challenging task for parsing diverse contexts in different scenes, thus the fixed classifier might not be able to well address varying feature distributions during testing. Different from the mainstream literature where the efficacy of strong backbones and effective decoder heads has been well studied, in this paper, additional contextual hints are instead exploited via learning a context-aware classifier whose content is data-conditioned, decently adapting to different latent distributions. Since only the classifier is dynamically altered, our method is model-agnostic and can be easily applied to generic segmentation models. Notably, with only negligible additional parameters and +2\\% inference time, decent performance gain has been achieved on both small and large models with challenging benchmarks, manifesting substantial practical merits brought by our simple yet effective method. The implementation is available at \\url{https://github.com/tianzhuotao/CAC}.","url_abs":"https://arxiv.org/abs/2303.11633v1","url_pdf":"https://arxiv.org/pdf/2303.11633v1.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":"learning-context-aware-classifier-for","repo_url":"https://github.com/Pointcept/Pointcept","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"learning-context-aware-classifier-for","repo_url":"https://github.com/tianzhuotao/cac","is_official":0,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"3d-semantic-segmentation","task_name":"3D Semantic Segmentation"},{"task_slug":"decoder","task_name":"Decoder"},{"task_slug":"segmentation","task_name":"Segmentation"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/3d-semantic-segmentation-on-scannet-1","task":"3D Semantic Segmentation","dataset":"ScanNet++","model":"CAC","rank_in_archive_order":4,"of":8,"metrics":{"Top-1 IoU":"0.483","Top-3 IoU":"0.712"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2303.11633","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2303.11633"}},"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/tianzhuotao/cac","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Pointcept/Pointcept","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/tianzhuotao/CAC","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":3,"unverified":2},"by_repo_kind":{"named_in_paper":{"samples":5,"ran":3,"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":"a669df2cd07c07bb","entry":"calculate_file_sha256","repo":"tianzhuotao/CAC","repo_kind":"named_in_paper","path":".dev/gather_models.py","file_url":"https://github.com/tianzhuotao/CAC/blob/HEAD/.dev/gather_models.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a669df2cd07c07bb"}},{"code_sha256_prefix":"88d68650d669bb11","entry":"get_final_iter","repo":"tianzhuotao/CAC","repo_kind":"named_in_paper","path":".dev/gather_models.py","file_url":"https://github.com/tianzhuotao/CAC/blob/HEAD/.dev/gather_models.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"88d68650d669bb11"}},{"code_sha256_prefix":"aa74cd62302ed7c8","entry":"process_checkpoint","repo":"tianzhuotao/CAC","repo_kind":"named_in_paper","path":".dev/gather_models.py","file_url":"https://github.com/tianzhuotao/CAC/blob/HEAD/.dev/gather_models.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"aa74cd62302ed7c8"}},{"code_sha256_prefix":"b7bee1f53105ce4d","entry":"get_distill_loss","repo":"tianzhuotao/CAC","repo_kind":"named_in_paper","path":"mmseg/models/decode_heads/fcn_head_cac.py","file_url":"https://github.com/tianzhuotao/CAC/blob/HEAD/mmseg/models/decode_heads/fcn_head_cac.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b7bee1f53105ce4d"}},{"code_sha256_prefix":"9bb368f79226af2c","entry":"get_distill_loss","repo":"tianzhuotao/CAC","repo_kind":"named_in_paper","path":"mmseg/models/decode_heads/sep_aspp_head_cac.py","file_url":"https://github.com/tianzhuotao/CAC/blob/HEAD/mmseg/models/decode_heads/sep_aspp_head_cac.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9bb368f79226af2c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}