๐ŸŒ US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

About

No description, website, or topics provided.

Resources

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

CreativityBench logo CreativityBench logo CreativityBench logo

Advancing Creative Physical Intelligence in Large Multimodal Models

๐Ÿ“Š Dataset | ๐Ÿ“– Paper

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

๐Ÿ—‚๏ธ Repository Structure

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.

โš™๏ธ Installation

Install the lightweight Python dependencies from the repository root:

pip install -r requirements.txt

For training, install LlamaFactory separately in its own environment. For local model serving, install vLLM separately.

๐Ÿ“ฆ Data

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.

๐Ÿงพ Task Format

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.

๐Ÿš€ Pipeline

Run the workflow in this order if you want to reproduce the training and evaluation setup.

1. ๐Ÿ–ผ๏ธ Prepare Images

Download the image archive and place folders under datasets/ as shown above. Construction and evaluation both need entity images, part images, and environment images.

2. ๐Ÿงฉ Construct Training Trajectories

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.sh

Then 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.sh

See construction/README.md for output names and useful overrides.

3. ๐Ÿ‹๏ธ Train With LlamaFactory

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.yaml

See training/README.md for the 4B/8B SFT and DPO configs.

4. ๐Ÿ“Š Evaluate Models

OpenAI:

export OPENAI_API_KEY="your_api_key"
MODEL=gpt-5.4 MODE=interactive bash evaluation/run_openai.sh

vLLM:

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.sh

Outputs are saved under evaluation/outputs/. See evaluation/README.md for modes and environment variables.

๐Ÿ› ๏ธ Model Configuration

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

๐Ÿ“ Notes

  • 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.

๐Ÿ“š Citation

@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}
}  

About

No description, website, or topics provided.

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages