用Jev决策模型替代大型语言模型以实现低延迟边缘服务编排

·

研究论文 · 2026/10/03

自然语言服务请求在执行前可能需要语言模型决策,这会消耗请求延迟预算的一部分。我们将 Jev 面向决策的 API 集成到边缘服务编排中,以降低这一开销,同时保持服务完成。该集成提取四到八个有界意图字段,并应用共享验证器、准入策略和调度器,在整个请求时间线中考虑决策等待。我们在 8,280 个已验证请求以及一条带有模拟执行和真实光学字符识别服务的实时准入路径上,比较了 Jev、两个自托管决策模型和三个托管大语言模型(LLM)。在 33 个测试条件下,Jev 将中位决策延迟相比最快的 LLM 降低了 22.7–64.5%。该延迟几乎不随输入大小、契约宽度或目录大小变化。在四字段契约上,Jev 的每次正确决策 API 费用低 59.7–80.9%,代价是几个精确匹配点,而宽契约标志着替代的极限。在每次请求都收到服务目录时,Jev 对未见服务的命名与已知服务一样准确。在实时准入路径上,在 LLM 低于 0.1 的负载下,Jev 保持 0.91–0.95 的请求精确且准时。由于缓存重复描述使解释器获得几乎相同的延迟,Jev 的增益在于新鲜决策。这些结果支持在有界契约上对延迟受限准入进行决策模型替代。

该研究为延迟受限的边缘服务编排提供了一种可行的决策模型替代方案,在显著降低延迟和成本的同时保持高准确率,对边缘计算和实时服务准入具有实际意义。

Natural-language service requests can require a language-model decision before execution starts, consuming part of the request's latency budget. We integrate Jev's decision-oriented application programming interface (API) into edge service orchestration to reduce this overhead while retaining service completion. The integration extracts four to eight bounded intent fields and applies a shared validator, admission policy, and scheduler, accounting for decision waiting throughout the request timeline. We compare Jev, two self-hosted decision models, and three hosted large language models (LLMs) on 8,280 verified requests and on a live admission path with modeled execution and a real optical character recognition service. Across 33 test conditions, Jev reduces median decision latency by 22.7-64.5% relative to the fastest LLM. This latency barely moves with input size, contract width, or catalog size. On four-field contracts, Jev's API fees per correct decision are 59.7-80.9% lower at a cost of a few exact-match points, while wide contracts mark the limit of the substitution. Receiving the service catalog with each request, Jev names unseen services as accurately as known ones. On the live admission path, Jev keeps 0.91-0.95 of requests exact and on time at loads where the LLMs fall below 0.1. Since caching repeated descriptions gives the interpreters nearly the same latency, Jev's gain lies in fresh decisions. These results support decision-model substitution for latency-bound admission on bounded contracts.

阅读原文

参与讨论