Research Papers 论文研究 1d ago Updated 15h ago 更新于 15小时前 35

Data Scout: Targeted Web Crawling for Domain-Specific Pretraining Corpora Data Scout: Targeted Web Crawling for Domain-Specific Pretraining Corpora

Data Scout inverts the traditional domain-specific corpus construction approach by using targeted web crawling instead of filtering large web archives like CommonCrawl An LLM expands a root topic into a taxonomy and thousands of search queries, with URLs grouped by subdomain and screened by a user-supplied classifier (the "probe") Relevance exhibits a sharp boundary at the subdomain level: in mathematics, a page is 21x more likely to be relevant than one on a sibling subdomain Using FineMath as Data Scout采用定向爬取策略替代传统CommonCrawl过滤方法,通过LLM生成分类法和搜索查询构建领域特定预训练语料 相关性在子域名层面存在明确边界(数学领域相关性强21倍),使子域名级筛选成为高效策略 使用FineMath分类器作为探针,爬取页面中21.9%为高质量数学内容,效率是传统方法的70倍,且63.2%的页面不在CommonCrawl中 在1.9B Data Scout tokens上预训练的Llama-3.2-3B在GSM8k上与FineMath语料表现相当,验证了方法的有效性 探针作为唯一领域特定组件,使该方法可泛化至任何具备分类器的领域

50
Hot 热度
50
Quality 质量
50
Impact 影响力

Analysis 深度分析

TL;DR

  • Data Scout inverts the traditional domain-specific corpus construction approach by using targeted web crawling instead of filtering large web archives like CommonCrawl
  • An LLM expands a root topic into a taxonomy and thousands of search queries, with URLs grouped by subdomain and screened by a user-supplied classifier (the "probe")
  • Relevance exhibits a sharp boundary at the subdomain level: in mathematics, a page is 21x more likely to be relevant than one on a sibling subdomain
  • Using FineMath as the probe, 21.9% of crawled pages are high-quality math content—70x the 0.31% rate from filtering a comparable web sample
  • 63.2% of Data Scout pages are missing from CommonCrawl entirely, and continued pretraining of Llama-3.2-3B on 1.9B Data Scout tokens matches FineMath corpus performance on GSM8k

Why It Matters

Data Scout addresses a critical bottleneck in building domain-specific pretraining corpora: specialized domains often contain sparse, non-popular content that popularity-driven crawlers and static archives like CommonCrawl systematically miss. By inverting the filtering paradigm and using targeted crawling guided by a lightweight domain classifier, the approach dramatically improves data efficiency and unlocks previously inaccessible content—making it directly relevant for any practitioner building domain-specialized models in fields like law, medicine, or technical domains.

Technical Details

  • Architecture: An LLM expands a root topic into a taxonomy and generates thousands of search queries; returned URLs (seeds) are grouped by subdomain and screened using a user-supplied classifier called the "probe"
  • Subdomain-level screening: Admission of each subdomain is based on a small sample, leveraging the observation that relevance has a sharp boundary at the subdomain level (21x higher relevance within the same subdomain vs. sibling subdomains in mathematics)
  • Empirical results: With FineMath classifier as probe, 21.9% of crawled pages are high-quality math content versus 0.31% from filtering a comparable web sample; 63.2% of these pages are absent from CommonCrawl
  • Training evaluation: Continued pretraining of Llama-3.2-3B on 1.9B Data Scout tokens achieves performance on GSM8k matching that of the FineMath corpus
  • Generality: The probe is the only domain-specific component, meaning Data Scout can theoretically apply to any domain with an available classifier

Industry Insight

  • Organizations building domain-specific models should consider targeted crawling over archive filtering, especially for specialized or low-popularity domains where CommonCrawl coverage is inadequate
  • The probe-based design enables rapid adaptation across domains with minimal engineering overhead—investing in a quality domain classifier yields compounding returns as the same pipeline can be reused
  • The finding that 63.2% of high-quality crawled content is missing from CommonCrawl suggests that existing public corpora may systematically underrepresent specialized knowledge, creating an opportunity for organizations that invest in targeted data collection to gain a competitive edge in domain-specialized model performance

TL;DR

  • Data Scout采用定向爬取策略替代传统CommonCrawl过滤方法,通过LLM生成分类法和搜索查询构建领域特定预训练语料
  • 相关性在子域名层面存在明确边界(数学领域相关性强21倍),使子域名级筛选成为高效策略
  • 使用FineMath分类器作为探针,爬取页面中21.9%为高质量数学内容,效率是传统方法的70倍,且63.2%的页面不在CommonCrawl中
  • 在1.9B Data Scout tokens上预训练的Llama-3.2-3B在GSM8k上与FineMath语料表现相当,验证了方法的有效性
  • 探针作为唯一领域特定组件,使该方法可泛化至任何具备分类器的领域

为什么值得看

Data Scout解决了专业领域预训练数据获取的核心痛点——传统方法依赖流行度驱动,导致小众领域内容稀疏且难以触及。该方法通过定向爬取和子域名级筛选,显著提升了数据获取效率和质量,为构建高质量领域特定语料提供了可扩展的解决方案。

技术解析

  • 核心架构:LLM将根主题扩展为分类法和数千搜索查询,生成种子URL后按子域名分组,使用用户提供的分类器(探针)基于小样本筛选子域名
  • 关键洞察:相关性在子域名层面存在明确边界,数学领域中相关页面比兄弟子域名页面相关性强21倍
  • 实验结果:FineMath探针使21.9%爬取页面成为高质量数学内容(传统方法仅0.31%),63.2%页面不在CommonCrawl中
  • 验证实验:Llama-3.2-3B在1.9B Data Scout tokens上继续预训练,GSM8k表现与FineMath语料相当
  • 通用性:探针是唯一领域特定组件,理论上可应用于任何拥有分类器的领域

行业启示

  • 预训练数据策略应从"过滤现有档案"转向"定向采集稀缺内容",特别是对于专业领域
  • 子域名级筛选是高效数据采样的关键,利用相关性在子域名层面的明确边界可大幅提升效率
  • 该方法为构建垂直领域大模型提供了可扩展的数据获取框架,降低了对通用网络档案的依赖

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。