Fengyi Wu1,*,
Yifei Dong1,*,
Yetong Sha1,*,
Lingdong Kong2,
Qiyu Hu1,
Bohan Xiong1,
Qi Dai3,
Alexander G. Hauptmann4,
Zhi-Qi Cheng1,†
1University of Washington,
2National University of Singapore,
3Microsoft Research,
4Carnegie Mellon University
Tiresias is a language-conditioned planning and world-modeling system for navigation, driving, 3D gaming, and robot manipulation. It generates 128 action candidates, retains eight using a Trajectory Ranker, and selects the final plan based on world-model evidence.
git clone https://github.com/UWMILab/Tiresias.git
cd Tiresias
conda env create -f environment.yml
conda activate tiresiasDownload Wan2.2-TI2V-5B:
mkdir -p pretrained_models
hf download Wan-AI/Wan2.2-TI2V-5B \
--local-dir pretrained_models/Wan2.2-TI2V-5BClone the official DINOv3 repository:
git clone https://github.com/facebookresearch/dinov3.git \
pretrained_models/dinov3Request access to ViT-L/16 distilled, LVD-1689M from Meta, then download it using the URL provided by Meta:
mkdir -p pretrained_models/dinov3_weights
wget -c "<DINOv3-download-URL>" \
-O pretrained_models/dinov3_weights/dinov3_vitl16_pretrain_lvd1689m.pthbash download_data.shThe downloaded data has the following structure:
data/
├── navigation/
│ ├── train/
│ │ ├── <trajectory>/
│ │ │ ├── <frame>.jpg
│ │ │ └── traj_data.pkl
│ │ └── ...
│ ├── val_seen/
│ └── val_unseen/
├── driving/
│ └── ...
├── gaming/
│ └── ...
└── robot/
└── ...
Prepare all four domains:
python -m scripts.prepare_data --domain allUse navigation, driving, gaming, or robot instead of all to prepare
one domain.
The examples below use navigation. Set --domain to driving, gaming, or
robot to use another domain. Set --domain all to process all four domains;
outputs are written to separate domain directories.
Training defaults are defined in scripts/train_*.sh and the corresponding
Python entry points: ldp/train.py, lcwm/main.py,
rankers/tr_ranker/train.py, and rankers/v_ranker/train.py.
All four training commands accept --data_ratio; append --data_ratio 0.1 to
train a module on 10% of the training set.
Prepare the language cache:
python -m ldp.cache_language --domain navigationThis creates the language caches for train, val_seen, and val_unseen.
Train the policy:
bash scripts/train_ldp.sh --domain navigationCheckpoint: weights/diffusion_policy/navigation/proposal/LDP.pt.
Prepare the DINOv3 features:
python -m lcwm.datasets.export_features --domain navigationTrain the world model:
bash scripts/train_wm.sh --domain navigationFor single-GPU training, append --num-processes 1.
Checkpoint: weights/world_model/navigation/model.safetensors.
Prepare the candidates and labels:
bash scripts/prepare_tr_ranker.sh --domain navigationTrain the ranker:
bash scripts/train_tr_ranker.sh --domain navigationCheckpoint: weights/rankers/navigation/128_to_8/model.pt.
Prepare the world-model evidence and labels:
bash scripts/prepare_v_ranker.sh --domain navigationTrain the ranker:
bash scripts/train_v_ranker.sh --domain navigationCheckpoint: weights/rankers/navigation/8_to_1/model.pt.
Run a prepared split through the full LDP → Trajectory Ranker (128→8) → World Model → V-Ranker and score fusion (8→1) pipeline:
python tiresias_inference.py \
--domain navigation \
--split val_seen \
--output-root outputsSet --domain to a different domain to load only its four checkpoints, or set
--domain all to process all four domains. Outputs are written to
outputs/<domain>/<split>/.
To run inference on custom trajectories, set --input to one trajectory
directory or to a directory containing trajectory directories. Each trajectory
directory follows the format shown in the Data section. For example, with
--domain navigation, the input can contain Navigation trajectories from
Tiresias or other trajectories in the same format. Replace
YOUR_INPUT_DIRECTORY below with the input path:
python tiresias_inference.py \
--domain navigation \
--input YOUR_INPUT_DIRECTORY \
--output-root outputs--split and --input are two alternative modes:
--splitprocesses a complete prepared split and writes its results tooutputs/<domain>/<split>/.--inputprepares the supplied trajectories, caches their instructions, and writes the results tooutputs/<domain>/input/.
Both modes produce the following pipeline artifacts. RUN_DIRECTORY is the
output directory for the selected mode shown above.
RUN_DIRECTORY/
├── candidates_n128.pt # LDP candidates
├── tr_top8_selection.pt # Trajectory Ranker scores
├── top8.json # Top-8 trajectories
├── initial_observations.json
├── wm_config.json
├── wm_evidence.pt # World-model evidence
├── fused_top1.json # Fused Top-1 selection
├── selected_actions.jsonl # Final action sequence
├── wm_input/
└── videos/ # Generated videos
Input mode also creates the following files in the same directory:
input_queries.json # LDP inputs created from the custom trajectories
input_planning.jsonl # Metadata for initial observations and action export
input_wm.jsonl # Metadata for the final world-model rollout
input_language.pt # Cached instruction embeddings
input_frames/ # Canonically named context frames