{"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/pre-trained-text-to-image-diffusion-models","title":"Pre-trained Text-to-Image Diffusion Models Are Versatile Representation Learners for Control","arxiv_id":"2405.05852","date":"2024-05-09","proceeding":null,"authors":["Gunshi Gupta","Karmesh Yadav","Yarin Gal","Dhruv Batra","Zsolt Kira","Cong Lu","Tim G. J. Rudner"],"abstract":"Embodied AI agents require a fine-grained understanding of the physical world mediated through visual and language inputs. Such capabilities are difficult to learn solely from task-specific data. This has led to the emergence of pre-trained vision-language models as a tool for transferring representations learned from internet-scale data to downstream tasks and new domains. However, commonly used contrastively trained representations such as in CLIP have been shown to fail at enabling embodied agents to gain a sufficiently fine-grained scene understanding -- a capability vital for control. To address this shortcoming, we consider representations from pre-trained text-to-image diffusion models, which are explicitly optimized to generate images from text prompts and as such, contain text-conditioned representations that reflect highly fine-grained visuo-spatial information. Using pre-trained text-to-image diffusion models, we construct Stable Control Representations which allow learning downstream control policies that generalize to complex, open-ended environments. We show that policies learned using Stable Control Representations are competitive with state-of-the-art representation learning approaches across a broad range of simulated control settings, encompassing challenging manipulation and navigation tasks. Most notably, we show that Stable Control Representations enable learning policies that exhibit state-of-the-art performance on OVMM, a difficult open-vocabulary navigation benchmark.","url_abs":"https://arxiv.org/abs/2405.05852v1","url_pdf":"https://arxiv.org/pdf/2405.05852v1.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":"pre-trained-text-to-image-diffusion-models","repo_url":"https://github.com/ykarmesh/stable-control-representations","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"NOASSERTION"}}],"tasks":[{"task_slug":"representation-learning","task_name":"Representation Learning"},{"task_slug":"scene-understanding","task_name":"Scene Understanding"}],"methods":[{"method_slug":"clip","method_name":"CLIP"},{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2405.05852","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2405.05852"}},"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/ykarmesh/stable-control-representations","reach":{"status":"ok","spdx":"NOASSERTION"}}],"summary":{"ran":4,"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":5,"samples":[{"code_sha256_prefix":"7c132780219011f2","entry":"fuse_embeddings_concat","repo":"ykarmesh/stable-control-representations","repo_kind":"official","path":"cortexbench/mujoco_vc/src/mujoco_vc/model_loading.py","file_url":"https://github.com/ykarmesh/stable-control-representations/blob/HEAD/cortexbench/mujoco_vc/src/mujoco_vc/model_loading.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"7c132780219011f2"}},{"code_sha256_prefix":"654be5f6ddb0498a","entry":"fuse_embeddings_flare","repo":"ykarmesh/stable-control-representations","repo_kind":"official","path":"cortexbench/mujoco_vc/src/mujoco_vc/model_loading.py","file_url":"https://github.com/ykarmesh/stable-control-representations/blob/HEAD/cortexbench/mujoco_vc/src/mujoco_vc/model_loading.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"654be5f6ddb0498a"}},{"code_sha256_prefix":"34ec0fa5ee174f46","entry":"poll_checkpoint_folder","repo":"ykarmesh/stable-control-representations","repo_kind":"official","path":"cortexbench/habitat_vc/habitat_vc/utils.py","file_url":"https://github.com/ykarmesh/stable-control-representations/blob/HEAD/cortexbench/habitat_vc/habitat_vc/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"34ec0fa5ee174f46"}},{"code_sha256_prefix":"515bddf51e618f26","entry":"toggle_tqdm","repo":"ykarmesh/stable-control-representations","repo_kind":"official","path":"cortexbench/mujoco_vc/src/mujoco_vc/rollout_utils.py","file_url":"https://github.com/ykarmesh/stable-control-representations/blob/HEAD/cortexbench/mujoco_vc/src/mujoco_vc/rollout_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"515bddf51e618f26"}},{"code_sha256_prefix":"113655405f271a6f","entry":"load_pretrained_model","repo":"ykarmesh/stable-control-representations","repo_kind":"official","path":"cortexbench/mujoco_vc/src/mujoco_vc/model_loading.py","file_url":"https://github.com/ykarmesh/stable-control-representations/blob/HEAD/cortexbench/mujoco_vc/src/mujoco_vc/model_loading.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"113655405f271a6f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}