{"about":{"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.","site":"https://codewithpapers.app","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","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/paper/weaksam-segment-anything-meets-weakly","title":"WeakSAM: Segment Anything Meets Weakly-supervised Instance-level Recognition","arxiv_id":"2402.14812","date":"2024-02-22","proceeding":null,"authors":["Lianghui Zhu","Junwei Zhou","Yan Liu","Xin Hao","Wenyu Liu","Xinggang Wang"],"abstract":"Weakly supervised visual recognition using inexact supervision is a critical yet challenging learning problem. It significantly reduces human labeling costs and traditionally relies on multi-instance learning and pseudo-labeling. This paper introduces WeakSAM and solves the weakly-supervised object detection (WSOD) and segmentation by utilizing the pre-learned world knowledge contained in a vision foundation model, i.e., the Segment Anything Model (SAM). WeakSAM addresses two critical limitations in traditional WSOD retraining, i.e., pseudo ground truth (PGT) incompleteness and noisy PGT instances, through adaptive PGT generation and Region of Interest (RoI) drop regularization. It also addresses the SAM's problems of requiring prompts and category unawareness for automatic object detection and segmentation. Our results indicate that WeakSAM significantly surpasses previous state-of-the-art methods in WSOD and WSIS benchmarks with large margins, i.e. average improvements of 7.4% and 8.5%, respectively. The code is available at \\url{https://github.com/hustvl/WeakSAM}.","url_abs":"https://arxiv.org/abs/2402.14812v2","url_pdf":"https://arxiv.org/pdf/2402.14812v2.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":"weaksam-segment-anything-meets-weakly","repo_url":"https://github.com/hustvl/weaksam","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"image-level-supervised-instance-segmentation","task_name":"Image-level Supervised Instance Segmentation"},{"task_slug":"object-detection","task_name":"Object Detection"},{"task_slug":"segmentation","task_name":"Segmentation"},{"task_slug":"weakly-supervised-object-detection","task_name":"Weakly Supervised Object Detection"},{"task_slug":"world-knowledge","task_name":"World Knowledge"},{"task_slug":"object-detection-1","task_name":"object-detection"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/image-level-supervised-instance-segmentation-2","task":"Image-level Supervised Instance Segmentation","dataset":"COCO 2017 val","model":"WeakSAM-Mask2Former (with SAM)","rank_in_archive_order":1,"of":6,"metrics":{"AP":"25.2","AP@50":"38.4","AP@75":"27.0"},"uses_additional_data":false},{"leaderboard":"/sota/image-level-supervised-instance-segmentation-2","task":"Image-level Supervised Instance Segmentation","dataset":"COCO 2017 val","model":"WeakSAM-Mask RCNN (with SAM)","rank_in_archive_order":2,"of":6,"metrics":{"AP":"20.6","AP@50":"33.9","AP@75":"22.0"},"uses_additional_data":false},{"leaderboard":"/sota/image-level-supervised-instance-segmentation-1","task":"Image-level Supervised Instance Segmentation","dataset":"COCO test-dev","model":"WeakSAM-Mask2Former (with SAM)","rank_in_archive_order":1,"of":7,"metrics":{"AP":"25.9","AP@50":"39.9","AP@75":"27.9"},"uses_additional_data":false},{"leaderboard":"/sota/image-level-supervised-instance-segmentation-1","task":"Image-level Supervised Instance Segmentation","dataset":"COCO test-dev","model":"WeakSAM-Mask RCNN (with SAM)","rank_in_archive_order":2,"of":7,"metrics":{"AP":"21.0","AP@50":"34.5","AP@75":"22.2"},"uses_additional_data":false},{"leaderboard":"/sota/image-level-supervised-instance-segmentation","task":"Image-level Supervised Instance Segmentation","dataset":"PASCAL VOC 2012 val","model":"WeakSAM-Mask2Former (with SAM)","rank_in_archive_order":1,"of":13,"metrics":{"mAP@0.25":"73.4","mAP@0.5":"64.4","mAP@0.7":"49.7","mAP@0.75":"45.3"},"uses_additional_data":false},{"leaderboard":"/sota/image-level-supervised-instance-segmentation","task":"Image-level Supervised Instance Segmentation","dataset":"PASCAL VOC 2012 val","model":"WeakSAM-Mask RCNN (with SAM)","rank_in_archive_order":2,"of":13,"metrics":{"mAP@0.25":"70.3","mAP@0.5":"59.6","mAP@0.7":"43.1","mAP@0.75":"36.2"},"uses_additional_data":false},{"leaderboard":"/sota/weakly-supervised-object-detection-on-ms-coco","task":"Weakly Supervised Object Detection","dataset":"MS-COCO-2014","model":"WeakSAM-MIST-DINO (with SAM)","rank_in_archive_order":1,"of":7,"metrics":{"AP":"26.6"},"uses_additional_data":false},{"leaderboard":"/sota/weakly-supervised-object-detection-on-ms-coco","task":"Weakly Supervised Object Detection","dataset":"MS-COCO-2014","model":"WeakSAM-OICR-DINO (with SAM)","rank_in_archive_order":2,"of":7,"metrics":{"AP":"24.9"},"uses_additional_data":false},{"leaderboard":"/sota/weakly-supervised-object-detection-on-ms-coco","task":"Weakly Supervised Object Detection","dataset":"MS-COCO-2014","model":"WeakSAM-MIST-Faster RCNN (with SAM)","rank_in_archive_order":3,"of":7,"metrics":{"AP":"23.8"},"uses_additional_data":false},{"leaderboard":"/sota/weakly-supervised-object-detection-on-ms-coco","task":"Weakly Supervised Object Detection","dataset":"MS-COCO-2014","model":"WeakSAM-MIST (with SAM)","rank_in_archive_order":4,"of":7,"metrics":{"AP":"22.9"},"uses_additional_data":false},{"leaderboard":"/sota/weakly-supervised-object-detection-on-ms-coco","task":"Weakly Supervised Object Detection","dataset":"MS-COCO-2014","model":"WeakSAM-OICR-Faster RCNN (with SAM)","rank_in_archive_order":5,"of":7,"metrics":{"AP":"22.3"},"uses_additional_data":false},{"leaderboard":"/sota/weakly-supervised-object-detection-on-ms-coco","task":"Weakly Supervised Object Detection","dataset":"MS-COCO-2014","model":"WeakSAM-OICR (with SAM)","rank_in_archive_order":6,"of":7,"metrics":{"AP":"19.9"},"uses_additional_data":false},{"leaderboard":"/sota/weakly-supervised-object-detection-on-pascal-1","task":"Weakly Supervised Object Detection","dataset":"PASCAL VOC 2007","model":"WeakSAM-MIST-DINO (with SAM)","rank_in_archive_order":1,"of":41,"metrics":{"MAP":"73.4"},"uses_additional_data":false},{"leaderboard":"/sota/weakly-supervised-object-detection-on-pascal-1","task":"Weakly Supervised Object Detection","dataset":"PASCAL VOC 2007","model":"WeakSAM-MIST-Faster RCNN (with SAM)","rank_in_archive_order":2,"of":41,"metrics":{"MAP":"71.8"},"uses_additional_data":false},{"leaderboard":"/sota/weakly-supervised-object-detection-on-pascal-1","task":"Weakly Supervised Object Detection","dataset":"PASCAL VOC 2007","model":"WeakSAM-MIST (with SAM)","rank_in_archive_order":3,"of":41,"metrics":{"MAP":"67.4"},"uses_additional_data":false},{"leaderboard":"/sota/weakly-supervised-object-detection-on-pascal-1","task":"Weakly Supervised Object Detection","dataset":"PASCAL VOC 2007","model":"WeakSAM-OICR-DINO (with SAM)","rank_in_archive_order":4,"of":41,"metrics":{"MAP":"66.1"},"uses_additional_data":false},{"leaderboard":"/sota/weakly-supervised-object-detection-on-pascal-1","task":"Weakly Supervised Object Detection","dataset":"PASCAL VOC 2007","model":"WeakSAM-OICR-Faster RCNN (with SAM)","rank_in_archive_order":5,"of":41,"metrics":{"MAP":"65.7"},"uses_additional_data":false},{"leaderboard":"/sota/weakly-supervised-object-detection-on-pascal-1","task":"Weakly Supervised Object Detection","dataset":"PASCAL VOC 2007","model":"WeakSAM-OICR (with SAM)","rank_in_archive_order":6,"of":41,"metrics":{"MAP":"58.9"},"uses_additional_data":false},{"leaderboard":"/sota/weakly-supervised-object-detection-on-pascal","task":"Weakly Supervised Object Detection","dataset":"PASCAL VOC 2012 test","model":"WeakSAM-MIST-DINO (with SAM)","rank_in_archive_order":1,"of":32,"metrics":{"MAP":"70.2"},"uses_additional_data":false},{"leaderboard":"/sota/weakly-supervised-object-detection-on-pascal","task":"Weakly Supervised Object Detection","dataset":"PASCAL VOC 2012 test","model":"WeakSAM-MIST-Faster RCNN (with SAM)","rank_in_archive_order":2,"of":32,"metrics":{"MAP":"69.2"},"uses_additional_data":false},{"leaderboard":"/sota/weakly-supervised-object-detection-on-pascal","task":"Weakly Supervised Object Detection","dataset":"PASCAL VOC 2012 test","model":"WeakSAM-MIST (with SAM)","rank_in_archive_order":3,"of":32,"metrics":{"MAP":"66.9"},"uses_additional_data":false},{"leaderboard":"/sota/weakly-supervised-object-detection-on-pascal","task":"Weakly Supervised Object Detection","dataset":"PASCAL VOC 2012 test","model":"WeakSAM-OICR-DINO (with SAM)","rank_in_archive_order":4,"of":32,"metrics":{"MAP":"63.7"},"uses_additional_data":false},{"leaderboard":"/sota/weakly-supervised-object-detection-on-pascal","task":"Weakly Supervised Object Detection","dataset":"PASCAL VOC 2012 test","model":"WeakSAM-OICR-Faster RCNN (with SAM)","rank_in_archive_order":5,"of":32,"metrics":{"MAP":"62.9"},"uses_additional_data":false},{"leaderboard":"/sota/weakly-supervised-object-detection-on-pascal","task":"Weakly Supervised Object Detection","dataset":"PASCAL VOC 2012 test","model":"WeakSAM-OICR (with SAM)","rank_in_archive_order":6,"of":32,"metrics":{"MAP":"58.4"},"uses_additional_data":false}],"syntology":{"syntology_url":null,"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers","held":null,"reason":"arxiv_id_not_in_atlas","checked_against":{"atlas_ids":549449,"atlas_ids_sha256":"afd72399dafd9906e9062927f70655952385a3d75488558e1f0484e950ab09b7","read_at":"2026-10-05T01:46:21Z"},"by_repo":[{"repo":"hustvl/weaksam","kind":"official","samples":0,"ran":0,"instrument":0,"unverified":0}],"by_repo_is":"one row per repository in the archive's code links, Syntology's graph links or the samples; samples 0 means no sample is linked to this paper, a statement about Syntology's coverage, not about the repository: with harvested_for_other_papers present, Syntology harvested the repository for that many other papers, and without it, Syntology harvested nothing from it; placed_by_identical_code counts samples whose link records no repository, placed here because identical code was harvested from this repository for another paper; ran counts executions on a synthesized input and instrument counts failures of Syntology's instrument, not of the code"},"code_links_note":null,"arxiv_metadata":null,"syntology_extracted_results":null,"record_sha256":"a9f026ac505faae30f5c12d3ff7c2d3884a4b10431ea2d6e4e22326cf8f4c670","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}