Evaluating Agent Decision-Making: An Offline Cross-Domain Benchmark Practice

    This article explores how to assess multimodal agents’ decision-making capabilities beyond general-purpose question answering. It explains why conventional vision-language benchmarks miss action selection, environment state, and long-horizon interaction; outlines the value and limitations of offline cross-domain benchmarks; and presents design principles, task modeling, data construction, evaluation metrics, error attribution, an automated evaluation pipeline, and practical recommendations for developers and enterprises. The goal is to help teams move from measuring “answer quality” to evaluating “action quality” in reproducible, comparable, and attributable test units.

    Evaluating Agent Decision-Making: An Offline Cross-Domain Benchmark Practice

    1. Background: From Recognizing Images to Choosing the Next Action

    Multimodal agents are entering real-world scenarios such as web operation, robot control, game strategy, and customer service automation. Unlike traditional image-text question answering, the core of these scenarios is not answering “what is in the image,” but deciding “what to do next” based on the current observation, interaction history, and task goal. For example, a web assistant needs to determine which button to click, whether to scroll the page, and what to enter into a form field; a robot needs to decide the direction of arm movement, grasping pose, and obstacle-avoidance strategy; a customer service agent needs to identify user intent across multiple dialogue turns, retrieve information, and advance the process.

    This capability can be summarized as a closed loop of “state perception—action selection—result feedback—long-horizon planning.” The model must not only recognize objects, text, and interface elements, but also understand actionable regions, action consequences, task constraints, and historical state. Public research has noted that some models that perform well on general question answering and image-text understanding tests may achieve a success rate of less than half on real multi-turn tasks; in evaluations closer to actual decision-making, even the best-performing models have achieved less than 60% accuracy. This indicates that the problem is not simply that “the model is not smart enough,” but that there is a clear mismatch between evaluation methods and real tasks.

    2. Blind Spots of General-Purpose Test Sets: Answering Questions Is Not the Same as Taking Action

    General-purpose test sets are good at examining object recognition, document understanding, mathematical reasoning, and common-sense question answering, but they usually lack an action space, environment state, and interaction trajectories. The model only needs to output a text answer and does not bear decision consequences such as “clicking the wrong button,” “moving in the wrong direction,” or “losing state tracking.” Using such tests to judge agent capability is like using a written driving-license exam to judge reverse parking: a high theoretical score does not mean the model can complete continuous operations in a real environment.

    More importantly, real tasks are often multi-turn and uncertain. One action changes the environment state, and subsequent observations affect the next decision. General tests rarely cover dimensions such as “whether an action is legal,” “whether a step is recoverable,” “whether a long-horizon goal is maintained,” and “whether a safety boundary is triggered.” Therefore, if developers only look at general leaderboards, they can easily overestimate an agent’s usability in a business workflow, while failing to locate whether it is stuck in perception, reference, planning, or tool invocation.

    3. Value and Limitations of Offline Cross-Domain Benchmarks

    Online interactive evaluation is closest to the real environment, but it is costly, complex to set up, and difficult to reproduce. Testing each model requires preparing an environment, executing the full interaction flow, and handling randomness and environment drift. In contrast, offline benchmarks evaluate models with fixed observation snapshots, task instructions, historical trajectories, and candidate actions. The model does not need to actually operate the environment, so offline evaluation is cheaper, easier to reproduce, and better suited to large-scale regression.

    However, existing offline benchmarks also have obvious problems: some focus only on web operation, some only on robotic grasping, and some only on game strategy; task formats, action definitions, and evaluation criteria differ, making it difficult to compare capability differences across domains. A truly valuable cross-domain offline benchmark should unify task descriptions, action spaces, and scoring protocols while preserving the professional constraints of each domain. It needs both “realism” and “replayability”; it should cover common workflows as well as long-tail and abnormal states.

    4. Design Principles for a Unified Offline Cross-Domain Benchmark

    When designing such a benchmark, the following principles can be followed:

    1. Replayable state snapshots: Each task stores the initial observation, historical actions, environment feedback, and key states so that the same input can be evaluated repeatedly.
    2. Validatable action space: Actions should include type, target, parameters, and constraints, such as click, input, move, select, and answer. Evaluation should first validate legality and then judge correctness.
    3. Executable task instructions: Instructions should clearly define goals, constraints, and termination conditions, avoiding ambiguous descriptions that lead to scoring ambiguity.
    4. Cross-domain unification with domain semantics preserved: Web, robotics, customer service, and games can share an evaluation framework, but action definitions and scoring rules should allow domain extensions.
    5. Leakage prevention and shortcut prevention: Training data and evaluation data should be isolated so that models cannot directly guess results through interface text, fixed templates, or historical answers.
    6. Long-tail and perturbation coverage: Include occlusion, resolution changes, dynamic pop-ups, invalid buttons, ambiguous instructions, and multi-turn state changes to examine robustness.

    5. Task Modeling and Data Construction

    A task can be abstracted as a four-tuple: observation, instruction, history, and action. The observation can be a screenshot, interface structure, sensor reading, or dialogue context; the instruction describes the goal and constraints; the history records previous actions and feedback; and the action is the operation the model should execute next. During evaluation, the model outputs an action based on the current observation and history, and the system validates action legality and updates the state until the task is completed or the maximum number of steps is reached.

    Data construction should combine real collection and synthetic expansion. Real collection ensures that the scenario distribution is credible, while synthetic perturbation is used to fill long-tail gaps. During annotation, it is not enough to label only the correct answer; acceptable action sets, error types, and key states should also be labeled. Data involving privacy should be desensitized; text cues that may be exploited by models should be removed or balanced as necessary. Data splits should be isolated by task or environment to avoid the same page template or robot scenario appearing in both training and evaluation.

    6. Evaluation Metrics and Error Attribution

    A single accuracy rate is insufficient to explain agent capability. A combination of the following metrics is recommended:

    • Task success rate: Whether the complete workflow reaches the goal.
    • Step accuracy: Whether each action matches an acceptable action.
    • Action parameter accuracy: Whether parameters such as target element, input content, and movement direction are correct.
    • Invalid action rate: Whether the model frequently outputs non-executable actions.
    • Recovery rate: Whether the model can return to the correct path after an error.
    • Cross-domain transfer performance: Whether performance is stable across web, robotics, customer service, and other domains.
    • Safety violation rate: Whether dangerous operations, unauthorized operations, or inappropriate content are triggered.

    Error attribution is equally important. Common failures include perception errors, such as misreading an element or object; reference errors, such as misunderstanding “the second button”; spatial reasoning errors, such as direction or coordinate judgment deviations; state tracking errors, such as forgetting a filled field; long-horizon planning errors, such as disordered step sequences; tool-use errors, such as invoking a tool when conditions are not met; and safety-boundary errors, such as executing high-risk actions. Only by breaking failures down into these stages can evaluation results guide model improvement and engineering optimization.

    7. Example of an Engineered Evaluation Pipeline

    Offline evaluation should be automated as much as possible. The following pseudocode illustrates a general workflow:

    1. Action = {type, target, value, constraints}
    2. Task = {initial_state, instruction, allowed_actions, max_steps}
    3. def evaluate(policy, tasks):
    4. results = []
    5. for task in tasks:
    6. state = task.initial_state()
    7. history = []
    8. for step in range(task.max_steps):
    9. observation = state.observe()
    10. action = policy(observation, task.instruction, history)
    11. if not state.is_valid(action):
    12. results.append(record(task, state, "invalid_action"))
    13. break
    14. feedback = state.apply(action)
    15. history.append((observation, action, feedback))
    16. if state.is_done():
    17. break
    18. results.append(judge(task, state, history))
    19. return aggregate(results)

    In engineering terms, object storage can be used to save observation snapshots and annotation data, container platforms can host batch evaluation jobs, and logging and monitoring services can record failure samples and performance metrics. The evaluation service should support versioned task sets, model configurations, and scoring rules to ensure that different teams reach consistent conclusions. For enterprise users, the evaluation pipeline can also be integrated into continuous integration so that regression sets run automatically after model updates, prompt adjustments, or tool changes, preventing capability regressions.

    8. Recommendations for Developers and Enterprises

    First, do not rely only on general leaderboards for model selection. Build a small offline benchmark around your own business workflow, covering high-frequency processes, key states, and exception branches. Second, establish an error taxonomy and archive failure samples by perception, planning, tool use, safety, and other dimensions for regular review. Third, keep the evaluation set updated to avoid model overfitting to fixed questions. Fourth, cross-domain benchmarks are suitable for capability health checks, but small-scale online validation is still needed to confirm the correlation between offline metrics and real business performance. Fifth, focus on explainability and retain action trajectories and intermediate states to facilitate problem localization.

    Overall, for agents to truly “understand” the world, the difficulty is not in recognizing a single image, but in the decision-making loop under continuous state. The value of an offline cross-domain benchmark is that it breaks real tasks into reproducible, comparable, and attributable test units at a relatively low cost. It helps developers answer a more practical question: where exactly is the model stuck, and what should be improved next? Only when evaluation advances from “question-answering scores” to “action quality” can agent capability development move from demonstrations to practical usability.