Generalized Word Shift Graphs: A Method for Visualizing and Explaining Pairwise Comparisons Between Texts
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
Citing papers per year: 2021: 5; 2022: 1; 2023: 5; 2024: 4; 2025: 3; 2026: 3.
21 papers.
Sort:
- 2023Marked Personas: Using Natural Language Prompts to Measure Stereotypes in Language Modelscited by 204
- 2021Ethics Sheet for Automatic Emotion Recognition and Sentiment Analysiscited by 22
- 2023Wikibio: a Semantic Resource for the Intersectional Analysis of Biographical Eventscited by 8
- 2022LibertyMFD: A Lexicon to Assess the Moral Foundation of Libertycited by 5
- 2026PEST: Parameter Efficient Steering of Blackbox VLMs via Agentic Few-shot Alignment for Hateful Meme Moderationcited by 4
- 2024Coordinated Reply Attacks in Influence Operations: Characterization and Detectioncited by 3
- 2021Quantifying language changes surrounding mental health on Twittercited by 2
- 2025Mapping the Italian Telegram Ecosystem: Communities, Toxicity, and Hate Speechcited by 2
- 2021Augmenting semantic lexicons using word embeddings and transfer learningcited by 1
- 2021MNet-Sim: A Multi-layered Semantic Similarity Network to Evaluate Sentence Similaritycited by 1
- 2024Who is better at math, Jenny or Jingzhen? Uncovering Stereotypes in Large Language Modelscited by 1
- 2026The Rise of Large Language Models and the Direction and Impact of US Federal Research Fundingcited by 1
9 more
- 2021Ousiometrics: The essence of meaning aligns with a power-danger-structure framework instead of valence-arousal-dominancecited by 0
- 2023Curating corpora with classifiers: A case study of clean energy sentiment onlinecited by 0
- 2023An assessment of measuring local levels of homelessness through proxy social media signalscited by 0
- 2023The Resume Paradox: Greater Language Differences, Smaller Pay Gapscited by 0
- 2024HMAMP: Hypervolume-Driven Multi-Objective Antimicrobial Peptides Designcited by 0
- 2024LML: A Novel Lexicon for the Moral Foundation of Libertycited by 0
- 2025Do Androids Dream of Unseen Puppeteers? Probing for a Conspiracy Tendencies in Large Language Modelscited by 0
- 2025Misalignment of LLM-Generated Personas with Human Perceptions in Low-Resource Settingscited by 0
- 2026Rank-Turbulence Delta and Interpretable Approaches to Stylometric Delta Metricscited by 0
- 2026Rank-Turbulence Delta and Interpretable Approaches to Stylometric Delta Metrics21 Apr 2026
- 2026The Rise of Large Language Models and the Direction and Impact of US Federal Research Funding21 Jan 2026
- 2026PEST: Parameter Efficient Steering of Blackbox VLMs via Agentic Few-shot Alignment for Hateful Meme Moderation8 Jan 2026
- 2025Misalignment of LLM-Generated Personas with Human Perceptions in Low-Resource Settings28 Nov 2025
- 2025Do Androids Dream of Unseen Puppeteers? Probing for a Conspiracy Tendencies in Large Language Models5 Nov 2025
- 2025Mapping the Italian Telegram Ecosystem: Communities, Toxicity, and Hate Speech28 Apr 2025
- 2024Coordinated Reply Attacks in Influence Operations: Characterization and Detection25 Oct 2024
- 2024LML: A Novel Lexicon for the Moral Foundation of Liberty16 Jul 2024
- 2024Who is better at math, Jenny or Jingzhen? Uncovering Stereotypes in Large Language Models9 Jul 2024
- 2024HMAMP: Hypervolume-Driven Multi-Objective Antimicrobial Peptides Design1 May 2024
- 2023The Resume Paradox: Greater Language Differences, Smaller Pay Gaps17 Jul 2023
- 2023Wikibio: a Semantic Resource for the Intersectional Analysis of Biographical Events15 Jun 2023
9 more
- 2023Marked Personas: Using Natural Language Prompts to Measure Stereotypes in Language Models29 May 2023
- 2023An assessment of measuring local levels of homelessness through proxy social media signals15 May 2023
- 2023Curating corpora with classifiers: A case study of clean energy sentiment online4 May 2023
- 2022LibertyMFD: A Lexicon to Assess the Moral Foundation of Liberty14 Sep 2022
- 2021MNet-Sim: A Multi-layered Semantic Similarity Network to Evaluate Sentence Similarity9 Nov 2021
- 2021Ousiometrics: The essence of meaning aligns with a power-danger-structure framework instead of valence-arousal-dominance13 Oct 2021
- 2021Augmenting semantic lexicons using word embeddings and transfer learning18 Sep 2021
- 2021Ethics Sheet for Automatic Emotion Recognition and Sentiment Analysis17 Sep 2021
- 2021Quantifying language changes surrounding mental health on Twitter2 Jun 2021
- 2023Marked Personas: Using Natural Language Prompts to Measure Stereotypes in Language Modelscited by 204
- 2021Ethics Sheet for Automatic Emotion Recognition and Sentiment Analysiscited by 22
- 2023Wikibio: a Semantic Resource for the Intersectional Analysis of Biographical Eventscited by 8
- 2022LibertyMFD: A Lexicon to Assess the Moral Foundation of Libertycited by 5
- 2026PEST: Parameter Efficient Steering of Blackbox VLMs via Agentic Few-shot Alignment for Hateful Meme Moderationcited by 4
- 2024Coordinated Reply Attacks in Influence Operations: Characterization and Detectioncited by 3
- 2021Quantifying language changes surrounding mental health on Twittercited by 2
- 2025Mapping the Italian Telegram Ecosystem: Communities, Toxicity, and Hate Speechcited by 2
- 2021Augmenting semantic lexicons using word embeddings and transfer learningcited by 1
- 2021MNet-Sim: A Multi-layered Semantic Similarity Network to Evaluate Sentence Similaritycited by 1
- 2024Who is better at math, Jenny or Jingzhen? Uncovering Stereotypes in Large Language Modelscited by 1
- 2026The Rise of Large Language Models and the Direction and Impact of US Federal Research Fundingcited by 1
12 most cited of 21 All 21 (JSON)
- 2026Rank-Turbulence Delta and Interpretable Approaches to Stylometric Delta Metrics21 Apr 2026
- 2026The Rise of Large Language Models and the Direction and Impact of US Federal Research Funding21 Jan 2026
- 2026PEST: Parameter Efficient Steering of Blackbox VLMs via Agentic Few-shot Alignment for Hateful Meme Moderation8 Jan 2026
- 2025Misalignment of LLM-Generated Personas with Human Perceptions in Low-Resource Settings28 Nov 2025
- 2025Do Androids Dream of Unseen Puppeteers? Probing for a Conspiracy Tendencies in Large Language Models5 Nov 2025
- 2025Mapping the Italian Telegram Ecosystem: Communities, Toxicity, and Hate Speech28 Apr 2025
- 2024Coordinated Reply Attacks in Influence Operations: Characterization and Detection25 Oct 2024
- 2024LML: A Novel Lexicon for the Moral Foundation of Liberty16 Jul 2024
- 2024Who is better at math, Jenny or Jingzhen? Uncovering Stereotypes in Large Language Models9 Jul 2024
- 2024HMAMP: Hypervolume-Driven Multi-Objective Antimicrobial Peptides Design1 May 2024
- 2023The Resume Paradox: Greater Language Differences, Smaller Pay Gaps17 Jul 2023
- 2023Wikibio: a Semantic Resource for the Intersectional Analysis of Biographical Events15 Jun 2023
12 newest of 21 All 21 (JSON)