Using cross‐encoders to measure the similarity of short texts in political science

Abstract In many settings, scholars wish to estimate the similarity of political texts. However, the most commonly used methods in political science struggle to identify when two texts convey the same meaning as they rely too heavily on identifying words that appear in both documents. This limitation is especially salient when the underlying documents are short, an increasingly prevalent form of textual data in modern political research. Building on recent advances in computer science, I introduce to political science cross‐encoders for precise estimates of semantic similarity in short texts. Scholars can use either off‐the‐shelf versions or build a customized model. I illustrate this approach in three examples applied to social messages generated in a telephone game, news headlines about US Supreme Court decisions, and Facebook posts from members of Congress. I show that cross‐encoders, which utilize pair‐ level embeddings, offer superior performance across tasks relative to word‐based and sentence‐level embedding approaches.

Authors

Institutions

Publication Details

Journal
American Journal of Political Science
Published
2025-03-04
DOI
https://doi.org/10.1111/ajps.12956
Citations
5
Primary Topic
Computational and Text Analysis Methods
Type
article
Field-Weighted Citation Impact
26.71
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Using cross‐encoders to measure the similarity of short texts in political science

Gechun Lin
5 citations
American Journal of Political Science
Computational and Text Analysis Methods
26.71
article

Using cross‐encoders to measure the similarity of short texts in political science

Gechun Lin
article en
5 citations

Abstract

Abstract In many settings, scholars wish to estimate the similarity of political texts. However, the most commonly used methods in political science struggle to identify when two texts convey the same meaning as they rely too heavily on identifying words that appear in both documents. This limitation is especially salient when the underlying documents are short, an increasingly prevalent form of textual data in modern political research. Building on recent advances in computer science, I introduce to political science cross‐encoders for precise estimates of semantic similarity in short texts. Scholars can use either off‐the‐shelf versions or build a customized model. I illustrate this approach in three examples applied to social messages generated in a telephone game, news headlines about US Supreme Court decisions, and Facebook posts from members of Congress. I show that cross‐encoders, which utilize pair‐ level embeddings, offer superior performance across tasks relative to word‐based and sentence‐level embedding approaches.

American Journal of Political ScienceVol. 69(4)
Washington University in St. Louis (US)
Openalex Percentile: Top 1%
Computational and Text Analysis Methods
26.71
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Using cross‐encoders to measure the similarity of short texts in political science — Gechun Lin · American Journal of Political Science (2025) | TGRS Research Map | TGRS