[论文解读] HistBERT: A Pre-trained Language Model for Diachronic Lexical Semantic Analysis
HistBERT 是一种基于 BERT 的语言模型,其在平衡的历史美国英语语料库(COHA)上进行预训练,以改进历时词汇语义分析。通过在历史文本上进行微调,HistBERT 纠正了 BERT 对现代语言的偏向,显著提升了词语相似性与语义演变检测性能,尤其在像 'coach' 这类歧义词上表现突出,表明历史 NLP 中模型性能的关键取决于训练数据的时间特征。
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.
研究动机与目标
- 探究在历史语料上进行预训练是否能提升上下文嵌入在历时语义分析中的性能。
- 通过在平衡的历史语料上进行训练,解决 BERT 对当代语言的偏向问题。
- 评估 HistBERT 是否能提升经历历史语义演变的词语的语义表征精度。
- 证明上下文嵌入在历史 NLP 中的有效性取决于输入文本的时间特征。
提出的方法
- 在跨越 1820 年代至 2010 年代的历时语料库——历史美国英语语料库(COHA)上,对基于 BERT 的模型进行预训练。
- 在预训练过程中使用掩码语言建模和下一句预测目标,与原始 BERT 相同。
- 在时间周期内对历史文本采用平衡分布进行训练,以减少对现代语言的偏向。
- 通过下游语义评估任务,利用 HistBERT 生成上下文嵌入,并与 BERT 进行比较。
- 应用主成分分析(PCA)可视化,分析像 'coach' 这类歧义词在不同词义上的用法表征变化。
- 通过测量在历史数据上预训练前后词语用法对之间余弦相似性的变化,量化语义演变。
实验结果
研究问题
- RQ1是否可以合理地使用预训练的 BERT 来建模历史语义演变?
- RQ2BERT 在历时语义分析中的性能是否因其预训练数据而受到对现代语言偏向的影响?
- RQ3在平衡的历史语料上进行额外预训练,是否能提升 BERT 检测语义演变的精度?
- RQ4输入文本的时间特征在多大程度上影响了历时分析中上下文嵌入的质量?
主要发现
- 与 BERT 相比,HistBERT 显著提升了词语相似性性能,尤其在经历语义演变的歧义词上表现更优。
- 在历史数据上预训练后,'Cinderella’s coach' 与 'stagecoach' 之间的余弦相似度提升了 0.066,表明语义对齐更优。
- 'express coach' 与 'stage coach' 之间的相似度下降了 0.13,表明对不同词义的区分能力得到改善。
- PCA 可视化显示,HistBERT-proto 降低了簇内距离并增加了簇间分离,纠正了 BERT 对词义的误分类。
- 对 'coach' 的 17 种用法进行平均嵌入偏移,结果为 −0.012,表明整体变换保持平衡,且在特定词义簇中实现了显著校正。
- HistBERT-proto 将 'Cinderella’s coach' 从 'go coach' 的聚类中移出,转向 'stagecoach',纠正了 BERT 的错误聚类。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。