paper-with-me

홈 › Papers

Vision-Guided Iterative Refinement for Frontend Code Generation

2026-04-07 · Hannah Sansford, Derek H. C. Law, Wei Liu, Abhishek Tripathi, Niresh Agarwal, Gerrit J. J. van den Burg arxiv

Code generation with large language models often relies on multi-stage human-in-the-loop refinement, which is effective but very costly - particularly in domains such as frontend web development where the solution quality depends on rendered visual output. We present a fully automated critic-in-the-loop framework in which a vision-language model serves as a visual critic that provides structured feedback on rendered webpages to guide iterative refinement of generated code. Across real-world user requests from the WebDev Arena dataset, this approach yields consistent improvements in solution quality, achieving up to 17.8% increase in performance over three refinement cycles. Next, we investigate parameter-efficient fine-tuning using LoRA to understand whether the improvements provided by the critic can be internalized by the code-generating LLM. Fine-tuning achieves 25% of the gains from the best critic-in-the-loop solution without a significant increase in token counts. Our findings indicate that automated, VLM-based critique of frontend code generation leads to significantly higher quality solutions than can be achieved through a single LLM inference pass, and highlight the importance of iterative refinement for the complex visual outputs associated with web development.

📄 PDF Abstract BibTeX arXiv:2604.05839

Code (0)

등록된 구현이 없습니다.

Tasks

parameter-efficient fine-tuningCode Generation

Similar Papers 제목 키워드 기반

VisRefiner: Learning from Visual Differences for Screenshot-to-Code Generation

2026-02-05 · Jie Deng, Kaichun Yao, Libo Zhang arxiv

Screenshot-to-code generation aims to translate user interface screenshots into executable frontend code that faithfully reproduces the target layout and style. Existing multimodal large language models perform this mapp…

Reinforcement LearningCode Generation

Corrective Diffusion Language Models

2025-12-17 · Shuibai Zhang, Fred Zhangzhi Peng, Yiheng Zhang, Jin Pan 외 arxiv

While Diffusion Language Models (DLMs) are theoretically well-suited for iterative refinement due to their non-causal structure, they often fail to reliably revise incorrect tokens in practice. The key challenge lies in …

Reward-Guided Iterative Refinement in Diffusion Models at Test-Time with Applications to Protein and DNA Design

2025-02-20 · Masatoshi Uehara, Xingyu Su, Yulai Zhao, Xiner Li 외

To fully leverage the capabilities of diffusion models, we are often interested in optimizing downstream reward functions during inference. While numerous algorithms for reward-guided generation have been recently propos…

DenoisingEvolutionary Algorithms

TGPR: Tree-Guided Policy Refinement for Robust Self-Debugging of LLMs

2025-10-08 · Daria Ozerova, Ekaterina Trofimova arxiv

Iterative refinement has been a promising paradigm to enable large language models (LLMs) to resolve difficult reasoning and problem-solving tasks. One of the key challenges, however, is how to effectively search through…

SLAM-Former: Putting SLAM into One Transformer

2025-09-21 · Yijun Yuan, Zhuoguang Chen, Kenan Li, Weibang Wang 외 arxiv

We present SLAM-Former, a novel neural approach that integrates full SLAM capabilities into a single transformer. Similar to traditional SLAM systems, SLAM-Former comprises both a frontend and a backend that operate in t…