Xuanchen Liu*, Hejun Zhang*, Boxuan Dong, Ying Wu,
Heshuai Li, Wen Gao, Yonghong Tian, Weihao Yu†
Peking University
*Equal contribution · †Corresponding author
RoboDojo-Mirror measures how reflections affect robot manipulation. It adds mirror conditions to RoboDojo while keeping the tasks, initial layouts, policy checkpoints, and native scoring fixed. The benchmark also includes geometry-matched nonreflective panels for comparing reflections with physical obstacles.
- 2026-11-24 — Prepared the RoboDojo-Mirror scene package and the project page preview.
robodojo-mirror-readme.mp4
- Implement the mirror scenes and nonreflective controls.
- Add an existing-policy integration example and task-selection CLI.
- Prepare the project page and project video.
- Add four Push-T placements beside a single mirror.
- Expand the benchmark with more mirror-based manipulation tasks.
The runtime uses your RoboDojo installation and its robot, object, and layout assets. Obtain policy adapters and checkpoints from their upstream releases. See the source and asset notices.
Open this repository in your coding agent and paste:
Read AGENTS.md and the Usage section of README.md. Set up RoboDojo-Mirror for one
local evaluation. Check for an existing RoboDojo simulator environment, assets,
and a compatible policy adapter and checkpoint. Use my existing policy if
available, or follow the WallX quick start. Install the mirror package, run the
CPU checks, prepare the evaluator copy, and show me the exact run command.
After I approve the GPU run, run one episode and report the native _result.json.
If setup is blocked, show me the failing step and what it needs.
git clone https://github.com/iPPLab/robodojo-mirror.git
cd robodojo-mirror-
Set up RoboDojo with Isaac Sim, Isaac Lab, its XPolicyLab checkout, and the evaluation assets using the upstream setup instructions. Activate the RoboDojo simulator environment, which needs NumPy and SciPy.
-
Install RoboDojo-Mirror from this checkout and check the evaluator interfaces.
export ROBODOJO_ROOT="/absolute/path/to/RoboDojo" python -m pip install --no-deps . robodojo-mirror check-source --robodojo-root "$ROBODOJO_ROOT" robodojo-mirror list-tasks --robodojo-root "$ROBODOJO_ROOT" --task-set extended
For local development, use
python -m pip install --no-deps -e .. These checks inspect the source and list tasks on CPU.
Keep your existing policy service and native evaluation loop. From the RoboDojo-Mirror checkout, make a writable copy of the RoboDojo evaluator:
export MIRROR_EVAL="$PWD/robodojo_mirror_eval.py"
if [ ! -e "$MIRROR_EVAL" ]; then
cp "$ROBODOJO_ROOT/src/eval_client/main.py" "$MIRROR_EVAL"
fiIn that copy, add the import and insert configure_launcher(args_cli) immediately before the existing AppLauncher call, as shown below.
from robodojo_mirror import MirrorConfig, attach, configure_launcher
configure_launcher(args_cli)
app_launcher = AppLauncher(args_cli)Ensure os is imported at the top of the file. In main(), add this at the same indentation as env = create_eval_env(...), immediately after that line and before the first reset. Update this hook if you already have an evaluator copy.
condition = os.environ.get("ROBODOJO_MIRROR_CONDITION", "no_mirror")
push_t_placement = os.environ.get("ROBODOJO_MIRROR_PUSH_T_PLACEMENT")
attach(env, MirrorConfig(condition=condition, push_t_placement=push_t_placement))RGB is rendered on demand. For state-only policies, add capture_rgb=False to MirrorConfig. The adapter disables automatic rollout video recording.
Use the upstream RoboDojo adapter for the policy you want to evaluate. Keep each adapter's own action space, dependencies, and server setup. The mirror hooks above attach to the evaluator environment. The example below uses WALL-OSS.
| Paper policy | Upstream adapter | Checkpoint or service |
|---|---|---|
| WALL-OSS | WallX | WALL-OSS 1.0 Lite RoboDojo |
| VPP2 | VPP2 | Released joint2b_s100000 bundle |
| Awomo-0.5 | Awomo05 | Original RoboDojo checkpoint used in the paper |
| Rex-M1 Preview | Rex_M1_preview | Released RoboDojo checkpoint described in the adapter guide |
| GPT-6-Astra | GPT_6_Astra_Direct_EEF | Upstream API-backed adapter with provider access |
For each policy, use its own launch instructions and keep the checkpoint or served model, task, and layout fixed across mirror conditions. The paper scores appear in Benchmark Results.
Use the WallX instructions to set up the policy environment and the RoboDojo checkpoint. Start the policy server using the upstream split server/client workflow. On a single machine, run it in a separate terminal and use its listening port in robodojo-mirror run. Keep the evaluator terminal in the RoboDojo simulator environment. RoboDojo split evaluation guide
For a first check on one machine, run the server below in its own terminal. Use the RoboDojo checkout from setup, the downloaded WallX bundle's checkpoint/ directory, the WallX Conda environment, and a GPU available for the server.
export ROBODOJO_ROOT="/absolute/path/to/RoboDojo"
export WALLX_CHECKPOINT="/absolute/path/to/wall-oss-1.0-lite-robodojo/checkpoint"
WALLX_POLICY_ENV="your-wallx-conda-environment"
WALLX_GPU=0
bash "$ROBODOJO_ROOT/scripts/robodojo.sh" server \
--policy-dir "$ROBODOJO_ROOT/XPolicyLab/policy/WallX" \
--task push_T --ckpt wall-oss-1.0-lite-robodojo \
--policy-env "$WALLX_POLICY_ENV" --policy-gpu "$WALLX_GPU" \
--bind-host 127.0.0.1 --policy-port 19006If you installed the adapter in a separate checkout, point --policy-dir to its XPolicyLab/policy/WallX directory. In the simulator terminal, set the import paths in this order so RoboDojo uses its own simulator utilities:
WALLX_CHECKOUT="/absolute/path/to/checkout-containing-XPolicyLab"
export PYTHONPATH="$WALLX_CHECKOUT:$ROBODOJO_ROOT:$WALLX_CHECKOUT/XPolicyLab${PYTHONPATH:+:$PYTHONPATH}"Once the service is listening, run this from the simulator terminal:
robodojo-mirror run push_t_mirror_pi_left --policy-name WallX --port 19006
find eval_result -name _result.json -printUse Policy adapters to select a different paper model, or supply your own RoboDojo adapter and service.
For this example, start WallX for the native task press_by_number. Set up the policy adapter on PYTHONPATH if its instructions require a separate checkout. The run command adds RoboDojo and its bundled XPolicyLab checkout to the evaluator's import path.
The smoke test requests one scored press_by_number episode per condition with EVAL_NUM=1. Here, --seed 0 selects the RoboDojo layout library. Set the policy seed separately in the service and reset it to the same value before each rollout for a seed-matched comparison. Use the same checkpoint for both runs.
export ROBODOJO_POLICY_PORT=19006
RUN_DIR="$(mktemp -d)" && cd "$RUN_DIR" || exit 1
for condition in no_mirror dual_mirror; do
mkdir "$condition" || exit 1
(
cd "$condition" || exit 1
EVAL_NUM=1 robodojo-mirror run press_by_number \
--policy-name WallX --port "$ROBODOJO_POLICY_PORT" --condition "$condition" --seed 0
) || exit 1
done
find . -name _result.json -printCheck each condition's native _result.json for exactly one scored episode and layout_id: 0. A scored task failure still completes the smoke test. The matched run was verified in a prepared local RoboDojo environment. Compatibility with a fresh public checkout remains unverified.
| No mirror | Single mirror | Dual mirrors | Mirrored tabletop |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
| Condition | Scene change |
|---|---|
no_mirror |
Original RoboDojo scene |
single_mirror |
One vertical mirror with a 5 cm requested clearance and a tabletop-edge clamp |
dual_mirror |
Two perpendicular vertical mirrors with 5 cm offsets from their respective support planes |
mirror_tabletop |
Reflective material on the original tabletop surface |
The paper's benchmark results cover the four scene conditions above. single_panel and dual_panel provide geometry-matched, nonreflective controls for diagnostic comparisons.
The paper task set is Cover Blocks, Fold Clothes, General Pickup, Press by Number, Insert Tubes, Swap T, Stack Blocks, and Stack Bowls. List the eligible tasks in your checkout or supply your own selection:
robodojo-mirror list-tasks --robodojo-root "$ROBODOJO_ROOT" --task-set all --show-excluded
robodojo-mirror list-tasks --robodojo-root "$ROBODOJO_ROOT" --tasks cover_blocks insert_keyPass the selected tasks to your evaluator. General selection excludes the conveyor tasks, make_kong, play_tic_tac_toe, organize_table, and random variants. The mirrored tabletop is unavailable for match_and_pick_from_conveyor. Dual mirrors and dual panels are unavailable for put_bottles_into_dustbin.
Use the attach snippet from Connect your evaluator, including the optional placement setting. Start your model's policy service and set up its adapter as usual. Use Policy adapters for the models in the paper. For example, with WALL-OSS running on port 19006:
robodojo-mirror run push_t_mirror_pi_left --policy-name WallX --port 19006Choose a task below. For your own model, pass its RoboDojo adapter name and service port. Use --host, --device-id, or --seed to override the evaluator arguments. Select the simulator GPU through your Isaac launch environment. --seed selects the layout library. Set the policy seed in the policy service.
| Task | T-block yaw | Apparent contour |
|---|---|---|
push_t_mirror_i |
90° | I-like |
push_t_mirror_pi_left |
0° | Sideways Π-like (paper orientation) |
push_t_mirror_pi_right |
180° | Sideways Π-like (opposite orientation) |
push_t_mirror_cross |
270° | Cross-like |
list-tasks --task-set extended lists the eight default tasks plus these four. Each Push-T variant uses the native target-alignment score. By default, run requests one scored episode and writes the evaluator's results under eval_result/ in the current directory. Set EVAL_NUM=native to use the evaluator's configured episode count.
Success rate (%) across the paper task set. Mean drop is the no-mirror success rate minus the average across the three mirror conditions, in percentage points.
| Policy | No mirror | Single mirror | Dual mirrors | Mirrored tabletop | Mean drop (pp) |
|---|---|---|---|---|---|
| WALL-OSS | 67.5 | 21.7 | 15.0 | 25.0 | 46.9 |
| VPP2 | 72.5 | 33.3 | 35.0 | 27.5 | 40.6 |
| Awomo-0.5 | 60.8 | 15.8 | 6.7 | 10.0 | 50.0 |
| Rex-M1 Preview | 66.7 | 15.8 | 10.0 | 4.2 | 56.7 |
| GPT-6-Astra | 65.0 | 62.5 | 52.5 | 47.5 | 10.8 |
@article{liu-zhang-mirror-test,
title = {{Embodied AI Fails the Mirror Test: How a Simple Mirror Breaks Robot Policies}},
author = {Liu, Xuanchen and Zhang, Hejun and Dong, Boxuan and Wu, Ying
and Li, Heshuai and Gao, Wen and Tian, Yonghong and Yu, Weihao},
journal = {arXiv preprint arXiv:2611.33010},
year = {2026}
}This research was supported in part with Cloud TPUs from Google's TPU Research Cloud (TRC).





