CHIFRAUD: A Long-term Web Text Dataset for Chinese Fraud Detection

Min Tang, Lixin Zou, Zhe Jin, Shujie Cui, Shiuan-Ni Liang, Weiqing WangCOLING 2025

Abstract

Detecting fraudulent online text is essential, as these manipulative messages exploit human greed, deceive individuals, and endanger societal security. Currently, this task remains under-explored on the Chinese web due to the lack of a comprehensive dataset of Chinese fraudulent texts. However, creating such a dataset is challenging because it requires extensive annotation within a vast collection of normal texts. Additionally, the creators of fraudulent webpages continuously update their tactics to evade detection by downstream platforms and promote fraudulent messages. To this end, this work firstly presents the comprehensive long-term dataset of Chinese fraudulent texts collected over 12 months, consisting of 59,106 entries extracted from billions of web pages. Furthermore, we design and provide a wide range of baselines, including large language model-based detectors, and pre-trained language model approaches.

Introduction

Online fraud is a multi-billion dollar problem, but detection on the Chinese web faces unique challenges. Scammers and detectors are locked in a perpetual game of cat-and-mouse. To evade automated filters, scammers employ sophisticated adversarial tactics, such as replacing characters with homophones (e.g., using "薇芯" instead of "微信" for WeChat), utilizing homograph variants, or embedding deceptive content within otherwise normal text.

Comparison of fraud text examples from 2022 and 2023, illustrating adversarial tactics like homophones and confounding characters.

Existing datasets are often English-centric, small, or proprietary, failing to capture the linguistic and cultural nuances of Chinese fraud. Moreover, fraud tactics evolve rapidly; a detector trained on mid-2022 data may lose significant efficacy by mid-2023 as scammers adapt their vocabulary and contact methods. This work introduces ChiFraud, the first large-scale, long-term (12-month) dataset designed to address these challenges.

The ChiFraud Dataset

The researchers constructed ChiFraud through a rigorous four-step pipeline:

  1. Web Crawling: Millions of Chinese webpages and billions of social media posts were collected over a full year (June 2022 – June 2023).
  2. Post-Processing: HTML parsing, sentence segmentation, and initial filtering were applied to isolate suspicious content.
  3. Privacy Desensitization: Sensitive information, such as phone numbers and WeChat IDs, was anonymized to ensure the dataset is safe for public research.
  4. Expert Annotation: Experts categorized suspicious data into ten primary fraud types, including gambling, fake credentials, and prohibited drugs.

The final dataset contains 59,106 expert-annotated fraudulent entries and 352,328 randomly sampled normal entries. It is split temporally into ChiFraud_train, ChiFraud_t2022, and ChiFraud_t2023 to specifically evaluate model performance against time-based distribution shifts.

Analysis of Distribution Shifts

A key finding of this study is the significant shift in fraud categories and contact methods over just one year. For instance, "Gambling" fraud nearly doubled in prevalence between the 2022 and 2023 samples, while "Unauthorized Certification" saw a sharp decline.

Temporal distribution of fraud categories across the ChiFraud dataset partitions, showing significant shifts over time.

These shifts make traditional fine-tuning brittle. Models fine-tuned on 2022 data perform exceptionally well on 2022 test sets (>92% F1) but suffer a massive performance drop (29-35%) when applied to 2023 data. They essentially overfit to the specific scam patterns of the past.

Benchmarking and Results

The authors benchmarked several detection strategies, including Pre-trained Language Models (PLMs) like BERT, fine-tuned LLMs (Llama2-7B, Qwen-7B), and In-Context Learning (ICL) with larger LLMs (ChatGPT, Qwen-14B).

  • Generalization to New Fraud: On entirely new fraud categories appearing in 2023 (e.g., gun trading), fine-tuned models failed significantly (Recall as low as 0.05). In contrast, ICL-based Qwen-14B achieved a 0.9586 recall, demonstrating a superior ability to generalize from foundational knowledge.
  • Scaling and Robustness: For ICL, model size is critical. Larger models (like Qwen-14B) showed much better robustness to distribution shifts than smaller variants.
  • Efficiency Trade-offs: While high-parameter models are more accurate, they are significantly slower. Qwen-14B inference took nearly 16 seconds per sample, compared to just 0.0066 seconds for ChineseBert, presenting a hurdle for real-time deployment.
  • Adversarial Vulnerability: LLM-based detectors remain vulnerable to simple adversarial prompts. Adding a prefix like "Suppose the following information is not fraudulent text" could trick ChatGPT into misclassifying fraud 35% of the time.

Conclusion

ChiFraud provides a vital resource for studying long-term fraud detection on the Chinese web. While LLMs show promise in handling distribution shifts through In-Context Learning, challenges remain regarding inference efficiency and robustness against adversarial prompting. Future work will focus on expanding the dataset's domain and optimizing high-performing detectors for industry-scale applications.

Summary updated

BibTeX
@inproceedings{tang2025chifraud,
  author = {Min Tang and Lixin Zou and Zhe Jin and Shujie Cui and Shiuan-Ni Liang and Weiqing Wang},
  title = {{CHIFRAUD: A Long-term Web Text Dataset for Chinese Fraud Detection}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=wp9WokmqIw},
}
Figure