将自然语言指令转化为可信的资源调度规则,降低边缘云部署门槛
Intent Engine: Natural-Language Intent Translation for Intent-Driven Orchestration in the Compute Continuum

- 通过约束校验与真实监控数据填充,生成符合格式的调度指标
- 在716条指令测试中,错误率下降85.1%,部署失败从30.8%降至2.1%
- 适合希望用自然语言管理复杂计算资源的开发者和运维人员
边缘云中的微服务部署通常依赖底层的服务级别目标(SLO),但用户需手动设置具体指标阈值,不仅增加使用门槛,也易引发配置错误。尽管大语言模型可理解自然语言意图,但直接生成可执行的SLO仍存在约束不支持、数值错误及格式违规等问题,可能影响后续调度逻辑,导致不可行或错误部署。本文提出Intent Engine,一种自然语言意图翻译架构,用于构建验证后的SLO元数据,支持计算连续体上的服务部署。该架构结合模式约束提取、基于监控状态的数据填充与约束有效性验证,在输出最终SLO前确保其合法性。我们在一个由边缘-云测试床生成的716条意图-目标数据集上进行评估,涵盖有效与无效意图。相比GPT-4.1 mini、Claude Sonnet 4.5和DeepSeek V4-Flash等模型的提示工程基线以及非LLM规则解析器,Intent Engine表现更优:使用GPT-4.1 mini时总F1得分为0.941,幻觉总量减少85.1%,下游部署失败率从30.8%降至2.1%。
原文摘要 · Abstract (English)
Microservice placement in the compute continuum is driven by low-level Service-level Objectives (SLOs), but requiring users to specify metric-level constraints creates an adoption barrier and increases misconfiguration risk. Although large language models (LLMs) can interpret natural-language intents, direct generation of orchestration-consumable SLO artifacts remains unreliable due to unsupported constraints, incorrect grounded values, and schema violations. These errors can propagate to downstream placement logic and produce infeasible or incorrect placements. This paper presents Intent Engine, a natural-language intent translation architecture that constructs validated SLO artifacts for compute-continuum service placement. Intent Engine acts as an intent acquisition and SLO construction layer for existing intent-driven orchestration and placement frameworks; it does not perform placement or runtime QoS optimization. The architecture combines schema-constrained extraction, retrieval-grounded value construction from monitored infrastructure state, and validation against supported constraints before emitting the final SLO artifact. We evaluate Intent Engine using a 716-record intent-to-SLO dataset derived from an edge-cloud testbed, including valid and invalid intents. Across GPT-4.1 mini, Claude Sonnet 4.5, and DeepSeek V4-Flash, Intent Engine outperforms prompting baselines and a non-LLM rule-based parser. With GPT-4.1 mini, it achieves 0.941 total F1 Score and reduces aggregate hallucination by 85.1%, while lowering downstream placement failure from 30.8% to 2.1%.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。