NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Quantifying Distinctive Vocabulary with Log-Odds and Dirichlet Priors

This direction is split into other directions: lexical dominance scoring. Its last version stays readable and citable here.

Version 1 of 148 papers48 conceptsfrozen 2026-10-04

When researchers want to understand how two groups talk differently—whether comparing Democratic and Republican politicians, male and female streamers, or urban and rural Twitter users—they face a fundamental statistical hurdle: the "frequency trap."

In any large body of text, the most common words are almost always uninformative "function words" like the, and, or of. Conversely, the most "unique" words are often extremely rare, appearing only once or twice by chance. To find the words that truly characterize a group, researchers use a family of techniques centered on Log-Odds Ratios with Dirichlet Priors. This approach allows us to move beyond simple word counts to identify the "lexical saliency" of terms that define a specific sub-population or context.

The Problem with Simple Ratios

To find words that distinguish Group A from Group B, a naive approach might be to calculate a ratio: how many times does Group A use a word compared to Group B?

However, ratios are notoriously unstable for rare words. If a technical term appears once in a medical corpus and zero times in a general corpus, the ratio is technically infinite, yet the statistical evidence is incredibly weak. On the other hand, if a common word appears 10,000 times in one and 9,000 in the other, the ratio is close to 1.0, even though the difference of 1,000 occurrences is highly significant.

To solve this, researchers like Yong-Yeol Ahn and Elise Jing employ Log-Odds Ratios with a Dirichlet Prior. In Characterizing Partisan Political Narratives about COVID-19 on Twitter, they use this method to isolate the distinctive vocabulary of political parties. The "prior" acts as a stabilizer—a form of "shrinkage" that pulls the estimated ratio toward a background distribution. When data is sparse (rare words), the prior dominates, preventing them from appearing falsely significant. When data is abundant (common words), the observed counts overwhelm the prior, revealing true shifts in usage.

Measuring Lexical Saliency and Dominance

This statistical framework provides a "dominance score" or "saliency" metric. It essentially asks: Given what we know about how often this word appears in general, how much more likely is it to appear in this specific group?

This mechanism has been used to uncover deep-seated biases in both human and machine-generated text:

Beyond Demographics: Clinical and Cultural Signatures

The power of this approach lies in its ability to detect subtle "linguistic fingerprints" in messy, real-world data. By comparing a target corpus against a background baseline, researchers can identify markers of mental health or cultural shifts.

Rada Mihalcea has pioneered this "differential lexical analysis" across several domains. In A Computational Analysis of the Language of Drug Addiction, she used dominance scoring to identify how different drug classes produce distinct sensory or social vocabularies. Similarly, in Emotional and cognitive changes surrounding online depression identity claims, Laura Biester and James W. Pennebaker used log-likelihood ratios to track how emotional markers peak and subside around the time a user discloses a diagnosis.

Even in historical linguistics, these ratios provide a quantitative lens. Dan Jurafsky and Rob Voigt used log-likelihood ratios in Tradition and Modernity in 20th Century Chinese Poetry to measure "linguistic traditionalism," identifying which poets clung to rare literary diction versus those who embraced modern vernacular.

Why It Works: The Intuition of Contrast

The core intuition behind this research direction is that meaning is often defined by contrast. A word isn't just "frequent"; it is "informative" because it appears in one context instead of another.

Whether it is Anjalie Field tracking how local news stations adopt nationalized rhetoric in Does Local News Stay Local?, or Jacob Eisenstein using Beta-Binomial distributions to identify gendered "stances" in Gender in Twitter, the goal is the same: to find the signal that distinguishes a group from the background noise of common language. By using Dirichlet priors and log-odds, these researchers ensure that the signals they find are both statistically robust and human-interpretable.

Papers in this version

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_quantifying_distinctive_vocabulary_with__5e8cdf8f,
  title = {Quantifying Distinctive Vocabulary with Log-Odds and Dirichlet Priors},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/quantifying-distinctive-vocabulary-with-log-odds-and-dirichlet-priors/rdr_5e8cdf8f3d934a58b6ab7d5fa253de21},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-28},
}

This exact version (version 1, frozen text):

@misc{lacuna_quantifying_distinctive_vocabulary_with__5e8cdf8f_v1,
  title = {Quantifying Distinctive Vocabulary with Log-Odds and Dirichlet Priors},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/quantifying-distinctive-vocabulary-with-log-odds-and-dirichlet-priors/rdr_5e8cdf8f3d934a58b6ab7d5fa253de21/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-28},
}