Asuka-Bench: Benchmarking Code Agents on Underspecified User Intent and Multi-Round Refinement
The paper introduces Asuka-Bench, a novel benchmark designed to evaluate code agents on web development tasks by simulating real-world multi-round refinement cycles where agents iteratively improve underspecified projects based on automated UI testing and natural language feedback, revealing significant performance gaps among current models.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are hiring a brilliant but slightly literal-minded architect to build a house.
The Old Way (Existing Benchmarks)
In the past, testing these architects was like giving them a perfect, 50-page blueprint that listed every single nail, wire, and paint color. You asked, "Build this," and they handed you a finished house. If the house matched the blueprint, they got an A. If it didn't, they got an F.
The problem is that real life doesn't work like that. Real clients rarely have a perfect 50-page blueprint. They usually say, "I want a house with a kitchen and a place to sleep," and then, once they see the first draft, they realize, "Oh, I actually wanted the kitchen to be bigger," or "Wait, the door opens the wrong way."
The New Way (Asuka-Bench)
The paper introduces Asuka-Bench, a new way to test "Code Agents" (AI programs that write software). Instead of giving the AI a perfect blueprint, the researchers give it a vague, messy request, like: "Make a shopping website with a list of products and a cart."
Then, they don't just grade the first result. They set up a three-person team to act out a real-world development cycle:
- The Builder (Code Agent): This is the AI trying to build the website based on the vague request.
- The Inspector (UI Agent): This is a robot that actually visits the website in a web browser. It doesn't read the code; it acts like a human user. It clicks buttons, tries to buy things, and checks if the pages load. It's like a quality control inspector walking through the house to see if the doors open.
- The Client (User LLM): This is another AI that watches the Inspector. If the Inspector finds a problem (e.g., "The 'Buy' button doesn't work"), the Client translates that into a polite note for the Builder: "Hey, the button is broken. Please fix it."
The Builder then fixes the website, and the cycle repeats. This happens for up to three rounds.
The "DAG" Analogy
The researchers also invented a smart way to give feedback called a DAG (Directed Acyclic Graph). Think of this like a recipe.
- If you are trying to bake a cake, you can't frost it before you bake it.
- In the old testing methods, if the cake was burnt, the inspector might also complain that the frosting is missing, even though you couldn't frost a burnt cake.
- In Asuka-Bench, the system knows the order. If the "baking" step fails, it stops the inspector from checking the "frosting" step. It only tells the Builder, "You didn't bake the cake." This prevents the Builder from getting confused by complaints about things that haven't happened yet.
What They Found
The researchers tested 8 different AI models using this method. Here is what they discovered:
- Some AIs are better at fixing than others: Just because an AI is good at building the first draft doesn't mean it's good at fixing mistakes. Some models built a great first version but couldn't understand the "Client's" notes to fix the errors. Others started messy but got better with every round of feedback.
- The gap is huge: The best models could complete about 52% of the projects perfectly after three rounds of fixing. The worst models only completed about 8%. That's a massive difference.
- It's still hard: Even the smartest AI couldn't finish every single project perfectly. This shows that while AI is getting good, it still struggles with the messy, back-and-forth nature of real human requests.
In Summary
Asuka-Bench is a new "driving test" for AI coders. Instead of asking them to drive a car on a perfectly straight, empty track (a perfect blueprint), they are asked to drive in city traffic, get directions from a passenger when they take a wrong turn, and correct their course. It turns out that being able to listen and fix mistakes is a completely different skill than just knowing how to drive straight.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.