[Paper Review] Dynamic Bernoulli Embeddings for Language Evolution
This paper introduces dynamic Bernoulli embeddings, a probabilistic framework that models word embeddings as latent variables evolving over time via a Gaussian random walk. It outperforms static and independently trained embeddings in capturing semantic shifts, revealing how word meanings evolve in historical texts such as U.S. Senate speeches, ACM computer science abstracts, and arXiv machine learning papers.
Word embeddings are a powerful approach for unsupervised analysis of language. Recently, Rudolph et al. (2016) developed exponential family embeddings, which cast word embeddings in a probabilistic framework. Here, we develop dynamic embeddings, building on exponential family embeddings to capture how the meanings of words change over time. We use dynamic embeddings to analyze three large collections of historical texts: the U.S. Senate speeches from 1858 to 2009, the history of computer science ACM abstracts from 1951 to 2014, and machine learning papers on the Arxiv from 2007 to 2015. We find dynamic embeddings provide better fits than classical embeddings and capture interesting patterns about how language changes.
Motivation & Objective
- To model how word meanings change over time in large-scale historical text collections.
- To develop a probabilistic, time-continuous framework for word embeddings that supports sequential latent variables across time slices.
- To enable better representation learning in low-data time periods by leveraging shared latent dimensions across time.
- To provide interpretable insights into semantic drift through dynamic neighborhood analysis and drift metrics.
- To outperform static and independently trained embeddings in predictive performance and interpretability on longitudinal text data.
Proposed method
- Formulates word embeddings within an exponential family framework, treating conditional word co-occurrence probabilities as parametric models.
- Imposes a Gaussian random walk prior on embedding vectors across time slices to model smooth temporal drift.
- Uses stochastic optimization to fit the model to data, enabling scalable training on large historical corpora.
- Applies time-sliced data partitioning (e.g., one year per slice) to model changes in word usage over decades.
- Employs a one-dimensional projection of embedding vectors to visualize 'meaning' drift over time.
- Computes absolute drift as the Euclidean distance between initial and final embeddings to quantify semantic change.
Experimental results
Research questions
- RQ1How can word embeddings be adapted to model semantic evolution over time in large historical text collections?
- RQ2To what extent do dynamic embeddings improve predictive performance compared to static or independently trained embeddings?
- RQ3What patterns of semantic change can be revealed through dynamic neighborhood analysis of words like 'intelligence', 'iraq', and 'prostitution'?
- RQ4How do words with stable meanings (e.g., 'computer') or multiple meanings (e.g., 'values') evolve in their embedding neighborhoods?
- RQ5Can dynamic embeddings detect shifts in societal or technical discourse, such as the transformation of 'prostitution' from a moral to a social justice term?
Key findings
- Dynamic embeddings provide a better fit to data than static or independently trained embeddings, as measured by predictive performance on word co-occurrence.
- The word 'iraq' exhibits the largest absolute drift in the U.S. Senate speeches corpus, reflecting a shift from geographical reference to association with war, terrorism, and political conflict.
- The embedding neighborhood of 'intelligence' in ACM abstracts evolves from government intelligence to cognitive and then artificial intelligence, capturing technical discourse shifts.
- Words like 'prostitution'—rare and sparsely used—still show meaningful semantic drift, shifting from moral condemnation to associations with harassment and human rights.
- Dynamic embeddings reveal that 'jobs' in 2008 is associated with 'create' and 'opportunities', indicating a shift in discourse toward economic optimism compared to earlier periods.
- The model successfully captures multiple types of semantic change: meaning evolution (e.g., 'computer'), dominant meaning shift (e.g., 'values'), and contextual reconfiguration (e.g., 'iraq').
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.