MM-CreativityBench evaluates whether large multimodal models can solve creative tool-repurposing tasks through visual, part-level grounding. Each task asks a model to inspect a scene, choose which entity and part can be repurposed, and explain a physically feasible use grounded in the available images and attributes.
This repository contains the open-source release code for:
- evaluating OpenAI and OpenAI-compatible vLLM models,
- constructing supervised and preference training trajectories,
- training Qwen3-VL models with LlamaFactory configs.
This repository accompanies the MM-CreativityBench paper. Public paper, dataset, and model links will be added after release.
MM-CreativityBench/
|-- datasets/
|-- construction/
|-- training/
|-- evaluation/
|-- assets/
|-- requirements.txt
`-- README.md
datasets/: released JSON task files. Image folders will be downloaded separately.construction/: sample interactive trajectories and export SFT/DPO data for LlamaFactory.training/: LlamaFactory Qwen3-VL LoRA SFT/DPO configs and dataset metadata.evaluation/: run multimodal evaluation with OpenAI or vLLM-compatible endpoints.
Each module has its own README with runnable commands.
Install the lightweight Python dependencies from the repository root:
pip install -r requirements.txtFor training, install LlamaFactory separately in its own environment. For local model serving, install vLLM separately.
The repository includes two task files:
datasets/test_set_333.json: held-out evaluation tasks.datasets/train_set_868.json: training tasks used for trajectory construction.
The image folders are not included yet. ๐ Download link.
After downloading images, place them as:
datasets/entity_figures_test333/
datasets/env_figures_test333/
datasets/entity_figures_train868/
datasets/env_figures_train868/
The evaluator and construction code expect these folders by default. You can override them with FIGURE_ROOT and ENV_ROOT.
Each task JSON entry includes:
task_id: unique task identifier.scenario: environment category.setting: task metadata, including difficulty and entity count.golds: gold entity, gold part, and target affordance.entities: candidate entities and part descriptions.items: additional scene objects.environment: natural-language scene context.task: user-facing problem to solve.solution: reference solution metadata.
Run the workflow in this order if you want to reproduce the training and evaluation setup.
Download the image archive and place folders under datasets/ as shown above. Construction and evaluation both need entity images, part images, and environment images.
This stage samples multi-turn positive, negative, and hard-negative trajectories from the 868 training tasks.
export OPENAI_API_KEY="your_api_key"
bash construction/run_sample_trajectories.shThen export those trajectories into LlamaFactory datasets:
INPUT_PATH=construction/outputs/<trajectory_file>.json bash construction/export_sft_dataset.sh
INPUT_PATH=construction/outputs/<trajectory_file>.json bash construction/export_dpo_dataset.shSee construction/README.md for output names and useful overrides.
Copy the exported training data into a LlamaFactory data folder:
export LLAMAFACTORY_DIR=../LlamaFactory
mkdir -p "$LLAMAFACTORY_DIR/data/creativitybench"
cp training/llamafactory_data/* "$LLAMAFACTORY_DIR/data/creativitybench/"Edit the config you want to run, replacing YOUR_MODEL_PATH and YOUR_RUN_NAME, then train:
cd "$LLAMAFACTORY_DIR"
llamafactory-cli train ../CreativityBench-MM-Open/training/configs/qwen3vl_4b_lora_sft.yamlSee training/README.md for the 4B/8B SFT and DPO configs.
OpenAI:
export OPENAI_API_KEY="your_api_key"
MODEL=gpt-5.4 MODE=interactive bash evaluation/run_openai.shvLLM:
MODEL_PATH=Qwen/Qwen3-VL-4B-Instruct bash evaluation/serve_vllm.sh
MODEL=Qwen/Qwen3-VL-4B-Instruct VLLM_BASE_URL=http://localhost:8000/v1 bash evaluation/run_vllm.shOutputs are saved under evaluation/outputs/. See evaluation/README.md for modes and environment variables.
Do not hard-code credentials in the codebase. Use environment variables.
OpenAI:
export OPENAI_API_KEY="your_openai_api_key"
export OPENAI_BASE_URL="https://api.openai.com/v1"vLLM-compatible endpoint:
export VLLM_API_KEY="EMPTY"
export VLLM_BASE_URL="http://localhost:8000/v1"Our main evaluation settings (Initial and Last image given in context):
export MAX_WORKERS=16
export MODE=interactive
export INTERACTIVE_HISTORY_IMAGE_COUNT=1- The default evaluation split is
datasets/test_set_333.json. - The default construction split is
datasets/train_set_868.json. - Construction uses OpenAI-compatible API calls to sample trajectories.
- Training configs are LlamaFactory configs only; no training script is bundled.
- Evaluation supports OpenAI and OpenAI-compatible vLLM endpoints.
@article{qian2026advancing,
title={Advancing Creative Physical Intelligence in Large Multimodal Models},
author={Qian, Cheng and Ha, Hyeonjeong and Liu, Jiayu and Kim, Jeonghwan and Acikgoz, Emre Can and Li, Bingxuan and Zhu, Kunlun and Liu, Jiateng and Tiwari, Aditi and Wang, Zhenhailong and Chen, Xiusi and Namazifar, Mahdi and Ji, Heng},
journal={arXiv preprint arXiv:2605.26396},
year={2026}
} 
