NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Joint Non-negative Matrix Factorization for Learning Ideological Leaning on Twitter

Preethi Lahoti, Kiran Garimella, Aristides Gionis

Introduction

Digital echo chambers and "filter bubbles" have become a defining feature of social media, where users are often exposed only to content that reinforces their existing biases. Identifying these biases is a critical step toward developing tools that encourage ideological diversity. Traditional approaches often rely on expensive manual labeling (supervised learning), sparse social network data, or complex natural language processing.

This paper introduces Ideology Factor Decomposition (IFD), an unsupervised framework that simultaneously identifies the political leanings of Twitter users and news sources by leveraging the inherent connection between social structure and content consumption.

Methodology: Joint Non-negative Matrix Factorization

The core innovation of IFD is the use of Joint Non-negative Matrix Factorization (NMF). The researchers represent the data using two primary matrices:

  1. Social Matrix (A): Captures user-to-user interactions (following relationships).
  2. Content Matrix (C): Captures user-to-source interactions (shared news domains).

By forcing these matrices to share a common latent factor representing users, the model ensures that a user's position in the "ideology space" is consistent across both their social network and their reading habits. To enhance robustness, the model incorporates Graph Regularization, ensuring that users close in the original social network remain close in the learned latent space.

The resulting latent space is mapped into two interpretable dimensions:

  • Ideology Score ($i$): Derived from the angle ($\theta$) of the user/source vector, representing a spectrum from liberal to conservative.
  • Popularity Score ($\rho$): Derived from the magnitude of the vector.
Mapping latent dimensions to ideology and popularity scores.

Experimental Setup

The framework was evaluated using a massive Twitter dataset (2011–2016) focused on controversial topics: gun control, abortion, and Obamacare. The dataset included over 6,000 users and 19 million tweets. Ground truth for news sources was established using data from political science studies and browser toolbar metrics, while user leanings were compared against established Bayesian ideal point estimates (Barberá scores).

Key Results and Insights

The IFD model demonstrated exceptional performance in identifying ideological leanings:

  • High Accuracy: The model achieved over 90% purity in ideological clustering for users.
  • Strong Correlation: For media sources, the estimated ideology scores showed a 0.9 Pearson correlation with ground-truth data.
  • Continuous Spectrum: Unlike binary classifiers, IFD maps entities to a continuous spectrum, allowing for the identification of centrist or neutral sources.
Ideological leaning of news sources on a liberal-conservative spectrum.

The "duality" of the approach—where users and sources inform each other—allows the model to reduce noise. A news source's ideology is effectively defined by the collective ideology of its audience, and vice versa.

Applications and Future Work

The authors developed a prototype interface that visualizes a user's "bubble" and suggests diverse content. By using Gaussian sampling, the system recommends articles just outside a user's typical "box" of tolerance, facilitating a more balanced news diet.

While highly effective, the model currently focuses on the US liberal-conservative binary and relies on active user footprints. Future work aims to adapt the framework for multi-party systems and improve the interpretability of recommendations for end-users.

Summary updated

BibTeX
@inproceedings{lahoti2017joint,
  author = {Preethi Lahoti and Kiran Garimella and Aristides Gionis},
  title = {{Joint Non-negative Matrix Factorization for Learning Ideological Leaning on Twitter}},
  booktitle = {WSDM},
  year = {2017},
  doi = {10.1145/3159652.3159669},
}
Figure