paper-with-me

홈 › Papers

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

2020-08-05 · Ryan J. Gallagher, Morgan R. Frank, Lewis Mitchell, Aaron J. Schwartz, Andrew J. Reagan, Christopher M. Danforth, Peter Sheridan Dodds

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.

📄 PDF Abstract BibTeX arXiv:2008.02250

Code (3)

ryanjgallagher/shifterator 공식 구현
JasonKessler/scattertext tf
john-guerra/MIDS_W209_Information_Visualization_Slides tf

Tasks

Diagnostic

Similar Papers 제목 키워드 기반

Explaining and visualizing black-box models through counterfactual paths

2023-07-15 · Bastian Pfeifer, Mateusz Krzyzinski, Hubert Baniecki, Anna Saranti 외

Explainable AI (XAI) is an increasingly important area of machine learning research, which aims to make black-box models transparent and interpretable. In this paper, we propose a novel approach to XAI that uses the so-c…

counterfactualExplainable Artificial Intelligence (XAI)Feature ImportanceKnowledge Graphs

Generalized Shortest Path Kernel on Graphs

2015-10-22 · Linus Hermansson, Fredrik D. Johansson, Osamu Watanabe

We consider the problem of classifying graphs using graph kernels. We define a new graph kernel, called the generalized shortest path kernel, based on the number and length of shortest paths between nodes. For our exampl…

General ClassificationGraph Classification

TypeShift: A User Interface for Visualizing the Typing Production Process

2021-03-07 · Adam Goodkind

TypeShift is a tool for visualizing linguistic patterns in the timing of typing production. Language production is a complex process which draws on linguistic, cognitive and motor skills. By visualizing holistic trends i…

Visualizing Linguistic Shift

2016-11-20 · Salman Mahmood, Rami Al-Rfou, Klaus Mueller

Neural network based models are a very powerful tool for creating word embeddings, the objective of these models is to group similar words together. These embeddings have been used as features to improve results in vario…

Document ClassificationLanguage ModelingLanguage Modellingnamed-entity-recognition+4

Visualizing and Explaining Language Models

2022-04-30 · Adrian M. P. Braşoveanu, Răzvan Andonie

During the last decade, Natural Language Processing has become, after Computer Vision, the second field of Artificial Intelligence that was massively changed by the advent of Deep Learning. Regardless of the architecture…

Deep LearningLanguage ModelingLanguage Modelling