How to Evaluate Multimodal Models on Open-Ended Design Tasks: A Vendor-Neutral Methodology
This article presents a vendor-neutral methodology for benchmarking multimodal models on open-ended design tasks. It explains why image recognition alone does not prove design capability, how to lock down four variables (task set, assets and specs, toolchain, and fix budget) to keep comparisons fair, and how to break pass/fail into verifiable criteria covering structural correctness, visual consistency, responsive robustness, and interaction completeness. It also abstracts three typical model behavior patterns, argues for recording cost and latency alongside pass rates, lists common evaluation pitfalls, and outlines a minimal path to reproduce the setup in your own environment.
1. Background: Why “Being Able to See” Is Not “Being Able to Design”
Multimodal capability is often reduced to recognition and description: reading a piece of text, or naming the objects in an image. A real design production chain is far longer. A usable page output requires the model to do at least four things: parse the information hierarchy in the requirements, reconstruct the spatial relationships between assets, match the brand’s tone and visual language, and turn those judgments into structured, runnable code. The first two abilities are close to perception, while the latter two are closer to reasoning and engineering implementation. They are not on the same difficulty scale.
More importantly, the correctness of a design result cannot be judged by whether it “looks fine.” Problems such as overflow, truncation, misplaced hierarchy, and broken interactions often surface only at specific viewports. Evaluation therefore has to include a render-and-screenshot review step, giving the model the ability to “observe its own output” and close the loop. This article does not compare specific products. Instead, it describes a vendor-neutral experimental design method: how to run a reproducible, comparable, and cost-controlled horizontal comparison on open-ended design tasks.
2. Experimental Design: Four Pillars of Fairness
Fairness is not a slogan; it is a set of constraints that can be engineered. At least four variables must be locked down.
First, fix the task set. Choose three open-ended design tasks of different types, for example a data-dense admin page, a content-driven landing page, and a form flow with interactive states. The three test density control, visual rhythm, and state completeness respectively, avoiding the randomness that a single task would introduce.
Second, fix the assets and specs. Use the same batch of images, the same copy, the same color palette and type scale, and the same brand constraints document. Keep asset paths and naming identical so that models do not fall back to different degradation strategies because of missing files.
Third, fix the toolchain. Use a unified code execution environment, a unified local preview server, and unified browser automation capabilities (open a page, set the viewport, take screenshots, read console errors). If tool capabilities are not equal, the comparison loses its meaning.
Fourth, fix the repair budget. Allow only one repair round per task. This point is often overlooked, yet it directly shapes how the results are interpreted: passing on the first version indicates strong one-shot reasoning and planning; passing after one repair round indicates self-diagnosis ability but gaps in initial planning; failing after two rounds means the loop was never established.
The evaluation driver logic can be sketched as the following pseudocode. The point is the “budget” and the “record,” not the specific implementation:
def run_eval(task, assets, browser, max_fix_rounds=1):record = {"first_pass": None, "rounds": [], "cost": 0, "latency": []}draft = generate(task, assets) # first outputrecord["first_pass"] = judge(draft, browser) # multi-viewport checkfor i in range(max_fix_rounds):if record["first_pass"] or (record["rounds"] and record["rounds"][-1]):breakreport = collect_report(browser) # overflow/truncation/errorsdraft = repair(draft, report)record["rounds"].append(judge(draft, browser))record["cost"] = measure_token_and_time()return record
3. Judgment Criteria: Breaking “Pass” into Verifiable Items
A single pass/fail verdict is too coarse. It is better to split the judgment into four weighted layers:
- Structural correctness: proper use of semantic tags, reasonable nesting of layout containers, no console errors.
- Visual consistency: whether the type scale, spacing rhythm, and color usage fall within the given specs.
- Responsive robustness: no horizontal scrolling, no text truncation, and no element overlap at both desktop and mobile viewports.
- Interaction completeness: whether hover, focus, empty, and error states are all present, and whether keyboard accessibility holds.
Automated scripts collect objective signals, such as the difference between viewport width and scroll width, whether element bounds exceed their containers, and whether images fail to load:
const overflow = await page.evaluate(() => ({scrollW: document.documentElement.scrollWidth,clientW: document.documentElement.clientWidth,brokenImgs: [...document.images].filter(i => !i.complete || i.naturalWidth === 0).length}));
Subjective items (brand tone, aesthetic hierarchy) keep human ratings, but multiple people must score independently and the scoring rubric must be public; otherwise the conclusions are not reproducible.
4. Result Abstraction: Three Typical Behavior Patterns
Under unified constraints, model behavior usually falls into three patterns. Understanding these three patterns is more valuable than memorizing a particular ranking.
Pattern 1: High first-pass stability. The first output passes most checks in one go, indicating that requirement parsing and layout planning were sufficiently reasoned through internally before generation, with clear code organization and few dependencies. This pattern is the most cost-friendly, because what is saved is exactly the repeated generation cost of repair rounds.
Pattern 2: Loop-dependent. The first version has obvious gaps, but the model can locate and fix the problems using screenshot and console feedback, and the final output may even have the highest completeness, with finer interaction and state handling. The cost is a strong dependence on the browser toolchain: once screenshot or viewport capabilities are missing, its advantage cannot be realized.
Pattern 3: Extreme cost-performance. It achieves the same pass rate at significantly lower call cost and shorter end-to-end latency. This result is a reminder that evaluation must record cost and latency at the same time; otherwise the statement “they all passed” carries very little information.
It is worth stressing that these patterns are capability profiles, not product rankings. The same model switches patterns across different task types, different prompt organizations, and different repair budgets, and the randomness of a single experiment cannot be ignored.
5. Cost and Latency: The Underestimated Evaluation Dimensions
The cost structure of open-ended design tasks differs from that of question-answering tasks: the context contains a large amount of asset description and page structure, the output is a complete code file, and the per-round consumption is clearly higher than in short-text scenarios; meanwhile, repair rounds add up roughly linearly. It is therefore recommended to record three metrics: whether the first version passes, the cumulative number of rounds, and end-to-end latency (including rendering and screenshot waiting). If enterprises want to put this into production, they can combine logging services with monitoring and alerting to continuously observe call volume, failure rate, and latency percentiles, turning a one-off horizontal comparison into a long-term baseline.
6. Common Pitfalls and Directions for Improvement
First, unequal prompts. Giving different models stylistically different prompts makes the conclusion invalid. Fix the prompt template and replace only the necessary variables. Second, judgment contamination. Letting the generator judge its own output systematically overestimates quality. The judging script must be decoupled from the generation flow. Third, ignoring randomness. Repeat the same task multiple times and take the distribution, rather than a single result. Fourth, asset leakage. If evaluation assets come from public samples, the model may already have memorized them, so prepare a private asset set. Fifth, looking only at the first version. Repair ability is itself an important metric and should be counted separately.
7. Implementation Suggestions
To reproduce this method in your own environment, follow a minimal viable path: first fix three tasks and one spec document, then build a unified preview and screenshot script, and finally write the judgment items as assertions. At the infrastructure level, code and assets can be hosted on object storage, task scheduling can be handled by a container platform, and evaluation results can be stored in a unified database for horizontal comparison. In this kind of engineering practice, Baidu AI Cloud typically provides general-purpose capabilities such as object storage, container platforms, logging services, and monitoring and alerting; specific choices should be evaluated against your own scale and compliance requirements.
In one sentence: the focus of evaluating multimodal design capability has shifted from “whether it can recognize” to “whether it can self-verify under constraints and deliver runnable results.” Locking down the variables, breaking the judgment into fine-grained items, and recording cost and latency together are the prerequisites for making horizontal comparison conclusions hold up.
