[Paper Review] HistBERT: A Pre-trained Language Model for Diachronic Lexical Semantic Analysis
HistBERT is a BERT-based language model pre-trained on the balanced Corpus of Historical American English (COHA) to improve diachronic lexical semantic analysis. By fine-tuning on historical text, HistBERT corrects BERT's bias toward modern language, significantly improving word similarity and semantic shift detection—especially for ambiguous terms like 'coach'—demonstrating that model performance in historical NLP depends critically on the temporal profile of training data.
Contextualized word embeddings have demonstrated state-of-the-art performance in various natural language processing tasks including those that concern historical semantic change. However, language models such as BERT was trained primarily on contemporary corpus data. To investigate whether training on historical corpus data improves diachronic semantic analysis, we present a pre-trained BERT-based language model, HistBERT, trained on the balanced Corpus of Historical American English. We examine the effectiveness of our approach by comparing the performance of the original BERT and that of HistBERT, and we report promising results in word similarity and semantic shift analysis. Our work suggests that the effectiveness of contextual embeddings in diachronic semantic analysis is dependent on the temporal profile of the input text and care should be taken in applying this methodology to study historical semantic change.
Motivation & Objective
- To investigate whether pre-training on historical corpora improves the performance of contextualized word embeddings in diachronic semantic analysis.
- To address the bias in BERT toward contemporary language by training on a balanced historical corpus.
- To evaluate whether HistBERT enhances the precision of semantic representation for words undergoing historical semantic change.
- To demonstrate that the effectiveness of contextual embeddings in historical NLP is contingent on the temporal profile of input text.
Proposed method
- Pre-training a BERT-based model on the Corpus of Historical American English (COHA), a longitudinal corpus spanning from the 1820s to the 2010s.
- Using masked language modeling and next sentence prediction objectives during pre-training, similar to the original BERT.
- Training on a balanced distribution of historical text across time periods to reduce modern language bias.
- Generating contextualized word embeddings via HistBERT and comparing them to BERT using downstream semantic evaluation tasks.
- Applying PCA visualization to analyze shifts in word usage representations across different senses of ambiguous words like 'coach'.
- Quantifying semantic shifts by measuring changes in cosine similarity between word usage pairs before and after pre-training on historical data.
Experimental results
Research questions
- RQ1Is it valid to use pre-trained BERT for modeling historical semantic change?
- RQ2Does BERT’s performance in diachronic semantic analysis suffer from bias toward modern language due to its pre-training data?
- RQ3Can additional pre-training on balanced historical corpora improve the precision of BERT in detecting semantic shifts?
- RQ4To what extent does the temporal profile of input text affect the quality of contextualized embeddings in diachronic analysis?
Key findings
- HistBERT significantly improves word similarity performance compared to BERT, particularly for ambiguous words undergoing semantic change.
- The cosine similarity between 'Cinderella’s coach' and 'stagecoach' increased by 0.066 after pre-training on historical data, indicating better semantic alignment.
- The similarity between 'express coach' and 'stage coach' decreased by 0.13, showing improved differentiation of distinct senses.
- PCA visualization revealed that HistBERT-proto reduces intra-cluster distance and increases inter-cluster separation, correcting BERT’s misclassification of word senses.
- The average embedding shift across 17 usages of 'coach' was −0.012, indicating balanced overall transformation, with substantial corrections in specific sense clusters.
- HistBERT-proto successfully repositioned 'Cinderella’s coach' away from 'go coach' and toward 'stagecoach', correcting BERT’s erroneous clustering.
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.