AI Agent Visual Question Answering: Where Does It Actually Get Stuck?

    This article examines why AI agents that perform well on standard visual question answering benchmarks often see success rates drop to around 50% in real, stateful, multi-turn tasks. It explains the evaluation mismatch between stateless recognition tests and decision-oriented agent behavior, why online evaluation is costly, and how to build a reproducible offline agent benchmark from multiple data sources. The article also covers prompt structure, four common failure points, and practical engineering recommendations for regression testing.

    1. A Long-Overlooked Evaluation Mismatch

    As AI agents move from demos into production, an awkward fact has emerged: models that appear near saturation on standardized visual question answering leaderboards can see their success rate fall to around 50% once they enter real, multi-turn tasks with persistent state. The problem is usually not that the model has become “dumber.” It is a systematic mismatch between how we evaluate and what we actually want to measure—we use recognition-style exams to predict behavior-style performance.

    Traditional vision-language model (VLM) benchmarks are good at answering questions like “What is in this image?” or “Which option is correct?” Their questions are stateless, single-turn, and have a single correct answer. Agents, however, face stateful, multi-turn problems with open-ended action spaces: which control to click on a web page, which direction to advance a robotic arm, or where to turn next in a first-person view. Using the former as a proxy for the latter amplifies the error.

    A fitting analogy is the difference between a written driving test and parallel parking. The written test can verify rule memorization, but it cannot expose timing errors from turning the wheel too early or too late. If hiring decisions rely entirely on written test scores, the business ultimately bears the cost of accidents.

    2. Why You Cannot “Just Run It Online”

    Online evaluation—letting the model actually operate a simulator or a real system—offers the highest validity, but the cost is significant: environment setup and version pinning are expensive, a single evaluation run takes a long time, results are hard to reproduce because they are affected by random seeds and network conditions, and it is difficult to scale horizontally across dozens of models.

    Teams therefore turn to offline benchmarks: fixed questions and fixed context snapshots that freeze the “decision moment” into reproducible multiple-choice questions.

    The value of offline evaluation lies in three things: reproducibility, parallelism, and fine-grained attribution. Its risk also lies in question design—if the context snapshot fails to preserve the state information of the real task, the evaluation degrades into ordinary image Q&A.

    3. Building a Trustworthy Offline Agent Benchmark

    A rigorous approach is to sample from multiple existing datasets covering five agent scenarios: web operation, robotic manipulation, first-person video understanding, game strategy, and spatial planning. After strict filtering, only about 1,000 high-quality multiple-choice questions are retained. More than 20 mainstream models participate in the evaluation, and the best one achieves an accuracy of about 58.5%.

    This pipeline can be abstracted into four steps:

    1. Sampling (multi-source) -> Unification (question / options / context snapshot) -> Denoising (answerability / uniqueness / leakage checks) -> Attribution (stratified statistics by stage and scenario)

    Key engineering details include:

    1. Context snapshots must contain state, not just images—for example, a list of interactive elements on a page, the robot arm pose, and the history of past actions.
    2. Option design should introduce distractors that “look reasonable but violate constraints,” testing constraint satisfaction rather than surface similarity.
    3. Data leakage must be strictly controlled to avoid inflated scores caused by overlap between questions and training corpora.
    4. A unified output protocol is needed to enable automated scoring and batch parallelism.

    Example prompt structure:

    1. prompt = f"""
    2. You are a task-execution agent. Choose the single action based on the state information below.
    3. [Task Goal] {goal}
    4. [Current State] {state_snapshot}
    5. [Action History] {history}
    6. [Candidate Actions] {options}
    7. Output requirement: Return only the option number and briefly state one constraint-based reason.
    8. """

    4. Failure Attribution: Four Common Bottlenecks

    • State perception: The agent can see objects but cannot read affordances or current progress.
    • Constraint satisfaction: The action is reasonable but violates preconditions (for example, submitting before logging in).
    • Temporal and multi-step planning: Local optima lead to global failure, with no backtracking.
    • Feedback utilization: The agent ignores execution results and error messages and repeats the same wrong action.

    Only by running stratified statistics by scenario and stage can “58.5%” be broken down into actionable improvements rather than a single vague score.

    5. Engineering Recommendations

    On the evaluation side, integrate the offline benchmark into continuous integration. Run a regression every time the model or prompt changes, and build a searchable case library for failed samples.

    On the engineering side, general-purpose cloud capabilities can help: object storage holds context snapshots and question versions, message queues smooth out peaks and parallelize scoring, container platforms elastically spin up evaluation tasks, and logging and monitoring services track success rates and drift. For further validation, after offline screening, run a small-scale online canary only for a few high-scoring candidates to control costs.

    The conclusion is straightforward: the bottleneck in agent capability is often not “whether it recognizes things,” but “whether it knows what to do.” Upgrading evaluation from recognition-style exams to decision-style snapshots, and replacing a single score with staged attribution, is a practical path to locating the bottleneck. Baidu AI Cloud can also serve as a general engineering foundation for this kind of evaluation and regression system.