{"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/fine-grained-recognition-with-learnable","title":"Fine-grained Recognition with Learnable Semantic Data Augmentation","arxiv_id":"2309.00399","date":"2023-09-01","proceeding":null,"authors":["Yifan Pu","Yizeng Han","Yulin Wang","Junlan Feng","Chao Deng","Gao Huang"],"abstract":"Fine-grained image recognition is a longstanding computer vision challenge that focuses on differentiating objects belonging to multiple subordinate categories within the same meta-category. Since images belonging to the same meta-category usually share similar visual appearances, mining discriminative visual cues is the key to distinguishing fine-grained categories. Although commonly used image-level data augmentation techniques have achieved great success in generic image classification problems, they are rarely applied in fine-grained scenarios, because their random editing-region behavior is prone to destroy the discriminative visual cues residing in the subtle regions. In this paper, we propose diversifying the training data at the feature-level to alleviate the discriminative region loss problem. Specifically, we produce diversified augmented samples by translating image features along semantically meaningful directions. The semantic directions are estimated with a covariance prediction network, which predicts a sample-wise covariance matrix to adapt to the large intra-class variation inherent in fine-grained images. Furthermore, the covariance prediction network is jointly optimized with the classification network in a meta-learning manner to alleviate the degenerate solution problem. Experiments on four competitive fine-grained recognition benchmarks (CUB-200-2011, Stanford Cars, FGVC Aircrafts, NABirds) demonstrate that our method significantly improves the generalization performance on several popular classification networks (e.g., ResNets, DenseNets, EfficientNets, RegNets and ViT). Combined with a recently proposed method, our semantic data augmentation approach achieves state-of-the-art performance on the CUB-200-2011 dataset. The source code will be released.","url_abs":"https://arxiv.org/abs/2309.00399v1","url_pdf":"https://arxiv.org/pdf/2309.00399v1.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":"fine-grained-recognition-with-learnable","repo_url":"https://github.com/LeapLabTHU/LearnableISDA","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"data-augmentation","task_name":"Data Augmentation"},{"task_slug":"fine-grained-image-recognition","task_name":"Fine-Grained Image Recognition"},{"task_slug":"image-classification","task_name":"Image Classification"},{"task_slug":"meta-learning","task_name":"Meta-Learning"},{"task_slug":"image-classification","task_name":"image-classification"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2309.00399","atlas_url":"https://app.syntology.ai/?focus=2309.00399","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2309.00399"}},"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/LeapLabTHU/LearnableISDA","reach":{"status":"ok"}}],"summary":{"ran_draft_wrong":2,"ran":2,"unverified":3},"by_repo_kind":{"official":{"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":7,"samples":[{"code_sha256_prefix":"d9def42110729a85","entry":"conv1x1","repo":"LeapLabTHU/LearnableISDA","repo_kind":"official","path":"models/resnet.py","file_url":"https://github.com/LeapLabTHU/LearnableISDA/blob/HEAD/models/resnet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d9def42110729a85"}},{"code_sha256_prefix":"160bb14bd76201b4","entry":"conv3x3","repo":"LeapLabTHU/LearnableISDA","repo_kind":"official","path":"models/resnet.py","file_url":"https://github.com/LeapLabTHU/LearnableISDA/blob/HEAD/models/resnet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"160bb14bd76201b4"}},{"code_sha256_prefix":"0302e6bc4693eb92","entry":"find_classes","repo":"LeapLabTHU/LearnableISDA","repo_kind":"official","path":"utils/dataset.py","file_url":"https://github.com/LeapLabTHU/LearnableISDA/blob/HEAD/utils/dataset.py","link_basis":"first_harvest_node","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":"0302e6bc4693eb92"}},{"code_sha256_prefix":"d7aa9c6a98fa4fc5","entry":"get_continuous_class_map","repo":"LeapLabTHU/LearnableISDA","repo_kind":"official","path":"utils/dataset.py","file_url":"https://github.com/LeapLabTHU/LearnableISDA/blob/HEAD/utils/dataset.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d7aa9c6a98fa4fc5"}},{"code_sha256_prefix":"51d41994183c270d","entry":"get_loader","repo":"LeapLabTHU/LearnableISDA","repo_kind":"official","path":"utils/data_utils.py","file_url":"https://github.com/LeapLabTHU/LearnableISDA/blob/HEAD/utils/data_utils.py","link_basis":"first_harvest_node","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":"51d41994183c270d"}},{"code_sha256_prefix":"6d9b5ef60c8859ac","entry":"make_dataset","repo":"LeapLabTHU/LearnableISDA","repo_kind":"official","path":"utils/dataset.py","file_url":"https://github.com/LeapLabTHU/LearnableISDA/blob/HEAD/utils/dataset.py","link_basis":"first_harvest_node","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":"6d9b5ef60c8859ac"}},{"code_sha256_prefix":"4aaceb69c49d8f23","entry":"resnet18","repo":"LeapLabTHU/LearnableISDA","repo_kind":"official","path":"models/resnet.py","file_url":"https://github.com/LeapLabTHU/LearnableISDA/blob/HEAD/models/resnet.py","link_basis":"first_harvest_node","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":"4aaceb69c49d8f23"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}