SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2307.07909 · ICCV · 2023

Is Imitation All You Need? Generalized Decision-Making with Dual-Phase Training

Ratnesh Madaan, Ashish Kapoor, Yanchao Sun, Ruijie Zheng, Sai Vemprala, Shuang Ma, Rogerio Bonatti, Zhongjie Ba, Shuhang Chen, Yao Wei

arXiv · PDF · Open in the Atlas

Code that ran

8 of 10 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 2 no recorded run), measured 2026-11-24; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2307.07909.json · badge: /api/ran/2307.07909.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
yunyikristy/DualMind canonical (classifier label)
classifier basis: census
8 ran · 2 no recorded run
FunctionStatusWhere it lives
crop Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yunyikristy/DualMind/data_generate/habitat_data.py
pointer only (licence: NOASSERTION) · get_code("4c85c9186be6eb20")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, yunyikristy/DualMind (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_exp_return_dmc Ran
ran, honoured the contract we drafted
yunyikristy/DualMind/src/models/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from microsoft/smart, is pointer only (licence: NOASSERTION) · get_code("996019272061f3e2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yunyikristy/DualMind when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_min_action_dmc Ran
ran, honoured the contract we drafted
yunyikristy/DualMind/src/models/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from microsoft/smart, is pointer only (licence: NOASSERTION) · get_code("c31278549879cb7a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yunyikristy/DualMind when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

mu_law_decode Ran
ran; our contract draft was wrong, not the code
yunyikristy/DualMind/src/agents/dt_agent.py
pointer only (licence: NOASSERTION) · get_code("2433a45a553d601b")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, yunyikristy/DualMind (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

mu_law_encode Ran
ran; our contract draft was wrong, not the code
yunyikristy/DualMind/src/agents/dt_agent.py
pointer only (licence: NOASSERTION) · get_code("02f65ca75c8c0b1f")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, yunyikristy/DualMind (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

tokenize_continuous_values Ran
ran; our contract draft was wrong, not the code
yunyikristy/DualMind/src/agents/dt_agent.py
pointer only (licence: NOASSERTION) · get_code("8f39559104e8ca96")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, yunyikristy/DualMind (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

tokenize_continuous_values Ran
ran; our contract draft was wrong, not the code
yunyikristy/DualMind/src/datamodules/multi_domains_datamodules.py
pointer only (licence: NOASSERTION) · get_code("f15e0405cbebe958")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, yunyikristy/DualMind (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

top_k_logits Ran
ran; our contract draft was wrong, not the code
yunyikristy/DualMind/src/models/utils.py
pointer only (licence: NONE) · get_code("0f0021cdea13e4da")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yunyikristy/DualMind when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_episode_json Not yet run
unverified (harvested, no recorded run)
yunyikristy/DualMind/data_generate/habitat_data.py
pointer only (licence: NOASSERTION) · get_code("b11bd7660417891f")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, yunyikristy/DualMind (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

save_trajectory Not yet run
unverified (harvested, no recorded run)
yunyikristy/DualMind/data_generate/habitat_data.py
pointer only (licence: NOASSERTION) · get_code("75cdddc8d9264556")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, yunyikristy/DualMind (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 3 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 3 later) and 7 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
top_k_logits 16 other papers
8 dated earlier, 8 later
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
2106.02039 (2021-06)
Offline Reinforcement Learning as One Big Sequence Modeling Problem
2106.14131 (2021-06)
SymbolicGPT: A Generative Transformer Model for Symbolic Regression
and 13 more not named here
get_exp_return_dmc 1 other paper
1 later
2405.17009 (2024-05)
Position: Foundation Agents as the Paradigm Shift for Decision Making
get_min_action_dmc 1 other paper
1 later
2405.17009 (2024-05)
Position: Foundation Agents as the Paradigm Shift for Decision Making

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We introduce DualMind, a generalist agent designed to tackle various decision-making tasks that addresses challenges posed by current methods, such as overfitting behaviors and dependence on task-specific fine-tuning. DualMind uses a novel "Dual-phase" training strategy that emulates how humans learn to act in the world. The model first learns fundamental common knowledge through a self-supervised objective tailored for control tasks and then learns how to make decisions based on different contexts through imitating behaviors conditioned on given prompts. DualMind can handle tasks across domains, scenes, and embodiments using just a single set of model weights and can execute zero-shot prompting without requiring task-specific finetuning. We evaluate DualMind on MetaWorld [40] and Habitat [31] through extensive experiments and demonstrate its superior generalizability compared to previous techniques, outperforming other generalist agents by over 50% and 70% on Habitat and MetaWorld, respectively. On the 45 tasks in MetaWorld, DualMind achieves over 30 tasks at a 90% success rate. Our source code is available at https://github.com/yunyikristy/DualMind.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2307.07909")
get_code_for_paper("2307.07909")
have("2307.07909")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2307.07909.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2307.07909.svg)](https://syntology.ai/paper/2307.07909)

Connect an agent — have() is free.