mlsanityData to 7 Oct 2026

Generalized Word Shift Graphs: A Method for Visualizing and Explaining Pairwise Comparisons Between Texts

arXiv 2008.02250 ↗First posted 5 Aug 2020cs.CL cs.CY cs.SIcited by 21

Not on the map. Why?

Abstract (arXiv)

A common task in computational text analyses is to quantify how two corpora differ according to a measurement like word frequency, sentiment, or information content. However, collapsing the texts' rich stories into a single number is often conceptually perilous, and it is difficult to confidently interpret interesting or unexpected textual patterns without looming concerns about data artifacts or measurement validity. To better capture fine-grained differences between texts, we introduce generalized word shift graphs, visualizations which yield a meaningful and interpretable summary of how individual words contribute to the variation between two texts for any measure that can be formulated as a weighted average. We show that this framework naturally encompasses many of the most commonly used approaches for comparing texts, including relative frequencies, dictionary scores, and entropy-based measures like the Kullback-Leibler and Jensen-Shannon divergences. Through several case studies, we demonstrate how generalized word shift graphs can be flexibly applied across domains for diagnostic investigation, hypothesis generation, and substantive interpretation. By providing a detailed lens into textual shifts between corpora, generalized word shift graphs help computational social scientists, digital humanists, and other text analysis practitioners fashion more robust scientific narratives.

Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). First posted on arXiv 5 Aug 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 5; 2022: 1; 2023: 5; 2024: 4; 2025: 3; 2026: 3.

21 papers.

Sort:

  1. 2023Marked Personas: Using Natural Language Prompts to Measure Stereotypes in Language Modelscited by 204
  2. 2021Ethics Sheet for Automatic Emotion Recognition and Sentiment Analysiscited by 22
  3. 2023Wikibio: a Semantic Resource for the Intersectional Analysis of Biographical Eventscited by 8
  4. 2022LibertyMFD: A Lexicon to Assess the Moral Foundation of Libertycited by 5
  5. 2026PEST: Parameter Efficient Steering of Blackbox VLMs via Agentic Few-shot Alignment for Hateful Meme Moderationcited by 4
  6. 2024Coordinated Reply Attacks in Influence Operations: Characterization and Detectioncited by 3
  7. 2021Quantifying language changes surrounding mental health on Twittercited by 2
  8. 2025Mapping the Italian Telegram Ecosystem: Communities, Toxicity, and Hate Speechcited by 2
  9. 2021Augmenting semantic lexicons using word embeddings and transfer learningcited by 1
  10. 2021MNet-Sim: A Multi-layered Semantic Similarity Network to Evaluate Sentence Similaritycited by 1
  11. 2024Who is better at math, Jenny or Jingzhen? Uncovering Stereotypes in Large Language Modelscited by 1
  12. 2026The Rise of Large Language Models and the Direction and Impact of US Federal Research Fundingcited by 1
9 more
  1. 2021Ousiometrics: The essence of meaning aligns with a power-danger-structure framework instead of valence-arousal-dominancecited by 0
  2. 2023Curating corpora with classifiers: A case study of clean energy sentiment onlinecited by 0
  3. 2023An assessment of measuring local levels of homelessness through proxy social media signalscited by 0
  4. 2023The Resume Paradox: Greater Language Differences, Smaller Pay Gapscited by 0
  5. 2024HMAMP: Hypervolume-Driven Multi-Objective Antimicrobial Peptides Designcited by 0
  6. 2024LML: A Novel Lexicon for the Moral Foundation of Libertycited by 0
  7. 2025Do Androids Dream of Unseen Puppeteers? Probing for a Conspiracy Tendencies in Large Language Modelscited by 0
  8. 2025Misalignment of LLM-Generated Personas with Human Perceptions in Low-Resource Settingscited by 0
  9. 2026Rank-Turbulence Delta and Interpretable Approaches to Stylometric Delta Metricscited by 0