{"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/semaffinet-semantic-affine-transformation-for","title":"SemAffiNet: Semantic-Affine Transformation for Point Cloud Segmentation","arxiv_id":"2205.13490","date":"2022-05-26","proceeding":"CVPR 2022 1","authors":["Ziyi Wang","Yongming Rao","Xumin Yu","Jie zhou","Jiwen Lu"],"abstract":"Conventional point cloud semantic segmentation methods usually employ an encoder-decoder architecture, where mid-level features are locally aggregated to extract geometric information. However, the over-reliance on these class-agnostic local geometric representations may raise confusion between local parts from different categories that are similar in appearance or spatially adjacent. To address this issue, we argue that mid-level features can be further enhanced with semantic information, and propose semantic-affine transformation that transforms features of mid-level points belonging to different categories with class-specific affine parameters. Based on this technique, we propose SemAffiNet for point cloud semantic segmentation, which utilizes the attention mechanism in the Transformer module to implicitly and explicitly capture global structural knowledge within local parts for overall comprehension of each category. We conduct extensive experiments on the ScanNetV2 and NYUv2 datasets, and evaluate semantic-affine transformation on various 3D point cloud and 2D image segmentation baselines, where both qualitative and quantitative results demonstrate the superiority and generalization ability of our proposed approach. Code is available at https://github.com/wangzy22/SemAffiNet.","url_abs":"https://arxiv.org/abs/2205.13490v1","url_pdf":"https://arxiv.org/pdf/2205.13490v1.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":"semaffinet-semantic-affine-transformation-for","repo_url":"https://github.com/wangzy22/SemAffiNet","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"decoder","task_name":"Decoder"},{"task_slug":"image-segmentation","task_name":"Image Segmentation"},{"task_slug":"point-cloud-segmentation","task_name":"Point Cloud Segmentation"},{"task_slug":"segmentation","task_name":"Segmentation"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"}],"methods":[{"method_slug":"absolute-position-encodings","method_name":"Absolute Position Encodings"},{"method_slug":"adam","method_name":"Adam"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"bpe","method_name":"BPE"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"label-smoothing","method_name":"Label Smoothing"},{"method_slug":"layer-normalization","method_name":"Layer Normalization"},{"method_slug":"linear-layer","method_name":"Linear Layer"},{"method_slug":"multi-head-attention","method_name":"Multi-Head Attention"},{"method_slug":"position-wise-feed-forward-layer","method_name":"Position-Wise Feed-Forward Layer"},{"method_slug":"residual-connection","method_name":"Residual Connection"},{"method_slug":"softmax","method_name":"Softmax"},{"method_slug":"transformer","method_name":"Transformer"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2205.13490","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2205.13490"}},"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":"deterministic:regex_extraction","url":"https://github.com/wangzy22/SemAffiNet","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":2,"ran_honours":1,"unverified":8},"by_repo_kind":{"official":{"samples":11,"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":"eea0376ea397a1c7","entry":"downsample_conv","repo":"wangzy22/SemAffiNet","repo_kind":"official","path":"models/resnet_d.py","file_url":"https://github.com/wangzy22/SemAffiNet/blob/HEAD/models/resnet_d.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":"eea0376ea397a1c7"}},{"code_sha256_prefix":"9b02c1068795fd5b","entry":"get_padding","repo":"wangzy22/SemAffiNet","repo_kind":"official","path":"models/resnet_d.py","file_url":"https://github.com/wangzy22/SemAffiNet/blob/HEAD/models/resnet_d.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9b02c1068795fd5b"}},{"code_sha256_prefix":"c4b88bc6388a332e","entry":"state_dict_remove_moudle","repo":"wangzy22/SemAffiNet","repo_kind":"official","path":"models/semaffinet.py","file_url":"https://github.com/wangzy22/SemAffiNet/blob/HEAD/models/semaffinet.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":"c4b88bc6388a332e"}},{"code_sha256_prefix":"81a52f12291c03c6","entry":"adjust_intrinsic","repo":"wangzy22/SemAffiNet","repo_kind":"official","path":"dataset/scanNetCross.py","file_url":"https://github.com/wangzy22/SemAffiNet/blob/HEAD/dataset/scanNetCross.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":"81a52f12291c03c6"}},{"code_sha256_prefix":"0f0c2365c06796db","entry":"collation_fn","repo":"wangzy22/SemAffiNet","repo_kind":"official","path":"dataset/scanNet3D.py","file_url":"https://github.com/wangzy22/SemAffiNet/blob/HEAD/dataset/scanNet3D.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":"0f0c2365c06796db"}},{"code_sha256_prefix":"cb93a4455661b639","entry":"collation_fn","repo":"wangzy22/SemAffiNet","repo_kind":"official","path":"dataset/scanNetCross.py","file_url":"https://github.com/wangzy22/SemAffiNet/blob/HEAD/dataset/scanNetCross.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":"cb93a4455661b639"}},{"code_sha256_prefix":"50ae10fb57320b06","entry":"collation_fn_eval_all","repo":"wangzy22/SemAffiNet","repo_kind":"official","path":"dataset/scanNet3D.py","file_url":"https://github.com/wangzy22/SemAffiNet/blob/HEAD/dataset/scanNet3D.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":"50ae10fb57320b06"}},{"code_sha256_prefix":"6a8bcd1ebef3b13f","entry":"downsample_avg","repo":"wangzy22/SemAffiNet","repo_kind":"official","path":"models/resnet_d.py","file_url":"https://github.com/wangzy22/SemAffiNet/blob/HEAD/models/resnet_d.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":"6a8bcd1ebef3b13f"}},{"code_sha256_prefix":"ff48686fd2773fe0","entry":"get_coords_map","repo":"wangzy22/SemAffiNet","repo_kind":"official","path":"models/bpm.py","file_url":"https://github.com/wangzy22/SemAffiNet/blob/HEAD/models/bpm.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":"ff48686fd2773fe0"}},{"code_sha256_prefix":"b309b945f3526f50","entry":"get_stats","repo":"wangzy22/SemAffiNet","repo_kind":"official","path":"dataset/pregroup_2d_scannet.py","file_url":"https://github.com/wangzy22/SemAffiNet/blob/HEAD/dataset/pregroup_2d_scannet.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":"b309b945f3526f50"}},{"code_sha256_prefix":"f47c8e54943ce833","entry":"make_intrinsic","repo":"wangzy22/SemAffiNet","repo_kind":"official","path":"dataset/scanNetCross.py","file_url":"https://github.com/wangzy22/SemAffiNet/blob/HEAD/dataset/scanNetCross.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":"f47c8e54943ce833"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}