{"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/augmented-box-replay-overcoming-foreground","title":"Augmented Box Replay: Overcoming Foreground Shift for Incremental Object Detection","arxiv_id":"2307.12427","date":"2023-07-23","proceeding":"ICCV 2023 1","authors":["Liu Yuyang","Cong Yang","Goswami Dipam","Liu Xialei","Joost Van de Weijer"],"abstract":"In incremental learning, replaying stored samples from previous tasks together with current task samples is one of the most efficient approaches to address catastrophic forgetting. However, unlike incremental classification, image replay has not been successfully applied to incremental object detection (IOD). In this paper, we identify the overlooked problem of foreground shift as the main reason for this. Foreground shift only occurs when replaying images of previous tasks and refers to the fact that their background might contain foreground objects of the current task. To overcome this problem, a novel and efficient Augmented Box Replay (ABR) method is developed that only stores and replays foreground objects and thereby circumvents the foreground shift problem. In addition, we propose an innovative Attentive RoI Distillation loss that uses spatial attention from region-of-interest (RoI) features to constrain current model to focus on the most important information from old model. ABR significantly reduces forgetting of previous classes while maintaining high plasticity in current classes. Moreover, it considerably reduces the storage requirements when compared to standard image replay. Comprehensive experiments on Pascal-VOC and COCO datasets support the state-of-the-art performance of our model.","url_abs":"https://arxiv.org/abs/2307.12427v1","url_pdf":"https://arxiv.org/pdf/2307.12427v1.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":"augmented-box-replay-overcoming-foreground","repo_url":"https://github.com/yuyangsunshine/abr_iod","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"incremental-learning","task_name":"Incremental Learning"},{"task_slug":"object-detection","task_name":"Object Detection"},{"task_slug":"object-detection-1","task_name":"object-detection"}],"methods":[{"method_slug":"focus","method_name":"Focus"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2307.12427","atlas_url":"https://app.syntology.ai/?focus=2307.12427","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2307.12427"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/yuyangsunshine/abr_iod","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/YuyangSunshine/ABR","reach":{"status":"gone","observed_at":"2026-09-17","how":"tree_404+repo_404"}}],"summary":{"ran_fixture":2,"ran_draft_wrong":2},"by_repo_kind":{"official":{"samples":4,"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":4,"samples":[{"code_sha256_prefix":"73c20d138681f4a7","entry":"activation_at","repo":"yuyangsunshine/abr_iod","repo_kind":"official","path":"maskrcnn_benchmark/distillation/distillation.py","file_url":"https://github.com/yuyangsunshine/abr_iod/blob/HEAD/maskrcnn_benchmark/distillation/distillation.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"73c20d138681f4a7"}},{"code_sha256_prefix":"43a26cd51649431b","entry":"afd_loss","repo":"yuyangsunshine/abr_iod","repo_kind":"official","path":"maskrcnn_benchmark/distillation/distillation.py","file_url":"https://github.com/yuyangsunshine/abr_iod/blob/HEAD/maskrcnn_benchmark/distillation/distillation.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"43a26cd51649431b"}},{"code_sha256_prefix":"9c8aea91bc236a24","entry":"calculate_attentive_roi_feature_distillation","repo":"yuyangsunshine/abr_iod","repo_kind":"official","path":"maskrcnn_benchmark/distillation/distillation.py","file_url":"https://github.com/yuyangsunshine/abr_iod/blob/HEAD/maskrcnn_benchmark/distillation/distillation.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"9c8aea91bc236a24"}},{"code_sha256_prefix":"c890ccda25ce3790","entry":"pad_loss","repo":"yuyangsunshine/abr_iod","repo_kind":"official","path":"maskrcnn_benchmark/distillation/distillation.py","file_url":"https://github.com/yuyangsunshine/abr_iod/blob/HEAD/maskrcnn_benchmark/distillation/distillation.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"c890ccda25ce3790"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}