{"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/reinforcement-learning-from-passive-data-via","title":"Reinforcement Learning from Passive Data via Latent Intentions","arxiv_id":"2304.04782","date":"2023-04-10","proceeding":null,"authors":["Dibya Ghosh","Chethan Bhateja","Sergey Levine"],"abstract":"Passive observational data, such as human videos, is abundant and rich in information, yet remains largely untapped by current RL methods. Perhaps surprisingly, we show that passive data, despite not having reward or action labels, can still be used to learn features that accelerate downstream RL. Our approach learns from passive data by modeling intentions: measuring how the likelihood of future outcomes change when the agent acts to achieve a particular task. We propose a temporal difference learning objective to learn about intentions, resulting in an algorithm similar to conventional RL, but which learns entirely from passive data. When optimizing this objective, our agent simultaneously learns representations of states, of policies, and of possible outcomes in an environment, all from raw observational data. Both theoretically and empirically, this scheme learns features amenable for value prediction for downstream tasks, and our experiments demonstrate the ability to learn from many forms of passive data, including cross-embodiment video data and YouTube videos.","url_abs":"https://arxiv.org/abs/2304.04782v1","url_pdf":"https://arxiv.org/pdf/2304.04782v1.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":"reinforcement-learning-from-passive-data-via","repo_url":"https://github.com/dibyaghosh/icvf_release","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"reinforcement-learning","task_name":"Reinforcement Learning"},{"task_slug":"value-prediction","task_name":"Value prediction"},{"task_slug":"reinforcement-learning-2","task_name":"reinforcement-learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2304.04782","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2304.04782"}},"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/dibyaghosh/icvf_release","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":15},"by_repo_kind":{"official":{"samples":15,"ran":0,"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":"25a1b02d068ed008","entry":"capitalize_game_name","repo":"dibyaghosh/icvf_release","repo_kind":"official","path":"icvf_envs/atari/atari_envs.py","file_url":"https://github.com/dibyaghosh/icvf_release/blob/HEAD/icvf_envs/atari/atari_envs.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"25a1b02d068ed008"}},{"code_sha256_prefix":"239fb49d34d3d55a","entry":"distance_from_beginning","repo":"dibyaghosh/icvf_release","repo_kind":"official","path":"icvf_envs/atari/offline_env.py","file_url":"https://github.com/dibyaghosh/icvf_release/blob/HEAD/icvf_envs/atari/offline_env.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"239fb49d34d3d55a"}},{"code_sha256_prefix":"97edc824282c1fed","entry":"expectile_loss","repo":"dibyaghosh/icvf_release","repo_kind":"official","path":"src/icvf_learner.py","file_url":"https://github.com/dibyaghosh/icvf_release/blob/HEAD/src/icvf_learner.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"97edc824282c1fed"}},{"code_sha256_prefix":"2d17f9689108389d","entry":"get_canvas_image","repo":"dibyaghosh/icvf_release","repo_kind":"official","path":"icvf_envs/antmaze/d4rl_ant.py","file_url":"https://github.com/dibyaghosh/icvf_release/blob/HEAD/icvf_envs/antmaze/d4rl_ant.py","link_basis":"plan_row","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2d17f9689108389d"}},{"code_sha256_prefix":"fba01e14dbbb753b","entry":"get_debug_statistics","repo":"dibyaghosh/icvf_release","repo_kind":"official","path":"experiments/xmagical/train_icvf.py","file_url":"https://github.com/dibyaghosh/icvf_release/blob/HEAD/experiments/xmagical/train_icvf.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fba01e14dbbb753b"}},{"code_sha256_prefix":"0041222c7cf86bf6","entry":"get_dir_path","repo":"dibyaghosh/icvf_release","repo_kind":"official","path":"icvf_envs/atari/offline_env.py","file_url":"https://github.com/dibyaghosh/icvf_release/blob/HEAD/icvf_envs/atari/offline_env.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0041222c7cf86bf6"}},{"code_sha256_prefix":"1e41eedaedbe22c3","entry":"get_distances","repo":"dibyaghosh/icvf_release","repo_kind":"official","path":"experiments/xmagical/train_icvf.py","file_url":"https://github.com/dibyaghosh/icvf_release/blob/HEAD/experiments/xmagical/train_icvf.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1e41eedaedbe22c3"}},{"code_sha256_prefix":"70db1a94e7d40b3c","entry":"get_inner_env","repo":"dibyaghosh/icvf_release","repo_kind":"official","path":"icvf_envs/antmaze/d4rl_ant.py","file_url":"https://github.com/dibyaghosh/icvf_release/blob/HEAD/icvf_envs/antmaze/d4rl_ant.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"70db1a94e7d40b3c"}},{"code_sha256_prefix":"e60bfdd0574ddc5f","entry":"get_normalization","repo":"dibyaghosh/icvf_release","repo_kind":"official","path":"icvf_envs/antmaze/d4rl_utils.py","file_url":"https://github.com/dibyaghosh/icvf_release/blob/HEAD/icvf_envs/antmaze/d4rl_utils.py","link_basis":"plan_row","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e60bfdd0574ddc5f"}},{"code_sha256_prefix":"7efb230a126ddd62","entry":"get_policy","repo":"dibyaghosh/icvf_release","repo_kind":"official","path":"experiments/antmaze/train_icvf.py","file_url":"https://github.com/dibyaghosh/icvf_release/blob/HEAD/experiments/antmaze/train_icvf.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7efb230a126ddd62"}},{"code_sha256_prefix":"a2628498c8976d46","entry":"get_values","repo":"dibyaghosh/icvf_release","repo_kind":"official","path":"experiments/antmaze/train_icvf.py","file_url":"https://github.com/dibyaghosh/icvf_release/blob/HEAD/experiments/antmaze/train_icvf.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a2628498c8976d46"}},{"code_sha256_prefix":"45f3cc2e7c6bba16","entry":"icvf_loss","repo":"dibyaghosh/icvf_release","repo_kind":"official","path":"src/icvf_learner.py","file_url":"https://github.com/dibyaghosh/icvf_release/blob/HEAD/src/icvf_learner.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"45f3cc2e7c6bba16"}},{"code_sha256_prefix":"9693e418d98ddb87","entry":"inspect_dir_path","repo":"dibyaghosh/icvf_release","repo_kind":"official","path":"icvf_envs/atari/offline_env.py","file_url":"https://github.com/dibyaghosh/icvf_release/blob/HEAD/icvf_envs/atari/offline_env.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9693e418d98ddb87"}},{"code_sha256_prefix":"ffd7f2a1980245a1","entry":"update_dict","repo":"dibyaghosh/icvf_release","repo_kind":"official","path":"experiments/antmaze/train_icvf.py","file_url":"https://github.com/dibyaghosh/icvf_release/blob/HEAD/experiments/antmaze/train_icvf.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ffd7f2a1980245a1"}},{"code_sha256_prefix":"a5514c312d961e08","entry":"valid_goal_sampler","repo":"dibyaghosh/icvf_release","repo_kind":"official","path":"icvf_envs/antmaze/d4rl_ant.py","file_url":"https://github.com/dibyaghosh/icvf_release/blob/HEAD/icvf_envs/antmaze/d4rl_ant.py","link_basis":"plan_row","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a5514c312d961e08"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}