QUIVER: 复合AI系统中扰动传播与分岔的量化形式化框架
QUIVER: A Formal Framework for Quantifying Perturbation Propagation and Bifurcation in Compound AI Systems
AI总结:
提出QUIVER形式化框架,通过敏感性矩阵、轨迹散度、分岔阈值和分布忠实度四个组件,量化图结构LLM流水线中扰动传播与结构分岔,并在三个不同架构的企业和公共流水线上验证其有效性。
摘要:
将多个LLM调用链接成有向计算图的复合AI系统现已成为生产AI的主导架构。尽管这些架构利用具有混合模式输出的异构节点,但现有框架无法量化扰动如何通过此类流水线传播,其中节点是随机的且执行路径可能发生结构分岔。我们引入QUIVER,一个用于测量图结构LLM流水线中扰动传播的形式化框架。该框架定义了:(1) 一个敏感性矩阵,带有类型分派的距离度量,将边分类为放大器、吸收器或阈值敏感,并辅以出现提升;(2) 轨迹散度,将变异分解为值漂移、结构路径散度和迭代次数散度;(3) 分岔阈值,识别导致结构执行路径变化的最小扰动;(4) 分布忠实度,量化每个节点评估数据集何时偏离生产分布。我们在两个生产企业流水线和一个公共DSPy多跳QA流水线上进行验证,这三个架构在结构上各不相同。在8200多个仪器化轨迹(32000多对比较)中,我们证明QUIVER揭示了不同架构的独特敏感性剖面,区分了产生相同散度率的机制不同的级联模式,仅从观测数据预测易发生轨迹分岔的节点,并将过时的评估伪影定位到聚合指标无法揭示的特定节点-字段类别。
英文摘要:
Compound AI systems that chain multiple LLM calls into directed computation graphs are now the dominant architecture for production AI. Although these architectures leverage heterogeneous nodes with mixed-mode outputs, no existing framework quantifies how perturbations propagate through such pipelines, where nodes are stochastic and execution paths can diverge structurally. We introduce QUIVER, a formal framework for measuring perturbation propagation in graph-structured LLM pipelines. The framework defines: (1) a sensitivity matrix with type-dispatched distance metrics that classifies edges as amplifiers, absorbers, or threshold-sensitive, complemented by occurrence-lift; (2) trajectory divergence decomposing variation into value drift, structural path divergence, and iteration count divergence; (3) bifurcation thresholds identifying the smallest perturbation that causes structural execution path changes; and (4) distribution faithfulness, quantifying when per node evaluation datasets diverge from production distributions. We validate on two production enterprise pipelines and a public DSPy multihop QA pipeline, three structurally distinct architectures. Across 8,200+ instrumented traces (32,000+ pair comparisons), we demonstrate that QUIVER reveals distinct sensitivity profiles across architectures, distinguishes mechanistically different cascade patterns producing identical divergence rates, predicts nodes prone to trajectory bifurcation from observational data alone, and localizes stale evaluation artifacts to specific node-field categories that aggregate metrics cannot surface.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。