PosterReward is a dedicated reward modeling framework for poster assessment. It builds a 70k poster preference dataset from multi-MLLM consensus and introduces specialized models for poster quality evaluation across five dimensions:
A simplified variant that directly predicts a scalar reward from the image and prompt, without requiring a separate analysis step. Faster inference at the cost of slightly lower accuracy.
Download and extract these archives into the
poster_reward_bench/ directory of the
code repository.
1git clone https://github.com/MeiGen-AI/PosterReward.git
2cd PosterReward
3
4cd swift && pip install -e . && cd ..
5pip install msgspec "qwen_vl_utils>=0.0.14" torchvision diffusers pillow
1from swift.llm import PtEngine, InferRequest
2
3model_path = "path/to/PosterReward-Lite" # or download from this repo
4engine = PtEngine(model_path, max_batch_size=64, task_type='seq_cls', num_labels=1)
5
6messages = [
7 {"role": "user", "content": "<image>Your poster description prompt here."},
8 {"role": "assistant", "content": ""}
9]
10request = InferRequest(messages=messages, images=["path/to/poster.png"])
11
12resp_list = engine.infer([request])
13score = resp_list[0].choices[0].message.content
14print(f"Reward Score: {score}")
1# Edit model paths in inference_posterreward.sh, then:
2bash inference_posterreward.sh