[Paper Review] TimeLMs: Diachronic Language Models from Twitter
TimeLMs trains and releases time-aware RoBERTa-base-based language models trained on Twitter data in 3-month updates, demonstrating degradation of older models on future data and benefits of continual updating.
Despite its importance, the time variable has been largely neglected in the NLP and language model literature. In this paper, we present TimeLMs, a set of language models specialized on diachronic Twitter data. We show that a continual learning strategy contributes to enhancing Twitter-based language models' capacity to deal with future and out-of-distribution tweets, while making them competitive with standardized and more monolithic benchmarks. We also perform a number of qualitative analyses showing how they cope with trends and peaks in activity involving specific named entities or concept drift.
Motivation & Objective
- Motivate the need for diachronic, time-aware language models in fast-changing social media like Twitter.
- Show that continual, quarterly updating improves performance on future/out-of-distribution tweets.
- Provide a practical framework and tooling for time-aware evaluation and usage of TimeLMs.
Proposed method
- Build a base RoBERTa-base model trained on 2018-2019 Twitter data (2019-90M).
- Continually train updated models every three months using newly collected Twitter data.
- Clean data by removing top-1% most active users, removing duplicates/near-duplicates, and anonymizing mentions (except verified users).
- Evaluate models with TweetEval benchmark and pseudo-perplexity on time-sliced test sets.
- Provide a Python interface to compute pseudo-perplexity and masked predictions across time-specific models.
Experimental results
Research questions
- RQ1Do time-specific language models better handle diachronic shifts in Twitter data compared to static baselines?
- RQ2How does continual quarterly updating influence performance on newer versus older time periods?
- RQ3To what extent does increased data size versus recency drive improvements in time-aware LMs?
- RQ4Can a practical tooling interface enable easy time-aware evaluation and usage of TimeLMs?
Key findings
- Time-aware models show competitive performance on TweetEval tasks compared to baselines and BERTweet, with TimeLM-21 performing well across tasks.
- Pseudo-perplexity results indicate newer models generally outperform older ones on contemporaneous test data, reflecting reduced degradation over time.
- quarterly updates reduce degradation over time, though older periods benefit from larger cumulative data in some settings.
- A control experiment suggests that increasing training data size improves performance, while recency primarily benefits more recent test sets.
- Qualitative examples show time-specific models better predict period-relevant masked tokens (e.g., COVID era, Squid Game) than older models.
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.