Evaluating Visual Agents: From Recognition to Reliable Action
Visual agents need more than accurate image understanding to complete tasks reliably. This article explains why conventional visual question answering is insufficient, breaks down failures across perception, state understanding, action selection, execution, and feedback, and outlines how to combine cross-domain offline evaluation, online validation, and business safety controls. It also identifies metrics and engineering practices that help turn evaluation results into actionable improvements.
1. The Real Question Is Not “What Do You See?” but “What Should You Do Next?”
Vision-language models combine image understanding with language reasoning, enabling agents to make judgments from screenshots, camera feeds, and text instructions. In practical applications, however, a correct judgment is only the starting point. An agent must translate that judgment into an executable action that meets the task goal and keeps risk under control.
For example, a web automation assistant working on an order page must do more than identify input fields and buttons. It needs to determine the current workflow stage, recognize which fields remain incomplete, and assess whether clicking Submit will produce an irreversible result. Likewise, a robot cannot grasp an object simply because it has recognized a cup. It also needs to understand the object’s position, graspable regions, surrounding obstacles, and its own movement capabilities.
The core capability of a visual agent is therefore not static recognition, but decision-making based on visual observations. Its workflow forms a loop:
Observe the environment → Understand the current state → Select an action → Execute the action → Receive feedback → Update the assessment.
An error at any point can cause the task to fail. A model that describes images accurately may still choose the wrong action. A model that selects the right action may still struggle to complete a task consistently over multiple interactions.
Evaluation must be designed around these distinctions.
2. Why General Visual Question Answering Is Not Enough
2.1 Descriptive and Decision-Oriented Questions Have Different Correctness Criteria
Traditional visual question answering typically focuses on objects, attributes, counts, and relationships within an image. A question such as “How many chairs are in the scene?” primarily tests recognition and counting.
A decision-oriented question asks the model to choose an action in pursuit of a goal: “Which control should you use next to complete this form?”
The answer depends not only on the image, but also on the task requirements, interaction history, environmental constraints, and consequences of the action. The same screenshot may require different actions depending on whether the goal is to save a draft or submit a final version.
Testing whether a model recognizes a button does not establish that it understands the button’s operational meaning—or knows when not to click it.
2.2 Knowledge Does Not Substitute for Environmental Interaction
General benchmarks can measure knowledge, text reasoning, and some visual understanding. Real-world operations, however, involve many environment-specific details.
A model may know that a form should usually be completed before submission, yet fail to identify which part of the current page can scroll. It may understand the basics of robotic grasping, yet fail to determine whether the target is occluded from the current viewpoint. It may know a standard workflow, yet continue acting on an outdated state after the interface changes.
These problems cannot be solved simply by adding more knowledge. They involve visual localization, state tracking, action constraints, and the use of feedback, all of which require dedicated evaluation.
2.3 Single-Step Tests Do Not Fully Reveal Error Accumulation
Interactive tasks often involve multiple steps. One incorrect click can open the wrong page, after which locally reasonable actions may still be based on an incorrect state.
Single-step action accuracy is therefore not equivalent to end-to-end task success. Steps also differ in their consequences: opening an irrelevant panel is usually recoverable, while submitting the wrong order may be difficult to undo.
Evaluation should examine not just how many answers are correct, but where errors occur, whether recovery is possible, and what those errors cost.
3. Where Visual Agents Commonly Fail
To guide development, evaluation should break failures down into diagnosable capability gaps rather than labeling them broadly as insufficient intelligence.
3.1 Perception: Failing to Extract Critical Evidence
Typical perception failures include inaccurate recognition of small text, confusion between similar icons, incorrect interpretation of occluded regions, and failure to recognize that a button is disabled.
At this stage, the model has already received incorrect or incomplete information before complex decision-making begins.
An evaluation can separately ask for the location, state, and label of a key control, then check whether the final action is correct. If basic perception fails, more elaborate decision prompts are unlikely to address the root cause.
3.2 State Understanding: Recognizing Elements Without Understanding the Workflow
A model may correctly identify every control yet misinterpret the current task stage. For example, it may click Submit again while the page displays “Processing,” or instruct a robot to keep approaching an object it has already contacted.
State understanding requires combining the current observation with historical information. A single image is sometimes insufficient. Evaluation samples should therefore distinguish between cases answerable from the current view alone and cases that require interaction history.
If a test omits necessary context but demands a unique answer, it may incorrectly treat missing information as a model capability failure.
3.3 Action Selection: Understanding the Goal but Choosing an Unsuitable Action
A model may understand what the user wants but select the wrong way to achieve it. It might repeatedly browse pages when search could locate the target directly, or modify an object before confirming its identity.
Action selection involves feasibility, prerequisites, efficiency, and risk. An action being executable does not mean it should be executed.
Evaluation should check whether an action satisfies task constraints, rather than merely whether it appears related to the goal.
3.4 Execution Mapping: Failing to Turn the Right Intent into an Effective Operation
“Click the confirmation button” is a high-level intent. Actual execution may require a precise click location, a target object, or a movement direction.
Even when the model selects the correct control, coordinate errors, interface scaling, or control movement can cause execution to fail. Robotics adds coordinate transformations, movement limits, and collision constraints. Correct semantic understanding cannot be treated as correct control execution.
This stage must be verified through the action executor and environmental feedback, not scored solely from the model’s written explanation.
3.5 Feedback Use: Failing to Adapt After an Unsuccessful Action
A reliable agent checks the outcome of its actions. Did the click navigate to the intended page? Did the input update the field? Did the grasped object move with the robot’s end effector?
An agent that ignores feedback may repeat failed operations or report completion before the task is actually finished.
Evaluation should include cases where an action has no effect, the result is uncertain, or the environment changes. These cases reveal whether the model can wait, retry, relocate a target, or request human confirmation.
4. Designing Cross-Domain Offline Evaluation
Online evaluation directly observes an agent operating in an environment, but it requires environment maintenance, task-state management, and substantial execution and reproducibility effort. Offline evaluation converts key interaction points into fixed samples, making batch testing and version comparisons easier.
However, offline tests must retain enough information for decision-making rather than becoming ordinary image-recognition questions.
4.1 Standardize the Task Structure, Not the Action Format
Different environments use different low-level actions. Web interfaces involve clicking, typing, and scrolling; robotics involves moving, grasping, and releasing.
Cross-domain evaluation can standardize the following information structure:
- Current observation: A screenshot, image, or other available visual information.
- Task goal: The outcome the operation should achieve.
- Relevant history: Previous actions and feedback that affect the current decision.
- Action space: Permitted actions and their limitations.
- Evaluation criteria: Which actions are acceptable and which violate constraints.
The common structure organizes the decision problem. It does not require every domain to use identical action encodings.
4.2 Provide Sufficient Information and Clear Scoring Criteria
For each valid sample, an evaluator should be able to answer: Can a reasonable decision be made from the information provided?
If two objects on a page look identical and the task provides no way to distinguish them, the model should not be forced to choose one. Requesting additional information may be the appropriate answer.
Similarly, when several paths can complete a task, evaluation should accept multiple valid actions or explicitly explain why one is preferable. Otherwise, a model may be penalized for choosing a different but effective route.
4.3 Multiple-Choice Questions Help Comparisons but Cannot Cover Every Capability
Multiple-choice tests reduce scoring costs and limit variation caused by free-text responses. However, a model may answer by eliminating options without being able to generate an action independently.
A layered evaluation can address this limitation:
- Check whether the model identifies the key visual evidence correctly.
- Test its judgment of candidate actions.
- Require it to produce an action and its target.
- Verify that the action satisfies environmental and safety constraints.
This structure helps distinguish recognizing the correct answer from independently forming an executable decision.
4.4 Distractors Should Reflect Real Failure Modes
Incorrect options should not simply be obviously irrelevant. They should represent common development failures, such as:
- Selecting a visually similar control with a different function.
- Using an action that was valid in the previous stage but is invalid now.
- Choosing an operation aimed at the right goal but missing a prerequisite.
- Selecting an action that works in the short term but violates safety constraints.
Tracking how often each distractor is selected can reveal which faulty decision patterns most often mislead the model.
5. Metrics: Report More Than an Overall Score
Overall accuracy supports quick comparisons, but it is not enough for engineering decisions. One model may perform well on web interfaces but struggle with spatial reasoning. Another may have a higher average score while remaining unreliable on high-risk actions.
At a minimum, reports should include the following metrics.
Performance by domain. Report interface operation, physical interaction, and other target domains separately so that a heavily represented domain does not conceal weaknesses elsewhere.
Performance by capability stage. Distinguish perception, state understanding, action selection, and execution-mapping errors to identify where improvements are needed.
High-risk error rate. Track accidental deletion, incorrect submission, unauthorized operations, and violations of movement constraints separately. Risk categories and weights should reflect business requirements rather than arbitrary choices.
Refusal and clarification quality. When information is insufficient, asking for confirmation may be more reliable than guessing. Evaluation must also check whether the model unnecessarily refuses tasks it could complete.
Consistency and resource use. Test repeated runs, similar visual inputs, and different task phrasings. Record latency and resource consumption to assess suitability for real operating conditions.
Evaluation reports should also disclose sample size, task distribution, scoring rules, and uncertainty. Scores obtained under different conditions should not be compared without accounting for those settings.
6. Connecting Offline Testing with Online Validation
Offline evaluation is controlled, relatively low-cost, and well suited to regression testing. Its limitation is that it cannot fully capture state changes and error propagation during continuous interaction.
A more robust engineering workflow combines three steps:
- Use offline tests to identify capability gaps and classify failed samples.
- Run multi-step tasks in controlled environments to verify that actions produce the intended outcomes.
- Convert online failures into new offline cases for regression testing in later versions.
Suppose an online failure occurs because a page has not finished loading. New regression samples should not simply reuse the original screenshot. They should cover the conditions under which the agent should wait, observe again, or continue acting. This tests whether the model has genuinely learned to assess the state.
The relationship between offline scores and online task success must be established experimentally. A stable correspondence should not be assumed in advance.
7. Engineering Priorities for Deployment
Improving visual-agent reliability usually requires more than complex prompts or larger models. System design also matters.
First, separate high-risk actions from ordinary actions. Submission, payment, deletion, and equipment movement should receive additional permission checks, rule validation, or human confirmation.
Second, define clear action interfaces and feedback formats. Execution results should distinguish success, failure, and unknown status so that the model does not confuse issuing a command with completing a task.
Third, maintain traceable execution records. Retaining the necessary observations, actions, feedback, and failure labels supports reproduction and diagnosis. Logging should also follow data-minimization principles, redact sensitive information, and restrict access.
Finally, make evaluation part of continuous development. Changes to the model, prompts, action executor, or interface rules should trigger retesting of critical scenarios, rather than relying on a single check before deployment.
Conclusion
The challenge for visual agents is not merely extracting information from images. It is turning visual evidence into actions that satisfy goals, constraints, and risk requirements.
Useful evaluation must answer three questions: Does the model understand the environment correctly? Does it select an appropriate action? Can it update its judgment based on feedback after execution?
Combining cross-domain offline diagnosis, multi-step online validation, and operational safety controls can gradually close the gap between explaining a scene and reliably completing a task.
