{"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/procedural-image-programs-for-representation","title":"Procedural Image Programs for Representation Learning","arxiv_id":"2211.16412","date":"2022-11-29","proceeding":null,"authors":["Manel Baradad","Chun-Fu Chen","Jonas Wulff","Tongzhou Wang","Rogerio Feris","Antonio Torralba","Phillip Isola"],"abstract":"Learning image representations using synthetic data allows training neural networks without some of the concerns associated with real images, such as privacy and bias. Existing work focuses on a handful of curated generative processes which require expert knowledge to design, making it hard to scale up. To overcome this, we propose training with a large dataset of twenty-one thousand programs, each one generating a diverse set of synthetic images. These programs are short code snippets, which are easy to modify and fast to execute using OpenGL. The proposed dataset can be used for both supervised and unsupervised representation learning, and reduces the gap between pre-training with real and procedurally generated images by 38%.","url_abs":"https://arxiv.org/abs/2211.16412v2","url_pdf":"https://arxiv.org/pdf/2211.16412v2.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":"procedural-image-programs-for-representation","repo_url":"https://github.com/mbaradad/shaders21k","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"representation-learning","task_name":"Representation Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2211.16412","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2211.16412"}},"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/mbaradad/shaders21k","reach":null}],"summary":{"ran_draft_wrong":1,"unverified":2},"by_repo_kind":{"official":{"samples":3,"ran":1,"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":3,"samples":[{"code_sha256_prefix":"db8bfdc60e8012b0","entry":"get_program_from_shader_path","repo":"mbaradad/shaders21k","repo_kind":"official","path":"image_generation/shaders/renderer_moderngl.py","file_url":"https://github.com/mbaradad/shaders21k/blob/HEAD/image_generation/shaders/renderer_moderngl.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":"db8bfdc60e8012b0"}},{"code_sha256_prefix":"f30b96cef8d18642","entry":"get_renderer_from_fragments_file","repo":"mbaradad/shaders21k","repo_kind":"official","path":"image_generation/shaders/renderer_moderngl.py","file_url":"https://github.com/mbaradad/shaders21k/blob/HEAD/image_generation/shaders/renderer_moderngl.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":"f30b96cef8d18642"}},{"code_sha256_prefix":"aa254aec26bb3c3c","entry":"get_renderer_from_shader_path","repo":"mbaradad/shaders21k","repo_kind":"official","path":"image_generation/shaders/renderer_moderngl.py","file_url":"https://github.com/mbaradad/shaders21k/blob/HEAD/image_generation/shaders/renderer_moderngl.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":"aa254aec26bb3c3c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}