Word Embeddings: What Works, What Doesn’t, and How to Tell the Difference for Applied Research
Abstract
Word embeddings are becoming popular for political science research, yet we know little about their properties and performance. To help scholars seeking to use these techniques, we explore the effects of key parameter choices—including context window length, embedding vector dimensions, and pretrained versus locally fit variants—on the efficiency and quality of inferences possible with these models. Reassuringly we show that results are generally robust to such choices for political corpora of various sizes and in various languages. Beyond reporting extensive technical findings, we provide a novel crowdsourced “Turing test”–style method for examining the relative performance of any two models that produce substantive, text-based outputs. Our results are encouraging: popular, easily available pretrained embeddings perform at a level close to—or surpassing—both human coders and more complicated locally fit models. For completeness, we provide best practice advice for cases where local fitting is required.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Rodriguez and Spirling (2022) provide extensive results on the comparison between pretrained and locally fit embeddings for current models.
“We note that Rodriguez and Spirling (2022) provide extensive results on this comparison for current models; thus, here we are mostly extending those enquiries to our specific approach.”
From Embedding Regression: Models for Context-Specific Description and Inference (2023) · cites this paper as Rodriguez and Spirling (2022)
Cites
Efficient Estimation of Word Representations in Vector Space
Mikolov, T., Chen, K., Corrado, G., & Dean, J. (2013) · arXiv · doi:10.48550/arxiv.1301.3781 · Cited by 26,568 · see citing works
I.—COMPUTING MACHINERY AND INTELLIGENCE
TURING, A. M. (1950) · Mind · doi:10.1093/mind/lix.236.433 · Cited by 10,290 · see citing works
Harris, Z. S. (1954) · <i>WORD</i> · doi:10.1080/00437956.1954.11659520 · Cited by 4,807 · see citing works
Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddings
Bolukbasi, T., Chang, K.-W., Zou, J., Saligrama, V., & Kalai, A. (2016) · arXiv · doi:10.48550/arxiv.1607.06520 · Cited by 1,615 · see citing works
How to analyze political attention with minimal assumptions and costs
Quinn, K. M., Monroe, B. L., Colaresi, M., Crespin, M. H., & Radev, D. R. (2010) · American Journal of Political Science · doi:10.1111/j.1540-5907.2009.00427.x · Cited by 671 · see citing works
Monroe, B. L., Colaresi, M. P., & Quinn, K. M. (2008) · Political Analysis · doi:10.1093/pan/mpn018 · Cited by 542 · see citing works
Flagged first, then by citations
Cited by
Sorted by citations
Out of One, Many: Using Language Models to Simulate Human Samples
Argyle, L. P., Busby, E. C., Fulda, N., Gubler, J. R., Rytting, C., & Wingate, D. (2023) · Political Analysis · doi:10.1017/pan.2023.2 · Cited by 783 · see citing works
Ash, E., & Hansen, S. (2023) · Annual Review of Economics · doi:10.1146/annurev-economics-082222-074352 · Cited by 197 · see citing works
Embedding Regression: Models for Context-Specific Description and Inference
RODRIGUEZ, P. L., SPIRLING, A., & STEWART, B. M. (2023) · American Political Science Review · doi:10.1017/s0003055422001228 · Cited by 70 · see citing works
“We note that Rodriguez and Spirling (2022) provide extensive results on this comparison for current models; thus, here we are mostly extending those enquiries to our specific approach.”
BackgroundMethodInfluentialSelf-citation
- Authors
- Rodriguez, P. L., & Spirling, A.
- Affiliations
- New York University (US)
- ORCID
- Spirling, Arthur
- Venue
- The Journal of Politics
- Publisher
- University of Chicago Press
- Published
- 2022-01-01
- Volume
- 84
- Issue
- 1
- Pages
- 101-115
- ISSN
- 0022-3816 (ISSN-L)
- 1468-2508
- OpenAlex
- W3159574466
- Cited by
- 254
- References
- 6
- Citations by year
- 2026: 34 · 2025: 83 · 2024: 39 · 2023: 55 · 2022: 23 · 2021: 13 · 2020: 6 · 2019: 1
- FWCI
- 82.99
- Type
- journal article
- Language
- en
- Open access
- closed
- Locations
- The Journal of Politics (publishedVersion)
- Topics
- Social Sciences › General Social Sciences › Computational and Text Analysis Methods
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Sentiment Analysis and Opinion Mining
- Keywords
- word embeddings, political science research, embedding dimension, pre-trained embeddings, model comparison, crowdsourced evaluation, Turing test, multilingual text analysis
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review