{"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/dreamda-generative-data-augmentation-with","title":"DreamDA: Generative Data Augmentation with Diffusion Models","arxiv_id":"2403.12803","date":"2024-03-19","proceeding":null,"authors":["Yunxiang Fu","Chaoqi Chen","Yu Qiao","Yizhou Yu"],"abstract":"The acquisition of large-scale, high-quality data is a resource-intensive and time-consuming endeavor. Compared to conventional Data Augmentation (DA) techniques (e.g. cropping and rotation), exploiting prevailing diffusion models for data generation has received scant attention in classification tasks. Existing generative DA methods either inadequately bridge the domain gap between real-world and synthesized images, or inherently suffer from a lack of diversity. To solve these issues, this paper proposes a new classification-oriented framework DreamDA, which enables data synthesis and label generation by way of diffusion models. DreamDA generates diverse samples that adhere to the original data distribution by considering training images in the original data as seeds and perturbing their reverse diffusion process. In addition, since the labels of the generated data may not align with the labels of their corresponding seed images, we introduce a self-training paradigm for generating pseudo labels and training classifiers using the synthesized data. Extensive experiments across four tasks and five datasets demonstrate consistent improvements over strong baselines, revealing the efficacy of DreamDA in synthesizing high-quality and diverse images with accurate labels. Our code will be available at https://github.com/yunxiangfu2001/DreamDA.","url_abs":"https://arxiv.org/abs/2403.12803v1","url_pdf":"https://arxiv.org/pdf/2403.12803v1.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":"dreamda-generative-data-augmentation-with","repo_url":"https://github.com/yunxiangfu2001/dreamda","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"data-augmentation","task_name":"Data Augmentation"},{"task_slug":"diversity","task_name":"Diversity"}],"methods":[{"method_slug":"align","method_name":"ALIGN"},{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2403.12803","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2403.12803"}},"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/yunxiangfu2001/dreamda","reach":{"status":"ok"}}],"summary":{"ran_draft_wrong":1,"ran":6,"unverified":3},"by_repo_kind":{"official":{"samples":10,"ran":7,"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":10,"samples":[{"code_sha256_prefix":"4a0ac9d611e018bc","entry":"AutoContrast","repo":"yunxiangfu2001/dreamda","repo_kind":"official","path":"dataset/augmentation.py","file_url":"https://github.com/yunxiangfu2001/dreamda/blob/HEAD/dataset/augmentation.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4a0ac9d611e018bc"}},{"code_sha256_prefix":"61ed09bbdb8adb72","entry":"Brightness","repo":"yunxiangfu2001/dreamda","repo_kind":"official","path":"dataset/augmentation.py","file_url":"https://github.com/yunxiangfu2001/dreamda/blob/HEAD/dataset/augmentation.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":"61ed09bbdb8adb72"}},{"code_sha256_prefix":"5e4ee5c45933ae09","entry":"Color","repo":"yunxiangfu2001/dreamda","repo_kind":"official","path":"dataset/augmentation.py","file_url":"https://github.com/yunxiangfu2001/dreamda/blob/HEAD/dataset/augmentation.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":"5e4ee5c45933ae09"}},{"code_sha256_prefix":"482570ed2057e8e8","entry":"adapt_to_chs","repo":"yunxiangfu2001/dreamda","repo_kind":"official","path":"dataset/loader.py","file_url":"https://github.com/yunxiangfu2001/dreamda/blob/HEAD/dataset/loader.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":"482570ed2057e8e8"}},{"code_sha256_prefix":"85c457992e228b55","entry":"class_acc","repo":"yunxiangfu2001/dreamda","repo_kind":"official","path":"validate.py","file_url":"https://github.com/yunxiangfu2001/dreamda/blob/HEAD/validate.py","link_basis":"first_harvest_node","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":"85c457992e228b55"}},{"code_sha256_prefix":"8eee4204b6767c33","entry":"fast_collate","repo":"yunxiangfu2001/dreamda","repo_kind":"official","path":"dataset/loader.py","file_url":"https://github.com/yunxiangfu2001/dreamda/blob/HEAD/dataset/loader.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":"8eee4204b6767c33"}},{"code_sha256_prefix":"28ace4e0dd82855c","entry":"make_dataset","repo":"yunxiangfu2001/dreamda","repo_kind":"official","path":"dataset/car.py","file_url":"https://github.com/yunxiangfu2001/dreamda/blob/HEAD/dataset/car.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":"28ace4e0dd82855c"}},{"code_sha256_prefix":"638bf1a226184020","entry":"create_loader2","repo":"yunxiangfu2001/dreamda","repo_kind":"official","path":"dataset/loader.py","file_url":"https://github.com/yunxiangfu2001/dreamda/blob/HEAD/dataset/loader.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":"638bf1a226184020"}},{"code_sha256_prefix":"ecbf5b204cfa985d","entry":"make_dataset","repo":"yunxiangfu2001/dreamda","repo_kind":"official","path":"dataset/dog.py","file_url":"https://github.com/yunxiangfu2001/dreamda/blob/HEAD/dataset/dog.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":"ecbf5b204cfa985d"}},{"code_sha256_prefix":"13892c4e364e8606","entry":"validate","repo":"yunxiangfu2001/dreamda","repo_kind":"official","path":"validate.py","file_url":"https://github.com/yunxiangfu2001/dreamda/blob/HEAD/validate.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":"13892c4e364e8606"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}