{"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/lightweight-generative-adversarial-networks","title":"Lightweight Generative Adversarial Networks for Text-Guided Image Manipulation","arxiv_id":"2010.12136","date":"2020-10-23","proceeding":"NeurIPS 2020 12","authors":["Bowen Li","Xiaojuan Qi","Philip H. S. Torr","Thomas Lukasiewicz"],"abstract":"We propose a novel lightweight generative adversarial network for efficient image manipulation using natural language descriptions. To achieve this, a new word-level discriminator is proposed, which provides the generator with fine-grained training feedback at word-level, to facilitate training a lightweight generator that has a small number of parameters, but can still correctly focus on specific visual attributes of an image, and then edit them without affecting other contents that are not described in the text. Furthermore, thanks to the explicit training signal related to each word, the discriminator can also be simplified to have a lightweight structure. Compared with the state of the art, our method has a much smaller number of parameters, but still achieves a competitive manipulation performance. Extensive experimental results demonstrate that our method can better disentangle different visual attributes, then correctly map them to corresponding semantic words, and thus achieve a more accurate image modification using natural language descriptions.","url_abs":"https://arxiv.org/abs/2010.12136v1","url_pdf":"https://arxiv.org/pdf/2010.12136v1.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":"lightweight-generative-adversarial-networks","repo_url":"https://github.com/mrlibw/Lightweight-Manipulation","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":null,"task_name":"Generative Adversarial Network"},{"task_slug":"image-manipulation","task_name":"Image Manipulation"},{"task_slug":"text-to-image-generation","task_name":"Text-to-Image Generation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2010.12136","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2010.12136"}},"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/mrlibw/Lightweight-Manipulation","reach":null}],"summary":{"ran":3,"ran_draft_wrong":5,"unverified":5},"by_repo_kind":{"listed":{"samples":11,"ran":6,"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":13,"samples":[{"code_sha256_prefix":"2f46ecc9fdddce62","entry":"GET_IMAGE_G","repo":"mrlibw/Lightweight-Manipulation","repo_kind":"listed","path":"code/model.py","file_url":"https://github.com/mrlibw/Lightweight-Manipulation/blob/HEAD/code/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2f46ecc9fdddce62"}},{"code_sha256_prefix":"13397a8c9e722b98","entry":"GLU","repo":"mrlibw/Lightweight-Manipulation","repo_kind":"listed","path":"code/model.py","file_url":"https://github.com/mrlibw/Lightweight-Manipulation/blob/HEAD/code/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"13397a8c9e722b98"}},{"code_sha256_prefix":"dcc0183c25039473","entry":"ResBlock","repo":"mrlibw/Lightweight-Manipulation","repo_kind":"listed","path":"code/model.py","file_url":"https://github.com/mrlibw/Lightweight-Manipulation/blob/HEAD/code/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"dcc0183c25039473"}},{"code_sha256_prefix":"19379807ba70daaa","entry":"conv1x1","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"19379807ba70daaa"}},{"code_sha256_prefix":"ea864de5c552bc4a","entry":"conv3x3","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"ea864de5c552bc4a"}},{"code_sha256_prefix":"ff0216537d634680","entry":"downBlock","repo":"mrlibw/Lightweight-Manipulation","repo_kind":"listed","path":"code/model.py","file_url":"https://github.com/mrlibw/Lightweight-Manipulation/blob/HEAD/code/model.py","link_basis":"first_harvest_node","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":"ff0216537d634680"}},{"code_sha256_prefix":"bc25e1f4fc9b5b8a","entry":"imgUpBlock","repo":"mrlibw/Lightweight-Manipulation","repo_kind":"listed","path":"code/model.py","file_url":"https://github.com/mrlibw/Lightweight-Manipulation/blob/HEAD/code/model.py","link_basis":"first_harvest_node","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":"bc25e1f4fc9b5b8a"}},{"code_sha256_prefix":"6f94900ef977d57e","entry":"upBlock","repo":"mrlibw/Lightweight-Manipulation","repo_kind":"listed","path":"code/model.py","file_url":"https://github.com/mrlibw/Lightweight-Manipulation/blob/HEAD/code/model.py","link_basis":"first_harvest_node","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":"6f94900ef977d57e"}},{"code_sha256_prefix":"036621820a3bba25","entry":"ACM","repo":"mrlibw/Lightweight-Manipulation","repo_kind":"listed","path":"code/model.py","file_url":"https://github.com/mrlibw/Lightweight-Manipulation/blob/HEAD/code/model.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":"036621820a3bba25"}},{"code_sha256_prefix":"6aab889a8b5e8930","entry":"CA_NET","repo":"mrlibw/Lightweight-Manipulation","repo_kind":"listed","path":"code/model.py","file_url":"https://github.com/mrlibw/Lightweight-Manipulation/blob/HEAD/code/model.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":"6aab889a8b5e8930"}},{"code_sha256_prefix":"63fdf5584c7971bf","entry":"G_NET","repo":"mrlibw/Lightweight-Manipulation","repo_kind":"listed","path":"code/model.py","file_url":"https://github.com/mrlibw/Lightweight-Manipulation/blob/HEAD/code/model.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":"63fdf5584c7971bf"}},{"code_sha256_prefix":"f41738103570fc97","entry":"INIT_STAGE_G","repo":"mrlibw/Lightweight-Manipulation","repo_kind":"listed","path":"code/model.py","file_url":"https://github.com/mrlibw/Lightweight-Manipulation/blob/HEAD/code/model.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":"f41738103570fc97"}},{"code_sha256_prefix":"50bcbc776c55c4bf","entry":"NEXT_STAGE_G","repo":"mrlibw/Lightweight-Manipulation","repo_kind":"listed","path":"code/model.py","file_url":"https://github.com/mrlibw/Lightweight-Manipulation/blob/HEAD/code/model.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":"50bcbc776c55c4bf"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}