{"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/spherical-transformer-for-lidar-based-3d","title":"Spherical Transformer for LiDAR-based 3D Recognition","arxiv_id":"2303.12766","date":"2023-03-22","proceeding":"CVPR 2023 1","authors":["Xin Lai","Yukang Chen","Fanbin Lu","Jianhui Liu","Jiaya Jia"],"abstract":"LiDAR-based 3D point cloud recognition has benefited various applications. Without specially considering the LiDAR point distribution, most current methods suffer from information disconnection and limited receptive field, especially for the sparse distant points. In this work, we study the varying-sparsity distribution of LiDAR points and present SphereFormer to directly aggregate information from dense close points to the sparse distant ones. We design radial window self-attention that partitions the space into multiple non-overlapping narrow and long windows. It overcomes the disconnection issue and enlarges the receptive field smoothly and dramatically, which significantly boosts the performance of sparse distant points. Moreover, to fit the narrow and long windows, we propose exponential splitting to yield fine-grained position encoding and dynamic feature selection to increase model representation ability. Notably, our method ranks 1st on both nuScenes and SemanticKITTI semantic segmentation benchmarks with 81.9% and 74.8% mIoU, respectively. Also, we achieve the 3rd place on nuScenes object detection benchmark with 72.8% NDS and 68.5% mAP. Code is available at https://github.com/dvlab-research/SphereFormer.git.","url_abs":"https://arxiv.org/abs/2303.12766v1","url_pdf":"https://arxiv.org/pdf/2303.12766v1.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":"spherical-transformer-for-lidar-based-3d","repo_url":"https://github.com/dvlab-research/sphereformer","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"spherical-transformer-for-lidar-based-3d","repo_url":"https://github.com/dvlab-research/mask-attention-free-transformer","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"3d-object-detection","task_name":"3D Object Detection"},{"task_slug":"3d-semantic-segmentation","task_name":"3D Semantic Segmentation"},{"task_slug":"lidar-semantic-segmentation","task_name":"LIDAR Semantic Segmentation"},{"task_slug":"object-detection","task_name":"Object Detection"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"},{"task_slug":"feature-selection","task_name":"feature selection"},{"task_slug":"object-detection-1","task_name":"object-detection"}],"methods":[{"method_slug":"feature-selection","method_name":"Feature Selection"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/3d-semantic-segmentation-on-semantickitti","task":"3D Semantic Segmentation","dataset":"SemanticKITTI","model":"SphereFormer","rank_in_archive_order":4,"of":45,"metrics":{"test mIoU":"74.8%","val mIoU":"67.8%"},"uses_additional_data":true},{"leaderboard":"/sota/3d-semantic-segmentation-on-wildscenes","task":"3D Semantic Segmentation","dataset":"WildScenes","model":"SphereFormer","rank_in_archive_order":4,"of":4,"metrics":{"mIoU":"33.97"},"uses_additional_data":false},{"leaderboard":"/sota/lidar-semantic-segmentation-on-s-mid","task":"LIDAR Semantic Segmentation","dataset":"S.MID","model":"SphereFormer","rank_in_archive_order":3,"of":4,"metrics":{"val mIoU":"67.8%"},"uses_additional_data":false},{"leaderboard":"/sota/lidar-semantic-segmentation-on-nuscenes","task":"LIDAR Semantic Segmentation","dataset":"nuScenes","model":"SphereFormer","rank_in_archive_order":5,"of":36,"metrics":{"test mIoU":"0.819","val mIoU":"0.795"},"uses_additional_data":false},{"leaderboard":"/sota/semantic-segmentation-on-kitti-semantic","task":"Semantic Segmentation","dataset":"KITTI Semantic Segmentation","model":"RPVNet [xu2021rpvnet]","rank_in_archive_order":1,"of":7,"metrics":{"Mean IoU (class)":"80.7"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2303.12766","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2303.12766"}},"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/dvlab-research/mask-attention-free-transformer","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/dvlab-research/sphereformer","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":4,"unverified":9},"by_repo_kind":{"official":{"samples":13,"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":"1dad93b61e98c32e","entry":"colorize","repo":"dvlab-research/sphereformer","repo_kind":"official","path":"util/common_util.py","file_url":"https://github.com/dvlab-research/sphereformer/blob/HEAD/util/common_util.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":"1dad93b61e98c32e"}},{"code_sha256_prefix":"e985f384ed063aef","entry":"get_logger","repo":"dvlab-research/sphereformer","repo_kind":"official","path":"util/logger.py","file_url":"https://github.com/dvlab-research/sphereformer/blob/HEAD/util/logger.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":"e985f384ed063aef"}},{"code_sha256_prefix":"1cfda515a69f8682","entry":"initialize_scheduler","repo":"dvlab-research/sphereformer","repo_kind":"official","path":"util/lr.py","file_url":"https://github.com/dvlab-research/sphereformer/blob/HEAD/util/lr.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":"1cfda515a69f8682"}},{"code_sha256_prefix":"2a66f4ab6863908c","entry":"intersectionAndUnion","repo":"dvlab-research/sphereformer","repo_kind":"official","path":"util/common_util.py","file_url":"https://github.com/dvlab-research/sphereformer/blob/HEAD/util/common_util.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":"2a66f4ab6863908c"}},{"code_sha256_prefix":"0ded69a3ab085049","entry":"cart2sphere","repo":"dvlab-research/sphereformer","repo_kind":"official","path":"model/spherical_transformer.py","file_url":"https://github.com/dvlab-research/sphereformer/blob/HEAD/model/spherical_transformer.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":"0ded69a3ab085049"}},{"code_sha256_prefix":"a7c2ca770f470c6c","entry":"collate_fn_limit","repo":"dvlab-research/sphereformer","repo_kind":"official","path":"util/data_util.py","file_url":"https://github.com/dvlab-research/sphereformer/blob/HEAD/util/data_util.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":"a7c2ca770f470c6c"}},{"code_sha256_prefix":"f9f9d2518f7c1cb8","entry":"collation_fn_voxelmean","repo":"dvlab-research/sphereformer","repo_kind":"official","path":"util/data_util.py","file_url":"https://github.com/dvlab-research/sphereformer/blob/HEAD/util/data_util.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":"f9f9d2518f7c1cb8"}},{"code_sha256_prefix":"b2c35d25a8ad278c","entry":"collation_fn_voxelmean_tta","repo":"dvlab-research/sphereformer","repo_kind":"official","path":"util/data_util.py","file_url":"https://github.com/dvlab-research/sphereformer/blob/HEAD/util/data_util.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":"b2c35d25a8ad278c"}},{"code_sha256_prefix":"921e8ddc91e0d8a6","entry":"elastic","repo":"dvlab-research/sphereformer","repo_kind":"official","path":"util/semantic_kitti.py","file_url":"https://github.com/dvlab-research/sphereformer/blob/HEAD/util/semantic_kitti.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":"921e8ddc91e0d8a6"}},{"code_sha256_prefix":"3ca452aff97da9d5","entry":"exponential_split","repo":"dvlab-research/sphereformer","repo_kind":"official","path":"model/spherical_transformer.py","file_url":"https://github.com/dvlab-research/sphereformer/blob/HEAD/model/spherical_transformer.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":"3ca452aff97da9d5"}},{"code_sha256_prefix":"136834d66336e6b9","entry":"intersectionAndUnionGPU","repo":"dvlab-research/sphereformer","repo_kind":"official","path":"util/common_util.py","file_url":"https://github.com/dvlab-research/sphereformer/blob/HEAD/util/common_util.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":"136834d66336e6b9"}},{"code_sha256_prefix":"277a13798d6d6981","entry":"load_cfg_from_cfg_file","repo":"dvlab-research/sphereformer","repo_kind":"official","path":"util/config.py","file_url":"https://github.com/dvlab-research/sphereformer/blob/HEAD/util/config.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":"277a13798d6d6981"}},{"code_sha256_prefix":"4efe685c6fb1ec11","entry":"merge_cfg_from_list","repo":"dvlab-research/sphereformer","repo_kind":"official","path":"util/config.py","file_url":"https://github.com/dvlab-research/sphereformer/blob/HEAD/util/config.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":"4efe685c6fb1ec11"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}