{"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/onlineaugment-online-data-augmentation-with","title":"OnlineAugment: Online Data Augmentation with Less Domain Knowledge","arxiv_id":"2007.09271","date":"2020-07-17","proceeding":"ECCV 2020 8","authors":["Zhiqiang Tang","Yunhe Gao","Leonid Karlinsky","Prasanna Sattigeri","Rogerio Feris","Dimitris Metaxas"],"abstract":"Data augmentation is one of the most important tools in training modern deep neural networks. Recently, great advances have been made in searching for optimal augmentation policies in the image classification domain. However, two key points related to data augmentation remain uncovered by the current methods. First is that most if not all modern augmentation search methods are offline and learning policies are isolated from their usage. The learned policies are mostly constant throughout the training process and are not adapted to the current training model state. Second, the policies rely on class-preserving image processing functions. Hence applying current offline methods to new tasks may require domain knowledge to specify such kind of operations. In this work, we offer an orthogonal online data augmentation scheme together with three new augmentation networks, co-trained with the target learning task. It is both more efficient, in the sense that it does not require expensive offline training when entering a new domain, and more adaptive as it adapts to the learner state. Our augmentation networks require less domain knowledge and are easily applicable to new tasks. Extensive experiments demonstrate that the proposed scheme alone performs on par with the state-of-the-art offline data augmentation methods, as well as improving upon the state-of-the-art in combination with those methods. Code is available at https://github.com/zhiqiangdon/online-augment .","url_abs":"https://arxiv.org/abs/2007.09271v2","url_pdf":"https://arxiv.org/pdf/2007.09271v2.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":"onlineaugment-online-data-augmentation-with","repo_url":"https://github.com/zhiqiangdon/online-augment","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"data-augmentation","task_name":"Data Augmentation"},{"task_slug":"image-classification","task_name":"Image Classification"},{"task_slug":"image-classification","task_name":"image-classification"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2007.09271","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2007.09271"}},"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/zhiqiangdon/online-augment","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_draft_wrong":1,"ran":2,"ran_violates":1,"unverified":1},"by_repo_kind":{"official":{"samples":5,"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":0,"samples":[{"code_sha256_prefix":"03a0be4fb7381bd2","entry":"conv3x3","repo":"zhiqiangdon/online-augment","repo_kind":"official","path":"models/pyramidnet.py","file_url":"https://github.com/zhiqiangdon/online-augment/blob/HEAD/models/pyramidnet.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":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"03a0be4fb7381bd2"}},{"code_sha256_prefix":"40d3c39a403ae1f7","entry":"float_parameter","repo":"zhiqiangdon/online-augment","repo_kind":"official","path":"archive_policies.py","file_url":"https://github.com/zhiqiangdon/online-augment/blob/HEAD/archive_policies.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"40d3c39a403ae1f7"}},{"code_sha256_prefix":"7900a3a6deef908b","entry":"int_parameter","repo":"zhiqiangdon/online-augment","repo_kind":"official","path":"archive_policies.py","file_url":"https://github.com/zhiqiangdon/online-augment/blob/HEAD/archive_policies.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7900a3a6deef908b"}},{"code_sha256_prefix":"8bc8b691d2e94f84","entry":"normalize_fn","repo":"zhiqiangdon/online-augment","repo_kind":"official","path":"models/normalize_mean_std.py","file_url":"https://github.com/zhiqiangdon/online-augment/blob/HEAD/models/normalize_mean_std.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8bc8b691d2e94f84"}},{"code_sha256_prefix":"f963a0c21d33cafa","entry":"get_mean_std","repo":"zhiqiangdon/online-augment","repo_kind":"official","path":"models/normalize_mean_std.py","file_url":"https://github.com/zhiqiangdon/online-augment/blob/HEAD/models/normalize_mean_std.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f963a0c21d33cafa"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}