Papers › Cross Domain Robot Imitation with Invariant Representation

Cross Domain Robot Imitation with Invariant Representation

13 Sep 2021arXiv:2109.05940archive 2025-07-28

Zhao-Heng Yin, Lingfeng Sun, Hengbo Ma, Masayoshi Tomizuka, Wu-Jun Li

Animals are able to imitate each others' behavior, despite their difference in biomechanics. In contrast, imitating the other similar robots is a much more challenging task in robotics. This problem is called cross domain imitation learning~(CDIL). In this paper, we consider CDIL on a class of similar robots. We tackle this problem by introducing an imitation learning algorithm based on invariant representation. We propose to learn invariant state and action representations, which aligns the behavior of multiple robots so that CDIL becomes possible. Compared with previous invariant representation learning methods for similar purpose, our method does not require human-labeled pairwise data for training. Instead, we use cycle-consistency and domain confusion to align the representation and increase its robustness. We test the algorithm on multiple robots in simulator and show that unseen new robot instances can be trained with existing expert demonstrations successfully. Qualitative results also demonstrate that the proposed method is able to learn similar representations for different robots with similar behaviors, which is essential for successful CDIL.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2109.05940")

Code

Syntology Ran 2 of 11 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 2 ran · our draft was wrong.

By repository: official repository: 11 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

zhaohengyin/irgail_example officialpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 2 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
9unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from zhaohengyin/irgail_example. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

build_mlp zhaohengyin/irgail_example/imitation_learning/network/utils.py official repository ran · our draft was wrong MIT (permissive) · c511268a73d82fc6 · report
calculate_gae zhaohengyin/irgail_example/imitation_learning/algo/ppo.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · b5a22b5e0dce3796 · report
build_mlp zhaohengyin/irgail_example/utils.py official repository unverified MIT (permissive) · 07de2bbbb9d4b7a3 · report
build_mlp_gaussian zhaohengyin/irgail_example/imitation_learning/network/utils.py official repository unverified MIT (permissive) · 86615daab498a894 · report
cross_entropy_loss zhaohengyin/irgail_example/imitation_learning/network/utils.py official repository unverified MIT (permissive) · b4cee438c3091f1c · report
dict_concat zhaohengyin/irgail_example/utils.py official repository unverified MIT (permissive) · 25af8d867eb0b1fc · report
dict_config_concat zhaohengyin/irgail_example/utils.py official repository unverified MIT (permissive) · d4366d9ad0077796 · report
make_env zhaohengyin/irgail_example/imitation_learning/env.py official repository unverified MIT (permissive) · e10629e58933d321 · report
move_to_gpu zhaohengyin/irgail_example/torch_utils.py official repository unverified MIT (permissive) · 9adc9bf5872c56b6 · report
numpy_to_tensor zhaohengyin/irgail_example/torch_utils.py official repository unverified MIT (permissive) · d08f0bcf823029e2 · report
scalar_to_tensor zhaohengyin/irgail_example/torch_utils.py official repository unverified MIT (permissive) · fa9d343b9aae2ea2 · report

Tasks

Imitation LearningRepresentation Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections