{"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/arxiv-2601-22576","title":"Bonnet: Ultra-fast whole-body bone segmentation from CT scans","arxiv_id":"2601.22576","date":"2026-01-30","proceeding":null,"authors":["Hanjiang Zhu","Pedro Martelleto Rezende","Zhang Yang","Tong Ye","Bruce Z. Gao","Feng Luo","Siyu Huang","Jiancheng Yang"],"abstract":"This work proposes Bonnet, an ultra-fast sparse-volume pipeline for whole-body bone segmentation from CT scans. Accurate bone segmentation is important for surgical planning and anatomical analysis, but existing 3D voxel-based models such as nnU-Net and STU-Net require heavy computation and often take several minutes per scan, which limits time-critical use. The proposed Bonnet addresses this by integrating a series of novel framework components including HU-based bone thresholding, patch-wise inference with a sparse spconv-based U-Net, and multi-window fusion into a full-volume prediction. Trained on TotalSegmentator and evaluated without additional tuning on RibSeg, CT-Pelvic1K, and CT-Spine1K, Bonnet achieves high Dice across ribs, pelvis, and spine while running in only 2.69 seconds per scan on an RTX A6000. Compared to strong voxel baselines, Bonnet attains a similar accuracy but reduces inference time by roughly 25x on the same hardware and tiling setup. The toolkit and pre-trained models will be released at https://github.com/HINTLab/Bonnet.","url_abs":"https://arxiv.org/abs/2601.22576","url_pdf":"https://arxiv.org/pdf/2601.22576","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":null,"mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2601.22576"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/HINTLab/Bonnet","reach":null}],"summary":{"unverified":11},"by_repo_kind":{"found_in_text":{"samples":11,"ran":0,"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":"4a950c1ada3cf9b1","entry":"confusion_matrix_vectorized","repo":"HINTLab/Bonnet","repo_kind":"found_in_text","path":"src/metrics/agg_cfmat.py","file_url":"https://github.com/HINTLab/Bonnet/blob/HEAD/src/metrics/agg_cfmat.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":"4a950c1ada3cf9b1"}},{"code_sha256_prefix":"72136490690e31c3","entry":"create_labels_lookup_table","repo":"HINTLab/Bonnet","repo_kind":"found_in_text","path":"src/metrics/agg_cfmat.py","file_url":"https://github.com/HINTLab/Bonnet/blob/HEAD/src/metrics/agg_cfmat.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":"72136490690e31c3"}},{"code_sha256_prefix":"34da770852bb8110","entry":"dice_from_cfmat","repo":"HINTLab/Bonnet","repo_kind":"found_in_text","path":"src/metrics/agg_cfmat.py","file_url":"https://github.com/HINTLab/Bonnet/blob/HEAD/src/metrics/agg_cfmat.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":"34da770852bb8110"}},{"code_sha256_prefix":"1f1e5008a485fb09","entry":"masked_global_multiclass_dice","repo":"HINTLab/Bonnet","repo_kind":"found_in_text","path":"src/losses/occ_seg_loss.py","file_url":"https://github.com/HINTLab/Bonnet/blob/HEAD/src/losses/occ_seg_loss.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":"1f1e5008a485fb09"}},{"code_sha256_prefix":"1044aec2af594d1a","entry":"masked_per_sample_multiclass_dice","repo":"HINTLab/Bonnet","repo_kind":"found_in_text","path":"src/losses/occ_seg_loss.py","file_url":"https://github.com/HINTLab/Bonnet/blob/HEAD/src/losses/occ_seg_loss.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":"1044aec2af594d1a"}},{"code_sha256_prefix":"efc9f3769693ebe2","entry":"numpy_multiclass_dice","repo":"HINTLab/Bonnet","repo_kind":"found_in_text","path":"src/losses/seg_loss.py","file_url":"https://github.com/HINTLab/Bonnet/blob/HEAD/src/losses/seg_loss.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":"efc9f3769693ebe2"}},{"code_sha256_prefix":"65e4b423dd921ed2","entry":"numpy_onehot","repo":"HINTLab/Bonnet","repo_kind":"found_in_text","path":"src/losses/occ_seg_loss.py","file_url":"https://github.com/HINTLab/Bonnet/blob/HEAD/src/losses/occ_seg_loss.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":"65e4b423dd921ed2"}},{"code_sha256_prefix":"0781e7d94e9fe08d","entry":"points_inside_boxes","repo":"HINTLab/Bonnet","repo_kind":"found_in_text","path":"src/losses/bbox_loss.py","file_url":"https://github.com/HINTLab/Bonnet/blob/HEAD/src/losses/bbox_loss.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":"0781e7d94e9fe08d"}},{"code_sha256_prefix":"2d8d6b5c58e10cfc","entry":"smooth_l1_loss","repo":"HINTLab/Bonnet","repo_kind":"found_in_text","path":"src/losses/bbox_loss.py","file_url":"https://github.com/HINTLab/Bonnet/blob/HEAD/src/losses/bbox_loss.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":"2d8d6b5c58e10cfc"}},{"code_sha256_prefix":"df821996e1aa21f1","entry":"torch_calculate_cube_corners","repo":"HINTLab/Bonnet","repo_kind":"found_in_text","path":"src/losses/bbox_loss.py","file_url":"https://github.com/HINTLab/Bonnet/blob/HEAD/src/losses/bbox_loss.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":"df821996e1aa21f1"}},{"code_sha256_prefix":"0fc0a649287012fb","entry":"torch_multiclass_dice","repo":"HINTLab/Bonnet","repo_kind":"found_in_text","path":"src/losses/seg_loss.py","file_url":"https://github.com/HINTLab/Bonnet/blob/HEAD/src/losses/seg_loss.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":"0fc0a649287012fb"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CV","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}