作者: Kailun Yan, Yue Huang, Sisi DuanarXiv 2611.32686

CAPTA: Identifying LLMs Behind AI Agents(CAPTA:识别智能体背后的主流大语言模型)于 2026-11-24 提交到 arXiv,作者 Kailun Yan, Yue Huang, Sisi Duan。去 arXiv 读原文,或下载 PDF。

主要发现

最重要的一点。 外部网络服务只需将常规人机验证替换为特定的多选题,就能在极少几次交互内高精度识别出调用该服务的智能体底层使用的是哪款大模型。

摘要

Large language model (LLM)-based agents access remote services through tools to complete user tasks, often via API calls. In this setting, a remote service may want to identify the backend LLM of an agent to launch model-specific attacks, including prompt injection or selective delivery of manipulated content. However, the service cannot directly query the backend model and must instead collect observable responses through its interactions with the agent, making identification challenging. In this paper, we present Completely Automated Preference Test to tell LLMs Apart (CAPTA), a model identification approach inspired by CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart), which distinguishes humans from automated programs. CAPTA presents multiple-choice questions as verification challenges, using differences in models’ selection preferences to identify the backend LLM. It selects questions based on cross-model option-generation diversity and uses LLM-guided search to optimize their option sets. Our evaluation shows that CAPTA achieves 99.0% mean identification accuracy with only 10 questions across 25 LLMs from 10 model families. We further evaluate CAPTA with four widely used agents and seven representative LLMs, achieving 99.7% mean identification accuracy across all 28 agent-LLM combinations with 30 submitted answers.

译文:基于大语言模型(LLM)的智能体通常通过 API 调用等工具访问远程服务以完成用户任务。在这种背景下,远程服务可能希望识别智能体的后端大模型,以便实施特定于模型的攻击,包括提示词注入或选择性投递被操纵的内容。然而,服务无法直接查询后端模型,只能通过与智能体的交互收集可观察到的响应,这使得模型识别变得非常具有挑战性。在本文中,我们提出了完全自动化模型偏好测试(CAPTA),该方法受到用于区分人类与自动化程序的 CAPTCHA 启发。CAPTA 以多选题作为验证测试,利用不同模型在选择偏好上的差异来识别其背后的模型。该方法根据跨模型的选项生成多样性来筛选问题,并使用大模型引导的搜索来优化选项集。评估结果表明,CAPTA 仅用 10 道问题就在 10 个模型家族的 25 个大模型上达到了 99.0% 的平均识别准确率。我们进一步在 4 个常用智能体和 7 个代表性大模型构成的 28 个智能体与模型组合上评估了 CAPTA,在提交 30 个答案的情况下达到了 99.7% 的平均识别准确率。

关键术语

论文原文

作者阐述了 CAPTA 如何借助日常人机验证流程来探测智能体背后的模型。

When an agent accesses a remote service, it may encounter a CAPTCHA challenge and try to solve it to continue its task. The remote service uses this opportunity to replace traditional CAPTCHA challenges with carefully designed multiple-choice questions, called probes.

译文:当智能体访问远程服务时,它可能会遇到 CAPTCHA 验证码,并尝试解决它以继续执行任务。远程服务利用这个机会,将传统的 CAPTCHA 验证替换为精心设计的多选题,称为探测问题。

作者举例说明不同模型在主观选择上表现出稳定的偏好偏差。

For example, when asked to select a rainbow color in 20 independent trials, DeepSeek-V4-Flash and Qwen-3.7-Flash consistently select red (20/20), while GPT-5.6-Luna and Claude-Sonnet-5 consistently select blue (20/20).

译文:例如,在 20 次要求选择一种彩虹颜色的独立测试中,DeepSeek-V4-Flash 和 Qwen-3.7-Flash 始终选择红色(20/20),而 GPT-5.6-Luna 和 Claude-Sonnet-5 始终选择蓝色(20/20)。

作者总结了该方法在单模型与完整智能体系统中的平均识别准确率。

Our evaluation shows that CAPTA achieves 99.0% mean identification accuracy with only 10 questions across 25 LLMs from 10 model families. We further evaluate CAPTA with four widely used agents and seven representative LLMs, achieving 99.7% mean identification accuracy across all 28 agent–LLM combinations with 30 submitted answers.

译文:我们的评估表明,CAPTA 在来自 10 个模型家族的 25 个大模型上仅用 10 道问题就实现了 99.0% 的平均识别准确率。我们进一步在 4 个常用智能体和 7 个代表性大模型上评估了 CAPTA,在提交 30 个答案的情况下,在所有 28 个智能体与模型组合中实现了 99.7% 的平均识别准确率。

论文里的图

该图展示了远程服务如何利用智能体查询数据时的验证码环节下发多选题并识别智能体背后的模型。

Fig. 2: An LLM-based agent performing a weather query. The remote weather service can use CAPTA as a CAPTCHA verificatio

图来自论文 arXiv:2611.32686,版权归作者。原图说明:Fig. 2: An LLM-based agent performing a weather query. The remote weather service can use CAPTA as a CAPTCHA verification to identify the agent’s backend LLM.

作者自己说的含义

可以怎么做

  1. 审查智能体系统是否默认开启自动解答外部人机验证题目的功能配置。 依据:论文测试显示,4 个被测智能体在全部 28 种智能体与模型组合中均自主完成了验证题作答,服务端识别准确率达到 99.7%。
  2. 审计外部服务返回的验证请求,监控非标准的多选题测试是否被用作替代传统人机验证。 依据:实验显示,仅由服务端发送 10 道多选题探测题目,即可达到 99.0% 的后端模型平均识别准确率。
  3. 限制智能体在检索任务中随意调用不受信任的第三方服务接口。 依据:论文引用的数据显示智能体执行检索任务时每个会话平均调用 3.64 次外部请求,这给外部服务端收集足够答题数据提供了条件。

注意。 该测试基于论文选定的 25 款模型和 4 个特定智能体执行环境,论文未测试后续攻击的实际发生率,也未涵盖智能体框架主动对选项作答进行随机化扰动的防御情形。

一句话

CAPTA 通过下发多选题验证挑战,根据各语言模型固有的选择偏好识别智能体背后的模型类型。在 25 款大模型和 4 种主流智能体的测试中,该方案分别达到了 99.0% 和 99.7% 的识别准确率。这表明智能体自动解答验证码的过程可能使底层模型身份暴露给外部网络服务。

去 arXiv 读论文 →

这篇解读根据论文原文写成。引用的段落是原话,数字都是作者自己报告的。方法和完整结果请读论文。