通过信标令牌识别人工智能网络爬虫
Identifying AI Web Scrapers Using Canary Tokens
AI总结:
本文提出一种自动识别与大型语言模型相关的网络爬虫的方法,通过动态网站和信标令牌验证爬虫身份,实验表明能可靠识别多个未公开的爬虫。
摘要:
从预训练到查询时间增强,网络爬取的数据有助于提高大型语言模型(LLMs)生成内容的质量和上下文相关性。然而,大规模网络爬虫为LLMs提供数据可能影响网站稳定性并引发法律、隐私或伦理问题。如果网站所有者希望限制与LLMs相关的网络爬虫,他们可能会采用如机器人排除协议等爬虫访问控制机制。为了最有效,这些机制需要网站所有者首先识别他们希望限制的爬虫(例如通过用户代理字符串)。现有的识别LLM相关爬虫的机制依赖于公司的自愿披露、研究人员的一次性实验或众包报告——这些方法既不可靠也不可扩展。本文提出了一种新颖的技术,可以准确且自动地推断与LLM相关的爬虫。我们托管动态网站,为每个访问的爬虫提供独特的信标令牌,然后提示LLMs提供有关我们网站的信息。如果LLM持续生成包含特定爬虫独特令牌的输出,这将提供该爬虫暴露的证据。通过在22个生产LLM系统上的实验,我们证明了我们的方法可以可靠地识别哪些爬虫为哪些LLM提供数据,包括一些未公开或由公司披露的爬虫。我们的方法为非特权第三方推断哪些爬虫为哪些LLM提供数据提供了有前景的途径,可能使更好的控制不必要的爬虫成为可能。
英文摘要:
From pre-training to query-time augmentation, web-scraped data helps to improve the quality and contextual relevancy of content generated by large language models (LLMs). However, large-scale web scraping to feed LLMs can affect site stability and raise legal, privacy, or ethics concerns. If website owners wish to limit LLM-related web scraping on their site, due to these or other concerns, they may turn to scraper access control mechanisms like the Robots Exclusion Protocol. To be most effective, such mechanisms require site owners to first identify the scrapers that they wish to restrict (e.g., via User-Agent strings). Existing mechanisms to identify LLM-related scrapers rely on voluntary disclosure by companies, one-off experiments by researchers, or crowd-sourced reports -- methods that are neither reliable nor scalable. This paper proposes a novel technique for accurately and automatically inferring LLM-related scrapers. We host dynamic websites that serve unique canary tokens to each visiting scraper, then prompt LLMs for information about our sites. If an LLM consistently generates outputs containing tokens unique to a scraper, it provides evidence of exposure to that scraper. Via experiments across 22 production LLM systems, we demonstrate that our approach can reliably identify which scrapers feed which LLM, including several that are not publicly known or disclosed by the companies. Our approach provides a promising avenue for unprivileged third parties to infer which scrapers serve data to which LLMs, potentially enabling better control over unwanted scraping.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。