{"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/fully-sparse-3d-panoptic-occupancy-prediction","title":"Fully Sparse 3D Occupancy Prediction","arxiv_id":"2312.17118","date":"2023-12-28","proceeding":null,"authors":["Haisong Liu","Yang Chen","Haiguang Wang","Zetong Yang","Tianyu Li","Jia Zeng","Li Chen","Hongyang Li","LiMin Wang"],"abstract":"Occupancy prediction plays a pivotal role in autonomous driving. Previous methods typically construct dense 3D volumes, neglecting the inherent sparsity of the scene and suffering from high computational costs. To bridge the gap, we introduce a novel fully sparse occupancy network, termed SparseOcc. SparseOcc initially reconstructs a sparse 3D representation from camera-only inputs and subsequently predicts semantic/instance occupancy from the 3D sparse representation by sparse queries. A mask-guided sparse sampling is designed to enable sparse queries to interact with 2D features in a fully sparse manner, thereby circumventing costly dense features or global attention. Additionally, we design a thoughtful ray-based evaluation metric, namely RayIoU, to solve the inconsistency penalty along the depth axis raised in traditional voxel-level mIoU criteria. SparseOcc demonstrates its effectiveness by achieving a RayIoU of 34.0, while maintaining a real-time inference speed of 17.3 FPS, with 7 history frames inputs. By incorporating more preceding frames to 15, SparseOcc continuously improves its performance to 35.1 RayIoU without bells and whistles.","url_abs":"https://arxiv.org/abs/2312.17118v5","url_pdf":"https://arxiv.org/pdf/2312.17118v5.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":"fully-sparse-3d-panoptic-occupancy-prediction","repo_url":"https://github.com/mcg-nju/sparseocc","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"fully-sparse-3d-panoptic-occupancy-prediction","repo_url":"https://github.com/mcg-nju/sparsebev","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"fully-sparse-3d-panoptic-occupancy-prediction","repo_url":"https://github.com/opendrivelab/occnet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"autonomous-driving","task_name":"Autonomous Driving"},{"task_slug":"prediction","task_name":"Prediction"}],"methods":[{"method_slug":"speed","method_name":"SPEED"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2312.17118","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2312.17118"}},"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/opendrivelab/occnet","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mcg-nju/sparsebev","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mcg-nju/sparseocc","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":15,"unverified":9},"by_repo_kind":{"official":{"samples":12,"ran":8,"repositories":1},"listed":{"samples":12,"ran":7,"repositories":2}},"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":"483b6b8c81c0b6bb","entry":"batch_dice_loss","repo":"mcg-nju/sparseocc","repo_kind":"official","path":"models/matcher.py","file_url":"https://github.com/mcg-nju/sparseocc/blob/HEAD/models/matcher.py","link_basis":"first_harvest_node","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":"483b6b8c81c0b6bb"}},{"code_sha256_prefix":"7e8e2bcfcb2b11e8","entry":"batch_sigmoid_ce_loss","repo":"mcg-nju/sparseocc","repo_kind":"official","path":"models/matcher.py","file_url":"https://github.com/mcg-nju/sparseocc/blob/HEAD/models/matcher.py","link_basis":"first_harvest_node","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":"7e8e2bcfcb2b11e8"}},{"code_sha256_prefix":"5b38b49212868074","entry":"compute_scal_loss","repo":"mcg-nju/sparseocc","repo_kind":"official","path":"models/loss_utils.py","file_url":"https://github.com/mcg-nju/sparseocc/blob/HEAD/models/loss_utils.py","link_basis":"first_harvest_node","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":"5b38b49212868074"}},{"code_sha256_prefix":"c9aa0bc1f2c95d8c","entry":"detach_variable","repo":"mcg-nju/sparsebev","repo_kind":"listed","path":"models/checkpoint.py","file_url":"https://github.com/mcg-nju/sparsebev/blob/HEAD/models/checkpoint.py","link_basis":"first_harvest_node","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":"c9aa0bc1f2c95d8c"}},{"code_sha256_prefix":"97c6373ac9809717","entry":"evaluate","repo":"mcg-nju/sparsebev","repo_kind":"listed","path":"val.py","file_url":"https://github.com/mcg-nju/sparsebev/blob/HEAD/val.py","link_basis":"first_harvest_node","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":"97c6373ac9809717"}},{"code_sha256_prefix":"f87970b7c22e56a5","entry":"index2point","repo":"mcg-nju/sparseocc","repo_kind":"official","path":"models/sparse_voxel_decoder.py","file_url":"https://github.com/mcg-nju/sparseocc/blob/HEAD/models/sparse_voxel_decoder.py","link_basis":"first_harvest_node","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":"f87970b7c22e56a5"}},{"code_sha256_prefix":"4a9cf3011e93f57b","entry":"make_sample_points_from_mask","repo":"mcg-nju/sparseocc","repo_kind":"official","path":"models/sparsebev_sampling.py","file_url":"https://github.com/mcg-nju/sparseocc/blob/HEAD/models/sparsebev_sampling.py","link_basis":"first_harvest_node","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":"4a9cf3011e93f57b"}},{"code_sha256_prefix":"c6f233575958bdd3","entry":"meshgrid3d","repo":"mcg-nju/sparseocc","repo_kind":"official","path":"gen_instance_info.py","file_url":"https://github.com/mcg-nju/sparseocc/blob/HEAD/gen_instance_info.py","link_basis":"first_harvest_node","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":"c6f233575958bdd3"}},{"code_sha256_prefix":"3e9c83e1f53e5cdb","entry":"pad_multiple","repo":"mcg-nju/sparsebev","repo_kind":"listed","path":"models/utils.py","file_url":"https://github.com/mcg-nju/sparsebev/blob/HEAD/models/utils.py","link_basis":"first_harvest_node","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":"3e9c83e1f53e5cdb"}},{"code_sha256_prefix":"dc9c1c4a8717a0bf","entry":"point2bbox","repo":"mcg-nju/sparseocc","repo_kind":"official","path":"models/sparse_voxel_decoder.py","file_url":"https://github.com/mcg-nju/sparseocc/blob/HEAD/models/sparse_voxel_decoder.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"dc9c1c4a8717a0bf"}},{"code_sha256_prefix":"24ed606d1bb9e644","entry":"rotation_3d_in_axis","repo":"mcg-nju/sparsebev","repo_kind":"listed","path":"models/utils.py","file_url":"https://github.com/mcg-nju/sparsebev/blob/HEAD/models/utils.py","link_basis":"first_harvest_node","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":"24ed606d1bb9e644"}},{"code_sha256_prefix":"a30067af1a83cdf2","entry":"rotz","repo":"opendrivelab/occnet","repo_kind":"listed","path":"utils/vis.py","file_url":"https://github.com/opendrivelab/occnet/blob/HEAD/utils/vis.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":"a30067af1a83cdf2"}},{"code_sha256_prefix":"dac02d544d21142d","entry":"upsample","repo":"mcg-nju/sparseocc","repo_kind":"official","path":"models/sparse_voxel_decoder.py","file_url":"https://github.com/mcg-nju/sparseocc/blob/HEAD/models/sparse_voxel_decoder.py","link_basis":"first_harvest_node","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":"dac02d544d21142d"}},{"code_sha256_prefix":"4124214e21574acc","entry":"voxel2points","repo":"opendrivelab/occnet","repo_kind":"listed","path":"utils/vis.py","file_url":"https://github.com/opendrivelab/occnet/blob/HEAD/utils/vis.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":"4124214e21574acc"}},{"code_sha256_prefix":"bd1aa420eb46a2d4","entry":"voxel_profile","repo":"opendrivelab/occnet","repo_kind":"listed","path":"utils/vis.py","file_url":"https://github.com/opendrivelab/occnet/blob/HEAD/utils/vis.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":"bd1aa420eb46a2d4"}},{"code_sha256_prefix":"ac40908e99924f13","entry":"checkpoint","repo":"mcg-nju/sparsebev","repo_kind":"listed","path":"models/checkpoint.py","file_url":"https://github.com/mcg-nju/sparsebev/blob/HEAD/models/checkpoint.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":"ac40908e99924f13"}},{"code_sha256_prefix":"1c35dc9d8a7ecbc3","entry":"checkpoint_sequential","repo":"mcg-nju/sparsebev","repo_kind":"listed","path":"models/checkpoint.py","file_url":"https://github.com/mcg-nju/sparsebev/blob/HEAD/models/checkpoint.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":"1c35dc9d8a7ecbc3"}},{"code_sha256_prefix":"7649978f7463b1e8","entry":"dice_loss","repo":"mcg-nju/sparseocc","repo_kind":"official","path":"models/loss_utils.py","file_url":"https://github.com/mcg-nju/sparseocc/blob/HEAD/models/loss_utils.py","link_basis":"first_harvest_node","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":"7649978f7463b1e8"}},{"code_sha256_prefix":"9e5b23a1e48e12a1","entry":"get_voxel_decoder_loss_input","repo":"mcg-nju/sparseocc","repo_kind":"official","path":"models/loss_utils.py","file_url":"https://github.com/mcg-nju/sparseocc/blob/HEAD/models/loss_utils.py","link_basis":"first_harvest_node","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":"9e5b23a1e48e12a1"}},{"code_sha256_prefix":"f3855be53d36327d","entry":"inverse_sigmoid","repo":"mcg-nju/sparsebev","repo_kind":"listed","path":"models/utils.py","file_url":"https://github.com/mcg-nju/sparsebev/blob/HEAD/models/utils.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":"f3855be53d36327d"}},{"code_sha256_prefix":"7c1905bfbdc4affc","entry":"make_sample_points","repo":"mcg-nju/sparsebev","repo_kind":"listed","path":"models/sparsebev_sampling.py","file_url":"https://github.com/mcg-nju/sparsebev/blob/HEAD/models/sparsebev_sampling.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":"7c1905bfbdc4affc"}},{"code_sha256_prefix":"9cf47f1cb19afbc9","entry":"make_sample_points_from_bbox","repo":"mcg-nju/sparseocc","repo_kind":"official","path":"models/sparsebev_sampling.py","file_url":"https://github.com/mcg-nju/sparseocc/blob/HEAD/models/sparsebev_sampling.py","link_basis":"first_harvest_node","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":"9cf47f1cb19afbc9"}},{"code_sha256_prefix":"b65b0ef8ceb0314c","entry":"sampling_4d","repo":"mcg-nju/sparsebev","repo_kind":"listed","path":"models/sparsebev_sampling.py","file_url":"https://github.com/mcg-nju/sparsebev/blob/HEAD/models/sparsebev_sampling.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":"b65b0ef8ceb0314c"}},{"code_sha256_prefix":"88369f6990ec316a","entry":"sampling_4d","repo":"mcg-nju/sparseocc","repo_kind":"official","path":"models/sparsebev_sampling.py","file_url":"https://github.com/mcg-nju/sparseocc/blob/HEAD/models/sparsebev_sampling.py","link_basis":"first_harvest_node","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":"88369f6990ec316a"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}