{"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/multi-scale-positive-sample-refinement-for","title":"Multi-Scale Positive Sample Refinement for Few-Shot Object Detection","arxiv_id":"2007.09384","date":"2020-07-18","proceeding":"ECCV 2020 8","authors":["Jiaxi Wu","Songtao Liu","Di Huang","Yunhong Wang"],"abstract":"Few-shot object detection (FSOD) helps detectors adapt to unseen classes with few training instances, and is useful when manual annotation is time-consuming or data acquisition is limited. Unlike previous attempts that exploit few-shot classification techniques to facilitate FSOD, this work highlights the necessity of handling the problem of scale variations, which is challenging due to the unique sample distribution. To this end, we propose a Multi-scale Positive Sample Refinement (MPSR) approach to enrich object scales in FSOD. It generates multi-scale positive samples as object pyramids and refines the prediction at various scales. We demonstrate its advantage by integrating it as an auxiliary branch to the popular architecture of Faster R-CNN with FPN, delivering a strong FSOD solution. Several experiments are conducted on PASCAL VOC and MS COCO, and the proposed approach achieves state of the art results and significantly outperforms other counterparts, which shows its effectiveness. Code is available at https://github.com/jiaxi-wu/MPSR.","url_abs":"https://arxiv.org/abs/2007.09384v1","url_pdf":"https://arxiv.org/pdf/2007.09384v1.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":"multi-scale-positive-sample-refinement-for","repo_url":"https://github.com/jiaxi-wu/MPSR","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"multi-scale-positive-sample-refinement-for","repo_url":"https://github.com/2006pmach/awesome-few-shot-object-detection","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"multi-scale-positive-sample-refinement-for","repo_url":"https://github.com/bohao-lee/pdc","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"multi-scale-positive-sample-refinement-for","repo_url":"https://github.com/er-muyue/defrcn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"few-shot-object-detection","task_name":"Few-Shot Object Detection"},{"task_slug":"object","task_name":"Object"},{"task_slug":"object-detection","task_name":"Object Detection"},{"task_slug":"object-detection-1","task_name":"object-detection"}],"methods":[{"method_slug":"1x1-convolution","method_name":"1x1 Convolution"},{"method_slug":"convolution","method_name":"Convolution"},{"method_slug":"fpn","method_name":"FPN"},{"method_slug":"faster-r-cnn","method_name":"Faster R-CNN"},{"method_slug":"rpn","method_name":"RPN"},{"method_slug":"roipool","method_name":"RoIPool"},{"method_slug":"softmax","method_name":"Softmax"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/few-shot-object-detection-on-ms-coco-10-shot","task":"Few-Shot Object Detection","dataset":"MS-COCO (10-shot)","model":"MPSR","rank_in_archive_order":29,"of":33,"metrics":{"AP":"9.8"},"uses_additional_data":false},{"leaderboard":"/sota/few-shot-object-detection-on-ms-coco-30-shot","task":"Few-Shot Object Detection","dataset":"MS-COCO (30-shot)","model":"MPSR","rank_in_archive_order":19,"of":25,"metrics":{"AP":"14.1"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2007.09384","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2007.09384"}},"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/jiaxi-wu/MPSR","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/er-muyue/defrcn","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/2006pmach/awesome-few-shot-object-detection","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/bohao-lee/pdc","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_fixture":2,"ran_draft_wrong":2,"ran":1,"unverified":3},"by_repo_kind":{"official":{"samples":1,"ran":1,"repositories":1},"listed":{"samples":7,"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":"144d10b49baeb8a6","entry":"window_partition","repo":"bohao-lee/pdc","repo_kind":"listed","path":"models/swin_transformer.py","file_url":"https://github.com/bohao-lee/pdc/blob/HEAD/models/swin_transformer.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":2,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"144d10b49baeb8a6"}},{"code_sha256_prefix":"49fb22ff17d97423","entry":"build_roi_box_head","repo":"jiaxi-wu/MPSR","repo_kind":"official","path":"maskrcnn_benchmark/modeling/roi_heads/box_head/box_head.py","file_url":"https://github.com/jiaxi-wu/MPSR/blob/HEAD/maskrcnn_benchmark/modeling/roi_heads/box_head/box_head.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"49fb22ff17d97423"}},{"code_sha256_prefix":"55120f2026b56aa2","entry":"drop_path","repo":"bohao-lee/pdc","repo_kind":"listed","path":"models/vision_transformer.py","file_url":"https://github.com/bohao-lee/pdc/blob/HEAD/models/vision_transformer.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"55120f2026b56aa2"}},{"code_sha256_prefix":"24385f6e21ea88d7","entry":"get_num_layer_for_vit","repo":"bohao-lee/pdc","repo_kind":"listed","path":"mmcv_custom/layer_decay_optimizer_constructor.py","file_url":"https://github.com/bohao-lee/pdc/blob/HEAD/mmcv_custom/layer_decay_optimizer_constructor.py","link_basis":"harvester_set","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":"24385f6e21ea88d7"}},{"code_sha256_prefix":"61bf152e6a42a184","entry":"window_reverse","repo":"bohao-lee/pdc","repo_kind":"listed","path":"models/swin_transformer.py","file_url":"https://github.com/bohao-lee/pdc/blob/HEAD/models/swin_transformer.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"61bf152e6a42a184"}},{"code_sha256_prefix":"9442eb59f6d0a7aa","entry":"get_num_layer_for_mae","repo":"bohao-lee/pdc","repo_kind":"listed","path":"mmcv_custom/layer_decay_optimizer_constructor_backbone_frozen.py","file_url":"https://github.com/bohao-lee/pdc/blob/HEAD/mmcv_custom/layer_decay_optimizer_constructor_backbone_frozen.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":"9442eb59f6d0a7aa"}},{"code_sha256_prefix":"a8f99539dbbaa617","entry":"vit_small","repo":"bohao-lee/pdc","repo_kind":"listed","path":"models/vision_transformer.py","file_url":"https://github.com/bohao-lee/pdc/blob/HEAD/models/vision_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":"a8f99539dbbaa617"}},{"code_sha256_prefix":"1b5e2f11314f237d","entry":"vit_tiny","repo":"bohao-lee/pdc","repo_kind":"listed","path":"models/vision_transformer.py","file_url":"https://github.com/bohao-lee/pdc/blob/HEAD/models/vision_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":"1b5e2f11314f237d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}