Benchmarking Multimodal Code Models for Complex 3D Tasks: A Reproducible Evaluation Method

    As multimodal large models move from single-turn question answering to complex code generation and interactive artifact delivery, checking only whether a model can produce runnable code is no longer enough. This article presents a reusable evaluation method that standardizes tasks, executors, acceptance criteria, and scoring across quality and efficiency. It covers four evaluation layers, task-suite design, controlled execution, automated assertions combined with blind human review, common pitfalls, and a reproducible pipeline, helping teams answer a more fundamental question: under given business constraints, which type of model is better suited to which type of task.

    As multimodal large models move from single-point question answering to complex code generation and interactive artifact delivery, it is increasingly difficult to judge a model’s real capability by asking only whether it can generate a piece of runnable code. Whether a model can deliver, from a short prompt, a 3D interactive demo with separable parts, a working mechanical animation, a production-quality page, and maintainable code requires unified tasks, a unified executor, unified acceptance criteria, and a comparative evaluation across both quality and efficiency. This article is not organized around any specific product. Instead, it abstracts a reusable evaluation method to help teams answer a more fundamental question: under given business constraints, which type of model is better suited to which type of task.

    1. Evaluation Goal: From “Runnable” to “Deliverable”

    The first trap in complex code generation tasks is mistaking “the page opens” for “the task is complete.” In a 3D interactive demo, for example, the artifact may have zero script errors and load all resources normally, while the disassembly logic is only a visual illusion: clicking moves the entire model, and parts do not separate according to their hierarchy. Or the disassembly animation may fail to reset after completion, revealing hidden defects in the state machine. Such artifacts may look acceptable in screenshots but are unusable in actual interaction.

    The evaluation goal should therefore be divided into four layers:

    1. Functional correctness: Whether core interactions are genuinely effective, such as disassembly, assembly, animation start/stop, and parameter adjustment working as expected.
    2. Engineering quality: Whether script errors, resource loading failures, memory leaks, event-listener cleanup, random-seed determinism, responsive layout, accessibility attributes, and similar aspects meet the bar.
    3. Professionalism and aesthetics: Whether the structural design matches the characteristics of the object, whether materials, lighting, camera, and exposure are reasonable, and whether the visual narrative is clear.
    4. Delivery efficiency: The time from prompt to acceptable artifact, number of manual interventions, number of retries, resource consumption, and invocation cost.

    Only by breaking “runnable” into “interactive, maintainable, reproducible, and deliverable” does comparative evaluation have value for model selection.

    2. Task-Set Design: Cover Capability Boundaries Rather Than Piling Up Quantity

    The task set should be designed around real development scenarios and should preferably cover the following categories:

    • 3D interactive demos: Given a single-sentence, wish-style prompt, require the model to generate a disassemblable mechanical model. Acceptance points include part hierarchy, disassembly paths, annotation positioning, camera control, reset logic, and resource release.
    • 3D animation and physical structures: For example, port cranes and conveyor mechanisms. Focus on motion constraints, collision relationships, default view, exposure, and UI states.
    • Engineering refactoring: Provide an existing code snippet and require the model to split modules, add error handling, and add tests and documentation.
    • Multimodal input understanding: Provide a sketch, screenshot, or video clip and require the model to generate a corresponding interactive page, then check whether key elements are missing.
    • Long-context maintenance: Complete a local modification in a larger codebase and check whether the model understands dependencies and avoids breaking existing behavior.
    • Office and workflow tasks: For example, convert structured data into a visual report, with emphasis on data validation, exception handling, and maintainability.

    Each task must come with executable acceptance criteria. For a disassemblable 3D model, automated assertions can be set as follows: after the disassembly button is triggered, at least N part nodes change position or rotation; after reset, the error is below a threshold; three consecutive disassembly-reset cycles produce no state drift; after the page is closed, animation frames and texture resources are released. Human review focuses on part naming, hierarchy organization, annotation readability, and visual professionalism.

    3. Unified Executor and Prompts: Reduce Non-Model Variables

    The variable most likely to get out of control in comparative evaluation is the execution environment. Different executors may have different tool permissions, timeout policies, and file read/write capabilities, making final results incomparable. The following conditions should be fixed:

    • The same prompt template, with only task parameters replaced and no prompt tuning for individual models;
    • The same executor permissions, including file system, network access, build commands, and runtime duration;
    • The same timeout and retry policy, with no manual code written after a failure;
    • The same random seed and initial resources, avoiding result drift caused by deterministic randomness;
    • Complete recording of execution traces, including intermediate files, command output, error logs, and manual intervention points.

    For “single-sentence, wish-style prompts,” their real difficulty should be preserved, but boundaries should also be made explicit in acceptance criteria. Otherwise, a model may obtain a higher score by oversimplifying the task, such as merging six legs into one part or reducing a complex mechanical structure to a static model. Evaluation should reward “higher completion under real constraints,” not “shorter code.”

    4. Scoring System: Combine Automated Assertions with Blind Human Review

    A layered scoring approach is recommended rather than a single total score. An example weighting is:

    • Functional correctness: 40%
    • Engineering quality: 25%
    • Professionalism and aesthetics: 20%
    • Efficiency and cost: 15%

    Automated checks handle quantifiable parts, such as zero script errors, successful resource loading, passing core interaction assertions, frame rate not below a threshold, no sustained memory growth, and accessibility attributes covering key controls. Blind human review handles parts that are difficult to automate, such as mechanical-structure reasonableness, materials and lighting, whether the default camera is user-friendly, whether UI states are complete, and whether code organization is clear. During blind review, model identities should be hidden and tasks randomly ordered to reduce brand bias.

    The scoring formula can be abstracted as:

    1. Total score = functional assertion pass rate × 0.40
    2. + engineering quality score × 0.25
    3. + blind human review score × 0.20
    4. + normalized efficiency score × 0.15

    The efficiency score should be normalized to avoid a “shortest time but unusable artifact” receiving a high score. Teams can record first runnable time, final acceptance time, number of manual fixes, and invocation cost together, forming an efficiency vector rather than a single number.

    5. Case Observations: Differences Often Hide in the Details

    In one anonymized evaluation, three models all generated runnable artifacts for the same 3D disassembly task, but the differences in detail were clear. One artifact split the mechanical structure into more than thirty independent parts, with clear hierarchies for upper and lower thorax shells, seam rings, transmission shafts, and energy conduits; the disassembly animation unfolded in a staggered manner, showing high engineering completion. Its weakness was that the default camera was too far away, and opening from a fully disassembled state and then reassembling could easily lead reviewers to misjudge it as a failure. Another artifact adopted a museum-specimen narrative: after disassembly exceeded a certain ratio, part annotation lines appeared with real-time projected positioning, and responsive and accessibility handling were relatively complete, but it disassembled only nine major parts, merged the six legs, and offered limited teaching value. A third artifact had the strongest visual identity, with four wings and six legs complete and prominent wing curves and wing-rib details, but it had clipping between gears and side panels, low default exposure, and UI buttons lacking loading states.

    This set of observations shows that comparative evaluation cannot look only at “zero errors,” nor only at screenshot aesthetics. Functional completeness, professionalism, maintainability, and interaction states are all indispensable. Task duration also needs to be interpreted together with quality: a short duration may come from simplified structure, while a long duration may come from over-engineering. The correct approach is to examine duration together with acceptance pass rate and number of manual fixes.

    6. Reproducible Pipeline: Turn Evaluation into an Engineering Asset

    A reproducible pipeline should include at least task configuration, isolated execution, automated assertions, metric collection, and artifact archiving. Pseudocode is as follows:

    1. tasks = load_tasks("suite.json")
    2. for task in tasks:
    3. run = execute(task.prompt, timeout=task.timeout, seed=42, permissions=task.permissions)
    4. checks = run_assertions(run.artifact, task.acceptance)
    5. metrics = collect_metrics(run.trace, run.artifact)
    6. review = blind_review(run.artifact, task.rubric)
    7. score = weighted_score(checks, review, metrics)
    8. archive(run.trace, run.artifact, checks, metrics, score)

    In a general cloud environment, teams can use generic container platforms, object storage, logging services, and monitoring and alerting to build a parallel evaluation pipeline; Baidu AI Cloud, for example, offers general-purpose categories for these needs. The container platform isolates execution, object storage archives artifacts and logs, and logging and monitoring collect resource metrics. Such capabilities serve only the evaluation infrastructure and do not change the tasks themselves or the scoring criteria.

    7. Common Pitfalls and Practical Recommendations

    Common pitfalls include: evaluating only final screenshots rather than interactions; failing to fix the random seed, making results irreproducible; failing to unify timeouts and permissions, distorting efficiency; separating model invocation cost from manual repair cost; failing to conduct blind review, leading to brand bias; and failing to record failure traces, making it impossible to analyze whether a problem comes from the prompt, the executor, or model capability.

    A practical recommendation is to first build a small but refined task set, with automated assertions and a human scoring rubric for each task; then gradually expand to multimodal and long-context tasks; keep complete traces in every evaluation round to form a regression baseline; and finally configure weights by business scenario rather than pursuing a single leaderboard ranking. Conclusions should also return to the scenario: interactive demos place more emphasis on visual professionalism and accessibility, engineering refactoring on maintainability and test coverage, and office tasks on data validation and exception handling. There is no absolutely “stronger” model, only a model that better matches task constraints. Building an objective, reproducible, and explainable comparative evaluation system is the real long-term asset for model selection.