MiniAppBench: Evaluating the Shift from Text to Interactive HTML Responses in LLM-Powered Assistants

Zuhao Zhang, Chengyue Yu, Yuante Li, Chenyi Zhuang, Linjian Mo, Shuai Li · DOI

TL;DR

Large Language Models (LLMs) are moving beyond generating static code to creating interactive web applications (MiniApps). This paper introduces MiniAppBench, a new benchmark and evaluation framework (MiniAppEval) to assess LLMs' ability to build these complex, principle-driven MiniApps, revealing current LLMs still struggle with this advanced capability.

What Problem Does This Paper Address?

The way humans interact with AI is evolving. LLMs are no longer just generating code snippets; they're expected to build dynamic, interactive web applications (MiniApps) that go beyond simple text responses or static layouts. These MiniApps require LLMs to understand and implement real-world principles and user intent in a truly interactive way. Existing benchmarks, however, are too focused on algorithmic correctness or static visual fidelity, failing to capture the nuanced capabilities needed for this new paradigm of human-AI interaction. This leaves a gap in evaluating LLMs' ability to create these sophisticated, functional applications.

Methods

The authors introduce MiniAppBench, a benchmark comprising 500 tasks designed to evaluate LLMs' ability to generate MiniApps. The tasks are derived from millions of real-world user queries and span six domains. To address the challenge of evaluating open-ended interactions, they propose MiniAppEval, an agentic evaluation framework. MiniAppEval uses browser automation (Playwright) to perform human-like exploratory testing. It assesses generated MiniApps across three dimensions: Intention (does it fulfill the user's goal?), Static (is the code structurally sound and correct?), and Dynamic (does the interactive behavior adhere to real-world principles and expectations?). This approach moves beyond rigid test cases to a more holistic, interactive evaluation.

Datasets

The primary dataset introduced is MiniAppBench, consisting of 500 tasks. These tasks were distilled from tens of millions of real-world user queries. The construction involved a multi-stage pipeline including LLM-based filtering, manual verification, and evolutionary augmentation to ensure diversity and adherence to real-world principles. The dataset is organized into six domains: Science, Games, Tools, Humanities, Lifestyle, and Visualization.

Key Insights and Ideas

  • The Shift to Interactive Applications: The paper highlights a fundamental shift in LLM capabilities from generating static code to creating dynamic, interactive web applications. This necessitates new evaluation paradigms.
  • Real-World Principles are Crucial: For MiniApps to be useful, LLMs must not only generate functional code but also implicitly understand and operationalize real-world principles (e.g., physics laws, temporal constraints).
  • Agentic Evaluation is Necessary: Traditional benchmarks are insufficient for evaluating interactive applications. An agentic approach that simulates user interaction is essential for assessing dynamic behavior and principle adherence.
  • Current LLMs Still Struggle: Despite advancements, current LLMs face significant challenges in generating high-quality, principle-driven MiniApps, indicating a substantial research gap.

Key Results

  • MiniAppBench Performance: Experiments show that current LLMs still struggle with generating high-quality MiniApps. The highest average pass rate achieved by a model (GPT-5.2) was 45.46%, with an overall mean across all models at 17.05%.
  • MiniAppEval Effectiveness: The proposed MiniAppEval framework demonstrated high alignment with human judgment, achieving Cohen's Kappa scores ranging from 0.81 to 0.89, suggesting it's a reliable standard for future research.
  • Open-Source vs. Closed-Source: Closed-source models generally outperformed open-source models, with a more significant performance gap than observed in some other benchmarks, suggesting MiniAppBench is a more discriminative evaluation.
  • Difficulty and Domain Impact: Model performance generally decreased with task difficulty. Performance also varied significantly across domains, with Visualization and Lifestyle categories showing higher pass rates, indicating models excel at tasks with clear objectives or commonsense reasoning.

Limitations and Future Work

  • LLM Capabilities: The paper acknowledges that current LLMs still struggle to reliably construct high-quality MiniApps, indicating a need for further research and development in this area.
  • Evaluation Framework: While MiniAppEval shows strong alignment with human judgment, the authors suggest future work could explore further optimizations for context management and evaluation efficiency.
  • Dataset Expansion: The paper focuses on 500 tasks, and future work could involve expanding the dataset to cover more domains and complexities.
  • Double-Blind Evaluation: The authors introduced a double-blind evaluation method to mitigate confirmation bias, particularly for graphical queries, and found it improved accuracy and sensitivity to negative cases. This suggests further refinement and application of such methods could be beneficial.

Summary updated

BibTeX
@inproceedings{zhang2026miniappbench,
  author = {Zuhao Zhang and Chengyue Yu and Yuante Li and Chenyi Zhuang and Linjian Mo and Shuai Li},
  title = {{MiniAppBench: Evaluating the Shift from Text to Interactive HTML Responses in LLM-Powered Assistants}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=pwbLmew1aq},
}

Loading related content...

Figure