MindHelper Benchmark
MindHelper evaluates how a vision-language model helps a person in a simulated environment. On each round, the model observes the scene and chooses an action or stays silent. The simulator executes the action and returns the next observation.
| Simulator | Protocol | Episodes |
|---|---|---|
| VirtualHome | virtualhome-full-v1 |
540 |
| ThreeDWorld (TDW) | tdw-suite-v1 |
50 |
Submit one job per protocol to run all 590 episodes. Both protocols also accept individual episode IDs. The setup script and data downloader use the original MindPower dataset.
Connect to the evaluation service
Clone this private repository with a Hugging Face account that has access. With an existing evaluation service, the submission client needs Git, Python 3, and a Bash shell. Run the commands below from the repository root.
git clone https://huggingface.co/datasets/RUOXUAN123/Mindhelper
cd Mindhelper
BENCH_URL=http://127.0.0.1:18080
On the server, the client reads config/server.token automatically. On your own machine, set BENCH_URL to the address supplied by the service administrator and enter the evaluation service token when prompted.
read -rs -p 'Evaluation service token: ' MINDBENCH_TOKEN
printf '\n'
export MINDBENCH_TOKEN
If the service listens only on the server's loopback address, open an SSH tunnel in a second terminal. Replace USER@HOST with your SSH login, keep the tunnel open, and use the default BENCH_URL shown above. To host the service yourself, follow Deploy the evaluation service.
ssh -N -L 18080:127.0.0.1:18080 USER@HOST
Configure your model
Choose ADAPTER=hf for a Hugging Face model or ADAPTER=api for a vision API. Copy the template and edit runs/client/model.json.
ADAPTER=hf
mkdir -p runs/client
cp "examples/submission-$ADAPTER-virtualhome.json" runs/client/model.json
| Adapter | Model configuration |
|---|---|
hf |
The template runs Qwen/Qwen3.5-2B at a pinned revision. For your own model, set model_id to its Hub repository ID. Set revision to a commit hash, or omit it to use main. The model must support the Transformers image-text-to-text interface and provide safetensors weights. |
api |
Set model_id to the model name accepted by your API and endpoint to a base URL reachable from the evaluation server, such as https://model.example.org/v1. The service appends /chat/completions and sends image inputs. Ask the administrator to register the endpoint hostname and configure its API key if required. |
On each round, return one JSON object with action, belief, desire, intention, and memory. Use "action": null to stay silent. To act, return an action object with a verb and the object_ids from the current observation. Model input and action reference (Chinese)
Run all 540 VirtualHome episodes
Use "protocol": "virtualhome-full-v1" and "max_steps": 0. Omit episode_ids and max_episodes to run every episode through its full observation sequence.
python3 scripts/submit.py runs/client/model.json --url "$BENCH_URL" --wait --output runs/client/virtualhome-all-result.json
Run one VirtualHome episode
List the episodes first. source_name identifies the original example, and id is the value accepted by the submission client.
python3 scripts/submit.py --list virtualhome-full-v1 --url "$BENCH_URL" --output runs/client/virtualhome-episodes.json
The example below selects the bedside lamp task, VirtualHome/14. Replace the ID with another one from the list to run a different episode.
python3 - <<'PY'
import json
from pathlib import Path
folder = Path("runs/client")
spec = json.loads((folder / "model.json").read_text(encoding="utf-8"))
spec["episode_ids"] = ["virtualhome-8527a891e2241369"]
(folder / "one.json").write_text(json.dumps(spec, indent=2), encoding="utf-8")
PY
python3 scripts/submit.py runs/client/one.json --url "$BENCH_URL" --wait --output runs/client/virtualhome-one-result.json
Run all 50 TDW episodes
The TDW suite covers 36 source videos and 14 dialogues. Every episode runs in TDW and accepts model actions. The execution_mode field in the episode list identifies native character scenes and reconstructed manipulation scenes that use source video frames or dialogue turns.
python3 scripts/submit.py --list tdw-suite-v1 --url "$BENCH_URL" --output runs/client/tdw-episodes.json
Reuse your model settings to create two submissions. tdw.json runs the full suite. tdw-one.json selects ThreeDWorld/24, where the assistant clears an obstacle from a wheelchair user's path. To select another episode, use its id from the TDW list.
python3 - <<'PY'
import json
from pathlib import Path
folder = Path("runs/client")
spec = json.loads((folder / "model.json").read_text(encoding="utf-8"))
spec.update(protocol="tdw-suite-v1", max_steps=0)
spec.pop("episode_ids", None)
spec.pop("max_episodes", None)
(folder / "tdw.json").write_text(json.dumps(spec, indent=2), encoding="utf-8")
spec["episode_ids"] = ["tdw-video-24-v1"]
(folder / "tdw-one.json").write_text(json.dumps(spec, indent=2), encoding="utf-8")
PY
python3 scripts/submit.py runs/client/tdw.json --url "$BENCH_URL" --wait --output runs/client/tdw-result.json
Run one TDW episode
python3 scripts/submit.py runs/client/tdw-one.json --url "$BENCH_URL" --wait --output runs/client/tdw-one-result.json
All 50 TDW episodes call for intervention. A TDW-only result therefore reports null for PSR and PIA. The simulator actions and success conditions are documented in the model protocol (Chinese).
Check progress and read scores
--wait prints the job ID and progress, then saves the final result to the path given by --output. To return immediately after submission, omit --wait. Resume monitoring later with the same job ID.
python3 scripts/submit.py --job JOB_ID --url "$BENCH_URL" --wait --output runs/client/result.json
| Result field | Contents |
|---|---|
result.episodes |
Execution status and scores for each episode. |
result.aggregate |
Aggregate TA, MA, SR, and AC scores, with the number of valid scores for each metric. |
result.TIR, result.PSR, result.PIA |
Timing of intervention, correct silence, and their combined score. PIA is null when the submission covers only one intervention category, including a single episode. |
GPT scores TA once per episode against its correct-outcome label. It scores MA separately for each observation round. If a score has status awaiting_configuration, ask the administrator to configure the GPT judge. Metric definitions and instructions for scoring saved runs (Chinese)
Deploy the evaluation service
On a Linux server, install Python 3.12, Git, Xvfb, xauth, and Mesa/OpenGL. Make sure Python 3.12 can import PyTorch and Transformers versions compatible with the server hardware. From the repository root, install the simulator environments, download MindPower, and build the episode index.
bash scripts/setup_environment.sh
.venv/bin/python scripts/download_data.py
.venv/bin/mindbench prepare
cp -n examples/service.env.example config/service.env
cp -n examples/judge.env.example config/judge.env
In config/service.env, set MINDBENCH_MODEL_DEVICE to the Hugging Face inference device, such as cuda:0. For a vision API, add its hostname to MINDBENCH_API_HOSTS and set MINDBENCH_MODEL_API_KEY if the endpoint requires authentication. For GPT scoring of TA and MA, set MINDBENCH_JUDGE_BASE_URL, MINDBENCH_JUDGE_MODEL, and MINDBENCH_JUDGE_API_KEY in config/judge.env.
bash scripts/start_service.sh
The service listens on 127.0.0.1:18080 by default. On first startup it generates config/server.token for submission clients.
- Downloads last month
- 109