TL;DR
Researchers have introduced FronTalk, the first benchmark designed to evaluate how well AI models handle the iterative, visual nature of real-world front-end development. By testing models across multi-turn dialogues with both text and image-based feedback, they identified a massive "forgetting issue" where AI overwrites old features to add new ones. To fix this, they developed AceCoder, a framework that uses an autonomous web agent to critique and refine code, reducing the forgetting rate to nearly zero.
What Problem Does This Paper Address?
Most AI coding benchmarks (like HumanEval) focus on "single-turn" algorithmic tasks: you give the model a prompt, and it spits out a function. However, real-world development—especially front-end work—is a conversation. A developer might say, "Build a search bar," then follow up with, "Now make it red," or provide a sketch showing where a button should go.
Existing benchmarks fail to capture two critical elements of this workflow:
- Multi-turn Interaction: The ability to maintain state and build upon previous work without breaking it.
- Multi-modal Feedback: The ability to interpret visual artifacts like mockups, screenshots, or annotated sketches.
The authors argue that without these elements, we aren't truly measuring how useful LLMs are as collaborative coding assistants.
Methods
The paper introduces two major components: the FronTalk benchmark and the AceCoder framework.
1. The FronTalk Benchmark
The researchers created a dataset of 100 multi-turn dialogues (1,000 total turns) grounded in real-world websites.
- User Simulation: They used a "user simulator" (powered by GPT-4o) to generate context-aware instructions.
- Visual Feedback: The simulator was equipped with drawing tools to create sketches and annotations on screenshots, mimicking how a human designer might provide feedback.
- Agent-Based Evaluation: Instead of just comparing code strings, they deployed a web agent to interact with the generated website. This agent checks if specific functionalities work (e.g., "Does the 'Like' button actually increment a counter?") and evaluates the overall user experience (UX).
2. The AceCoder Framework
To solve the failures identified in current models, the authors proposed AceCoder (Agent Critique for Instruction Enhancement). At each turn:
- The model generates an initial code solution.
- An LLM-powered web agent explores the rendered site.
- The agent verifies the site against all current and past instructions.
- The agent provides a critique, which the model uses to rewrite the code, ensuring new features don't break old ones.
Datasets
- FronTalk (New): 100 dialogues, 1,000 turns, and 3,676 manually refined test cases. It spans domains like e-commerce, finance, and art portfolios.
- C4 Dataset: Used as the source for the 10,000 initial webpages that grounded the benchmark's creation.
Key Insights and Ideas
- The Forgetting Issue: This is the most significant finding. Models often suffer a performance drop of up to 46% because they "forget" to include code for features implemented in previous turns. They treat each turn as a new task rather than an incremental update.
- The Visual Interpretation Gap: Even advanced Vision-Language Models (VLMs) struggle with visual feedback. They often replicate the look of a sketch (drawing a box) without implementing the logic (making the box a functional button).
- Proprietary vs. Open-Source: There is a massive gap here. Proprietary models like Gemini-2.5-Pro lead open-source models by 24.1% in visual feedback tasks.
- Usability vs. Correctness: A website can follow all instructions (pass the test cases) but still be a nightmare to use. The authors found that for strong models, UX failures usually stem from "common-sense" design flaws (like missing navigation) rather than broken code.
Key Results
- AceCoder's Impact: AceCoder reduced the forgetting rate from a range of 8.0–28.2% to nearly zero.
- Performance Boost: AceCoder improved textual instruction following by up to 9.3% (reaching 65.3% pass rate) and visual instruction following by 5.2% (reaching 60.2%).
- State of the Art: Gemini-2.5-Pro emerged as the strongest model, though it still falls 25-31% short of a perfect score, highlighting that front-end "vibe coding" is still a very hard problem for AI.
Limitations and Future Work
- Visual Simulation Reliability: The authors noted that the visual user simulator (which draws the feedback) is limited by the current tool-calling capabilities of models like GPT-4o. As VLMs improve, the benchmark can become even more complex.
- Evaluation Cost: Running an interactive web agent for every test case is expensive and time-consuming compared to static code analysis.
- Future Directions: The authors suggest that future work should focus on better "history-compression" mechanisms so models don't lose track of long-running projects, and improving how VLMs translate spatial visual cues into functional CSS/JS logic.
Summary updated