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

代理AI中的语义不变性

Semantic Invariance in Agentic AI

I. de Zarzà, J. de Curtò, Jordi Cabot, Pietro Manzoni, Carlos T. Calafate

AI总结:

本文提出一种元测试框架,评估大语言模型代理在语义等效输入变化下的推理稳定性,发现模型规模与鲁棒性无正相关,较小的Qwen3-30B-A3B表现出最高稳定性。

摘要:

大型语言模型(LLMs)越来越多地作为自主推理代理用于决策支持、科学问题解决和多代理协调系统。然而,部署LLM代理在具有重大影响的应用中需要确保其推理在语义等效输入变化下保持稳定,这一特性我们称为语义不变性。标准基准评估通过固定经典问题形式来评估准确性,无法捕捉这一关键可靠性维度。为解决这一不足,本文提出一种元测试框架,系统评估LLM推理代理的鲁棒性,应用八种语义保持变换(身份、改写、事实重排、扩展、收缩、学术语境、商业语境和对比性表述)跨七个基础模型,涵盖四种不同的架构家族:Hermes(70B,405B)、Qwen3(30B-A3B,235B-A22B)、DeepSeek-R1和gpt-oss(20B,120B)。我们的评估涵盖19个跨八个科学领域的多步推理问题。结果表明,模型规模不预测鲁棒性:较小的Qwen3-30B-A3B达到最高稳定性(79.6%不变响应,语义相似度0.91),而较大模型表现出更大的脆弱性。

英文摘要:

Large Language Models (LLMs) increasingly serve as autonomous reasoning agents in decision support, scientific problem-solving, and multi-agent coordination systems. However, deploying LLM agents in consequential applications requires assurance that their reasoning remains stable under semantically equivalent input variations, a property we term semantic invariance. Standard benchmark evaluations, which assess accuracy on fixed, canonical problem formulations, fail to capture this critical reliability dimension. To address this shortcoming, in this paper we present a metamorphic testing framework for systematically assessing the robustness of LLM reasoning agents, applying eight semantic-preserving transformations (identity, paraphrase, fact reordering, expansion, contraction, academic context, business context, and contrastive formulation) across seven foundation models spanning four distinct architectural families: Hermes (70B, 405B), Qwen3 (30B-A3B, 235B-A22B), DeepSeek-R1, and gpt-oss (20B, 120B). Our evaluation encompasses 19 multi-step reasoning problems across eight scientific domains. The results reveal that model scale does not predict robustness: the smaller Qwen3-30B-A3B achieves the highest stability (79.6% invariant responses, semantic similarity 0.91), while larger models exhibit greater fragility.

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

↑