Interaction-as-a-Judge

Wayne Chi, I-Hung Hsu, Li Chen, Wei-Lin Chiang, Ion Stoica, Anastasios Nikolas Angelopoulos, Ameet Talwalkar, Chris Donahue, Cho-Jui Hsieh

TL;DR

Researchers have introduced Interaction-as-a-Judge, a new paradigm that evaluates coding agents by having a "computer-use agent" (CUA) actually interact with the generated application. This approach significantly outperforms static code analysis, improving human preference prediction and enabling agents to self-repair 75.5% of broken requirements.

What Problem Does This Paper Address?

As AI coding agents move beyond simple scripts to complex, interactive applications like games and web dashboards, our evaluation methods are falling behind. Currently, we mostly rely on LLM-as-a-Judge (looking at source code) or unit tests.

However, code that "looks" correct or passes a linter can still be behaviorally broken. A game might compile perfectly, but the player character might fall through the floor or the UI might be unresponsive. Humans evaluate software by using it; the authors argue that AI judges should do the same. The core challenge is bridging this "visual-interactive gap" where static inspection misses failures that are immediately obvious upon first click.

Methods

The authors propose a three-step pipeline:

  1. Interaction: A Computer-Use Agent (CUA) interacts with the generated app (e.g., a website or game) using tools like mouse clicks and key presses.
  2. Trace Generation: This produces a multimodal "interaction trace" containing video frames, the agent's actions, and its step-by-step reasoning.
  3. Judging: An LLM or a trained Reward Model (RM) reviews this trace to determine if the app meets requirements or which of two versions is better.
Figure 1: We present Interaction-as-a-Judge, an evaluation paradigm that uses interaction traces to improve evaluation and generation. We compare against non-interactive judges and evaluate on pairwise preferences and reward modeling. We also show how to apply Interaction-as-a-Judge for inference-time scaling and as a reward signal for standard post-training via reinforcement learning.

The study explores three interaction strategies:

  • Iterative: The agent observes a frame, acts, and repeats (most adaptive but expensive).
  • One-shot: The agent plans a sequence of actions upfront based on the initial state.
  • Heuristic: A simple algorithm (like random clicking) explores the UI.
Figure 2: We study three approaches to computer-use. Iterative computer-use is analogous to standard frame-by-frame computer-use. One-shot computer-use plans once at the start to save costs. Heuristic computer-use uses a pre-determined algorithm (e.g., random) to choose actions.

Datasets

The authors released two new benchmarks to facilitate this research:

  • ArenaPreferences: 6,858 pairs of web applications with human preference labels and corresponding agent interaction traces.
  • ArenaCorrectness: 67 high-quality game development traces with 412 hand-verified requirement labels (e.g., "Player must jump when Space is pressed").

Key Insights and Ideas

  • Interaction is a Sufficient Signal: Surprisingly, a reward model trained only on interaction traces (without seeing a single line of code) performs comparably to models that see the full source. This suggests that behavior is a powerful proxy for quality.
  • The "Better Player" is a Better Judge: There is a clear scaling benefit. As the capability of the CUA improves (better navigation, more logical exploration), the accuracy of the resulting judgment increases.
  • Curing "Code Bloat": Standard code-based reward models often suffer from length bias—they reward longer, more complex-looking code. Because Interaction-as-a-Judge focuses on functional outcomes, it actually encourages shorter, more efficient code (reducing code length by ~35% in RL experiments).

Key Results

The quantitative gains are consistent across evaluation and generation tasks:

  • Preference Alignment: Moving from code-only to interaction-based judging improved agreement with humans from 65.6% to 69.1%.
  • Requirement Verification: Accuracy in spotting broken features rose from 77.0% to 81.6%.
  • Self-Correction: In a self-feedback loop, agents using interaction traces repaired 75.5% of broken requirements within five attempts, vs. only 55.4% for those looking at code alone.
  • Reinforcement Learning: Using an interaction-only reward model for post-training led to a 6.7 percentage point win-rate gain over the base model.
Figure 3: We train a reward model with varying levels of interaction and observe that including interaction data improves accuracy in terms of alignment with human preferences. GPT 5.6 Luna is the only exception where adding interaction offers comparable performance to code only. We fine-tune from Qwen-3.5-9B as our base model and train each approach 5 times. Bolded values are statistically significant against code+screenshot, calculated by a sample-wise paired t-test.

Limitations and Future Work

The primary bottleneck is inference cost. Iterative computer-use requires multiple LLM calls per evaluation, which is significantly more expensive than a single pass over source code.

The authors also noted that while random heuristics work well for simple websites, they fail in complex environments like games where meaningful interaction requires intent. Future work may involve developing "unified" models that can generate, interact with, and judge applications simultaneously, potentially reducing the overhead of the current multi-agent pipeline.

Summary updated

BibTeX
@misc{chi2026interaction,
  author = {Wayne Chi and I-Hung Hsu and Li Chen and Wei-Lin Chiang and Ion Stoica and Anastasios Nikolas Angelopoulos and Ameet Talwalkar and Chris Donahue and Cho-Jui Hsieh},
  title = {{Interaction-as-a-Judge}},
  year = {2026},
  eprint = {2610.17895},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.17895},
}
Figure