Portal UX Agent——一种根据自然语言规范渲染UI的即插即用引擎
Portal UX Agent -- A Plug-and-Play Engine for Rendering UIs from Natural Language Specifications
AI总结:
提出Portal UX Agent,通过LLM高层规划与确定性渲染器组装,实现可控且安全的自然语言到UI生成,并引入混合评估框架验证其有效性与组合性。
摘要:
大型语言模型(LLMs)的快速出现催生了将自然语言意图转化为真实用户界面(UIs)的系统。自由形式的代码生成最大化了表现力,但往往会损害可靠性、安全性和设计系统合规性。相反,完全静态的UI易于治理但缺乏适应性。我们提出了Portal UX Agent,这是一种使有界生成得以实现的实用折中方案:LLM在高层级规划UI,确定性渲染器从经审核的组件和布局模板集合中组装最终界面。该智能体将意图映射到类型化的组合模板和组件规范——受模式约束。这实现了可审计性、重用性和安全性,同时保留了灵活性。我们还引入了一种混合方法评估框架,结合自动检查(覆盖率、属性保真度、布局、可访问性、性能)与LLM-as-a-Judge评分标准,以评估语义对齐和视觉精致度。在多领域门户场景上的实验表明,Portal UX Agent能可靠地将意图转化为连贯、可用的UI,并在组合性和清晰度上表现良好。这项工作通过结合模型驱动的表示、即插即用渲染和结构化评估,推进了智能体UI设计,为可控且值得信赖的UI生成铺平了道路。
英文摘要:
The rapid appearance of large language models (LLMs) has led to systems that turn natural-language intent into real user interfaces (UIs). Free-form code generation maximizes expressiveness but often hurts reliability, security, and design-system compliance. In contrast, fully static UIs are easy to govern but lack adaptability. We present the Portal UX Agent, a practical middle way that makes bounded generation work: an LLM plans the UI at a high level, and a deterministic renderer assembles the final interface from a vetted set of components and layout templates. The agent maps intents to a typed composition-template and component specifications-constrained by a schema. This enables auditability, reuse, and safety while preserving flexibility. We also introduce a mixed-methods evaluation framework that combines automatic checks (coverage, property fidelity, layout, accessibility, performance) with an LLM-as-a-Judge rubric to assess semantic alignment and visual polish. Experiments on multi-domain portal scenarios show that the Portal UX Agent reliably turns intent into coherent, usable UIs and performs well on compositionality and clarity. This work advances agentic UI design by combining model-driven representations, plug-and-play rendering, and structured evaluation, paving the way for controllable and trustworthy UI generation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。