Multimodal LLM Visual Understanding: Evaluation and Optimization Practices

    This article explains why visual perception failures in multimodal large language models are harder to handle than reasoning errors, and how to address them. It covers a quantitative evaluation framework across fine-grained localization, cross-image consistency, difference detection, and instruction following, along with a three-step troubleshooting method for input fidelity, explicit constraints, and tool-based fallback. It also outlines engineering improvements on the data, inference, workflow, and service sides, plus a checklist for production readiness.

    1. Background: Why “Not Seeing” Is Harder Than “Answering Wrong”

    Once multimodal large language models enter real business workflows, the most common complaint is not flawed logical reasoning but missing perception of image details: defects clearly located at the edge of the frame get ignored, multiple screenshots from the same camera position cannot be matched to each other, and information can only be filled in through manual frame-by-frame annotation. These problems share three traits: errors are not explainable, reproduction is unstable, and downstream tasks amplify the impact. When the visual stage fails, workflows that depend on it—game testing, industrial quality inspection, UI regression comparison—degrade into pure manual labor, and the return on investment drops sharply.

    From a technical perspective, visual perception failures usually come from three layers:

    • Input layer: image resolution is compressed, aspect ratio is distorted, or key regions are lost during cropping;
    • Representation layer: the vision encoder is not sensitive enough to small objects, low contrast, or distant textures;
    • Alignment layer: the mapping between visual features and language instructions is imprecise, causing tasks that require spatial alignment, such as same-viewpoint comparison, to fail.

    2. Building a Quantifiable Visual Understanding Evaluation System

    To judge whether a multimodal model is reliable, you first have to move it from subjective experience back to measurable metrics. At minimum, cover the following four task types:

    1. Fine-grained localization: given a description, output a bounding box or center point for the target, measured by Intersection over Union (IoU);
    2. Cross-image consistency: establish region correspondence across multiple screenshots from the same camera position, measured by matching accuracy;
    3. Difference detection: identify inconsistent regions between two images, measured by miss rate and false detection rate;
    4. Instruction following: whether constraints (such as “only look at the same viewpoint”) are still respected when emphasized, measured by constraint satisfaction rate.

    A sample evaluation data structure can be organized like this:

    1. eval_case = {
    2. "id": "shot-align-0421",
    3. "images": ["a.png", "b.png", "c.png"],
    4. "instruction": "The three images are consecutive screenshots from the same viewpoint. Point out the region in the second image that differs from the first.",
    5. "expected": {"bbox": [312, 88, 470, 260], "tolerance_iou": 0.3},
    6. "constraint": "same_viewpoint",
    7. "difficulty": "hard"
    8. }

    The key principle for building the evaluation set is stratified sampling: stratify by target size (large/medium/small), contrast (high/low), occlusion ratio, and viewpoint offset, and ensure each stratum has enough samples. Only then can you pinpoint which range the failure occurs in. A common mistake in practice is using only hand-picked “clean samples,” which leads to a serious divergence between online performance and offline metrics.

    3. Failure Attribution: Turning “Blindness” into Fixable Engineering Problems

    When a model “cannot see,” do attribution first and optimization second. A three-step troubleshooting method is recommended:

    • Step 1: Check input fidelity. Visualize and compare the original image against the tensor the model actually receives, and confirm whether it has been over-scaled. Many cases of “not seeing distant defects” are actually caused by details being erased during preprocessing. You can moderately increase input resolution or adopt tiled inference and then merge the results.
    • Step 2: Make prompts and constraints explicit. Write spatial relationships into the instruction, for example stating clearly “use the first image as the baseline,” “the coordinate origin is at the top-left corner,” and “only compare the overlapping region,” and allow additional screenshots across multiple turns. The more specific the constraints, the more stable alignment-type tasks become.
    • Step 3: Tool-based fallback. For scenarios with strong demand for precise coordinates, let the model output candidate regions and then have traditional vision algorithms refine them, avoiding putting pixel-level localization on the model where it is weak.

    4. Engineering Improvement Path

    4.1 Data Side: Build a Domain-Specific Visual Instruction Set

    General capabilities cannot cover the long tail of business needs. Historical manual annotation selections should be accumulated into training and evaluation assets, forming “screenshot–instruction–annotation box” triples that flow back in by difficulty tier. Data cleaning should remove duplicate frames, blurry frames, and annotation noise, while keeping class distribution balanced.

    4.2 Inference Side: Tiling, Zooming, and Multi-Turn Supplementation

    For high-resolution screenshots, use tiled parallel inference followed by global merging; for distant small targets, zoom into the local area before asking; for same-viewpoint comparison, allow additional screenshots and require the model to explicitly state its alignment basis. These techniques do not change the model itself but can significantly improve usability.

    4.3 Workflow Side: Human-Machine Collaborative Loop

    Position the model as a “first-pass screener” that outputs confidence scores and candidate boxes; low-confidence samples automatically go to manual review, and review results flow back into the evaluation and training sets. This controls labor costs while making the system improve monotonically over time.

    4.4 Service Side: Observability and Cost Control

    In production, it is recommended to combine inference services, object storage, message queues, logging services, and monitoring alerts: store original and tiled images in object storage, run long tasks asynchronously through message queues, send call chains and latency into the logging service, and trigger monitoring alerts on metric anomalies. If you use the relevant general capabilities from Baidu AI Cloud, you can combine the above categories as needed and determine capacity and budget based on actual load testing results, rather than relying on unmeasured performance assumptions.

    5. Selection Advice and Acceptance Checklist

    To evaluate whether a multimodal model is worth putting into production, score it with the following checklist:

    • Does IoU for small-target localization meet the business threshold;
    • Is same-viewpoint cross-image matching stable under slight viewpoint offset;
    • Does constraint satisfaction rate improve rather than decline after constraints are emphasized;
    • Is there an input resolution limit that causes loss of detail;
    • Does it support batch and asynchronous calls to control end-to-end latency;
    • Can failure samples flow back at low cost to form a closed loop.

    6. Conclusion

    “Not seeing” is not an unsolvable mystery, but the combined result of input fidelity, representation capability, alignment precision, and workflow design. Make evaluation stratified, write constraints explicitly, and turn manual review into a closed loop, and multimodal visual understanding can move from demonstration to reliable productivity. For the next generation of models about to iterate, the rational attitude is not to chase release cadence, but to use a self-built evaluation set to verify on the real business distribution whether the increment covers the previous failure ranges.