{"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/self-supervised-gans-with-label-augmentation","title":"Self-Supervised GANs with Label Augmentation","arxiv_id":"2106.08601","date":"2021-06-16","proceeding":"NeurIPS 2021 12","authors":["Liang Hou","HuaWei Shen","Qi Cao","Xueqi Cheng"],"abstract":"Recently, transformation-based self-supervised learning has been applied to generative adversarial networks (GANs) to mitigate catastrophic forgetting in the discriminator by introducing a stationary learning environment. However, the separate self-supervised tasks in existing self-supervised GANs cause a goal inconsistent with generative modeling due to the fact that their self-supervised classifiers are agnostic to the generator distribution. To address this problem, we propose a novel self-supervised GAN that unifies the GAN task with the self-supervised task by augmenting the GAN labels (real or fake) via self-supervision of data transformation. Specifically, the original discriminator and self-supervised classifier are unified into a label-augmented discriminator that predicts the augmented labels to be aware of both the generator distribution and the data distribution under every transformation, and then provide the discrepancy between them to optimize the generator. Theoretically, we prove that the optimal generator could converge to replicate the real data distribution. Empirically, we show that the proposed method significantly outperforms previous self-supervised and data augmentation GANs on both generative modeling and representation learning across benchmark datasets.","url_abs":"https://arxiv.org/abs/2106.08601v5","url_pdf":"https://arxiv.org/pdf/2106.08601v5.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":"self-supervised-gans-with-label-augmentation","repo_url":"https://github.com/houliangict/ssgan-la","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"self-supervised-gans-with-label-augmentation","repo_url":"https://github.com/liang-hou/ssgan-la","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"data-augmentation","task_name":"Data Augmentation"},{"task_slug":"image-generation","task_name":"Image Generation"},{"task_slug":"representation-learning","task_name":"Representation Learning"},{"task_slug":"self-supervised-learning","task_name":"Self-Supervised Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2106.08601","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2106.08601"}},"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":"deterministic:regex_extraction","url":"https://github.com/houliangict/ssgan-la","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/liang-hou/ssgan-la","reach":null}],"summary":{"ran":2,"ran_draft_wrong":1,"unverified":1},"by_repo_kind":{"listed":{"samples":4,"ran":3,"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":"a9e0e4b5f5a1f8ed","entry":"DBlock","repo":"liang-hou/ssgan-la","repo_kind":"listed","path":"BigGAN-PyTorch/BigGAN.py","file_url":"https://github.com/liang-hou/ssgan-la/blob/HEAD/BigGAN-PyTorch/BigGAN.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":"a9e0e4b5f5a1f8ed"}},{"code_sha256_prefix":"59c5a6342553eae1","entry":"D_arch","repo":"liang-hou/ssgan-la","repo_kind":"listed","path":"BigGAN-PyTorch/BigGAN.py","file_url":"https://github.com/liang-hou/ssgan-la/blob/HEAD/BigGAN-PyTorch/BigGAN.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"59c5a6342553eae1"}},{"code_sha256_prefix":"198a904d0f649646","entry":"SNEmbedding","repo":"liang-hou/ssgan-la","repo_kind":"listed","path":"BigGAN-PyTorch/BigGAN.py","file_url":"https://github.com/liang-hou/ssgan-la/blob/HEAD/BigGAN-PyTorch/BigGAN.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":"198a904d0f649646"}},{"code_sha256_prefix":"0b8f0b3381bc364e","entry":"Discriminator","repo":"liang-hou/ssgan-la","repo_kind":"listed","path":"BigGAN-PyTorch/BigGAN.py","file_url":"https://github.com/liang-hou/ssgan-la/blob/HEAD/BigGAN-PyTorch/BigGAN.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":"0b8f0b3381bc364e"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}