Datasets:
Beyond APIs: Probing the Limits of MLLMs in Physical Tool Use
Accepted to AAAI 2027 Β· Main Technical Track
π± GitHub ο½ π Paper ο½ π Project Page ο½ π€ HuggingFace Papers
π Dataset Summary
PTU-Bench (Physical Tool-Use benchmark) evaluates how well Multimodal Large Language Models (MLLMs) perceive, select, and sequence physical tools. It uses synthetic scene images depicting real-world tools and tasks. Unlike benchmarks focused on digital APIs, PTU-Bench evaluates physical tool recognition and functional planning in cluttered scenes.
The benchmark features 2,510 high-quality queries covering 2,678 unique physical tools across 57 distinct categories (e.g., manufacturing, healthcare, farming).
Key Features
- TwoβTask Evaluation: Decouples pure visual recognition from functional planning and sequencing.
- RealβWorld Clutter: Each scene contains an average of 8.6 tools (3.1 required targets and 5.5 visually/functionally similar distractors).
- Sequential Logic: 86.9% of the tasks require a strict execution order, rigorously testing the model's physical commonsense.
π― Supported Tasks
The dataset separates evaluation into two distinct tracks to pinpoint whether model failures stem from visual bottlenecks or poor physical reasoning.
Task I: Tool Recognition
- Input: A synthetic scene image depicting physical tools, paired with a brief task instruction.
- Objective: Enumerate all visible tools in the cluttered scene.
- Purpose: Measures pure visual enumeration and recognition capabilities.
Task II: Tool Selection & Planning
- Input: A real-world scenario image paired with a brief task instruction.
- Objective: Output the exact, ordered sequence of tools required to complete the specified task.
- Purpose: Measures functional mapping, physical commonsense, and multi-step planning capabilities.
π Dataset Structure
Unlike standard text-to-text datasets, PTU-Bench relies on a decoupled structure to support complex visual reasoning evaluations. The repository contains the raw images and three metadata files:
images/: Directory containing all high-resolution physical scenario images.generation_checkpoint.json: The input file used for model inference. It contains the image paths andtask_instructprompts for Task II.corrected_tools.json: The ground truth file used for evaluation. It contains the refined taxonomy, required tools (target_tools),target_stepsfor ordered tasks, andnegative_tools(distractors).final_matching_info.json: The alignment and mapping metadata file utilized by the offline evaluation pipeline to support tool taxonomy normalization and rule-based verification.
Example: Loading the Raw Data
You can easily download and explore the raw dataset using the huggingface_hub or standard Python tools:
Install the required packages:
pip install huggingface_hub Pillow
The example below downloads the full dataset, including all images.
import json
import os
from huggingface_hub import snapshot_download
from PIL import Image
# 1. Download the dataset folder
dataset_path = snapshot_download(repo_id="ModalityDance/PTU-Bench", repo_type="dataset")
# 2. Load the input metadata
with open(os.path.join(dataset_path, "generation_checkpoint.json"), "r") as f:
inputs = json.load(f)
# 3. Explore a sample
sample = inputs[0]
# Match the input to its ground-truth annotation.
with open(os.path.join(dataset_path, "corrected_tools.json"), "r") as f:
annotations = json.load(f)
annotation_index = {
(record["id"], record["slot"]): record
for record in annotations
}
annotation = annotation_index[(sample["original_id"], sample["slot"])]
taxonomy = annotation["refined_taxonomy"]
print("Required tools:", taxonomy["target_tools"])
print("Step labels:", taxonomy["target_steps"])
print("Distractors:", taxonomy["negative_tools"])
print(f"Task Instruction: {sample['task_instruct']}")
# Load corresponding image
img_path = os.path.join(dataset_path, sample['image_path'])
Image.open(img_path).show()
β οΈ Inference & Evaluation (Important)
Due to the complex nature of physical tool planning, standard HuggingFace pipelines (pipeline("visual-question-answering")) are not sufficient for evaluating this benchmark. To properly run PTU-Bench, please use our Official GitHub Repository.
Why use the official codebase?
- Environment Isolation: Different MLLMs require conflicting dependency versions (e.g., PyTorch, Transformers, Accelerate). Our repo provides standalone inference scripts for major models.
- Dual Evaluation Pipelines: Simple exact string matching fails on open-ended generation due to synonyms and morphological variations. We provide two robust alternatives:
* Offline Evaluation (
eval_offline.py): API-free evaluation using precomputed, query-specific mappings infinal_matching_info.json, supplemented by direct string matching and singular/plural rules. Previously unseen tool expressions in new model outputs may require additional mappings or LLM-based evaluation.
Head over to ModalityDance/PTU-Bench for the complete quickstart guide, environment setups, and automated evaluation scripts.
π Citation
If you use PTU-Bench in your research or applications, please cite the arXiv version below. The paper has been accepted to AAAI 2027; proceedings citation details will be added when available.
@article{PTU-Bench2026,
title = {Beyond APIs: Probing the Limits of MLLMs in Physical Tool Use},
author = {Zhixin Ma and Yutong Zhou and Yongqi Li and Chong-Wah Ngo and Wenjie Li},
journal = {arXiv preprint arXiv:2606.10803},
year = {2026}
}
π License
The dataset is released under the MIT license.
- Downloads last month
- 588