Why Vision Agents Can See but Still Fail: How to Evaluate and Improve Them
Vision-language models can describe screens and scenes accurately yet still choose the wrong next action. This article explains why general visual question answering is a weak predictor of agent performance, how to design cross-scenario offline evaluations, what data-quality checks matter, how to break failures into perception, state, planning, execution, and recovery errors, and which layered metrics enterprises should use before trusting an agent in production.
1. What Needs Evaluation Is Not What the Model Sees, but How It Completes the Task
Vision-language models can process images and text together, so they are often used as decision components for web operation, robot control, interactive games, and spatial planning. Recognizing what is in a scene and completing a real task, however, are not the same capability.
Given a page screenshot, a model may accurately describe button locations, the purpose of input fields, and on-screen messages, yet still not know whether it should first fill in missing information, wait for the page to load, or submit the form. Given an image of a robot workspace, it may identify the target object but fail to judge collision risk, whether the gripper has enough approach space, or whether the next action can actually achieve the goal.
The reason is that an agent must do more than answer questions about the environment. It must choose actions according to the task goal and take responsibility for the consequences of those actions.
Agent capability therefore cannot be reduced to single-turn visual question-answering accuracy. A more appropriate object of evaluation is the full decision chain:
Observe the environment → understand the state → judge constraints → choose an action → execute it → check feedback → revise the plan.
An error in any link can cause the task to fail. A model that describes a scene fluently is not necessarily a reliable operator.
2. Why General Question-Answering Tests Poorly Predict Real Performance
2.1 Recognition and action selection have different goals
General visual question answering usually asks what is in an image, what color an object is, or what relationship a chart expresses. These tasks mainly test perception, knowledge recall, and local reasoning.
Agent tasks ask a different question: given the current state and the goal constraints, which action is most appropriate?
For example, “Is there a submit button on the page?” is a recognition question. “Should the submit button be clicked when required information is still incomplete?” is a decision question. The latter requires not only seeing the button, but also understanding task progress, preconditions, and possible consequences.
A high score on general question answering only shows that the model has some foundational ability. It does not directly prove that the model can reliably complete interactive tasks.
2.2 A single frame is often not enough to determine the true state
The same screenshot can correspond to different stages of a task. A dialog may be a success message or a retry prompt after failure. A stationary object may not yet have been grasped, or it may just have been placed in the target area.
If a test provides only the current image and omits the goal, action history, or necessary environmental constraints, the model’s error may come from insufficient information rather than insufficient ability.
Evaluation data must therefore distinguish two questions:
- Did the model fail to use information that was already available?
- Did the item never provide enough information to support a decision?
These cannot be mixed. Otherwise the result is neither fair nor useful for engineering improvement.
2.3 Long workflows accumulate local errors
Real tasks often contain many consecutive steps. Even if each step looks reasonably successful, a long workflow can still expose serious reliability problems.
Under a simplified assumption, if every step succeeds with probability (p), the steps are independent, and any single failure causes the task to fail, then the success rate of an (n)-step task is:
(P_{\text{task success}} = p^n)
In real systems, errors are usually not independent, and feedback may allow recovery, so this formula should not be used as a direct operational prediction. It does, however, make an important point: there is a gap between local competence and end-to-end reliability.
3. How to Design Cross-Scenario Offline Evaluation
Online evaluation requires the agent to operate in a real environment, so it can observe full behavior and feedback. Deploying that environment, resetting state, running tasks, and reproducing results can all be expensive.
Offline evaluation turns key decision points from real interaction into fixed samples. The model chooses an action from the image, task goal, and necessary context. This is better suited to large-scale screening and repeated comparison, but only if the items genuinely represent real decision demands.
A usable offline sample should contain at least:
- Task goal: what must ultimately be completed, not merely a description of the scene.
- Environment observation: the current screenshot, video clip, or other necessary visual information.
- Historical context: completed actions and state changes that affect the current decision.
- Action candidates: operations allowed in the current environment and what they mean.
- Constraints: permissions, safety boundaries, ordering requirements, and prohibited actions.
- Reference answer and rationale: the correct action and why the other candidates are unsuitable.
3.1 Unify decision semantics, not action formats
Web operation, robot control, first-person video understanding, game decisions, and spatial planning can be evaluated together, but they should not be assumed to share the same action structure.
A web action may involve a target control and input content. A robot action may involve direction, pose, and contact conditions. Spatial planning may involve paths, reachability, and obstacle constraints.
Cross-domain evaluation should unify the problem structure—“choose the next action from the observation”—while preserving the state information and action semantics each domain requires. Forcing a common surface format can reduce task realism.
3.2 Multiple-choice distractors should have diagnostic value
Multiple-choice questions are easy to score automatically, but wrong options should not be obviously unreasonable actions. Useful distractors should correspond to common errors, such as:
- Finding the correct control but ignoring a precondition.
- Recognizing the target object but choosing the wrong direction of movement.
- Choosing an action that is reasonable in itself but in the wrong order.
- Choosing an action with higher short-term benefit and greater long-term risk.
- Ignoring the task requirement and performing the most visually salient operation.
A wrong answer then means more than “the reference answer was not selected.” It helps locate which decision mechanism is weak.
3.3 Ambiguity and information leakage must be controlled
If several actions are equally reasonable, a single reference answer may underestimate the model. For actions such as waiting, checking, or retrying, the item should state whether the current feedback has stabilized and whether extra confirmation is allowed.
The model should also be prevented from guessing the answer from option length, a fixed option position, or differences in wording. When necessary, shuffle option order, standardize phrasing, and check whether the question can be answered from text alone while bypassing the visual information.
An offline benchmark should measure visual decision-making, not shortcuts in the question format.
4. Data Quality Matters More Than Sample Count
Building an evaluation set is not only a matter of collecting screenshots and labeling answers. To obtain interpretable and repeatable results, five quality checks are useful.
Check 1: Task relevance
Confirm that the sample truly involves action selection. Questions that only ask the model to recognize an object, describe a scene, or answer a commonsense question can test foundational ability, but they should not be treated as primary evidence of action capability.
Check 2: Information sufficiency
Confirm that the image, goal, and context are sufficient to support a choice. If the decision depends on whether the previous submission succeeded, provide that feedback instead of asking the model to guess a hidden state.
Check 3: Answer validity
Check that the reference action is executable in the given state and satisfies the task goal and safety constraints. When a task has multiple valid paths, state clearly whether the evaluation accepts any acceptable action or only the optimal action under a defined criterion.
Check 4: Difficulty and distribution
Avoid letting easy scenes dominate the set. Cover different levels of visual complexity, task stages, action types, and abnormal states, while keeping a reasonable weight for common business scenarios.
Check 5: Duplication and splits
Adjacent screenshots from the same task trajectory are often highly similar. If they are split across different datasets, measured generalization can be inflated. A safer practice is to isolate data by task, trajectory, or scene rather than randomly shuffling individual samples.
5. How to Turn Errors into Problems That Can Be Improved
Overall accuracy is useful for quick comparison, but it is not enough to guide development. Teams need to know where the error occurs.
5.1 Perception errors: a key object is not recognized correctly
Typical signs include missing prompt text, confusing adjacent buttons, ignoring occluded regions, and misunderstanding spatial relationships between objects.
Improvements can include checking image resolution, whether key regions are too small, whether the input is over-compressed, and whether an additional local view is needed. Cropping and zooming can also remove global context, so those changes need to be validated together.
5.2 State-understanding errors: the object is seen, but the task stage is misjudged
The model may know what a button is without knowing whether it can be clicked now. It may also treat “processing” as “processing complete.”
These problems usually require better state representation and history management. Rather than concatenating the entire dialogue history indiscriminately, explicitly retain completed steps, the latest feedback, items awaiting confirmation, and current constraints.
5.3 Planning errors: the action is reasonable but does not serve the final goal
The model may repeat operations that do not advance the task, or enter the next stage before preconditions are complete.
Check whether the task is divided into verifiable stages and whether each stage has a clear completion condition. A plan should not exist only as natural-language description; it should also be able to correspond to environmental feedback.
5.4 Execution errors: the decision is correct, but the operation is not carried out correctly
Choosing the correct action offline does not mean online execution will succeed. Coordinate offsets, interface changes, incorrect action parameters, and delayed environment responses can all cause execution failure.
“Correct action intent” and “actual execution success” therefore need to be measured separately. Otherwise, problems in the model and problems in the execution component are mixed together.
5.5 Recovery errors: the strategy is not adjusted after failure
A reliable agent must perform well on the normal path and also handle timeouts, occlusion, dialogs, invalid state, and insufficient permissions.
The evaluation set should include a reasonable number of abnormal scenarios and check whether the model can stop ineffective retries, observe the environment again, request additional information, or hand high-risk operations to a human for confirmation.
6. Enterprises Should Use Layered Evaluation, Not Only Leaderboards
A more practical evaluation system has three layers.
Layer 1 is offline capability screening. Use fixed samples to compare configurations, and look at overall accuracy, domain-level results, and key error types. This layer is relatively inexpensive and suitable for frequent runs.
Layer 2 is controlled online validation. Run complete tasks in a resettable test environment and record task success rate, number of operations, time consumed, retries, and abnormal recovery. Initial environment state, task requirements, and resource limits should remain comparable.
Layer 3 is business-risk validation. Check real business workflows for unauthorized operations, duplicate submissions, sensitive-information handling, and irreversible actions. High-risk steps should have permission constraints, confirmation mechanisms, or human takeover, rather than relying only on the model’s own judgment.
The relationship between offline and online results also needs continuous validation. If a class of offline items looks strong but real tasks still fail often, check whether temporal change, execution precision, long-horizon planning, or abnormal recovery was missed, instead of simply adding more items of the same kind.
7. Metrics Should Reflect Reliability and Risk
Beyond overall accuracy, at least the following metrics should be reported:
- Domain-level accuracy: so an average score does not hide a clear weakness in one scenario.
- Critical-action error rate: measured separately for high-consequence actions such as submit, delete, payment, or hazardous movement.
- End-to-end task success rate: confirming that the system actually achieves the goal rather than only producing a plausible response.
- Recovery success rate: measuring whether the task can continue after a recoverable error.
- Ineffective operations and retries: showing whether the system depends on large amounts of trial and error.
- Appropriateness of refusal or help-seeking: checking whether the system stops when information is insufficient or risk is too high.
For automatic execution, confidence is also worth attention, but a model saying it is “very sure” is not a calibrated probability. Only after real samples have verified the relationship between confidence and error rate should that signal be used to set an automatic-execution threshold.
8. Make Evaluation Part of the Engineering Loop
A practical improvement cycle is:
Collect failed trajectories → label the error stage → extract key decision samples → add them to offline regression tests → adjust the model or system components → revalidate online.
For example, after a page operation fails, save the current observation, task goal, action history, model decision, execution result, and subsequent feedback together. Only then is it possible to tell whether the problem is visual recognition, stale state, execution offset, or a business rule that was not expressed correctly.
Evaluation samples and runtime records should also be versioned, and sensitive information should be redacted. Keeping a fixed set of regression samples helps track stability, while maintaining a continuously updated set of independent samples helps detect overfitting and risk in new scenarios.
Ultimately, the quality of a vision agent is not decided by one question-answering score. It is formed jointly by perception, state management, planning, execution, feedback, and safety constraints. Offline evaluation provides efficient diagnosis, online validation tests actual behavior, and business rules bound the operating space. Only by connecting the three can you judge whether a system merely appears to understand, or can reliably complete a task under clearly defined conditions.
