UniNavBench / README.md
yhncao's picture
Update README.md
185895b verified
|
Raw History Blame Contribute Delete
4.75 kB
---
pretty_name: UniNavBench
language:
- en
license: apache-2.0
task_categories:
- question-answering
- robotics
tags:
- embodied-ai
- navigation
- active-eqa
- ai2-thor
- procthor
- benchmark
size_categories:
- 1M<n<10M
---
# UniNavBench
UniNavBench contains long-horizon embodied navigation and Active Embodied Question Answering (Active-EQA) episodes in dynamic ProcTHOR indoor scenes. Scheduled activities relocate objects and change their states over 1–3 simulated days. Each episode contains 10 sub-tasks in the same scene.
This repository contains evaluation annotations, dynamic schedules and goal images. Run them with the accompanying UniNavBench Python evaluation package. ProcTHOR houses and the AI2-THOR simulator are obtained separately by the evaluation package; their upstream licenses apply to those resources.
## Splits
| Download split | Scenes | Navigation episodes | Active-EQA episodes |
| --- | ---: | ---: | ---: |
| train | 500 | 3 × 1,000,000 | 3 × 1,000,000 |
| val | 200 | 3 × 400,000 | 3 × 400,000 |
| test | 100 | 3 × 200,000 | 3 × 200,000 |
| mini_test | 3 | 3 × 6,000 | 3 × 6,000 |
Each split has three dynamic levels: `static` (no scheduled changes), `small` (smaller objects and states change), and `all` (furniture can move as well).
`mini_test` contains test scenes **0, 4 and 6**, including all their episodes, levels, schedules and required goal images. These scenes remain in the full test split. It is a convenience subset for installation checks and agent development, not an independent held-out split. Results on mini_test should not be presented as full-test benchmark scores.
## Download
Install the evaluation package from [yhanCao/UniNavNet_Bench](https://github.com/yhanCao/UniNavNet_Bench), then download:
```bash
git clone https://github.com/yhanCao/UniNavNet_Bench.git && cd UniNavNet_Bench && pip install .
uninavbench download --split mini_test
uninavbench download --split train val test
```
The default extraction directory is `~/.cache/uninavbench/data`; override it with `--data_pth DIR` and use `UNINAVBENCH_DATA=DIR` for evaluation. Every tar shard is checked against the SHA-256 in `manifest.json`.
The Python package has not yet been published to PyPI; install it from the GitHub repository above.
To download without installing the evaluation package:
```python
from huggingface_hub import snapshot_download
snapshot_download(
repo_id="yhncao/UniNavBench",
repo_type="dataset",
allow_patterns=["manifest.json", "README.md", "mini_test-*.tar"],
local_dir="UniNavBench_release",
)
```
Then use the evaluation package to verify and extract the local shards:
```bash
uninavbench download --split mini_test --from_dir UniNavBench_release
```
## Run a small check
`mini_test` archives preserve the original `test/` paths and ProcTHOR test scene IDs. Evaluate with `-p test`, not `-p mini_test`:
```bash
uninavbench run -p test -i 0 -l all -t nav -es 0 -ee 1
```
The default agent moves randomly. Pass `-a /path/to/your_agent.py` to evaluate your own agent.
Active-EQA answers are scored by an LLM judge, any OpenAI-compatible chat API, for example:
```bash
export UNINAVBENCH_JUDGE_BASE_URL=https://api.openai.com/v1
export UNINAVBENCH_JUDGE_MODEL=gpt-6.2-sol
export UNINAVBENCH_JUDGE_API_KEY=...
uninavbench run -p test -i 0 -l all -t eqa -es 0 -ee 1
```
`UNINAVBENCH_JUDGE=exact` scores by exact string match instead, for offline checks. The evaluation protocol, the ST-CogNav baseline and how to add an agent are described in the code repository's README.
## Archive format
The dataset uses tar shards and a manifest rather than tabular Parquet files. Download the archives and use the evaluator; automatic table previews are not provided.
```text
train/<scene>/episodes/<level>/{nav,eqa}.json.gz
train/<scene>/dynamic_strategy/strategy_final_{small,all}.json
attributes/train/<scene>/images/<goal-image>.png
```
`val` and `test` follow the same layout. The `mini_test-000.tar` shard contains `test/` and `attributes/test/` paths. Its manifest entry uses `split: mini_test` and `source_split: test`. The full splits use 25 scenes per shard; mini_test contains all 3 scenes in one shard. Scene IDs refer to the original ProcTHOR split and are not renumbered.
## Release status
This is an initial research release (manifest version `2026.11.16.1`). The evaluator pins the ProcTHOR revision (`439193522244720b86d8c81cde2e51e3a4d150cf`) and the AI2-THOR build (`f0825767cd50d69f666c7f282e54abfe58f1e917`) and records both in every metrics file. Use an evaluation package from the same date or later: it holds a trapped agent clear of relocated furniture and keeps objects unbreakable during replay (see the code repository's README).