potentialpaper

WidgetEval: Benchmarking Foundation Models on Dynamic Widget Generation for Apps

Jeevana Priya Inala, Jack Williams, Nicholas Wilson, Chenglong Wang, Alex H Cheng, Sameera Lanka, Wen Xiao, Vishal Chowdhary, Jianfeng Gao

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. In this paper, we study the problem of generating application widgets on the fly based on context and user specifications. A widget in this setting encapsulates application APIs while providing a seamless user experience that integrates with the host application. We focus on domains such as Microsoft Excel, Microsoft Word, and synthetic environments such as calendar, file system, and messenger applications. Widget generation is a challenging problem that requires foundation models to understand APIs, write code, reason about application context, and design user interfaces. To understand foundation models’ ability to generate on-demand widgets, we first establish a dataset of widget tasks, test scenarios, and functionality verification mechanisms for various applications. We then devise an evaluation strategy which simulates user interaction with the generated widget and checks for runtime and functionality errors. We compare popular models with various prompting and generation strategies. Overall, we found closed source models such as GPT-4o, GPT-4.1 and o4-mini outperform models such as LLaMa-3.1-70B and Phi4, but even with the best configuration, their success rates on Excel and Word widget tasks remain around 50%.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…