Censorship of Online Encyclopedias: Implications for NLP Models

Eddie Yang, Margaret E. Roberts

TL;DR

While the NLP community has spent years auditing models for gender and racial bias, this paper uncovers a different, more systemic influence: state-level censorship. By comparing word embeddings trained on the uncensored Chinese Wikipedia versus the state-monitored Baidu Baike, the authors demonstrate that government repression fundamentally reshapes the "meaning" of political concepts in vector space, causing downstream AI models to inherit these political biases in tasks like sentiment analysis.

What Problem Does This Paper Address?

Most research into algorithmic bias focuses on how AI replicates implicit societal stereotypes (like gender or race). However, very little work has explored how institutional forces—specifically governments—actively shape the training data that feeds these models.

In China, the "Great Firewall" blocks Chinese Wikipedia, leading researchers to increasingly rely on Baidu Baike, a massive, state-compliant encyclopedia. Because Baidu Baike is subject to pre-publication review and strict regulations regarding sensitive political topics, it provides a fundamentally different worldview than its uncensored counterparts. The authors ask: Does this institutional shaping of data create a "political bias" in NLP models, and does that bias persist when those models are used for real-world applications?

Methods

The authors employ a multi-step approach to measure and validate political bias:

  1. Embedding Comparison: They use 300-dimensional Word2Vec embeddings trained on three distinct corpora: Chinese Wikipedia (uncensored), Baidu Baike (censored), and the People’s Daily (the official CCP mouthpiece, used as a benchmark for propaganda).
  2. Vector Space Alignment: Since word embeddings are stochastic and non-aligned, the authors standardize the basis vectors (centering and scaling) to allow for direct comparison of word distances across different models.
  3. Association Testing: Following the methodology of the Word Embedding Association Test (WEAT), they measure the cosine similarity between "target words" (e.g., democracy, freedom, CCP) and "attribute words" (e.g., stability vs. chaos, or general positive/negative evaluative terms).
  4. Downstream Task: To see if these biases matter in practice, they perform a transfer learning task. They train sentiment classifiers (Naive Bayes, SVM, and TextCNN) using identical training labels but varying only the pre-trained word embeddings. They then test these models on news headlines containing sensitive political terms.

Datasets

  • Training Corpora: Chinese Wikipedia, Baidu Baike, and People’s Daily (1947–2016).
  • Sentiment Training Data: 5,000 headlines from the TNEWS dataset (part of the CLUE benchmark), manually labeled for sentiment.
  • Evaluation Data: 12,628 Chinese news headlines collected from Google News containing specific target words related to political figures, events, and concepts.
  • Lexicons: The ANTUSD (a large Chinese sentiment dictionary) was used to select evaluative attribute words.

Key Insights and Ideas

  • Censorship is more than Deletion: The paper argues that censorship doesn't just remove information; it recontextualizes it. In Baidu Baike, words like "Democracy" aren't necessarily missing, but they are mathematically closer to words like "chaos" and "instability" than they are in Wikipedia.
  • The "Stickiness" of Pre-trained Bias: One of the most striking findings is that even when a model is trained on "neutral" sentiment data, the underlying word embeddings act as a "prior" that forces the model to see the world through a specific political lens.
  • Baidu Baike as a Propaganda Proxy: The word associations in Baidu Baike were found to be remarkably similar to those in the People’s Daily. This suggests that the "crowdsourced" nature of Baidu Baike does not protect it from reflecting official state narratives.
  • Information Scarcity as Bias: For "negative figures" (dissidents denounced by the CCP), the authors found high uncertainty in the embeddings. This is likely because censorship limits the amount of information available about these people, preventing the model from forming strong associative clusters.

Key Results

  • Political Valence: In Baidu Baike, concepts like "Freedom," "Democracy," and "Collective Action" had significantly more negative associations (large effect sizes) compared to Wikipedia. Conversely, the "CCP" and "Positive Figures" (state leaders) were associated with significantly more positive attributes.
  • Sentiment Misclassification: In the downstream task, models using Baidu Baike embeddings were significantly more likely to label positive headlines about democracy as "negative." For example, a headline about Tsai Ing-wen hoping Hong Kong could enjoy democracy was labeled positive by humans and the Wikipedia-based model, but negative by the Baidu Baike-based model.
  • Model Performance: While the choice of embeddings didn't drastically change the overall accuracy of the sentiment classifiers, it created systematic "errors" on politically charged topics—the exact topics where censorship is most active.

Limitations and Future Work

The authors acknowledge that it is difficult to perfectly isolate the effect of censorship from other factors, such as the different user demographics of Wikipedia versus Baidu Baike. Furthermore, Chinese Wikipedia is a useful but imperfect counterfactual, as it is also influenced by the fact that it is written by a diaspora and those using VPNs.

Future work could extend this analysis to modern transformer-based models like BERT or ERNIE (Baidu’s own model). As these models become the backbone of search engines, recommendation systems, and automated content moderation, understanding how state-level data curation shapes their "understanding" of the world becomes a critical challenge for AI safety and ethics.

Summary updated

BibTeX
@inproceedings{yang2021censorship,
  author = {Eddie Yang and Margaret E. Roberts},
  title = {{Censorship of Online Encyclopedias: Implications for NLP Models}},
  booktitle = {FAccT},
  year = {2021},
  url = {https://openreview.net/forum?id=ioY_KZw061j},
}
Figure