MEGA Hub

Auditing Chinese Web-scale Corpora via Sampled BPE Token Statistics

Authors

Do you know Qingjie Zhang?You can claim authorship or link another user.Do you know Ziqi Tang?You can claim authorship or link another user.Do you know Jie Zhang?You can claim authorship or link another user.Do you know Gelei Deng?You can claim authorship or link another user.Do you know Jinfeng Li?You can claim authorship or link another user.Do you know YueFeng Chen?You can claim authorship or link another user.Do you know Yitong Yang?You can claim authorship or link another user.Do you know Hui Xue?You can claim authorship or link another user.Do you know Tianwei Zhang?You can claim authorship or link another user.Do you know Han Qiu?You can claim authorship or link another user.

Abstract

Chinese web pollution has surfaced in LLMs, motivating audits of upstream Chinese corpora. However, auditing such corpora faces three challenges: (1) their web-scale size makes full scan costly; (2) prior analyses are often too coarse to expose token-level pollution; (3) Chinese web pollution is implicit and rapidly changing. We propose Sampled-BPE, a lightweight token-level auditing pipeline that sample a small subset and train BPE tokenizer to surface polluted tokens. Experiments show that Sampled-BPE preserves usable estimates while substantially reducing runtime and memory: a 148.4 $\times$ speedup and a 35.8 $\times$ memory reduction induce only 4.25% relative error for pollution categories. We apply the pipeline to 11 open Chinese corpora and 6 Chinese Common Crawl snapshots from 2021 to 2026. The audit reveals widespread but uneven pollution across open corpora, as well as highly polluted and temporally shifting Chinese web content. We further release a hierarchical Chinese web token dataset with 660k+ token records, each with web context, category, and explanation fields, organized as trees to support review and tracing of pollution.

Community

00