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

基于上下文的视觉提示:利用大语言模型和代理自我验证自动化地理空间网络看板

Context-Aware Visual Prompting: Automating Geospatial Web Dashboards with Large Language Models and Agent Self-Validation for Decision Support

Computational Urban Sciences Group, Oak Ridge National Laboratory(计算城市科学组,橡树岭国家实验室);Materials Science and Technology Division, Oak Ridge National Laboratory(材料科学与技术 division,橡树岭国家实验室);Industrial and Systems Engineering, The University of Tennessee, Knoxville(工业与系统工程,田纳西大学, Knoxville)

Haowen Xu, Jose Tupayachi, Xiao-Ying Yu

AI总结:

本文提出基于大语言模型和代理自我验证的地理空间看板自动化框架,通过上下文感知视觉提示提升风险分析和决策支持的可视化能力。

摘要:

基于风险分析和决策支持的网络地理空间看板开发通常受到大规模多维环境数据可视化难度、实现复杂性和自动化程度有限的挑战。我们介绍了一个生成式AI框架,利用大语言模型(LLMs)从用户定义的输入(包括UI草图、需求和数据源)自动生成交互式地理空间看板。通过整合结构化知识图谱,工作流程将领域知识嵌入生成过程,从而实现准确且上下文感知的代码生成。我们方法的关键组成部分是上下文感知的视觉提示(CAVP)机制,该机制从视觉布局中提取并编码界面语义,以引导LLM驱动的代码生成。新的框架还集成了一个自我验证机制,该机制使用基于代理的LLM和Pass@k评估以及语义度量标准来确保输出的可靠性。看板片段与数据可视化代码库和本体表示相结合,使能够生成可扩展的基于React的代码完成,使用MVVM架构模式。我们的结果表明,与基线方法相比性能有所提升,并且在第三方平台之上扩展了功能,同时整合了多页面、完全功能化的界面。我们成功开发了一个框架来实现LLMs,展示了自动化代码生成、部署的流水线,并在自我验证中执行了链式思维AI代理。这种整合方法由结构化知识和视觉提示引导,提供了一种创新的地理空间解决方案,以增强风险分析和决策制定。

英文摘要:

The development of web-based geospatial dashboards for risk analysis and decision support is often challenged by the difficulty in visualization of big, multi-dimensional environmental data, implementation complexity, and limited automation. We introduce a generative AI framework that harnesses Large Language Models (LLMs) to automate the creation of interactive geospatial dashboards from user-defined inputs including UI wireframes, requirements, and data sources. By incorporating a structured knowledge graph, the workflow embeds domain knowledge into the generation process and enable accurate and context-aware code completions. A key component of our approach is the Context-Aware Visual Prompting (CAVP) mechanism, which extracts encodes and interface semantics from visual layouts to guide LLM driven generation of codes. The new framework also integrates a self-validation mechanism that uses an agent-based LLM and Pass@k evaluation alongside semantic metrics to assure output reliability. Dashboard snippets are paired with data visualization codebases and ontological representations, enabling a pipeline that produces scalable React-based completions using the MVVM architectural pattern. Our results demonstrate improved performance over baseline approaches and expanded functionality over third party platforms, while incorporating multi-page, fully functional interfaces. We successfully developed a framework to implement LLMs, demonstrated the pipeline for automated code generation, deployment, and performed chain-of-thought AI agents in self-validation. This integrative approach is guided by structured knowledge and visual prompts, providing an innovative geospatial solution in enhancing risk analysis and decision making.

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

↑