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

Entity-Centric Contextual Affective Analysis

Anjalie Field, Yulia Tsvetkov

Introduction

In social science and natural language processing (NLP), understanding the portrayal of entities in text goes beyond simple sentiment analysis. While traditional methods often categorize text as "positive" or "negative," they frequently fail to capture the nuanced social dimensions of how individuals are depicted—such as whether a person is portrayed as a powerful leader or a passive victim. Researchers from Carnegie Mellon University have demonstrated that contextualized word embeddings, such as BERT and ELMo, can effectively quantify these portrayals across three psychological dimensions: power (potency), agency (activity), and sentiment (valence).

Methodology

The study explores two primary approaches to mapping high-dimensional embeddings into interpretable affect scores:

  1. Supervised Regression: Using the NRC VAD Lexicon (which scores words on Valence, Arousal, and Dominance) as training data, the authors trained a Kernel Ridge Regression model to predict affect scores from embedding vectors extracted from a large corpus.
  2. Affect Subspace Projection (ASP): This semi-supervised method identifies polar-opposite word pairs (e.g., "timid" vs. "resourceful") to find a mathematical "axis" in the embedding space representing a specific dimension. Entity embeddings are then projected onto this axis.

To isolate the influence of context from the entity's name itself, the researchers also utilized a "BERT-masked" variant. In this setup, the target entity's name is hidden during embedding extraction, forcing the model to rely entirely on the surrounding linguistic structure.

Social Dimensions and Biases

Contextualized embeddings naturally encode social hierarchies. Even when an entity's name is masked, models can often infer power or agency from the verbs and adjectives describing their actions. However, this sensitivity comes with a "word-form" bias: unmasked models may label a "King" as powerful based on the word itself, regardless of whether the text describes him losing his authority.

Crucially, these models are "anchored" to the biases of their training data. Because they are pre-trained on massive historical corpora like Wikipedia, they internalize existing social stereotypes. If the training data consistently portrays men as more powerful than women, the model struggles to recognize subversions of these roles in new narratives.

Figure 5: Multi-dimensional portrayal of characters from The Dark Knight. This visualization shows how entities like the Joker can be mapped to high power but low sentiment, providing a more holistic view than sentiment analysis alone.

Results and Domain Challenges

The regression models showed high Pearson correlations (up to 0.84 for sentiment) with human-annotated lexicons. In practical applications, an ELMo-based regression model successfully ranked real-world figures from the Forbes "Most Powerful People" list with a Spearman correlation of 0.65.

Analysis of news and sports media revealed persistent gender biases: women are consistently portrayed with lower power and higher sentiment than men. For example, in tennis coverage, male players are depicted as more powerful, while female players are described with more "positive" but less "agentic" language.

Figure 1: Performance comparison across different models and annotation sets. Note that on the reduced annotation set (often representing contested social roles), models struggle to outperform simple frequency baselines.

A significant limitation identified is domain transfer. On specialized datasets like #MeToo news articles, where social roles are actively contested or subverted (e.g., a powerful man accused of misconduct), the models failed to beat simple frequency baselines. Their pre-trained biases prevent them from accurately perceiving shifts in power dynamics that contradict their training data.

Conclusion

While contextualized embeddings offer a powerful tool for large-scale affective analysis, they are not neutral observers. They reflect the worldviews of their training corpora, making them less reliable for analyzing narratives that challenge traditional social roles. Future work may involve fine-tuning models on specific target corpora or using masking more effectively to separate contextual portrayal from prior entity knowledge. Additionally, accounting for narrative perspective—distinguishing between a narrator's view and that of other characters—remains an important area for development.

Summary updated

BibTeX
@inproceedings{field2019entity,
  author = {Anjalie Field and Yulia Tsvetkov},
  title = {{Entity-Centric Contextual Affective Analysis}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1243},
}
Figure