{"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/random-boxes-are-open-world-object-detectors","title":"Random Boxes Are Open-world Object Detectors","arxiv_id":"2307.08249","date":"2023-07-17","proceeding":"ICCV 2023 1","authors":["Yanghao Wang","Zhongqi Yue","Xian-Sheng Hua","Hanwang Zhang"],"abstract":"We show that classifiers trained with random region proposals achieve state-of-the-art Open-world Object Detection (OWOD): they can not only maintain the accuracy of the known objects (w/ training labels), but also considerably improve the recall of unknown ones (w/o training labels). Specifically, we propose RandBox, a Fast R-CNN based architecture trained on random proposals at each training iteration, surpassing existing Faster R-CNN and Transformer based OWOD. Its effectiveness stems from the following two benefits introduced by randomness. First, as the randomization is independent of the distribution of the limited known objects, the random proposals become the instrumental variable that prevents the training from being confounded by the known objects. Second, the unbiased training encourages more proposal explorations by using our proposed matching score that does not penalize the random proposals whose prediction scores do not match the known objects. On two benchmarks: Pascal-VOC/MS-COCO and LVIS, RandBox significantly outperforms the previous state-of-the-art in all metrics. We also detail the ablations on randomization and loss designs. Codes are available at https://github.com/scuwyh2000/RandBox.","url_abs":"https://arxiv.org/abs/2307.08249v1","url_pdf":"https://arxiv.org/pdf/2307.08249v1.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":"random-boxes-are-open-world-object-detectors","repo_url":"https://github.com/scuwyh2000/randbox","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"object","task_name":"Object"},{"task_slug":"object-detection","task_name":"Object Detection"},{"task_slug":"open-world-object-detection","task_name":"Open World Object Detection"},{"task_slug":"object-detection-1","task_name":"object-detection"}],"methods":[{"method_slug":"absolute-position-encodings","method_name":"Absolute Position Encodings"},{"method_slug":"adam","method_name":"Adam"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"bpe","method_name":"BPE"},{"method_slug":"convolution","method_name":"Convolution"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"fast-r-cnn","method_name":"Fast R-CNN"},{"method_slug":"faster-r-cnn","method_name":"Faster R-CNN"},{"method_slug":"label-smoothing","method_name":"Label Smoothing"},{"method_slug":"layer-normalization","method_name":"Layer Normalization"},{"method_slug":"linear-layer","method_name":"Linear Layer"},{"method_slug":"multi-head-attention","method_name":"Multi-Head Attention"},{"method_slug":"position-wise-feed-forward-layer","method_name":"Position-Wise Feed-Forward Layer"},{"method_slug":"rpn","method_name":"RPN"},{"method_slug":"residual-connection","method_name":"Residual Connection"},{"method_slug":"roipool","method_name":"RoIPool"},{"method_slug":"softmax","method_name":"Softmax"},{"method_slug":"transformer","method_name":"Transformer"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2307.08249","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2307.08249"}},"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/scuwyh2000/randbox","reach":{"status":"ok"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/scuwyh2000/RandBox","reach":{"status":"ok"}}],"summary":{"ran":5,"ran_honours":3,"ran_violates":2,"ran_fixture":1,"ran_draft_wrong":1,"unverified":4},"by_repo_kind":{"official":{"samples":16,"ran":12,"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":16,"samples":[{"code_sha256_prefix":"aa6da43d05cfaf65","entry":"all_gather","repo":"scuwyh2000/RandBox","repo_kind":"official","path":"randbox/util/misc.py","file_url":"https://github.com/scuwyh2000/RandBox/blob/HEAD/randbox/util/misc.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"aa6da43d05cfaf65"}},{"code_sha256_prefix":"e0a06ded5d4f6c3c","entry":"box_cxcywh_to_xyxy","repo":"scuwyh2000/RandBox","repo_kind":"official","path":"randbox/util/box_ops.py","file_url":"https://github.com/scuwyh2000/RandBox/blob/HEAD/randbox/util/box_ops.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e0a06ded5d4f6c3c"}},{"code_sha256_prefix":"ce749f837424dd8c","entry":"box_iou","repo":"scuwyh2000/RandBox","repo_kind":"official","path":"randbox/util/box_ops.py","file_url":"https://github.com/scuwyh2000/RandBox/blob/HEAD/randbox/util/box_ops.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ce749f837424dd8c"}},{"code_sha256_prefix":"031b02fb990284ba","entry":"box_xyxy_to_cxcywh","repo":"scuwyh2000/RandBox","repo_kind":"official","path":"randbox/util/box_ops.py","file_url":"https://github.com/scuwyh2000/RandBox/blob/HEAD/randbox/util/box_ops.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"031b02fb990284ba"}},{"code_sha256_prefix":"3f82133185c8bcb4","entry":"collate_fn","repo":"scuwyh2000/RandBox","repo_kind":"official","path":"randbox/util/misc.py","file_url":"https://github.com/scuwyh2000/RandBox/blob/HEAD/randbox/util/misc.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3f82133185c8bcb4"}},{"code_sha256_prefix":"8e8107f647130237","entry":"colormap","repo":"scuwyh2000/RandBox","repo_kind":"official","path":"randbox/util/colormap.py","file_url":"https://github.com/scuwyh2000/RandBox/blob/HEAD/randbox/util/colormap.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8e8107f647130237"}},{"code_sha256_prefix":"d1ef6b8cb9a28a53","entry":"default","repo":"scuwyh2000/RandBox","repo_kind":"official","path":"randbox/detector.py","file_url":"https://github.com/scuwyh2000/RandBox/blob/HEAD/randbox/detector.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d1ef6b8cb9a28a53"}},{"code_sha256_prefix":"608e364a9d2376a3","entry":"exists","repo":"scuwyh2000/RandBox","repo_kind":"official","path":"randbox/detector.py","file_url":"https://github.com/scuwyh2000/RandBox/blob/HEAD/randbox/detector.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"608e364a9d2376a3"}},{"code_sha256_prefix":"d5c3a7cf666001a1","entry":"get_model_ema_state","repo":"scuwyh2000/RandBox","repo_kind":"official","path":"randbox/util/model_ema.py","file_url":"https://github.com/scuwyh2000/RandBox/blob/HEAD/randbox/util/model_ema.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d5c3a7cf666001a1"}},{"code_sha256_prefix":"05992505df9ef0cd","entry":"reduce_dict","repo":"scuwyh2000/RandBox","repo_kind":"official","path":"randbox/util/misc.py","file_url":"https://github.com/scuwyh2000/RandBox/blob/HEAD/randbox/util/misc.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"05992505df9ef0cd"}},{"code_sha256_prefix":"f9fd6241d935f07b","entry":"window_partition","repo":"scuwyh2000/RandBox","repo_kind":"official","path":"randbox/swintransformer.py","file_url":"https://github.com/scuwyh2000/RandBox/blob/HEAD/randbox/swintransformer.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f9fd6241d935f07b"}},{"code_sha256_prefix":"fb32094c6dbece71","entry":"window_reverse","repo":"scuwyh2000/RandBox","repo_kind":"official","path":"randbox/swintransformer.py","file_url":"https://github.com/scuwyh2000/RandBox/blob/HEAD/randbox/swintransformer.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"fb32094c6dbece71"}},{"code_sha256_prefix":"4c1065395ab68be4","entry":"apply_model_ema","repo":"scuwyh2000/RandBox","repo_kind":"official","path":"randbox/util/model_ema.py","file_url":"https://github.com/scuwyh2000/RandBox/blob/HEAD/randbox/util/model_ema.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4c1065395ab68be4"}},{"code_sha256_prefix":"13c5bb713056a640","entry":"extract","repo":"scuwyh2000/RandBox","repo_kind":"official","path":"randbox/detector.py","file_url":"https://github.com/scuwyh2000/RandBox/blob/HEAD/randbox/detector.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"13c5bb713056a640"}},{"code_sha256_prefix":"1e00541b5a150708","entry":"may_get_ema_checkpointer","repo":"scuwyh2000/RandBox","repo_kind":"official","path":"randbox/util/model_ema.py","file_url":"https://github.com/scuwyh2000/RandBox/blob/HEAD/randbox/util/model_ema.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1e00541b5a150708"}},{"code_sha256_prefix":"611c47c44c424dba","entry":"voc_ap","repo":"scuwyh2000/RandBox","repo_kind":"official","path":"randbox/pascal_voc_evaluation.py","file_url":"https://github.com/scuwyh2000/RandBox/blob/HEAD/randbox/pascal_voc_evaluation.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"611c47c44c424dba"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}