用大模型自动整合企业服务,降低开发门槛
Adopting Large Language Models to Automated System Integration
- 用大模型根据自然语言描述自动组合服务接口
- 生成的代码可快速修改上线,准确率非100%但实用
- 适合想快速搭建系统集成的工程师或开发者
现代企业计算系统通过集成多个子系统来完成共同任务,通常使用基于Web技术(如REST或OpenAPI)的服务实现。每个服务代表特定业务功能,便于封装与维护。然而,服务数量增多导致集成复杂度上升。尽管已有自动化服务组合方法,但因依赖复杂的形式化建模,在实践中接受度不高。本博士论文研究利用大语言模型(LLM)根据自然语言输入自动进行服务集成,生成可复用的服务组合结果(如程序代码)。虽不总完全正确,但能提供接近可行方案,显著减少工程师修改成本。研究包含:(i) 提出基于LLM的自动化服务组合软件架构;(ii) 分析检索增强生成(RAG)在服务发现中的应用;(iii) 提出基于自然语言查询的服务发现基准测试;(iv) 将基准扩展至完整的服务组合场景。已发布名为Compositio Prompto的架构,并提交服务发现基准提案。开放问题包括扩展基准至完整流程,以及通过微调或LLM代理提升生成质量。
原文摘要 · Abstract (English)
Modern enterprise computing systems integrate numerous subsystems to resolve a common task by yielding emergent behavior. A widespread approach is using services implemented with Web technologies like REST or OpenAPI, which offer an interaction mechanism and service documentation standard, respectively. Each service represents a specific business functionality, allowing encapsulation and easier maintenance. Despite the reduced maintenance costs on an individual service level, increased integration complexity arises. Consequently, automated service composition approaches have arisen to mitigate this issue. Nevertheless, these approaches have not achieved high acceptance in practice due to their reliance on complex formal modeling. Within this Ph.D. thesis, we analyze the application of Large Language Models (LLMs) to automatically integrate the services based on a natural language input. The result is a reusable service composition, e.g., as program code. While not always generating entirely correct results, the result can still be helpful by providing integration engineers with a close approximation of a suitable solution, which requires little effort to become operational. Our research involves (i) introducing a software architecture for automated service composition using LLMs, (ii) analyzing Retrieval Augmented Generation (RAG) for service discovery, (iii) proposing a novel natural language query-based benchmark for service discovery, and (iv) extending the benchmark to complete service composition scenarios. We have presented our software architecture as Compositio Prompto, the analysis of RAG for service discovery, and submitted a proposal for the service discovery benchmark. Open topics are primarily the extension of the service discovery benchmark to service composition scenarios and the improvements of the service composition generation, e.g., using fine-tuning or LLM agents.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。