arXiv:2610.26636cs.AIOct 2026

Manuscript Offprint

arXiv:2610.26636

Revision-Based Learning from Interactive Experience and Feedback

Jiawen Li, Chenming Ge, Alice Gao, Rishab Vempati, Yi-Hao Peng, Jason Wu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Code generation models are increasingly used to produce interactive artifacts, such as websites and user interfaces. Many properties that determine whether these interfaces are useful only become apparent through realistic interaction, making them difficult to incorporate into model training. In this paper, we introduce RELIEF (REvision-based Learning from Interactive Experience and Feedback), a method for improving code generation models using feedback on their generated interfaces. RELIEF uses a coding agent to revise these interfaces, then incorporates the improvements into their original generation traces to produce supervision for fine-tuning. To evaluate RELIEF, we collected a dataset of 200 synthetically generated websites paired with 355 interaction recordings and accompanying feedback from 24 users. We used critiques derived from code inspection, automated interaction, explicit human feedback, and human interaction recordings to fine-tune variants of two code generation models. Our results show that feedback effectiveness varies with base model capabilities, with critiques inferred from human interaction recordings leading to the largest usability improvements overall under our tested models.

1 Introduction

Code generation models are increasingly used to produce interactive artifacts, such as websites and user interfaces, both in software development (OpenAI, 2025; AutoCoder) and dynamically within end-user applications (OpenAI, 2026; Chen et al., 2026). The quality of these artifacts depends not only on functional correctness but also on how well they support people's tasks.

While properties such as syntactic validity and functional correctness can be checked automatically (Chen et al., 2021; Jimenez et al., 2024), usability is harder to evaluate. Critiques, user feedback (Bennett, 1979), and recordings of task interactions can help identify usability problems, but

Task Find a flight from Boston to Seattle on June 3

Figure

Figure 1: RELIEF revises generated interfaces using feedback from human users, computer-use agents, or code agents. It then reconstructs generation traces that would have produced the revised interfaces and fine-tunes the interface-generation model on these traces.

these findings are typically used to improve individual interfaces, as in usability testing (Dumas and Redish, 1993) and iterative test-time refinement (Madaan et al., 2023). Incorporating them into model training is difficult, since feedback may not translate into a reward signal, and improving an artifact alone does not directly provide an example of how the model should have generated it.

In this paper, we introduce RELIEF (REvision-based Learning from Interactive Experience and Feedback), a method for generating training data from feedback on interfaces produced by coding agents. RELIEF uses a coding agent to revise the interface based on feedback, then incorporates the changes into the original generation trace. The resulting trace captures how the improved interface could have been generated from the initial prompt and serves as supervision for SFT.

To demonstrate how RELIEF could learn from data collected as people use model-generated in-interfaces, we collected 355 interaction recordings and accompanying feedback from 24 users across 200 synthetically generated websites. We applied RELIEF to two code generation models, Qwen 27B (Qwen Team, 2026) and Inkling (Thinking Machines Lab, 2026), using critiques derived from code inspection, automated interaction, explicit user feedback, and automated labelings of human interaction recordings. We fine-tuned the base models using these feedback sources and evaluated them on held-out generation tasks, measuring static validity through compilation and lint checks, functional correctness through computer-use-agent task completion, and usability through human preferences in a model evaluation arena. Our results show that the benefits of different feedback sources vary across base models. Among the sources evaluated, critiques inferred from human interaction recordings achieved the highest observed Elo ratings in both model families.

In summary, we contribute what is, to our knowledge, the first dataset of model-generated interfaces paired with real human interaction recordings and usability feedback, with 200 websites and 355 recordings from 24 users. We introduce RELIEF, which turns feedback-guided interface revisions into training supervision through generation trace reconstruction. Experiments with two open-weight code-generation models show that feedback inferred from human interaction recordings achieved the highest observed arena Elo ratings among the four feedback sources for both models. We plan to publicly release our dataset and fine-tuned model weights to support reproducibility and further research.

References (27)