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

(Chat)GPT v BERT Dawn of Justice for Semantic Change Detection

Francesco Periti, Haim Dubossarsky, Nina Tahmasebi

Abstract

In the universe of Natural Language Processing, Transformer-based language models like BERT and (Chat)GPT have emerged as lexical superheroes. This paper focuses on the temporal problem of semantic change, evaluating their ability to solve two diachronic extensions of the Word-in-Context (WiC) task: TempoWiC and HistoWiC. We investigate the potential of off-the-shelf technology like ChatGPT (and GPT) 3.5 compared to BERT, the current state-of-the-art for modeling semantic change. Our results indicate that ChatGPT performs significantly worse than the foundational GPT version. Furthermore, (Chat)GPT achieves slightly lower performance than BERT in detecting long-term changes but performs significantly worse in detecting short-term changes.

Introduction: The Moving Target of Language

Language is a moving target. Words like "gay" or "apple" have seen dramatic shifts in meaning over decades or even centuries. Detecting these shifts, known as Lexical Semantic Change (LSC), is vital for historians, sociologists, and linguists to accurately interpret historical and modern texts.

The "Dawn of Justice" showdown between ChatGPT and BERT for semantic change detection.

While BERT has been the gold standard for this task, the rise of generative Large Language Models (LLMs) like ChatGPT raises a crucial question: can these general-purpose giants unseat specialized models in niche linguistic tasks?

Methodology and Datasets

The researchers framed the problem as a Word-in-Context (WiC) task. Instead of analyzing entire libraries, models were given two sentences containing the same target word and asked to determine if the meaning remained consistent across both contexts.

The study compared BERT (bert-base-uncased) against ChatGPT (GPT-3.5), testing the latter via both the official OpenAI API and the public web interface. Three primary benchmarks were utilized:

  • TempoWiC: Designed to detect rapid, short-term semantic shifts in social media (Twitter/X).
  • HistoWiC: A new benchmark introduced by the authors to evaluate long-term changes in historical English literature.
  • SemEval-English: Used to rank words based on meaning shifts between 1810 and 2010.

Key Insights: The Creativity Penalty

A major finding was the "Creativity Penalty." For logic-heavy tasks like semantic detection, the model's inherent randomness—controlled by the "temperature" setting—is a hindrance. As shown in the experimental data, performance peaked when the temperature was set to 0, making the model deterministic.

Performance of the GPT API (Macro-F1) decreases as the temperature (randomness) increases across different benchmarks.

Additionally, ChatGPT exhibited a "Historical Advantage," performing significantly better on historical data (HistoWiC) than on social media data (TempoWiC). This suggests that while the model's training data is rich in historical text, it struggles to keep pace with the "noisy" and rapidly evolving nature of modern internet slang.

Results: Specialized BERT vs. Generalist GPT

Overall, BERT remains the superior tool for semantic change detection. It achieved a Macro-F1 score of .743, outperforming the best GPT API configuration ( .689) and the ChatGPT Web interface ( .580).

  • Short-term Gap: On the TempoWiC task, BERT dominated with a score of .751 compared to GPT’s .607.
  • Historical Dead Heat: On the HistoWiC task, the gap narrowed significantly. BERT scored .744, while the GPT API was nearly identical at .740.

Conclusion

While ChatGPT is a versatile "jack of all trades," it is not yet a master of semantic change detection, particularly for rapid social media shifts. BERT's stability and specialized performance keep it at the forefront of the field. However, the competitive performance of GPT on historical data suggests that LLMs have significant potential for long-term linguistic analysis. Future research will likely focus on whether more advanced models like GPT-4 or open-source alternatives like LLaMA can finally bridge the gap.

Summary updated

BibTeX
@inproceedings{periti2024chat,
  author = {Francesco Periti and Haim Dubossarsky and Nina Tahmasebi},
  title = {{(Chat)GPT v BERT Dawn of Justice for Semantic Change Detection}},
  booktitle = {EACL (Findings)},
  year = {2024},
  url = {https://openreview.net/forum?id=yIhGanjJIZ},
}
Figure