TL;DR
This paper introduces a novel "dynamic fingerprinting" method for predicting user opinions on unseen articles. By leveraging contextual embeddings of a user's reading and writing history, conditioned on the target article, their approach significantly outperforms previous methods, achieving up to a 13% improvement in micro F1-score. This work offers a more nuanced understanding of user sentiment by considering the relevance of past content to current events.
What Problem Does This Paper Address?
Predicting how individuals will react to new information is crucial for applications ranging from market research to understanding public opinion on social and political issues. Existing approaches to opinion prediction often fall into two categories: topic-based sentiment analysis using time-series models, or static text embeddings that aim for user-specific solutions through "user fingerprints." While these fingerprinting methods are useful for predicting reactions to unseen content, they often rely on a user's general past activity without specifically considering the relevance of that past activity to the current article. This paper addresses the limitation of static user fingerprints by proposing a dynamic approach that tailors the fingerprint to the specific target article, using a user's reading history that is contextually relevant to that article.
Methods
The core of this paper is a novel architecture for generating "dynamic fingerprints." The process involves three main steps:
- History Selection: For a given target article, the system first identifies relevant past articles from the user's history. This is done in two ways:
- Static History: Selects the most recent
sarticles and their associated comments, regardless of their content. - Dynamic History: Selects
rarticles that are semantically similar to the target article, using a DistilRoBERTa model for similarity calculation. This ensures the selected history is contextually relevant. - Text Embedding: The selected articles and their corresponding comments are then encoded using BERT variants (DistilBERT and ELECTRA) to create contextual embeddings. These embeddings form "reading tracks" (from articles read) and "writing tracks" (from articles and their comments). The key innovation here is using contextual embeddings conditioned on the target article for the reading track.
- Fingerprint Creation: Recurrent Neural Networks (RNNs), specifically Gated Recurrent Units (GRUs), are used to process these reading and writing tracks.
- In the static FPE model, the reading and writing tracks are concatenated at each time step, and a GRU creates a single fingerprint.
- In the dynamic FPE model, separate GRUs are used for the reading and writing tracks to create two distinct fingerprints, which are then concatenated. An additional GRU layer is used for the reading track to capture more complex relationships.
- Sentiment Prediction: Finally, a Multi-Layer Perceptron (MLP) takes the generated fingerprint (or fingerprints for the dynamic model) along with the embedding of the target article to predict the user's sentiment.
Datasets
The authors conducted their empirical study on datasets used in a previous work by Yang et al. (2020). These datasets consist of news articles randomly selected from Archiveis, The Guardian, and The New York Times. Users with fewer than ten comments were excluded. The data was split sequentially into training and testing sets (90:10 ratio), with further splitting for validation. The comments were automatically labeled using Vader, Flair, BlobText sentiment, and BlobText subjectivity models.
Key Insights and Ideas
- Relevance Matters: The most significant insight is that dynamically selecting relevant past articles (based on semantic similarity to the target article) leads to much better opinion prediction than simply using the most recent articles. This highlights that a user's opinion on a new topic is more influenced by what they've read that is similar to it, rather than just what they read most recently.
- Contextual Embeddings are Key: Using BERT variants for contextual embeddings, especially when conditioned on the target article, provides richer representations of user history compared to older methods like Byte-Pair Embeddings.
- Dynamic Fingerprints Outperform Static: The proposed dynamic fingerprinting approach consistently shows superior performance over static methods, demonstrating the value of tailoring the user's historical context to the specific article being analyzed.
- Article Nature Influences Performance: The study found that articles with a higher proportion of negative sentiment comments, or controversial articles, tend to yield higher prediction accuracy compared to predominantly positive articles.
- History Length Impact: For dynamic models, performance generally improves with an increase in the length of the relevant history considered, up to a certain point where it saturates.
Key Results
The proposed dynamic fingerprinting models (dFPE) significantly outperformed the baseline Fingerprint Embedding (FPE) model. Specifically, the authors report up to a 13% improvement in micro F1-score. The ELECTRA-based dynamic FPE model (dFPE-ELEC-frozen-dhist) showed particularly strong performance across all outlets. The experiments also revealed that performance saturates after an optimum length of relevant history.
Limitations and Future Work
The authors acknowledge several limitations:
- Dataset Bias: Newspaper articles can be inherently biased in their selection and tone, and readers may also possess implicit biases or confirmation bias. The current model is trained on news articles, and extending it to other domains could mitigate this.
- Perpetuating Social Biases: NLP models, including BERT variants, can inadvertently perpetuate social biases present in training data related to race, religion, gender, and disability. Future work could involve experimenting with other sentence encoders to measure and mitigate these biases.
- Article Content vs. Title: The current model uses only article titles and comments, not the full article content. This could be a limitation, especially for satirical articles where titles might be misleading.
- Multilingual Models: The study did not experiment with multilingual models of pretrained BERT variants.
Future work suggested includes:
- Extending the model to use whole article content.
- Developing author profiles based on reading history.
- Exploring various attention mechanisms for better fingerprint generation.
- Investigating BERT variants trained in other languages.
Summary updated