{"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/batch-feature-erasing-for-person-re","title":"Batch DropBlock Network for Person Re-identification and Beyond","arxiv_id":"1811.07130","date":"2018-11-17","proceeding":"ICCV 2019 10","authors":["Zuozhuo Dai","Mingqiang Chen","Xiaodong Gu","Siyu Zhu","Ping Tan"],"abstract":"Since the person re-identification task often suffers from the problem of pose changes and occlusions, some attentive local features are often suppressed when training CNNs. In this paper, we propose the Batch DropBlock (BDB) Network which is a two branch network composed of a conventional ResNet-50 as the global branch and a feature dropping branch. The global branch encodes the global salient representations. Meanwhile, the feature dropping branch consists of an attentive feature learning module called Batch DropBlock, which randomly drops the same region of all input feature maps in a batch to reinforce the attentive feature learning of local regions. The network then concatenates features from both branches and provides a more comprehensive and spatially distributed feature representation. Albeit simple, our method achieves state-of-the-art on person re-identification and it is also applicable to general metric learning tasks. For instance, we achieve 76.4% Rank-1 accuracy on the CUHK03-Detect dataset and 83.0% Recall-1 score on the Stanford Online Products dataset, outperforming the existing works by a large margin (more than 6%).","url_abs":"https://arxiv.org/abs/1811.07130v3","url_pdf":"https://arxiv.org/pdf/1811.07130v3.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":"batch-feature-erasing-for-person-re","repo_url":"https://github.com/FaizaAslam2424/Faiza-Aslam","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"batch-feature-erasing-for-person-re","repo_url":"https://github.com/daizuozhuo/batch-dropblock-network","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"batch-feature-erasing-for-person-re","repo_url":"https://github.com/daizuozhuo/batch-feature-erasing-network","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"batch-feature-erasing-for-person-re","repo_url":"https://github.com/zjjszj/batch-feature-erasing","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"batch-feature-erasing-for-person-re","repo_url":"https://github.com/zjjszj/ps_dm_reid","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"image-retrieval","task_name":"Image Retrieval"},{"task_slug":"metric-learning","task_name":"Metric Learning"},{"task_slug":"person-re-identification","task_name":"Person Re-Identification"}],"methods":[{"method_slug":"dropblock","method_name":"DropBlock"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/person-re-identification-on-cuhk03-labeled","task":"Person Re-Identification","dataset":"CUHK03 labeled","model":"BDB  (ICCV'19)","rank_in_archive_order":10,"of":21,"metrics":{"MAP":"76.7","Rank-1":"79.4"},"uses_additional_data":false},{"leaderboard":"/sota/person-re-identification-on-market-1501-c","task":"Person Re-Identification","dataset":"Market-1501-C","model":"BDB","rank_in_archive_order":8,"of":22,"metrics":{" Rank-1":"33.79"," mAP":"10.95"," mINP":"0.32"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1811.07130","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1811.07130"}},"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/FaizaAslam2424/Faiza-Aslam","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/zjjszj/ps_dm_reid","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/zjjszj/batch-feature-erasing","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/daizuozhuo/batch-dropblock-network","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/daizuozhuo/batch-feature-erasing-network","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":1,"ran":1,"ran_honours":1,"unverified":9},"by_repo_kind":{"listed":{"samples":12,"ran":3,"repositories":3}},"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":"e3b2a83f52101f2d","entry":"normalize","repo":"daizuozhuo/batch-dropblock-network","repo_kind":"listed","path":"utils/loss.py","file_url":"https://github.com/daizuozhuo/batch-dropblock-network/blob/HEAD/utils/loss.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e3b2a83f52101f2d"}},{"code_sha256_prefix":"4b11b485195acac8","entry":"similarity","repo":"daizuozhuo/batch-dropblock-network","repo_kind":"listed","path":"utils/DistWeightDevianceLoss.py","file_url":"https://github.com/daizuozhuo/batch-dropblock-network/blob/HEAD/utils/DistWeightDevianceLoss.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4b11b485195acac8"}},{"code_sha256_prefix":"99bbeaa12c80f194","entry":"test","repo":"zjjszj/ps_dm_reid","repo_kind":"listed","path":"main_reid.py","file_url":"https://github.com/zjjszj/ps_dm_reid/blob/HEAD/main_reid.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"99bbeaa12c80f194"}},{"code_sha256_prefix":"a8ca488a78fe3000","entry":"GaussDistribution","repo":"daizuozhuo/batch-dropblock-network","repo_kind":"listed","path":"utils/DistWeightDevianceLoss.py","file_url":"https://github.com/daizuozhuo/batch-dropblock-network/blob/HEAD/utils/DistWeightDevianceLoss.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a8ca488a78fe3000"}},{"code_sha256_prefix":"6c89823f3dcd9176","entry":"init_dataset","repo":"daizuozhuo/batch-dropblock-network","repo_kind":"listed","path":"datasets/data_manager.py","file_url":"https://github.com/daizuozhuo/batch-dropblock-network/blob/HEAD/datasets/data_manager.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6c89823f3dcd9176"}},{"code_sha256_prefix":"076552aac0a5dd3d","entry":"init_dataset","repo":"zjjszj/batch-feature-erasing","repo_kind":"listed","path":"datasets/data_manager.py","file_url":"https://github.com/zjjszj/batch-feature-erasing/blob/HEAD/datasets/data_manager.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"076552aac0a5dd3d"}},{"code_sha256_prefix":"a610e67edff490e6","entry":"k_reciprocal_neigh","repo":"daizuozhuo/batch-dropblock-network","repo_kind":"listed","path":"trainers/re_ranking.py","file_url":"https://github.com/daizuozhuo/batch-dropblock-network/blob/HEAD/trainers/re_ranking.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a610e67edff490e6"}},{"code_sha256_prefix":"58f365883f647099","entry":"pdist","repo":"daizuozhuo/batch-dropblock-network","repo_kind":"listed","path":"utils/loss.py","file_url":"https://github.com/daizuozhuo/batch-dropblock-network/blob/HEAD/utils/loss.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"58f365883f647099"}},{"code_sha256_prefix":"0d0c0c2ee0cbcc00","entry":"re_ranking","repo":"daizuozhuo/batch-dropblock-network","repo_kind":"listed","path":"trainers/re_ranking.py","file_url":"https://github.com/daizuozhuo/batch-dropblock-network/blob/HEAD/trainers/re_ranking.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0d0c0c2ee0cbcc00"}},{"code_sha256_prefix":"e366124173574e1d","entry":"re_ranking_new","repo":"daizuozhuo/batch-dropblock-network","repo_kind":"listed","path":"trainers/re_ranking.py","file_url":"https://github.com/daizuozhuo/batch-dropblock-network/blob/HEAD/trainers/re_ranking.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e366124173574e1d"}},{"code_sha256_prefix":"80bda819706e052f","entry":"read_image","repo":"daizuozhuo/batch-dropblock-network","repo_kind":"listed","path":"datasets/data_loader.py","file_url":"https://github.com/daizuozhuo/batch-dropblock-network/blob/HEAD/datasets/data_loader.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"80bda819706e052f"}},{"code_sha256_prefix":"2d401581cceae6a4","entry":"topk_mask","repo":"daizuozhuo/batch-dropblock-network","repo_kind":"listed","path":"utils/loss.py","file_url":"https://github.com/daizuozhuo/batch-dropblock-network/blob/HEAD/utils/loss.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2d401581cceae6a4"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}