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

perturber:一种用于保留语义的文本扰动的无状态服务

perturber: A Stateless Service for Semantics-Preserving Text Perturbations

IBM Research(IBM研究院)

Khoi-Nguyen Tran

AI总结:

研究人员提出无状态服务 perturber,可复用地应用 68 种保留语义的文本扰动,用于 LLM 评估,还提供在线 playground 等功能,保障评估的正确性与可复现性。

摘要:

针对干净基准的大语言模型(LLM)评估夸大了模型的鲁棒性:实际输入会受到扰动,而这些保留语义的变体通常会改变模型的答案。要系统地研究这一点,需要在任何运行环境中以可复现、相同的方式逐一应用扰动,但现有工具将扰动与基准测试栈绑定,而非将其打包为可复用的变换层。我们提出了 perturber,这是一种无状态服务和 Python 库,每次调用仅应用一个保留语义的扰动,该扰动来自包含 11 个类别共 68 种扰动的官方目录。它仅启用一个基础原语,组合操作由调用方通过链式调用完成,因此该服务和库在构造上会产生相同的输出。我们评估了该工具本身的正确性、可复现性和成本,而非任何模型的鲁棒性,对每种扰动均测量其语义保留度,而非默认假设其具备该特性。该演示还添加了一个在线 playground、一个可内省的基准选择目录,以及一条命令即可完成的可复现评估。

英文摘要:

Large language model (LLM) evaluations on clean benchmarks overstate model robustness: real inputs arrive perturbed, and these meaning-preserving variants routinely move model answers. Studying this systematically requires applying perturbations one at a time, reproducibly, and identically wherever they run, yet existing tools couple them to a benchmarking stack rather than packaging them as a reusable transform layer. We present perturber, a stateless service and Python library that applies exactly one semantics-preserving perturbation per call, drawn from a first-party catalog of 68 perturbations across 11 families. It turns on a single primitive, with composition left to the caller chaining calls, so the service and the library produce identical output by construction. We evaluate the tool itself, its correctness, reproducibility, and cost, rather than any model's robustness, measuring meaning-preservation per perturbation rather than assuming it. The demonstration adds a live playground, an introspectable catalog for benchmark selection, and a one-command reproducible evaluation.

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

↑