arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.22760cs.IRcs.AIcs.CL
收藏

通过API检索和排序量化跨LLM通信中的分歧

Quantifying Divergence in Inter-LLM Communication Through API Retrieval and Ranking

School of Engineering and Technology(工程与技术学院)

Eyhab Al-Masri

AI总结:

本文提出一个统一的基准框架,量化在相同任务下不同LLM在API发现和排序上的差异。研究发现结构化任务稳定性较高,而开放性任务分歧显著,结果为多代理系统中可靠性感知的协调提供了依据。

摘要:

大型语言模型(LLMs)越来越多地作为自主代理运行,通过外部API执行复杂任务。然而,其可靠性和一致性仍缺乏充分表征。本文提出统一的基准框架,量化跨LLM分歧,即在相同任务下模型在API发现和排序上的差异。在15个经典API领域和5个主要模型家族中,使用集合、排名和共识度量标准(包括平均重叠、贾卡尔相似度、排名偏倚重叠、肯德尔tau、肯德尔W和克朗巴赫alpha)测量成对和群体一致性。结果表明总体一致性(AO约0.50,tau约0.45)中等,但领域依赖性强:结构化任务(天气、语音转文本)稳定,而开放性任务(情感分析)分歧显著。波动性和共识分析揭示一致性围绕数据绑定领域聚集,而抽象推理任务则下降。这些见解使多代理系统中可靠性感知的协调成为可能,其中共识加权可提高异质LLM间的协调。除了性能基准外,结果揭示了多代理LLM协调中的系统性失败模式,其中表面一致性可能掩盖行动相关排名的不稳定性。这种隐藏的分歧在部署前构成安全风险,并推动了诊断基准的开发以实现早期检测。

英文摘要:

Large language models (LLMs) increasingly operate as autonomous agents that reason over external APIs to perform complex tasks. However, their reliability and agreement remain poorly characterized. We present a unified benchmarking framework to quantify inter-LLM divergence, defined as the extent to which models differ in API discovery and ranking under identical tasks. Across 15 canonical API domains and 5 major model families, we measure pairwise and group-level agreement using set-, rank-, and consensus-based metrics including Average Overlap, Jaccard similarity, Rank-Biased Overlap, Kendall's tau, Kendall's W, and Cronbach's alpha. Results show moderate overall alignment (AO about 0.50, tau about 0.45) but strong domain dependence: structured tasks (Weather, Speech-to-Text) are stable, while open-ended tasks (Sentiment Analysis) exhibit substantially higher divergence. Volatility and consensus analyses reveal that coherence clusters around data-bound domains and degrades for abstract reasoning tasks. These insights enable reliability-aware orchestration in multi-agent systems, where consensus weighting can improve coordination among heterogeneous LLMs. Beyond performance benchmarking, our results reveal systematic failure modes in multi-agent LLM coordination, where apparent agreement can mask instability in action-relevant rankings. This hidden divergence poses a pre-deployment safety risk and motivates diagnostic benchmarks for early detection.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑