{"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/airshot-efficient-few-shot-detection-for","title":"AirShot: Efficient Few-Shot Detection for Autonomous Exploration","arxiv_id":"2404.05069","date":"2024-04-07","proceeding":null,"authors":["Zihan Wang","Bowen Li","Chen Wang","Sebastian Scherer"],"abstract":"Few-shot object detection has drawn increasing attention in the field of robotic exploration, where robots are required to find unseen objects with a few online provided examples. Despite recent efforts have been made to yield online processing capabilities, slow inference speeds of low-powered robots fail to meet the demands of real-time detection-making them impractical for autonomous exploration. Existing methods still face performance and efficiency challenges, mainly due to unreliable features and exhaustive class loops. In this work, we propose a new paradigm AirShot, and discover that, by fully exploiting the valuable correlation map, AirShot can result in a more robust and faster few-shot object detection system, which is more applicable to robotics community. The core module Top Prediction Filter (TPF) can operate on multi-scale correlation maps in both the training and inference stages. During training, TPF supervises the generation of a more representative correlation map, while during inference, it reduces looping iterations by selecting top-ranked classes, thus cutting down on computational costs with better performance. Surprisingly, this dual functionality exhibits general effectiveness and efficiency on various off-the-shelf models. Exhaustive experiments on COCO2017, VOC2014, and SubT datasets demonstrate that TPF can significantly boost the efficacy and efficiency of most off-the-shelf models, achieving up to 36.4% precision improvements along with 56.3% faster inference speed. Code and Data are at: https://github.com/ImNotPrepared/AirShot.","url_abs":"https://arxiv.org/abs/2404.05069v1","url_pdf":"https://arxiv.org/pdf/2404.05069v1.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":"airshot-efficient-few-shot-detection-for","repo_url":"https://github.com/imnotprepared/airshot","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"BSD-2-Clause"}}],"tasks":[{"task_slug":"few-shot-object-detection","task_name":"Few-Shot Object Detection"},{"task_slug":"object-detection","task_name":"Object Detection"},{"task_slug":"object-detection-1","task_name":"object-detection"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2404.05069","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2404.05069"}},"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/imnotprepared/airshot","reach":{"status":"ok","spdx":"BSD-2-Clause"}}],"summary":{"ran":4,"unverified":2},"by_repo_kind":{"official":{"samples":6,"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":"549749e00d07d0be","entry":"crop_support","repo":"imnotprepared/airshot","repo_kind":"official","path":"datasets/coco/3_gen_support_pool.py","file_url":"https://github.com/imnotprepared/airshot/blob/HEAD/datasets/coco/3_gen_support_pool.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"549749e00d07d0be"}},{"code_sha256_prefix":"b5c5db2fcaa7283b","entry":"filter_coco","repo":"imnotprepared/airshot","repo_kind":"official","path":"datasets/coco/1_split_filter.py","file_url":"https://github.com/imnotprepared/airshot/blob/HEAD/datasets/coco/1_split_filter.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"b5c5db2fcaa7283b"}},{"code_sha256_prefix":"37048c236eb86341","entry":"get_contour_interior","repo":"imnotprepared/airshot","repo_kind":"official","path":"fewx/layers/boundary.py","file_url":"https://github.com/imnotprepared/airshot/blob/HEAD/fewx/layers/boundary.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"37048c236eb86341"}},{"code_sha256_prefix":"9b506f9da113b9eb","entry":"get_instances_contour_interior","repo":"imnotprepared/airshot","repo_kind":"official","path":"fewx/layers/boundary.py","file_url":"https://github.com/imnotprepared/airshot/blob/HEAD/fewx/layers/boundary.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"9b506f9da113b9eb"}},{"code_sha256_prefix":"dac8413f65a84dfc","entry":"get_center","repo":"imnotprepared/airshot","repo_kind":"official","path":"fewx/layers/boundary.py","file_url":"https://github.com/imnotprepared/airshot/blob/HEAD/fewx/layers/boundary.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"dac8413f65a84dfc"}},{"code_sha256_prefix":"2902bf4410253ff7","entry":"interpolate","repo":"imnotprepared/airshot","repo_kind":"official","path":"fewx/layers/misc.py","file_url":"https://github.com/imnotprepared/airshot/blob/HEAD/fewx/layers/misc.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"2902bf4410253ff7"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}