Elamur Research⌕
☰
home / papers / 2014 / Temporal Analysis of Language through Neural Language Models

Temporal Analysis of Language through Neural Language Models

Summary

This paper tackles the automatic detection of lexical change over the twentieth century. Earlier diachronic studies often relied on researchers selecting candidate words by hand. Here, the system both discovers which words shifted and locates when the shift happened. The authors sampled 10 million 5-grams per year from the English fiction portion of the Google Books Ngram corpus, covering 1850–2009. They trained a Skip-gram model one year at a time, seeding each year's vectors with those learned for the preceding year, so all yearly spaces stay comparable without any explicit alignment step. They then compared a word's vector in 2009 with its 1900 vector using cosine similarity. Words with low self-similarity, such as gay, cell, checked and actually, are flagged as changed, while function words barely move. Year-by-year similarity curves place the shift of cell around 1985–2009 and that of gay around the 1970s. The approach is simple and needs no supervision, and the resulting yearly vectors were released publicly.

Key points

  • Data: about 10M sampled 5-grams per year from the Google Books Ngram English fiction corpus, 1850–2009. Text was lower-cased, and the vocabulary was limited to words seen at least 10 times overall. The years 1850–1899 served only to warm up the model.
  • Model setup:
    • Skip-gram via gensim, with 200-dimensional vectors and a window size of 4.
    • The learning rate decays linearly from 0.01 to 0.0001 within each epoch.
    • Full training took roughly 4 days on a 2.9 GHz machine.
  • Most changed words: checked had the lowest 1900-vs-2009 cosine similarity (0.3831), followed by check, gay (0.4079), actually, supposed, guess and cell (0.4413). Words occurring fewer than 500 times were excluded from this ranking.
  • Least changed words: these are almost entirely function words, such as by (0.9331), than and for.
  • Semantic shifts shown by neighbours:
    • gay moved from cheerful/pleasant towards lesbian/bisexual.
    • cell moved from closet/dungeon towards phone/cordless.
    • checked shifted from "restrain" towards "verify".
  • Main limitation: a word whose usage declined or disappeared keeps an essentially frozen vector, so the method misses it.

Interesting ideas

  • I1. Chronological warm-start initialisation. Each period's embeddings start from the previous period's vectors. This keeps all time slices in one shared coordinate space, so cross-period cosine comparisons are meaningful without a post-hoc alignment step. The trick could transfer to any sequence of corpora, for example by region or domain.
  • I2. Convergence measured by angular change. Training on a slice stops once the mean angle between a word's vectors in consecutive epochs falls below a threshold. This criterion is defined directly on the embeddings and could replace a fixed epoch count when retraining models incrementally.
  • I3. A chance baseline from global drift. Plotting the average self-similarity of all words gives a reference line for movement caused by sampling and random drift. A word only counts as changed if it falls clearly below this band, which is a cheap way to calibrate drift-based alerts in other settings.
  • I4. Neighbour trajectories as an explanation tool. Tracking a word's similarity to its old and new nearest neighbours over time shows when a change happened and in what direction. Pairing this with real example sentences from each period makes the result easy for humans to verify.
  • I5. Combining distance with frequency (proposed fix). Since fading words keep stable vectors, the authors suggest mixing cosine distance with frequency change into one metric. This is a useful reminder that embedding stability can reflect missing evidence rather than a lack of change.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

Fields: Natural language processing

Cited by

135 papers of our library cite it (of the 140884 whose bibliographies we read); 6 of them have a page here, 129 not yet.

Cite

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.3115/v1/w14-2517

@inproceedings{kim2014temporal,
  title = {{Temporal Analysis of Language through Neural Language Models}},
  author = {Kim, Yoon and Chiu, Yi-I and Hanaki, Kentaro and Hegde, Darshan and Petrov, Slav},
  booktitle = {Proceedings of the ACL 2014 Workshop on Language Technologies and Computational Social Science},
  year = {2014},
  doi = {10.3115/v1/w14-2517},
  url = {https://doi.org/10.3115/v1/w14-2517}
}

References

16 references, 5 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Y. Bengio, R. Ducharme, P. Vincent. 2003. Neural Probabilitistic Language Model. Journal of Machine Learning Research 3:1137–1155. find
  2. D. Blei, A. Ng, M. Jordan, J. Lafferty. 2003. Latent Dirichlet Allocation. Journal of Machine Learning Research 3:993–1022. find our card
  3. R. Collobert, J. Weston, L. Bottou, M. Karlen, K. Kavukcuglu, P. Kuksa. 2011. Natural Language Processing (Almost) from Scratch. Journal of Machine Learning Research 12:2493–2537. find our card
  4. S. Deerwester, S. Dumais, G. Furnas, T. Landauer, R. Harshman. 2011. Indexing by Latent Semantic Analysis. Journal of the American Society for Information Science, 41(6):391–407. find
  5. K. Gulordava, M. Baroni. 2011. A Distributional Similarity Approach to the Detection of Semantic Change in the Google Books Ngram Corpus. Proceedings of the GEMS 2011 Workshop. find our card
  6. E. Lieberman, J.B. Michel, J. Jackson, T. Tang, M.A. Nowak. 2007. Quantifying the evolutionary dynamics of language. Nature, 449: 716–716, October. find
  7. Y. Lin, J.B. Michel, E.L. Aiden, J. Orwant, W. Brockman, S. Petrov. 2012. Syntactic Annotations for the Google Books Ngram Corpus. Proceedings of the Association for Computational Linguistics 2012. find
  8. J.B Michel, Y.K. Shen, A.P. Aiden, A. Veres, M.K. Gray, J.P. Pickett, D. Hoiberg, D. Clancy, P. Norvig, J. Orwant, S.Pinker, M.A. Nowak, E.L. Aiden. 2011. Quantitative Analysis of Culture Using Millions of Digitized Books. Science, 331(6014): 176– 182, January. find
  9. R. Mihalcea, V. Nastase. 2012. Word Epoch Disambiguation: Finding How Words Change Over Time. Proceedings of the Association for Computational Linguistics 2012. find
  10. T. Mikolov, M. Karafiat, L. Burget, J. Cernocky, S. Khudanpur. 2010. Recurrent Neural Network Based Language Model. Proceedings of Interspeech. find
  11. T. Mikolov, W.T Yih, G. Zweig. 2013a. Linguistic Regularities in Continuous Space Word Representations. Proceedings of NAACL-HLT 2013, 746–751. find our card
  12. T. Mikolov, K. Chen, G. Corrado, J.Dean. 2013b. Efficient Estimation of Word Representations in Vector Space arXiv Preprint. find
  13. O. Popescu, C. Strapparava. 2013. Behind the Times: Detecting Epoch Changes using Large Corpora. International Joint Conference on Natural Language Processing, 347–355 find
  14. E. Sagi, S. Kaufmann, B. Clark 2009. Semantic Density Analysis: Comparing Word Meaning across Time and Phonetic Space. Proceedings of the EACL 2009 Workshop on GEMS: 104–111. find
  15. D.T. Wijaya, R. Yeniterzi. 2011. Understanding semantic change of words over centuries. Proceedings of the 2011 international workshop on DEtecting and Exploiting Cultural diversiTy on the social web: 35–40. find
  16. W. Yih, K. Toutanova, J. Platt, C. Meek. 2011. Learning Discriminative Projections for Text Similarity Measures. Proceedings of the Fifteenth Conference on Computational Natural Language Learning, 247–256. find our card

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/kim-2014-temporal-analysis-language-through-neural/