Skip to content

About

Official code for paper "From Symbols to Scenes: Navigation Policy Transfer Across Extreme Visual Gaps"

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

From Symbols to Scenes: Navigation Policy Transfer Across Extreme Visual Gaps

Lingyu Zhang, Boyuan Chen

Duke University, General Robotics Lab

Project Page arXiv ObjectNav notebook

Overview of navigation policy transfer from symbolic maps to Habitat scenes

Overview

ExtremeTransfer trains navigation policies in procedurally generated 2D environments represented by simple geometry and symbolic objects, and transfers to photorealistic scenes without additional policy tuning. To bridge the visual gap, we aligned frozen vision foundation model features of abstract and realistic observations through Canonical Correlation Analysis. The resulting shared representation enables direct policy transfer by switching domain-specific linear projections. Our approach achieves zero-shot success rates of 90.4% on HM3Dv1 PointNav, 52.6% on HM3Dv1 ObjectNav, and 58.0% on HM3Dv2 ObjectNav.

TLDR: Navigation policies trained entirely in abstract, symbolic environments can be directly deployed in photorealistic ones through representation alignment in a foundation model's latent space.

Quick start

The notebook provides an example of how ExtremeTransfer works. It shows that a policy trained in the abstract environment normally does not work directly on photorealistic observations. We can find a shared task-relevant representation space by aligning DINO features of 5000 pairs of symbolic-realistic observations. In this shared space, a policy head will output similar actions for corresponding observations, leading to successful policy transfer.

To run the notebook locally, create the project environment on a Linux machine with a CUDA GPU that supports bfloat16. Run these commands from the repository root.

conda activate extreme
python -m pip install jupyterlab gdown
export HF_TOKEN=your_hugging_face_read_token
OMP_NUM_THREADS=4 OPENBLAS_NUM_THREADS=16 \
  python -m jupyterlab examples/objectnav.ipynb

The notebook downloads the demo assets, including the 5K ObjectNav pairs. Your token needs read access to the DINOv3 weights.

Setup

Follow the instructions to install dependencies, download pretrained models and datasets.

Experiments

1. Fit the alignment

Fit alignment with 160K paired data and eight GPUs. Set task, and directories:

task=objectnav # or pointnav
run="${task}-160k"
pairs_dir="data/$task/release-160k/pairs"

First encode observations using DINOv3-B and save features to disk (~190GB for 160K pairs). Feature encoding options

python -m extreme_transfer.alignment.encode \
  --pairs-dir "$pairs_dir" --gpus 0,1,2,3,4,5,6,7

Run CCA alignment:

python -m extreme_transfer.alignment cca --pairs-dir "$pairs_dir" \
  --output-dir "results/cca_analysis/$run" --no-shuffle

The command accepts ridge_reg, procrustes, or relative_rep in place of cca. Use a separate output directory for each fit. Alignment options

2. Train policy in abstract source environment

Train a policy in the source environment using the source projector. ObjectNav training takes about 18 hours on eight L40S GPUs.

cca_model="checkpoints/cca_model/$run/cca_160.0k.pkl"
aligned_run="${task}_dino_cca_160k"
torchrun --standalone --nproc-per-node=8 -m extreme_transfer.tasks.${task}.train \
  --backbone dino_cca --cca-model-path "$cca_model" \
  --run-name "$aligned_run" # --total-timesteps 100000000 (for pointnav)

3. Evaluate policy in target Habitat environment

Evaluation loads the target projector from the same CCA checkpoint and calculates mean and standard deviation across three seeds.

bash scripts/habitat/evaluate.sh "$task" \
  "checkpoints/$aligned_run/latest.pth" dino_cca "$cca_model"

Detailed Experiments

For detail experiment options such as different encoders, alignment baselinesl training and evaluation configurations, refer to Experiment Guide.

For generating costum abstract environment houses, see ObjectNav README.

For common issues, see Troubleshooting

Citation

@article{zhang2026extreme,
  title   = {From Symbols to Scenes: Navigation Policy Transfer Across Extreme Visual Gaps},
  author  = {Zhang, Lingyu and Chen, Boyuan},
  journal = {arXiv preprint},
  year    = {2026}
}

About

Official code for paper "From Symbols to Scenes: Navigation Policy Transfer Across Extreme Visual Gaps"

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages