arXiv:2505.02271cs.AI2025-05被引 3

为城市环境设计实时空间检索增强生成系统

Real-time Spatial Retrieval Augmented Generation for Urban Environments

  • 基于时空过滤的动态数据检索架构
  • 在马德里旅游助手场景中实现毫秒级响应
  • 适合智慧城市、数字孪生等实时应用

生成式人工智能,特别是大语言模型,通过城市基础模型为城市应用带来变革性机遇。然而,基础模型仅包含训练时的知识,更新耗时且成本高。检索增强生成(RAG)成为向基础模型注入上下文信息的首选方法,优于微调等在动态实时场景中效果较差的技术。传统RAG架构依赖语义数据库、知识图谱、结构化数据或AI驱动的网络搜索,难以满足城市环境需求。城市环境是复杂系统,具有海量互联数据、频繁更新、实时处理要求、安全需求及与物理世界的强关联。本文提出一种实时空间RAG架构,通过链接数据实现时间与空间过滤能力,定义了生成式AI有效融入城市的必要组件。该架构基于FIWARE生态系统实现,用于开发智能城市解决方案与数字孪生。通过马德里旅游助手用例验证了基础模型在所提RAG架构下的正确集成。

原文摘要 · Abstract (English)

The proliferation of Generative Artificial Ingelligence (AI), especially Large Language Models, presents transformative opportunities for urban applications through Urban Foundation Models. However, base models face limitations, as they only contain the knowledge available at the time of training, and updating them is both time-consuming and costly. Retrieval Augmented Generation (RAG) has emerged in the literature as the preferred approach for injecting contextual information into Foundation Models. It prevails over techniques such as fine-tuning, which are less effective in dynamic, real-time scenarios like those found in urban environments. However, traditional RAG architectures, based on semantic databases, knowledge graphs, structured data, or AI-powered web searches, do not fully meet the demands of urban contexts. Urban environments are complex systems characterized by large volumes of interconnected data, frequent updates, real-time processing requirements, security needs, and strong links to the physical world. This work proposes a real-time spatial RAG architecture that defines the necessary components for the effective integration of generative AI into cities, leveraging temporal and spatial filtering capabilities through linked data. The proposed architecture is implemented using FIWARE, an ecosystem of software components to develop smart city solutions and digital twins. The design and implementation are demonstrated through the use case of a tourism assistant in the city of Madrid. The use case serves to validate the correct integration of Foundation Models through the proposed RAG architecture.

城市计算RAG时空数据数字孪生

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。