arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.06223cs.HCcs.AI
收藏

一种用于与基于LLM的对话助手交互的多模态GUI架构

A Multimodal GUI Architecture for Interfacing with LLM-Based Conversational Assistants

Hans G. W. van Dam

AI总结:

本文提出一种通过MCP暴露导航图和语义的多模态GUI架构,使基于LLM的语音助手能控制界面,并评估了本地开放权重模型的可行性。

摘要:

大语言模型(LLM)和实时语音识别的进步,使得通过自然语言发出任何图形用户界面(GUI)操作并直接通过GUI接收相应系统响应成为可能。大多数生产应用程序在设计时从未考虑过语音支持。本文提供了一种具体架构,使GUI能够与基于LLM的语音助手进行交互。该架构通过模型上下文协议(MCP)使应用程序的导航图和语义可用。作为MVVM(模型-视图-视图模型)模式一部分的ViewModel,通过提供适用于当前可见视图的工具以及从GUI树路由器中提取的应用程序全局工具,将应用程序的功能暴露给助手。该架构实现了全面的语音可访问性,同时确保语音输入与视觉界面之间的可靠对齐,并跨模态提供一致的反馈。它使应用程序面向未来,适用于即将到来的操作系统超级助手,这些助手使用计算机使用代理(CUA),并且如果应用程序提供MCP,它们将原生消费MCP。为了解决隐私和数据安全问题,评估了本地可部署、开放权重LLM在语音启用的多模态UI中的实际有效性。研究结果表明,近期较小的开放权重模型在整体准确性上接近领先的专有模型,并且需要企业级硬件才能实现快速响应。所提出架构的演示实现可在https://github.com/hansvdam/langbar找到。

英文摘要:

Advances in large language models (LLMs) and real-time speech recognition now make it possible to issue any graphical user interface (GUI) action through natural language and receive the corresponding system response directly through the GUI. Most production applications were never designed with speech in mind. This article provides a concrete architecture that enables GUIs to interface with LLM-based speech-enabled assistants. The architecture makes an application's navigation graph and semantics available through the Model Context Protocol (MCP). The ViewModel, part of the MVVM (Model-View-ViewModel) pattern, exposes the application's capabilities to the assistant by supplying both tools applicable to a currently visible view and application-global tools extracted from the GUI tree router. This architecture facilitates full voice accessibility while ensuring reliable alignment between spoken input and the visual interface, accompanied by consistent feedback across modalities. It future-proofs apps for upcoming OS super assistants that employ computer use agents (CUAs) and natively consume MCP if an application provides it. To address concerns about privacy and data security, the practical effectiveness of locally deployable, open-weight LLMs for speech-enabled multimodal UIs is evaluated. Findings suggest that recent smaller open-weight models approach the performance of leading proprietary models in overall accuracy and require enterprise-grade hardware for fast responsiveness. A demo implementation of the proposed architecture can be found at https://github.com/hansvdam/langbar

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑