Evaluating Experimental Multimodal Agents: Visual Primitives and the Assembly Layer

    When an experimental multimodal agent behaves inconsistently between its technical description and its user-facing interface, the real question is not whether it uses visual primitives—but whether you can verify it. This article presents a layered evaluation framework that separates model capabilities, reasoning strategies, the runtime assembly layer, and product interfaces. It covers probe tasks such as dense counting, multi-instance reference consistency, fine-grained localization, path planning, ablation studies, and observable trace inspection, along with configuration hygiene practices and recommended metrics for building a reliable evidence chain.

    Evaluating Experimental Multimodal Agents: Visual Primitives and the Assembly Layer

    To evaluate how an experimental multimodal model performs in agent scenarios, the key is not to guess which internal route it uses from a single conversation. Instead, break observable behavior down into verifiable layers: what capabilities the model has, how its reasoning strategy is organized, how the runtime assembly layer is configured, and what preprocessing the interface applies. Only by controlling these variables can discussions about questions like “does it use visual primitives,” “why does the interface behave differently from the technical description,” and “why do configuration commands keep failing” move beyond anecdotal judgment.

    1. Decompose the Layers First: Don’t Attribute Interface Differences Directly to the Model

    The final output of a multimodal agent is influenced by at least four layers.

    1. Model layer: Visual encoding, vision-language alignment, language reasoning, and coordinate output capabilities. Whether the model can see small targets, produce stable localizable references, and maintain instance consistency in dense scenes belongs to this layer.
    2. Reasoning strategy layer: Whether the model mainly describes images in natural language, or repeatedly crops, zooms, and annotates during reasoning, or uses explicit visual pointers. Different strategies significantly affect dense counting, complex localization, and multi-step spatial planning.
    3. Assembly layer: Prompt templates, tool registration, image preprocessing, context management, retry mechanisms, model routing, and configuration parsing—typically handled by the agent runtime framework. The same model can behave completely differently under different assembly layers.
    4. Product interface layer: Web, CLI, and API entry points may use different default prompts, image compression strategies, tool budgets, and version routing. Results seen in an interface do not represent the model’s ceiling in a controlled environment.

    Therefore, if a class of visual tasks performs inconsistently between technical descriptions and a particular interface, possible causes include version differences, different default reasoning routes, compressed image resolution, disabled tool calls, different prompt templates, or the user not actually launching the target configuration. A single observation is only a clue—it cannot directly prove that the model “lacks visual primitives.”

    2. The Two Routes Are Not Mutually Exclusive

    Approaches to involving images in reasoning can be abstracted into two categories.

    2.1 The classic image-in-reasoning route

    The model treats the image as an operable object during reasoning: it first observes the whole, then decides whether to crop a region, zoom in, extract text, or call external tools, and finally incorporates the observations into textual reasoning. This route is flexible in engineering, reuses existing toolchains, and makes model behavior observable through tool logs.

    However, it has two common bottlenecks. First, if intermediate results are mainly described in natural language, phrases like “the third person on the left” or “the button slightly right of the top” become ambiguous in multi-instance scenes. Second, multi-step tool calls accumulate errors: one misaligned crop can derail all subsequent reasoning. If the assembly layer does not record tool trajectories, evaluators can hardly tell whether an error comes from visual perception, referential ambiguity, or tool orchestration.

    2.2 The explicit visual primitives route

    The core idea of visual primitives is to refer to objects in continuous visual space using explicit pointers, coordinates, or region references, so the model does not have to rely entirely on natural language descriptions during reasoning. It typically targets two problems:

    • The perception gap: the model cannot see small, dense, or fine-grained targets;
    • The reference gap: even when it sees them, imprecise natural-language references still cause errors in counting, localization, and spatial relations.

    The value of explicit pointers lies in low-ambiguity references. For example, rather than saying “the leftmost person,” give a coordinate point; rather than describing “the button in the lower middle,” give a bounding box. This makes subsequent counting, comparison, path planning, and multi-turn references easier to keep consistent.

    That said, the two routes are not an either-or choice. A system can embed explicit pointers within the image-in-reasoning framework: first generate pointers, then crop or validate around them, and finally answer in text. It is also possible that the assembly layer draws annotations after the model’s output, while the model itself never generated pointers. So, seeing boxes drawn in an interface does not mean the model used visual primitives; seeing the interface rely mainly on cropping and textual descriptions does not mean the model lacks native coordinate output.

    3. How to Probe for Visual Primitives Under Black-Box Conditions

    Without access to internal model structure, collect evidence through behavioral experiments rather than a single question-answer sample. Design probing tasks along the following dimensions.

    3.1 Dense repeated-target counting

    Select multiple images containing large numbers of similar targets. Require the model to output the total count and list each target’s coordinates or ID. Evaluation metrics include counting accuracy, mean absolute error, coordinate coverage, duplicate reference rate, and miss rate. A total count alone is not enough—the model might guess from language priors. Requiring verifiable localization is what determines whether the count is built on per-instance references.

    Note that forcing coordinate output may induce “post-hoc coordinate fabrication.” You must therefore match coordinates against real targets in the image, check whether points fall within valid regions, and verify that coordinates and counts are consistent.

    3.2 Multi-instance reference consistency

    Construct images with multiple similar objects. First ask the model to point to one object, then require it to keep referring to the same object across multiple dialogue turns. Observe whether it maintains a stable reference rather than re-describing in vague language. If the model can produce explicit coordinates and reuse them consistently, it is closer to explicit referencing; if it re-explains “the second one on the left” each time, it is more vulnerable to referential ambiguity.

    3.3 Fine-grained localization and spatial relations

    Require the model to output point coordinates, bounding boxes, or relative positions, and evaluate with hit rate, normalized distance, and region IoU. Test both simple scenes and occluded, dense, low-contrast scenes. If localization improves only when the assembly layer provides cropping tools, the improvement likely comes from the tool loop, not necessarily from the model’s native visual primitives.

    3.4 Path planning and discrete spatial reasoning

    On grid maps, mazes, or diagrams, require the model to output the sequence of coordinates it traverses, not just a textual description. Evaluate whether the path is feasible, whether it collides, whether the step count is reasonable, and whether the coordinate sequence is continuous. Path tasks are good at distinguishing “appears to understand” from “can produce executable references.”

    3.5 Ablation experiments

    At minimum, run four controlled groups:

    • Image input only, with no crop or zoom tools;
    • Crop and zoom allowed, but no coordinate output required;
    • Coordinate output required, but no extra tools provided;
    • Both tools and coordinate output requirements provided.

    Comparing the four groups reveals whether performance gains come from native model ability, tool support, or output-format constraints. If a model performs well only under “tools + post-hoc annotation,” it should not be simply labeled as “equipped with visual primitives.”

    3.6 Inspect observable traces

    In an environment with logging, check whether the model actually generated coordinates, pointers, or region references, and whether the assembly layer used those references for subsequent cropping or validation. Evidence strength can be roughly graded as:

    1. Level A: The trace contains model-generated coordinates or pointers, and performance on dense counting
    2. and localization tasks significantly exceeds the no-pointer baseline;
    3. Level B: The model reliably outputs coordinates, but it cannot be confirmed whether they were generated
    4. by the model or post-processed by the assembly layer;
    5. Level C: Only natural language descriptions exist; internal use of explicit references cannot be determined;
    6. Level D: A single interface success or failure is insufficient to judge whether visual primitives are used.

    4. Why the Assembly Layer Can Contaminate Evaluation Conclusions

    Experimental models are often opened to integrators first, with configuration entry points that lean engineering-heavy. If the public documentation mainly shows configuration file fields while end users are used to selecting models via the CLI, problems like “the command didn’t take effect” or “it actually used the default configuration” arise easily. In such cases, unexpected interface behavior may not be a model capability issue at all—it may be configuration parsing, model routing, or startup parameters failing to hit the target configuration.

    A maintainable assembly layer should at least provide:

    • Model identity verification: clearly print the effective model ID, configuration profile, and tool list at startup;
    • Layered configuration with clear precedence: command-line arguments, environment variables, and configuration files should have well-defined override relationships;
    • Dry-run and diagnostics: offer configuration checks, dependency checks, and a trial run so users don’t have to guess repeatedly;
    • Version pinning and migration notices: prompt configuration changes after upgrades instead of silently falling back to defaults;
    • Observable logging: record image preprocessing, tool calls, coordinate parsing, and final answers for post-hoc review.

    Below is a conceptual configuration sketch, used only to illustrate which variables should be fixed during evaluation. It does not represent real fields or interfaces of any actual product:

    1. {
    2. "profile": "vision-eval",
    3. "model": "<vision-model-id>",
    4. "image": {
    5. "max_side": 1536,
    6. "keep_original": true
    7. },
    8. "reasoning": {
    9. "mode": "image-text-interleaved",
    10. "emit_pointer_trace": true,
    11. "max_steps": 8
    12. },
    13. "tools": ["crop", "zoom", "coordinate_probe"],
    14. "logging": {
    15. "save_effective_config": true,
    16. "save_tool_trace": true
    17. }
    18. }

    Conceptual CLI operations should also follow a “check — dry-run — run” pattern:

    1. <agent-cli> doctor
    2. <agent-cli> run --profile vision-eval --model <vision-model-id> --image ./case.png --dry-run
    3. <agent-cli> run --profile vision-eval --model <vision-model-id> --image ./case.png

    If users cannot confirm which model and configuration are actually in effect, all subsequent evaluation may be meaningless. For an evaluation team, recording the effective configuration is as important as recording the model name.

    5. Evaluation Metrics and Experiment Design

    It is recommended to split multimodal agent evaluation into task, capability, and engineering dimensions.

    Dimension Typical Tasks Recommended Metrics
    Dense counting Counting multi-object images Counting accuracy, MAE, coordinate consistency
    Localized reference Point selection, box selection, multi-turn reference Hit rate, normalized distance, region IoU, repeat consistency
    Spatial planning Grid paths, diagram navigation Path success rate, illegal step count, coordinate continuity
    Vision-language understanding Chart, table, and screenshot QA Answer accuracy, evidence citation rate, hallucination rate
    Tool orchestration Cropping, zooming, region validation Valid tool-call rate, invalid call count, failure recovery rate
    Engineering stability Batch regression Output format validity, timeout rate, version consistency

    In experiment design, fix image resolution, compression method, prompt templates, tool budgets, and parser versions. For the same test set, record the model ID, configuration profile, image hash, random seed, and tool traces. In analysis, compare at least three types of controls: the same model under different assembly layers, different models under the same assembly layer, and the same model with and without explicit coordinate requirements. For dense counting and path planning tasks, use sufficient sample sizes and confidence intervals—avoid drawing conclusions from single cases.

    Error analysis also matters. Classify failures into perception errors, reference errors, tool orchestration errors, coordinate parsing errors, and configuration routing errors. Only by distinguishing error sources can you tell whether the problem lies in the model’s visual ability, the absence of visual primitives, or the assembly layer failing to use the model’s output correctly.

    6. Practical Recommendations

    In engineering practice, incorporate both “model capability” and “assembly-layer experience” into the quality system. On one hand, maintain a fixed regression set and ablation experiments designed around visual primitives to observe whether explicit pointers deliver consistent gains. On the other hand, reduce misuse risk through configuration validation, diagnostic commands, effective-configuration logging, and version pinning. For high-stakes scenarios, the assembly layer can add coordinate range validation, answer-evidence consistency checks, and manual review when necessary.

    The conclusion: judging whether an experimental multimodal agent truly uses visual primitives cannot rely on a single interface experience, nor on final answers alone. A more reliable approach is to separate the model, reasoning route, assembly layer, and interface; run controlled probing on counting, localization, reference, and path planning; and build an evidence chain from observable traces and statistical metrics. Configuration and documentation experience matter just as much, because they determine whether evaluators can confirm they are actually testing the capability they set out to measure.