跳到正文
arXiv cs.AI· Qunhui Zhang·· 10 小时前AI 评分34

AiFlow 提出面向版本化 LLM 服务的构建到退役一致性框架

AiFlow: Construction-to-Retirement Conformance for Versioned LLM Services

AI 导读

arXiv 论文提出 AiFlow,通过可执行契约将 LLM 服务的构建、调用与退役关联起来,防止热更新绕过 filter 队列和并发限制、后台任务使用旧版本等问题。

正文 · 原文

View PDF HTML (experimental)

Abstract:A live update can preserve the topology and output of a large language model (LLM) workflow while bypassing a filter's queue and concurrency limits. A background task can use the old version after its caller returns. AiFlow links construction, invocation and retirement through an executable contract. Each admitted request captures an action bound to the checked operators. The service certifies the call's terminal outcome and the release of its registered work. Once new calls can no longer capture the version, the owner checks these certificates and remaining local resources before retirement. Strict publication pauses admission while old calls drain. Deferred publication can admit calls to the successor before its predecessor retires. We evaluated two stateless linear workflows in one Java virtual machine. Under strict publication, we repeated three injected fault scenarios three times per check configuration. An observation counted as contained if neither unguarded execution nor premature replacement occurred. With construction or completion checking alone, six of nine fault observations met this criterion. With both checks, all nine did. A separately implemented coordinator matched AiFlow on the lifecycle outcome, service call count and reclamation decision in all 24 tested pairs. With updates every 400 ms, deferred publication met the 500 ms deadline more often at both loads. We measured the share of all offered requests that met the deadline on the latest scheduled version due at return. Strict publication led at 80 requests/s and deferred publication at 20 requests/s. Both policies use the same local evidence for retirement.
Comments: 14 pages, 2 figures, 9 tables
Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI)
Cite as: arXiv:2608.00558 [cs.SE]
  (or arXiv:2608.00558v2 [cs.SE] for this version)
  https://doi.org/10.48550/arXiv.2608.00558

arXiv-issued DOI via DataCite

Submission history

From: Qunhui Zhang [view email]
[v1] Sat, 1 Aug 2026 09:33:29 UTC (25 KB)
[v2] Wed, 25 Nov 2026 09:07:36 UTC (37 KB)

来源:arXiv cs.AI · arxiv.org