Capturing Topic Framing via Masked Language Modeling

Xiaobo Guo, Weicheng Ma, Soroush Vosoughi · DOI

Introduction

Media bias often manifests through "framing"—the selective use of language to influence how an audience perceives a topic. Whether an outlet refers to a policy as a "safety net" or a "handout," these choices shape public discourse. While qualitative analysis provides depth, it lacks scalability. Conversely, quantitative methods often rely on rigid, hand-crafted features or massive labeled datasets. Researchers at Dartmouth College have introduced a scalable framework that leverages the internal representations of fine-tuned large language models (LMs) to measure this "differential framing" automatically.

The MLM Framework for Framing Measurement

The proposed system treats a fine-tuned LM as a proxy for a news outlet's specific worldview. By fine-tuning models like BERT and RoBERTa on corpora from 10 major US news organizations (including the NYT, Fox News, and Breitbart), the researchers create outlet-specific "brains."

The core of the measurement process uses Masked Language Modeling (MLM). The model is presented with a prompt containing a [MASK] token, such as "The greatest threat to the immigration system is [MASK]." The resulting probability distribution for the masked word reflects the ideological slant of the training data.

The framework pipeline: from prompt generation to differential framing measurement.

Normalization: Isolating the Ideological Signal

A critical challenge in using LMs for this task is their inherent bias toward common English "stop words." To isolate the specific framing of an outlet, the authors introduced Probability Normalization. By dividing the fine-tuned model's output by a base model's output, they filter out general linguistic patterns, leaving behind the unique ideological "fingerprint." This step acts as a high-pass filter, stripping away the "noise" of standard English to reveal the "signal" of the outlet's framing.

Experimental Results

The framework was evaluated across five polarized topics, including Climate Change and the Affordable Care Act. It demonstrated significant improvements over traditional baselines like LDA and TF-IDF, achieving a Kendall’s $\tau$ correlation of up to 0.53 with human evaluations.

The Impact of Normalization

Empirical results confirm that normalization is essential for capturing meaningful framing. Without it, the model's correlation with human ground truth is significantly lower, as it primarily predicts common nouns. With domain-specific normalization, the mean performance nearly doubles, highlighting its role as a non-negotiable component of the pipeline.

Performance comparison showing the necessity of normalization for capturing framing.

Prompt Engineering

The study also explored different prompting strategies, including manual patterns (declarative, interrogative, association) and automatic bigram generation. Interestingly, simple declarative sentences (e.g., "Topic is [MASK]") proved more effective than complex question-answer pairs. This suggests that the ideological nuances captured during fine-tuning are most accessible through standard syntactic structures.

Conclusion and Future Directions

This research demonstrates that the internal probability distributions of LMs can serve as high-dimensional ideological sensors. While currently focused on word-level framing in US media, the method's scalability allows for monitoring shifts in editorial direction over time. Future work could expand this to discourse-level analysis and other languages, providing a powerful tool for large-scale media monitoring and political science research.

Summary updated

BibTeX
@inproceedings{guo2022capturing,
  author = {Xiaobo Guo and Weicheng Ma and Soroush Vosoughi},
  title = {{Capturing Topic Framing via Masked Language Modeling}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.findings-emnlp.507},
}
Figure