{"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/geodesic-former-a-geodesic-guided-few-shot-3d","title":"Geodesic-Former: a Geodesic-Guided Few-shot 3D Point Cloud Instance Segmenter","arxiv_id":"2207.10859","date":"2022-07-22","proceeding":null,"authors":["Tuan Ngo","Khoi Nguyen"],"abstract":"This paper introduces a new problem in 3D point cloud: few-shot instance segmentation. Given a few annotated point clouds exemplified a target class, our goal is to segment all instances of this target class in a query point cloud. This problem has a wide range of practical applications where point-wise instance segmentation annotation is prohibitively expensive to collect. To address this problem, we present Geodesic-Former -- the first geodesic-guided transformer for 3D point cloud instance segmentation. The key idea is to leverage the geodesic distance to tackle the density imbalance of LiDAR 3D point clouds. The LiDAR 3D point clouds are dense near the object surface and sparse or empty elsewhere making the Euclidean distance less effective to distinguish different objects. The geodesic distance, on the other hand, is more suitable since it encodes the scene's geometry which can be used as a guiding signal for the attention mechanism in a transformer decoder to generate kernels representing distinct features of instances. These kernels are then used in a dynamic convolution to obtain the final instance masks. To evaluate Geodesic-Former on the new task, we propose new splits of the two common 3D point cloud instance segmentation datasets: ScannetV2 and S3DIS. Geodesic-Former consistently outperforms strong baselines adapted from state-of-the-art 3D point cloud instance segmentation approaches with a significant margin. Code is available at https://github.com/VinAIResearch/GeoFormer.","url_abs":"https://arxiv.org/abs/2207.10859v2","url_pdf":"https://arxiv.org/pdf/2207.10859v2.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":"geodesic-former-a-geodesic-guided-few-shot-3d","repo_url":"https://github.com/vinairesearch/geoformer","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"tasks":[{"task_slug":"few-shot-instance-segmentation","task_name":"Few-shot Instance Segmentation"},{"task_slug":"instance-segmentation","task_name":"Instance Segmentation"},{"task_slug":"segmentation","task_name":"Segmentation"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"}],"methods":[{"method_slug":"convolution","method_name":"Convolution"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2207.10859","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2207.10859"}},"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/vinairesearch/geoformer","reach":{"status":"ok","spdx":"BSD-3-Clause"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/VinAIResearch/GeoFormer","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"summary":{"ran_draft_wrong":1,"unverified":9},"by_repo_kind":{"official":{"samples":10,"ran":1,"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":"6ec42f54dda661e2","entry":"unique_with_inds","repo":"VinAIResearch/GeoFormer","repo_kind":"official","path":"model/geoformer/geodesic_utils.py","file_url":"https://github.com/VinAIResearch/GeoFormer/blob/HEAD/model/geoformer/geodesic_utils.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"6ec42f54dda661e2"}},{"code_sha256_prefix":"35f8ea8607fc6a5f","entry":"cal_geodesic_single","repo":"VinAIResearch/GeoFormer","repo_kind":"official","path":"model/geoformer/geodesic_utils.py","file_url":"https://github.com/VinAIResearch/GeoFormer/blob/HEAD/model/geoformer/geodesic_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"35f8ea8607fc6a5f"}},{"code_sha256_prefix":"4e66cbc3692eb971","entry":"compute_dice_loss","repo":"VinAIResearch/GeoFormer","repo_kind":"official","path":"criterion.py","file_url":"https://github.com/VinAIResearch/GeoFormer/blob/HEAD/criterion.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"4e66cbc3692eb971"}},{"code_sha256_prefix":"1392a20392aa5ea3","entry":"compute_sigmoid_focal_loss","repo":"VinAIResearch/GeoFormer","repo_kind":"official","path":"criterion.py","file_url":"https://github.com/VinAIResearch/GeoFormer/blob/HEAD/criterion.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"1392a20392aa5ea3"}},{"code_sha256_prefix":"f158264afecebf8a","entry":"dice_coefficient","repo":"VinAIResearch/GeoFormer","repo_kind":"official","path":"criterion.py","file_url":"https://github.com/VinAIResearch/GeoFormer/blob/HEAD/criterion.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"f158264afecebf8a"}},{"code_sha256_prefix":"e731c6516da21d63","entry":"find_knn","repo":"VinAIResearch/GeoFormer","repo_kind":"official","path":"model/geoformer/geodesic_utils.py","file_url":"https://github.com/VinAIResearch/GeoFormer/blob/HEAD/model/geoformer/geodesic_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"e731c6516da21d63"}},{"code_sha256_prefix":"0944240e80ec7625","entry":"get_clones","repo":"VinAIResearch/GeoFormer","repo_kind":"official","path":"model/helper.py","file_url":"https://github.com/VinAIResearch/GeoFormer/blob/HEAD/model/helper.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"0944240e80ec7625"}},{"code_sha256_prefix":"739083ff32255d01","entry":"multi_head_attention_forward","repo":"VinAIResearch/GeoFormer","repo_kind":"official","path":"model/attention.py","file_url":"https://github.com/VinAIResearch/GeoFormer/blob/HEAD/model/attention.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"739083ff32255d01"}},{"code_sha256_prefix":"d228460a58f0383b","entry":"random_downsample","repo":"VinAIResearch/GeoFormer","repo_kind":"official","path":"model/geoformer/geoformer_modules.py","file_url":"https://github.com/VinAIResearch/GeoFormer/blob/HEAD/model/geoformer/geoformer_modules.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"d228460a58f0383b"}},{"code_sha256_prefix":"8f5c0e383df3f39e","entry":"strip_prefix_if_present","repo":"VinAIResearch/GeoFormer","repo_kind":"official","path":"checkpoint.py","file_url":"https://github.com/VinAIResearch/GeoFormer/blob/HEAD/checkpoint.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"8f5c0e383df3f39e"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}