SMILE: Evaluation and Domain Adaptation for
Social Media Language Understanding


Abstract

We study the ability of transformer-based language models (LMs) to understand social media language. Social media (SM) language is distinct from standard written language, yet existing benchmarks fall short of capturing LM performance in this socially, economically, and politically important domain. We quantify the degree to which social media language differs from conventional language and conclude that the difference is significant both in terms of token distribution and rate of linguistic shift. Next, we introduce a new benchmark for Social MedIa Language Evaluation (SMILE) that covers four SM platforms and eleven tasks. Finally, we show that learning a tokenizer and pretraining on a mix of social media and conventional language yields an LM that outperforms the best similar-sized alternative by 4.2 points on the overall SMILE  score.

<ccs2012> <concept> <concept_id>10002951.10003260.10003282.10003292</concept_id> <concept_desc>Information systems Social networks</concept_desc> <concept_significance>100</concept_significance> </concept> <concept> <concept_id>10010147.10010178.10010179</concept_id> <concept_desc>Computing methodologies Natural language processing</concept_desc> <concept_significance>300</concept_significance> </concept> <concept> <concept_id>10010147.10010257.10010258</concept_id> <concept_desc>Computing methodologies Learning paradigms</concept_desc> <concept_significance>300</concept_significance> </concept> <concept> <concept_id>10010147.10010257.10010258.10010262.10010277</concept_id> <concept_desc>Computing methodologies Transfer learning</concept_desc> <concept_significance>300</concept_significance> </concept> <concept> <concept_id>10003120.10003130.10003131.10011761</concept_id> <concept_desc>Human-centered computing Social media</concept_desc> <concept_significance>300</concept_significance> </concept> </ccs2012>

1 Introduction↩︎

Social media (SM) plays an increasingly important role in our lives. As of 2021, seven out of ten US adults use at least one social media platform like Facebook, Twitter, Instagram, or Pinterest [1]. That proportion likely underestimates SM use if we broaden the definition of SM to include user-generated content like restaurant reviews, news article comments, and forum discussions. The ever-growing trove of text produced by social media users is both a challenge and an opportunity for natural language processing (NLP). NLP models with a strong grasp of social media language could perform a variety of socially, economically, and politically important tasks. They could, for example, tackle automatic content moderation to improve the quality of online discourse, summarize restaurant reviews to simplify the decision-making process of hungry customers, and detect and stunt disinformation campaigns aimed at sowing societal instability.

However, modeling social media language is inherently challenging. Due to its informal, noisy, and fast-evolving nature, social media language on platforms such as Twitter [2] is different from the language found in books, news publications, and Wikipedia. Additionally, the tasks that organically arise from the social media domain (trend detection, emoji prediction, cyberbullying detection, online marketing, etc.) are qualitatively different from the tasks natural to the domain of standard written language (translation, entailment, grammar checking, etc.). Although the recipe of pretraining language models on massive conventional corpora has been successful in pushing the state-of-the-art of general language understanding [3][8], it is unclear if this recipe’s success will transfer to the social media domain. The reason for this lack of clarity is that general language understanding benchmarks [9][15] include neither SM data nor tasks and therefore do not measure social media language understanding.

While huge strides have been made in the social media language understanding literature to mitigate these challenges, existing work has spotty coverage of the full range of social media platforms and social media language understanding tasks. First, some related works studied vocabulary shift on a single platform (Twitter, [16]) and compared corpora of different genres [17], [18]. However, they did not directly compare social media language with conventional language. Similarly, many existing social media language understanding benchmarks either focus on a single platform [19], [20] or a single task [21][23] and thus cannot provide a holistic evaluation. Finally, while there exist language models pretrained on multiple platforms in specialized domains such as scientific literature [24], biomedical text [25], [26], and electronic health records [27], some of the most popular social media language models [2], [19], [28][31] are explicitly pretrained on data from a single social media platform. It is unclear whether these models generalize well across social media platforms.

Towards a more comprehensive understanding of social media language across multiple platforms and multiple application scenarios, we propose a new benchmark and a recipe for training language models that accounts for the divergence between social media language and conventional language. Specifically, we consider social media language understanding in English and make the following contributions:

  • We conduct a time-aligned comparison between the vocabulary (token) distribution of (1) posts from Twitter and Reddit and (2) that of mC4 [32], a conventional text corpus used to pretrain language models in many existing works [32][34]. We observe a substantial difference between the two distributions and also find that social media language changes twice as fast as conventional language (3).

  • We compile a Social MedIa Language Evaluation (SMILE) benchmark that includes social media language data from four platforms (Twitter, Reddit, Yelp, and Civil Comments) across both classification and generation tasks organically arising from the social media domain. This newly compiled benchmark coupled with an evaluation protocol is a well-rounded toolkit for the evaluation of an LM’s social media language understanding ([sec:benchmark]).

  • We provide an effective recipe for training LMs for social media language understanding backed by a large-scale empirical study conducted using the SMILE  benchmark and training regimen for T5-based architectures [4]. Our study suggests that by training a custom tokenizer and pretraining the model from scratch using a corpus of both social media and conventional language, we can improve performance by 4.2 points compared to a similarly-sized baseline model (5). We carry out additional ablation studies in 6.

It is worth noting that very large language models (LLMs) like PaLM [6], [35] exhibit emergent few-shot capabilities in understanding and generating different styles, modes, and dialects of language. Thus the challenges of social media language understanding outlined above may be less pronounced for this class of models. To that end, we outline some interesting research directions in 7. The central focus of our study, however, is models that are three orders of magnitude smaller in terms of parameters—i.e. 220M vs. 540B for the largest PaLM model—and follow a pretraining-fine-tuning workflow (2) rather than the few-shot learning setup.

The rest of the paper is organized as follows. 2 provides necessary background. 3 presents our comparison between social media language and conventional language. In [sec:benchmark], we describe the compilation of the SMILE  benchmark. Using the SMILE  benchmark, we report the findings of our empirical study on learning language models for social media language understanding in 5. We carry out related ablation studies in 6 and discuss future work in 7. Finally, we conclude the paper in 8.

2 Background↩︎

We describe a typical end-to-end workflow for training models for language understanding. This workflow proceeds in three steps: data preparation, tokenizer setup, and model training. We present these three steps in detail, describing related works and highlighting why they may be insufficient for social media language understanding.

2.0.0.1 Data Preparation

In this step, we gather data needed to produce a language model from scratch. Two types of data are needed: training corpora and evaluation benchmarks.

  • Training corpora typically consist of text crawled from the web with filters applied for data quality. For example, the C4 corpus [4], which is widely used to pretrain language models for general language understanding, contains 750GB of meticulously filtered web text free from offensive language, paragraphs that are too short, and sentences that do not end in a terminal punctuation mark. While such filters may make sense for general language understanding, it is unclear whether these design choices are as suited to social media language understanding: units of social media text tend to be short and poorly punctuated, and understanding offensive language likely key to downstream social media tasks like online safety. In fact, as a result of filtering, the C4 corpus does not include any Twitter data. We further study this disparity between social media language and conventional language in 3.

  • Evaluation benchmarks typically contain a number of small-scale datasets with labels for a particular task, e.g., sentiment classification. These datasets typically have splits: a train split used to fine-tune a model and a test split used to evaluate the fine-tuned model’s performance on that task. In social media understanding, a popular evaluation benchmark is TweetEval [19], which consists of seven classification tasks measuring the capacity of language models to understand tweets. Other evaluation benchmarks exist [31], [36]; however, existing benchmarks are skewed towards particular social media platforms or particular tasks. We seek to provide a more comprehensive measure with our newly-complied benchmark in [sec:benchmark].

2.0.0.2 Tokenizer setup

Tokenization is the process of segmenting strings of text into sequences of characters known as tokens. The set of possible tokens is determined in advance and constitutes the vocabulary of the language model, the basic units of the model’s language understanding. Our study relies on the SentencePiece model (SPM) [37], which selects frequently observed whitespace-agnostic tokens from a large training corpus. Given the discrepancy between social media language and the standard language of the web, one may conjecture that training a tokenizer specific to social media language could be helpful. However, related results from existing works in learning domain-specific language models are mixed [19], [25]. In 5 we investigate this conjecture further.

2.0.0.3 Model training

Pioneered by [3], masked language modeling (MLM) is an effective procedure of pretraining transformer based language models [38]. The setup asks the model to predict randomly masked tokens in sentences drawn from the pretraining corpus in a Cloze test fashion. Once the model is pretrained, it is further trained (i.e. fine-tuned) on the evaluation benchmark train split. The fine-tuned model is then evaluated on the benchmark test split to measure its performance on a particular task. There are a few existing language models for social media language understanding. For example, [2], [19], [28], [30], [31] reported language models trained on Twitter text. Meanwhile, MentalBERT [29], a langauge model for mental-health-related tasks, is trained on Reddit data. In general language understanding, [35] and [6] use 50% social media content in pretraining LaMDA and PaLM, respectively. As mentioned in 2, this class of models is not in scope for this study.

Figure 1: Left: Symmetric KL (SKL) divergence and Jaccard distance (JD) between the vocabulary distributions of T&R and English mC4. Right: SKL and JD of the month-to-month vocabulary distributions of T&R and English mC4.

3 Comparing Social Media Language with Conventional Language↩︎

In this section, we empirically study the difference between conventional and social media language to motivate our subsequent exploration of model training recipes. Our findings suggest that (1) the language used on social media is significantly different from the standard language of the web (3.1) and (2) social media language changes twice as fast as conventional language (3.2).

3.0.0.1 Datasets

To represent social media language, we compile a collection of English-only text posts from publicly-crawlable Twitter (80%) and Reddit (20%) pages (T&R). To represent conventional language we use the English portion of mC4, C4’s multilingual descendant that is also widely used to pretrain language models for general language understanding [32]. We focus on the subset of T&R and English mC4 that overlap in post/document publish time: between April 2020 and August 2020. We then split the two corpora into five segments representing each month, sampling 4M posts/documents from each split.

3.1 Vocabulary Difference between Conventional and Social Media Language↩︎

We quantify the difference in social media language and conventional language by measuring the difference in token distribution between T&R and the English mC4 corpus.

3.1.0.1 Metrics

We compute the symmetric KL divergence (SKL, a.k.a. population stability index or PSI) between token distributions in each five monthly segments of T&R and English mC4 as a measure of their difference. SKL ranges from \(0\) to \(+\infty\). [39] suggests that, as a rule of thumb, an SKL smaller than \(0.1\) implies little difference, an SKL between \(0.1\) and \(0.25\) implies moderate difference, and an SKL higher than \(0.25\) implies a significant difference between two distributions. We use this rough rule of thumb to interpret the SKL divergence results. Following a related study [16], we also report Jaccard distance (JD) between each two vocabularies (token sets). Jaccard distance ranges from \(0\) to \(1\). While various other approaches are proposed in computational linguistics [17], [40][42] to compare corpora, we focus on the comparison between token distributions because our downstream workflow takes tokens as input, and hence the changes in token distribution directly influence subsequent language modeling.

3.1.0.2 Protocol

For each of the five month-segments of T&R and English mC4, we train an SPM tokenizer with a vocabulary size of 50,000 to compute the token frequency distribution for that subcorpus. For each segment of T&R and segment of English mC4 corresponding to the same month, we take the tokens that are in either vocabulary along with their frequencies to obtain two categorical distributions over the same set of tokens. We then calculate the SKL divergence between these two distributions. To calculate the Jaccard distance, we count the number of tokens in the intersection \(i\) and union \(u\) of the two segments of the same month from T&R and English mC4. The Jaccard distance is then given as \(1-i/u\). Note that our time-aligned comparison controls for temporal confounding, hence providing a more accurate perspective on the difference between T&R and English mC4.

3.1.0.3 Results

1 reports the token distribution difference between T&R and the English mC4 corpus over five months. In terms of SKL, the divergence between the two is consistently higher than \(2.8\), a significant difference. The consistently high Jaccard distance (\(>0.65\)) between T&R and English mC4 corroborates this finding. Thus we conclude that social media language is significantly different from conventional language. These empirical observations validate our intuition and motivate the need for a social media language modeling recipe distinct from the status quo.

3.2 Temporal Vocabulary Shift in Social Media Language and Conventional Language↩︎

We quantify the temporal vocabulary shifts in social media and in conventional language by measuring the month-to-month token distribution shift in T&R and English mC4 and compare the rate at which these two modes of language change over time.

3.2.0.1 Metrics and Protocol

For both T&R and English mC4, we compute SKL divergence and Jaccard distance between the token distributions of adjacent months to measure. The calculation of these metrics follows the same protocol as in 3.1. The five monthly segments result in four month-to-month SKL divergence and Jaccard distance statistics for both T&R and English mC4.

3.2.0.2 Results

1 presents the month-to-month SKL and Jaccard distance for T&R and English mC4. In terms of SKL, we observe significant month-to-month changes (\(>0.25\)) of the vocabulary in T&R. Meanwhile, the changes in the English mC4 corpus are less significant (\(<0.25\)). In terms of both month-to-month SKL divergence and Jaccard distance, the numbers for T&R are roughly twice as high as for English mC4. These observations suggest that social media language changes faster than conventional language.

4 The Social Media Language Evaluation (SMILE) Benchmark↩︎

Table 1: Key characteristics of the social media language understanding tasks in the SMILE Benchmark; CLS: classification task; GEN: generation task.
Name Platform Type |Train| |Test| Metric
TE Emoji Twitter CLS 45,000 50,000 MA F1
TE Emotion Twitter CLS 3,257 1,421 MA F1
TE Hate Twitter CLS 9,000 2,970 MA F1
TE Irony Twitter CLS 2,862 784 F1
TE Offense Twitter CLS 11,916 860 MA F1
TE Sentiment Twitter CLS 45,615 12,284 MA recall
TE Stance Twitter CLS 2,620 1,249 non-neutral MA F1
CCT CC CLS 1,611,934 194,640 acc & F1
YRP Yelp CLS 522,000 38,000 acc & F1
RTIFU Reddit GEN 71,714 3,953 ROUGE-1
GE Reddit CLS 43,410 5,427 MA F1

Motivated by the distinction between social media language and conventional language observed in 3, we compile the Social MedIa Language Evaluation (SMILE) benchmark that aims to provide a more comprehensive assessment of social media language understanding by improving platform and task coverage. The SMILE  benchmark consists of eleven English-only tasks drawing from five datasets that are derived from four source platforms: Twitter, Yelp, Reddit, and Civil Comments1 (a now defunct comment hosting service for web publications). The SMILE  benchmark covers both classification and generation tasks in the areas of self-expression, opinion discovery, and online safety. All eleven tasks are publicly available on TensorFlow Datasets2 (TFDS) as listed in 2. In what follows, we describe each dataset (4.1) and the summary evaluation metrics (4.2) to be used with SMILE. In 4.3, we investigate whether language in SMILE  tasks is more similar to conventional or social media language.

Table 2: SMILE benchmark sets in TensorFlow Datasets.
Name TFDS name Version
TE Emoji huggingface:tweet_eval emoji 1.1.0
TE Emotion huggingface:tweet_eval/emotion 1.1.0
TE Hate huggingface:tweet_eval/hate 1.1.0
TE Irony huggingface:tweet_eval/irony 1.1.0
TE Offense huggingface:tweet_eval/offensive 1.1.0
TE Sentiment huggingface:tweet_eval/sentiment 1.1.0
TE Stance huggingface:tweet_eval/stance* 1.1.0
CCT civil_comments 1.2.4
YRP yelp_polarity_reviews 0.2.0
RTIFU reddit_tifu 1.1.2
GE goemotions 0.1.0

4.1 Datasets↩︎

1 summarizes key characteristics of the SMILE  datasets. Below we describe each dataset in more detail and discuss the evaluation metrics of each task.

4.1.0.1 TweetEval (TE, [19])

SMILE  includes all seven TweetEval classification tasks (emoji prediction, emotion recognition, hate speech detection, irony detection, offensive language identification, sentiment analysis, and stance detection) and uses the same performance metrics for each task as TweetEval. The seven tasks were derived from SemEval3 challenges between 2016 and 2019.

4.1.0.2 Civil Comments Toxicity (CCT, [23])

This dataset contains news-site user comments collected between 2015 and 2017 labeled for toxicity classification by human raters. A comment is considered toxic if at least one rater labeled it as such. Under this definition, \(30\%\) of the comments in the dataset are toxic. SMILE  uses accuracy and F1 as the performance measures for this task.

4.1.0.3 Yelp Review Polarity (YRP, [20])

Yelp Review Polarity dataset includes Yelp reviews from 2015 labeled positive or negative according to the user star ratings. The dataset is balanced and uses accuracy and F1 as the evaluation metrics. While it is arguable whether online reviews should be considered social media, 4.3 shows that Yelp reviews have more in common with social media language than with conventional language.

4.1.0.4 Reddit TIFU (RTIFU, [22])

RTIFU is a weakly supervised abstractive summarization task derived from the r/tifu subreddit4 crawled between 2013 and 2018. The task is to generate a post’s title given that post’s body content. RTIFU is the only SMILE  task suitable for measuring generation capabilities of language models in the social media domain. As the metric for this task, SMILE  uses ROUGE-1 score [43], which ranges between 0 and 1, with higher values indicating better performance.

4.1.0.5 GoEmotions (GE, [21])

The GoEmotions dataset includes snippets from Reddit posts published between 2005 and 2019 labeled with one or more of 27 possible emotional categories. Compared to TweetEval Emotion where each example belongs to only one of four emotional categories, the GoEmotions task involves multiclass classification on a much finer scale. SMILE  uses the macro-averaged (MA) F1 score across all categories as the performance metric for this task.

4.2 Summary Evaluation Metrics↩︎

To measure the overall performance of language models on SMILE we use three summary evaluation metrics that aggregate over the performance score of each the eleven tasks in SMILE . The summary metrics are: the task macro-averaged performance, the platform macro-averaged performance, and the TweetEval macro-averaged performance.

4.2.0.1 Performance Scores

To construct a summary metric, we first compute a performance score for each of the eleven tasks in 1. Note that most tasks only use a single evaluation metric to measure performance. We use these single metrics scaled by \(100x\) as their performance scores. For CCT and YRP where both accuracy and F1 are used for evaluation, we compute the average between accuracy and F1 scaled by \(100x\) as the performance score following the practice of [9], [10]. Note that all the evaluation metrics in 1 range between \(0\) and \(1\). The overall performance score of each task hence ranges between \(0\) and \(100\).

4.2.0.2 Task Macro-Averaged Performance (TMA)

This is the simple average of the performance scores across all the eleven tasks in SMILE. Consequently, this score assumes that each task in SMILE  is equally important in measuring the performance of language models for social media language understanding. We refer to this metric as the SMILEscore.

4.2.0.3 Platform Macro-Averaged Performance (PMA)

Because the majority of the SMILE  tasks are Twitter-based, it is arguable that the task macro-averaged performance overweights one platform. To mitigate confounding effects of different social media platforms, SMILE  also uses a per-platform macro-averaged performance score as a summary evaluation metric. To compute this metric, the performance scores of the tasks from the same platform are first averaged, yielding four per-platform average performance scores. The platform macro-averaged performance is then computed by taking the mean of these four per-platform scores.

4.2.0.4 TweetEval Macro-Averaged Performance (TEMA)

This summary evaluation metric is a simple average of the performance scores across all the TweetEval tasks. This is the same summary metric used in the TweetEval benchmark. We include this metric as several key existing works [2], [31] evaluate performance on the TweetEval benchmark.

Table 3: Difference between the five datasets in SMILE and English mC4 and T&R
Name English mC4 T&R
SKL JD SKL JD
All TweetEval 5.96 0.78 3.89 0.77
Civil Comments Toxicity 3.73 0.72 2.35 0.71
Yelp Review Polarity 5.86 0.78 4.70 0.75
Reddit TIFU 5.44 0.85 4.49 0.79
GoEmotions 6.03 0.83 5.91 0.76

4.3 Similarity between SMILE and the Pretraining Corpora↩︎

In this section, we seek to understand whether SMILE  tasks share more resemblance with social media language than with conventional language. To this end, we compute the difference between five subsets of SMILE  and the August 2020 segments of T&R and the English mC4 corpus introduced in 3. Following the protocol established in 3, we use SKL divergence and Jaccard distance between token distributions to measure how the language in SMILE  tasks differs from T&R and English mC4. The results are summarized in 3.

From 3, SKL and JD are high between all five SMILE subsets and both T&R and English mC4. Nonetheless, the five SMILE  subsets are less different from T&R than they are from English mC4 in terms of SKL. This may suggest pretraining on a corpus of social media language as an avenue to improving benchmark performance (as supported by subsequent experiments in 5). Meanwhile, the high SKL (\(>0.25\)) could imply that the capacity of the pretrained language models in domain adaptation may still be a key factor in determining downstream benchmark performance. Finally, the comparison results for the Yelp dataset in 3 also suggest that Yelp reviews are more similar to social media language than to conventional language, despite user reviews not being considered the prototypical example of social media.

5 Social Media Domain Adaptation↩︎

In this section, we explore adaptation of language models to the social media domain. We carry out a large scale empirical study of training regimens for producing language models that work well on social media text as proxied by the SMILE benchmark introduced in [sec:benchmark]. Our winning recipe adapts a general T5 language model [4] by

training a tokenizer on a corpus of both conventional language and social media language and

pretraining model parameters from scratch, first using the conventional language portion and then the social media language portion.

The resulting SociAl Media langUage modEL (SAMUEL) can outperform the best alternative of similar size and pretraining budget on the SMILE  benchmark by 4.2 points.

In what follows, we first highlight the key results of comparing SAMUEL with alternative language models in terms of the performance on SMILE  (5.1). We then provide a detailed description of the empirical study that informed SAMUEL’s design. Specifically,

  • In 5.2, we introduce a social media language corpus of publicly available social media text that includes data from four major social media platforms (Twitter, Reddit, Facebook, and Telegram).

  • In 5.3, we show that tokenizer setup and language model pretraining can benefit from the social media language corpus compared to using a corpus of conventional language.

  • We consider the standard domain adaptation practice of continual pretraining in 5.4.

  • Finally, we explore strategies for mixing social media and conventional language data as alternatives to continual pretraining (5.5), completing the design of SAMUEL’s training recipe.

In addition, to understand whether language models adapted for social media understanding can maintain decent performance in general language understanding, we report results on the GLUE [9] and SuperGLUE [10] benchmark in the Appendix (9.2).

5.1 Performance of SAMUEL and Alternatives on the SMILE Benchmark↩︎

We describe SAMUEL and compare its performance on the SMILE benchmark with multiple representative competing language models.

Table 4: Overall performance on the SMILEbenchmark.
Model TEMA PMA TMA
T5 1.1 base 62.26 68.22 62.39
BERTweet 67.90 n/a n/a
mT5 base 60.86 66.89 60.62
byT5 base 59.44 67.55 60.38
SAMUEL 67.95 70.75 66.63
\(\sigma\) \(\pm 0.19\) \(\pm 0.10\) \(\pm 0.14\)
T5 XXL 68.20 71.01 66.82

5.1.0.1 SAMUEL

SAMUEL is a T5-based language model adapted for social media understanding. SAMUEL is pretrained on a corpus of both social media language and conventional language. We discuss the choice of architecture, training corpus, tokenizer setup, and pretraining procedure for SAMUEL below.

  • Architecture. SAMUEL is a based on the T5 [4] architecture. It is a transformer-based [38] encoder-decoder model that is capable of tackling both classification and generation tasks as required by SMILE. It does so by processing the input and output of the tasks as free form text. Following the T5 1.1.5 implementation, SAMUEL has a parameter size of 220M that matches the size of T5 1.1. base.

  • Pretraining Corpus. SAMUEL is pretrained on a corpus that is \(80\%\) social media text and \(20\%\) conventional web text. The social media language portion is drawn from the corpus described in 5.2. The conventional language portion is drawn from the C4 corpus that was used to pretrain the original T5 model.

  • Tokenizer Setup. SAMUEL’s tokenizer is an SPM with 32k tokens. It is trained directly on the pretraining corpus. As a result, the tokens selected are drawn from both social media and conventional language.

  • Pretraining Procedure and Hyperparamters. SAMUEL is first pretrained on conventional language and then on social media language. For SAMUEL and for other pretraining experiments in this paper, we pretrain all models using the span corruption objective [4] on tensor processing unit (TPU) pods with batch size of 2048, sequence length of 512, and a total of \(2^{18}\) steps with input packing. We use the Adafactor optimizer with an reciprocal square root decay learning rate schedule.

5.1.0.2 Competing Language Models

We compare five representative language models with SAMUEL on SMILE. Because SAMUEL is T5-based, we consider a variety of other T5-based language models in our comparison. We also consider BERTweet, a state-of-the-art language model that specializes in tweet understanding. We describe each of the competing language models below and provide a summary in 10 in the Appendix.

  • T5 1.1. base [4] shares the same parameter and tokenizer size as well as the same pretraining hyperparamters as SAMUEL. However, both the model and the tokenizer are trained exclusively on the C4 corpus. It differs from the off-the-shelf version of T5 1.1 base because it was pretrained on 4x as much data to match SAMUEL’s pretraining budget.

  • mT5 base [32] is an off-the-shelf multilingual variant of T5. It has 580M parameters and is pretrained on mC4 for 1M steps. This model’s SPM has 250k tokens including 256 byte tokens, which means no string of text is out of vocabulary for mT5. We explore the byte fallback feature of SentencePiece tokenizers in more detail in 6.2.

  • byT5 base [33] is an off-the-shelf byte-level model that closely follows the T5 setup. Instead of relying on a SentencePiece model for tokenization, byT5 simply uses bytes as tokens to flexibly represent text. We hypothesize that such flexibility may be beneficial for representing text in the social media domain, given its noisy, informal, and dynamic nature.

  • T5 1.1 XXL [4] is an off-the-shelf large language model with 11B parameters, which is more than 40x larger than SAMUEL. While a head-to-head comparison between T5 XXL and SAMUEL may not be fair because of the discrepancy in parameter size [44], we nonetheless include this model to estimate performance headroom.

  • BERTweet [28] is a language model for social media understanding that achieves state-of-the-art performance on the TweetEval benchmark6. BERTweet is a 110M-parameter encoder only model and hence cannot perform generation tasks. We only report its performance on TweetEval.

5.1.0.3 Protocol

After pretraining SAMUEL, we fine-tune SAMUEL and the five alternative models on each SMILE  task separately for 10k steps and report the performance metrics on the test splits. To get a sense of the uncertainty in performance metrics, we fine-tune SAMUEL on each task 12 times and compute the standard deviation for each metric. Note that we presume the performance of different models to share similar levels of uncertainty and do not compute the standard deviation for each model because of the high computational cost of doing so. We run all experiments using the T5X framework [45].

5.1.0.4 Results

4 summarizes the performance comparison of SAMUEL against other language models on SMILE. With the exception of T5 XXL, SAMUEL outperforms its similar-sized alternatives by at least 4.2 points in terms of task macro-averaged (TMA) score. This suggests the practical utility of the recipe behind SAMUEL in building effective language models for social media language understanding. Moreover, SAMUEL’s score is only 0.2 points below that of T5 1.1 XXL with 50 times more parameters, which suggests that SAMUEL may be nearing the upper limits of performance headroom on this benchmark.

Table 5: Summary performance on SMILE when SPM tokenizer learning and/or LM pretraining are/is conducted on the SM corpus vs the C4 corpus.
Model TEMA PMA TMA
T5 1.1 base 62.26 68.22 62.39
+ SM SPM +2.61 +1.05 +1.83
+ SM Pretraining +3.68 +1.70 +2.77
+ SM SPM&Pretraining +5.40 +2.00 +3.73
Continual Pretraining +2.81 +1.58 +2.27
Table 6: Performance on each task in SMILE when SPM tokenizer learning and/or LM pretraining are/is conducted on the SM corpus vs the C4 corpus.
Model TweetEval CCT YRP RTIFU GE
Emoj Emot H I O Sen Sta Acc F1 Acc F1 R-1 F1
T5 1.1 base 31.25 75.65 40.99 69.96 77.68 72.33 67.98 81.58 65.19 97.39 97.39 28.79 50.91
+ SM SPM +3.98 +6.13 +0.82 +2.16 +1.90 +0.85 +2.44 -0.12 +2.50 +0.10 +0.11 -0.29 +0.86
+ SM Pretraining +4.91 +3.89 +6.18 +5.07 +1.07 +1.67 +2.99 -0.53 +3.53 +0.12 +0.12 +0.25 +2.78
+ SM SPM&Pretraining +5.73 +8.15 +8.88 +8.34 +0.86 +1.88 +3.93 +0.15 +3.31 +0.29 +0.30 -0.25 +1.43
Continual Pretraining +2.81 +4.13 +5.20 +1.71 +2.18 +1.23 +2.40 -0.26 +3.43 +0.14 +0.16 +0.26 +3.32

5.2 Social Media Corpus↩︎

In 3, we observe that social media language is different from conventional language. Meanwhile, commonly used pretraining corpora, like C4 in the case of off-the-shelf T5, represent conventional language. We begin our adaptation of T5 to social media language understanding with compiling a large social media (SM) corpus.

5.2.0.1 Protocol

We parse out post text from publicly crawlable Twitter, Reddit, Facebook, and Telegram pages. We filter out posts with images, videos, or URLs because the text of such posts may not contain the entirety of their meaning and therefore may be too difficult to learn from in the span corruption setting. To mitigate the risk of inadvertently training any models on posts from the benchmark test sets, we only include posts published in 2022 to avoid temporal overlap (the content used in SMILE  was published between 2015 and 2020).

5.2.0.2 Results

The resulting corpus has 6B examples. Its platform composition is 51% Twitter, 26% Reddit, 23% Facebook, and 0.1% Telegram. In contrast, the C4 corpus contains only \(0.005\%\) Reddit data and no data from the other three platforms. In addition, while C4 has 16 times fewer examples, C4 examples are on average 10 times longer than the examples in our social media corpus. The presence of short examples makes it important to minimize padding with input packing.

5.3 In-Domain Tokenization and Pretraining↩︎

We consider the effect of using the SM corpus defined in 5.2 for tokenizer setup and LM pretraining on the model’s capacity for social media language understanding.

5.3.0.1 Protocol

Keeping the T5 1.1 backbone fixed, we modify its tokenizer and pretraining regimen separately and then together. We measure the impact on the SMILE  score.

5.3.0.2 Results

5 and 6 show the metric improvement compared to the baseline model—a T5 1.1 model where both the tokenizer and the model are trained on the C4 corpus. Unsurprisingly, including in-domain data helps the performance on most tasks. Swapping out the standard tokenizer with one trained on SM data and then pretraining on C4 leads to a 1.8-point gain on the overall SMILE  score (see 15 in the Appendix for examples), while using SM pretraining data with a standard tokenizer adds 2.8 points. These performance gains are not exactly additive when both the model’s tokenizer and parameters are trained on the in-domain data, but the combination does lead to the biggest improvement—3.7 points to the TMA. It is worth noting the tasks that buck the overall trend. Reddit TIFU, the only summarization task, appears to be hurt by a tokenizer trained on in-domain data, whether or not the rest of the model is pretrained on SM or C4. In-domain pretraining with a C4 tokenizer does improve the ROUGE-1 score, but barely more than a single standard deviation for this task (+0.25 vs 0.22), all despite the fact that the token distribution of this dataset is closer to SM data than it is to clean web text (3). The opposite effect can be observed for the TweetEval Emotion task—there, the in-domain tokenizer alone yields a 6.1 point gain, 1.5 times larger than from in-domain pretraining.

Figure 2: Representation of pretrain dataset composition in terms of the mix of SM and C4 dataset as a function of pretraining steps. Two leftmost diagrams: SM and C4 only pretrain datasets. Three rightmost diagrams: the three types of mixing schedules: static, sequence, and dynamic.

5.4 In-Domain Continual Pretraining↩︎

While in 5.3 we established that using social media data in tokenizer and model training significantly improves performance on the SMILE  benchmark, this recipe requires retraining the model from scratch, which is undesirable in practice because of engineering effort, data, and computation required. A much more popular and practical recipe is continual pretraining, where an existing pretrained model is adapted to a different domain or task via more pretraining steps. In this section, we investigate how well continual pretraining can perform in the social media domain.

5.4.0.1 Protocol

We take a T5 model with a standard C4 tokenizer pretrained on C4 for \(2^{17}\) steps and continue training it on the same span corruption task but on our four-platform SM corpus for another \(2^{17}\) steps, yielding a total of \(2^{18}\) pretraining steps.

5.4.0.2 Results

5 and 6 report the results of our continual pretraining experiment. We see that continual pretraining does not help as much as training a T5 1.1 backbone on SM from scratch (+2.3 vs +2.8). This finding is in line with [25]. However, it is remarkable that continual pretraining achieves \(80\%\) of the gain afforded by from-scratch in-domain pretraining—while using half as much in-domain data, in half as many steps. Part of the reason may be that the model is able to leverage the foundation derived from the clean language of its original pretraining corpus, C4, despite the fact that it is much further from social media language in token distribution.

5.5 Mixed-Domain Pretraining↩︎

Inspired by the relative success of the continual pretraining recipe in 5.4, we drill down into the idea of combining in- and out-of-domain data into mixed-domain data to further improve the performance. In particular, we consider various mixing schedules and ratios.

5.5.1 Mixing Schedules↩︎

5.5.1.1 Protocol

We try three different mixing schedules for C4 and our SM corpus (see 2):

Static mixture: every batch contains the same proportion of C4 and SM data.

Sequential mixture: in the first part of training, batches consist of only C4, in the second part—only SM. This is similar to continual pretraining.

Dynamic mixture: in the beginning of training batches contain mostly C4 examples. As the training progresses, the proportion of C4 decreases and the proportion of SM increases linearly. By the end of the training, batches contain mostly SM examples.

As we learned from 5.3, updating the tokenizer to match the target distribution contributes significantly to the model performance. We train a tokenizer on a \(50/50\) mix of C4 and SM to match the pretraining data and pretrain three models using the schedules described above.

5.5.1.2 Result

7 shows that the model trained on the sequential mixture performs best. Note that though its schedule is identical to continual pretraining, the model is different because it has a custom tokenizer and was pretrained from scratch. We also note that the dynamic mixture is very close in performance to sequential: 66.55 vs 66.38 on the overall score, which has a standard deviation of 0.14. However, pretraining with a dynamic schedule is much more challenging to set up from the infrastructure perspective than the sequence mixture. We hence commit to the use of sequential mixture schedule in our subsequent investigation.

5.5.2 Mixing Rates↩︎

5.5.2.1 Protocol

Using the sequence mixture as the schedule, we then try three different SM/C4 ratios: 20/80, 50/50 and 80/20. We update the tokenizers to match the ratios and pretrain two more models.

5.5.2.2 Results

The best overall model is trained on 20% C4 and 80% SM in sequence, with an overall score of 66.63. (That corresponds to our best model, SAMUEL, in 4). Interestingly, different benchmark tasks react to the rate of in-domain data differently (see 12 in the Appendix). For TweetEval Emotion, the more in-domain data, the better—its performance peaks when the model is trained exclusively on SM data. On the other hand, Yelp polarity classification benefits roughly equally from any proportion of in-domain pretraining, while Reddit TIFU summarization benefits from more C4 pretraining, even though it is out of domain.

Table 7: Overall performance on SMILE using different strategies and ratios to mix the SM corpus and the C4 corpus. *indicates the configuration adopted by SAMUEL.
Strategy C4/SM TEMA PMA TMA
Static 50/50 67.31 70.18 65.96
Sequential 50/50 68.28 70.42 66.55
Dynamic 50/50 67.87 70.44 66.38
None 0/100 62.26 68.22 62.39
Sequential 20/80 67.83 70.35 66.30
Sequential 50/50 68.28 70.42 66.55
*Sequential 80/20 67.95 70.75 66.63
None 100/0 67.66 70.22 66.12

6 Ablation Studies↩︎

We conduct ablation studies on the platform composition of our SM corpus and the effect of the byte-level fallback feature of SPM tokenizers to see how these aspects impact social media language understanding.

  • In 6.1, we evaluate performance contributions of using data from different SM platform and conclude that a variety of platforms in the training data yields optimal performance on the SMILE benchmark.

  • In 6.2, we consider adding byte tokens to the model vocabulary, which should intuitively help parse noisy social media text, and find that while byte fallback does indeed help the model trained on conventional language, it no longer has a positive effect when the model is trained on SM data.

6.1 Cross-Platform Transfer↩︎

Table 8: Performance of LMs pretrained only on data from a certain platform vs all platforms.
PT data Twitter avg Reddit avg CC avg Yelp avg PMA
All SM 67.66 40.44 75.12 97.69 67.60
Twitter 68.12 39.89 75.02 97.42 67.54
Reddit 66.80 40.05 75.04 97.87 67.38
Facebook 66.23 40.35 74.99 97.40 67.11

Given the multi-platform nature of the SMILE  benchmark, we investigate how using the four-platform mixture compares to training the model on each platform separately. For example, we presume Reddit data will be helpful on the Reddit-based tasks, but how well will it transfer to tasks from other platforms?

6.1.0.1 Protocol

To answer this question, we train three more T5 models using the best performing recipe from 5.3 but on single-platform slices of the same SM corpus — Twitter-only, Reddit-only, and Facebook-only. The amount of Telegram data in the original SM corpus is negligibly low—about \(0.1\%\) and only 7M examples—so we can not train a Telegram-only model. The three single-platform models see the same amount of data despite different average example lengths thanks to input packing.

6.1.0.2 Results

The results for per-platform average performance scores as well as the PMA are shown in 8. Overall, we see that single-platform models perform very similarly to each other as well as the four-platform mixture ("All SM"). Though the four-platform mixture has the highest score on the PMA, it is within one standard deviation from the second place—the Twitter-only model. The Twitter-only model also, unsurprisingly, does best on the Twitter portion of the SMILE  benchmark. On the other hand, the Reddit-only model takes the third place on the Reddit portion of the benchmark, lagging behind the four-platform mixture as well as the Facebook-only model. We conclude that though the scores are very close, having a mix of platforms in the pretraining data results in beneficial transfer across platforms.

6.2 Byte-level Fallback↩︎

Table 9: Performance of LMs when pretrained with/without byte-level fallback and with/without in-domain data and SPM tokenizer.
Model TEMA PMA TMA
T5 1.1 62.26 68.22 62.39
+ Byte Fallback +1.20 +0.56 +0.87
+ SM SPM&Pretraining +5.40 +2.00 +3.73
+ SM SPM&Pretraining + Byte Fallback +4.83 +2.01 +3.47

We evaluate the impact of including byte tokens in the model vocabulary. Also known as byte-level fallback, this feature allows the tokenizer to segment any string of text without resorting to the <UNK> token. Can it improve performance on social media text with its typos, abbreviations, and emojis?

6.2.0.1 Protocol

To answer this question, we replace the 256 least frequent tokens in the standard C4 SPM with tokens representing the 256 bytes and use the modified tokenizer to pretrain a model on C4. We perform the same vocabulary surgery on a model whose tokenizer and parameters are trained on social media data.

6.2.0.2 Results

The results are shown in 9. Overall, even though the C4 model with byte fallback did not see a single example from the social media corpus, its performance on the SMILE  benchmark is 0.87 points (\(\sigma = 0.14\)) better than the equivalent model without byte fallback. We speculate that allowing the tokenizer to fall back to byte tokens does indeed help the model handle emojis and typos that otherwise would not be represented by the vocabulary. However, for the model trained on social media data, replacing 256 organically selected tokens with bytes no longer has a positive effect (+3.73 vs +3.47).

7 Future Work↩︎

We envision the following directions as future work.

  • Internationalization. Our SMILE  benchmark spans multiple platforms and tasks but is currently English only. An important opportunity for future work is the extension to other languages, ideally covering locales where social media usage is most pronounced and locales with multilingual content.

  • Multi-modality. Social media content is inherently multi-modal and context dependent. Relevant modalities can be content based (text, image, etc.) but also include creators, communities, and any other aspects of a social graph. Future opportunities lie both in exploring techniques for modeling multi-modal content and in providing evaluation benchmarks for this setting.

  • Time Sensitivity and Adaptability. Social media language changes faster than conventional language (3.2). Consequently, it would be valuable to define time-sensitive tasks that measure the ability of models to adapt to these shifts. Byte-level language models [33], [34] may be of particular interest in tackling distribution shifts because they are not constrained by a fixed vocabulary and can be fully fine-tuned (i.e. including the tokenizer). Efficient architectures [46] that hinge on the principle of sparsity [47][54], among other principles [55][57], can be particularly relevant given the longer sequence length induced by byte representation of the data.

  • Domain Adaptation vs. Model Scaling. Given the popularity of very large language models, it would be beneficial to study how scaling up the model size affects the gains from domain adaptation. At what model size, if any, does the performance improvement afforded by domain adaptation cease to be worth the computationally expensive pretraining regimen?

8 Conclusion↩︎

We have shown that the language of social media is significantly different from the standard language of the web and proposed the SMILE benchmark that captures the peculiarities of this distinct domain. Through pretraining experiments with T5, we came up with simple recipes for improving performance on the benchmark. We believe it can open up opportunities for future research in adapting language models to the social media domain.

9 Appendix↩︎

In the appendix, we include additional experiment details (9.1) as well as evaluation results on GLUE and SuperGLUE (9.2). We also provide concrete examples demonstrating the potential benefits of training the tokenizer and the model parameters on social media data compared to their generic counterparts in 9.3.

9.1 Additional Experiment Details↩︎

Table 10: Key characteristics of SAMUEL and its competing LMs
Model Pretraining Tokenizer
corpus # params steps batch seq length corpus # tokens has bytes
T5 1.1 base C4 220M 262k 2048 512 C4 32k no
BERTweet tweets 110M 950k 7k 128 tweets 64k no
mT5 base mC4 580M 1M 1024 1024 mC4 250k yes
byT5 base mC4 580M 1M 1024 1024 mC4 256 yes
SAMUEL 20/80 C4/SM 220M 262k 2048 512 20/80 C4/SM 32k no
T5 XXL C4 11B 1M 2048 512 C4 32k no
Table 11: Performance of SAMUEL and its competing models on each task in SMILE.
Model TweetEval CCT YRP RTIFU GE
Emoj Emot H I O Sen Sta Acc F1 Acc F1 R-1 F1
T5 1.1 base 31.25 75.65 40.99 69.96 77.68 72.33 67.98 81.58 65.19 97.39 97.39 28.79 50.91
BERTweet 33.4 79.3 56.4 82.1 79.5 73.4 71.2 n/a n/a n/a n/a n/a n/a
mT5 base 30.63 72.33 46.32 63.94 77.23 69.17 66.38 82.1 68.24 97.42 97.4 23.24 45
byT5 base 32.42 67.24 44.37 60.55 74.95 67.24 69.32 83.04 68.67 97.60 97.58 27.32 47.33
SAMUEL 37.42 83.52 50 78.7 78.49 74.35 73.15 81.74 68.69 97.56 97.55 29 55.55
\(\sigma\) \(\pm 0.25\) \(\pm 0.24\) \(\pm 0.72\) \(\pm 0.56\) \(\pm 0.31\) \(\pm 0.13\) \(\pm 0.41\) \(\pm 0.37\) \(\pm 0.51\) \(\pm 0.01\) \(\pm 0.01\) \(\pm 0.22\) \(\pm 0.45\)
T5 XXL 35.42 82.45 51 80.96 78.97 71.61 77 82.65 68.48 98.57 98.57 32.93 50.51
Table 12: Effect of pretraining data mix ratio on each task in SMILE
Strategy C4/SM TweetEval CCT YRP RTIFU GE
Emoj Emot H I O Sen Sta Acc F1 Acc F1 R-1 F1
T.5 1.1 base 0/100 31.25 75.65 40.99 69.96 77.68 72.33 67.98 81.58 65.19 97.39 97.39 28.79 50.91
Sequential 20/80 +4.76 +7.36 +8.60 +8.54 +1.28 +2.20 +6.24 +0.09 +3.28 +0.20 +0.19 +0.69 +1.40
Sequential 50/50 +5.59 +7.68 +9.21 +9.99 +2.44 +1.93 +5.31 -0.27 +3.62 +0.23 +0.24 +0.23 +1.49
*Sequential 80/20 +6.17 +7.87 +9.01 +8.74 +0.81 +2.02 +5.17 +0.16 +3.50 +0.17 +0.16 +0.21 +4.64
None 100/0 +5.73 +8.15 +8.88 +8.34 +0.86 +1.88 +3.93 +0.15 +3.31 +0.29 +0.30 -0.25 +1.43

9.2 GLUE and SuperGLUE Experiments↩︎

To understand performance on standard NLU tasks, we report detailed results on the GLUE ([9] and SuperGLUE ([10]) benchmarks in 13 and 14 respectively. All models were pretrained for \(2^{18}\) steps, including our version of T5 1.1 (which thus is different from the publicly available version). We trained each model on a mixture of all tasks with proportionate sampling (GLUE and SuperGLUE separately) for 50k steps with a batch size of 128 and a dropout rate of 0.1.

Table 13: GLUE Results
Pretraining Tokenizer COLA SST2 MRPC MRPC STS-B STS-B QQP QQP MNLI-m MNLI-mm QNLI RTE
Matthew’s Acc Acc F1 Pearson Spearman Acc F1 Acc Acc Acc Acc Macro Avg
T5 1.1 Base (our version) C4 C4 50.46 94.38 87.25 90.61 89.74 89.64 91.52 88.54 87.08 86.50 91.82 76.53 83.82
SM SM 49.86 93.58 88.97 92.06 89.09 89.07 91.61 88.67 86.52 86.43 90.92 71.12 82.79
SAMUEL C4/SM 20/80 C4/SM 20/80 45.17 94.15 88.48 91.77 88.90 88.72 91.63 88.73 87.09 86.96 91.85 74.37 82.94
Twitter Twitter 46.65 93.46 89.95 92.72 88.88 88.75 91.37 88.39 85.35 85.53 90.30 71.48 82.08
Reddit Reddit 52.10 94.38 89.46 92.34 89.26 89.15 91.70 88.95 87.10 87.52 91.29 76.90 84.13
Facebook Facebook 32.21 92.09 88.48 91.77 88.93 88.90 91.36 88.12 85.27 85.51 90.76 69.68 80.12
Table 14: SuperGLUE Results
Pretraining Tokenizer BoolQ CB CB COPA MultiRC MultiRC ReCoRD RTE WiC WSC
Acc Acc F1 Acc F1 EM EM Acc Acc Acc Macro Avg
T5 1.1 Base (our version) C4 C4 65.87 71.43 49.84 45.00 71.30 19.83 74.56 68.59 63.48 76.92 62.58
SM SM 66.79 58.93 36.71 55.00 66.16 18.47 66.51 65.70 64.73 70.19 59.88
SAMUEL C4/SM 20/80 C4/SM 20/80 66.39 80.36 56.15 49.00 69.28 20.25 69.23 67.15 63.64 73.08 62.69
Twitter Twitter 63.76 60.71 39.59 45.00 60.99 16.16 63.61 67.87 62.85 69.23 57.63
Reddit Reddit 68.65 78.57 54.80 50.00 70.62 20.46 68.99 69.68 63.17 76.92 62.42
Facebook Facebook 63.24 69.64 48.68 54.00 67.01 17.31 66.32 61.01 63.95 69.23 59.88

9.3 Examples of Social Media Language Tokenization↩︎

In 15 we present three real-world examples below to illustrate the misalignment between conventional and social media language as well as the resulting difference in predictions made by the T5 1.1. baseline and SAMUEL (trained on conventional and social media language, respectively). These examples are drawn from the TweetEval 4-way Emotion classification task.

Table 15: Example tweets from the TweetEval Emotion task processed by T5 1.1 and SAMUEL.
# Tweet with emotion label T5 1.1 tokenization and prediction SAMUEL tokenization and prediction
1 "When you baby has their first temperature and all you do is worry #firsttimemum #firsttimemom #newborn #baby #sickbaby #worry"
Label: sadness Prediction: optimism Prediction: sadness
2 "I thought he cried over some of his relative death or something but when i know the truth . I just wanna burst out "
Label: joy Prediction: sadness Prediction: joy
3 "Actually gunna miss America a lot "
Label: sadness Prediction: joy Prediction: sadness

9.3.0.1 On interpreting tokenization results

Each group of symbols in square brackets represents a single token. There are two special symbols: "", which represents a word-separating character like a space, and "<UNK>", which represents an out-of-vocabulary token the tokenizer resorts to when it cannot break down the input string into any of its known 32k tokens.

9.3.0.2 Discussion

As one can see in 15, T5 1.1. struggles with hashtag tokenization and fails to understand semantically important emojis. In example 1, T5’s tokenizer (trained on C4’s clean text) tokenizes properly space-separated text well (e.g. [▁worry]) but when the same text appears inside a hashtag, it gets mangled ([▁#] [w] [or] [ry]). In contrast, SAMUEL’s tokenizer is capable of tokenizing hashtags in a manner that better aligns with human intuition because it learns not to assume that words will be properly space-separated ([▁#] [worry]). SAMUEL’s tokenizer is also capable of identifying semantically important emojis ( and in examples 2 and 3), while T5 does not because they are unknown to its tokenizer. These examples show that the token distribution differences reflect real distinctions in language use between social media and the standard web. In addition, the vocabulary learned from these distinct distributions influences downstream task performance: in all three examples, SAMUEL predicts the correct labels while T5 1.1. fails to do so.

References↩︎

[1]
Brooke Auxier Monica Anderson.2021. . Pew Research Center1(2021), 1–4.
[2]
Alexandra DeLucia, Shijie Wu, Aaron Mueller, Carlos Aguirre, Mark Dredze, and Philip Resnik.2022. . (2022).
[3]
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova.2018. . arXiv preprint arXiv:1810.04805(2018).
[4]
Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu.2020. . The Journal of Machine Learning Research21, 1(2020), 5485–5551.
[5]
Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al2020. . Advances in neural information processing systems33(2020), 1877–1901.
[6]
Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, et al2022. . arXiv preprint arXiv:2204.02311(2022).
[7]
Rishi Bommasani, Drew A Hudson, Ehsan Adeli, Russ Altman, Simran Arora, Sydney von Arx, Michael S Bernstein, Jeannette Bohg, Antoine Bosselut, Emma Brunskill, et al2021. . arXiv preprint arXiv:2108.07258(2021).
[8]
Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov.2019. . arXiv preprint arXiv:1907.11692(2019).
[9]
Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R Bowman.2018. . arXiv preprint arXiv:1804.07461(2018).
[10]
Alex Wang, Yada Pruksachatkun, Nikita Nangia, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel Bowman.2019. . Advances in neural information processing systems32(2019).
[11]
Md Ashraful Islam Talukder, Sheikh Abujar, Abu Kaisar Mohammad Masum, Fahad Faisal, and Syed Akhter Hossain.2019. . In 2019 10th International Conference on Computing, Communication and Networking Technologies (ICCCNT). IEEE, 1–5.
[12]
Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang.2016. . arXiv preprint arXiv:1606.05250(2016).
[13]
Ondřej Bojar, Christian Buck, Christian Federmann, Barry Haddow, Philipp Koehn, Johannes Leveling, Christof Monz, Pavel Pecina, Matt Post, Herve Saint-Amand, et al2014. . In Proceedings of the ninth workshop on statistical machine translation. 12–58.
[14]
Percy Liang, Rishi Bommasani, Tony Lee, Dimitris Tsipras, Dilara Soylu, Michihiro Yasunaga, Yian Zhang, Deepak Narayanan, Yuhuai Wu, Ananya Kumar, et al2022. . arXiv preprint arXiv:2211.09110(2022).
[15]
Aarohi Srivastava, Abhinav Rastogi, Abhishek Rao, Abu Awal Md Shoeb, Abubakar Abid, Adam Fisch, Adam R Brown, Adam Santoro, Aditya Gupta, Adrià Garriga-Alonso, et al2022. . arXiv preprint arXiv:2206.04615(2022).
[16]
Spurthi Amba Hombaiah, Tao Chen, Mingyang Zhang, Michael Bendersky, and Marc Najork.2021. . In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining. 2514–2524.
[17]
Richard Fothergill, Paul Cook, and Timothy Baldwin.2016. . In Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC’16). 273–279.
[18]
Jinghui Lu, Maeve Henchion, and Brian Mac Namee.2021. . (2021).
[19]
Francesco Barbieri, Jose Camacho-Collados, Leonardo Neves, and Luis Espinosa-Anke.2020. . arXiv preprint arXiv:2010.12421(2020).
[20]
Xiang Zhang, Junbo Zhao, and Yann LeCun.2015. . Advances in neural information processing systems28(2015).
[21]
Dorottya Demszky, Dana Movshovitz-Attias, Jeongwoo Ko, Alan Cowen, Gaurav Nemade, and Sujith Ravi.2020. . arXiv preprint arXiv:2005.00547(2020).
[22]
Byeongchang Kim, Hyunwoo Kim, and Gunhee Kim.2018. . arXiv preprint arXiv:1811.00783(2018).
[23]
Daniel Borkan, Lucas Dixon, Jeffrey Sorensen, Nithum Thain, and Lucy Vasserman.2019. . In Companion proceedings of the 2019 world wide web conference. 491–500.
[24]
Iz Beltagy, Kyle Lo, and Arman Cohan.2019. . arXiv preprint arXiv:1903.10676(2019).
[25]
Yu Gu, Robert Tinn, Hao Cheng, Michael Lucas, Naoto Usuyama, Xiaodong Liu, Tristan Naumann, Jianfeng Gao, and Hoifung Poon.2021. . ACM Transactions on Computing for Healthcare (HEALTH)3, 1(2021), 1–23.
[26]
Renqian Luo, Liai Sun, Yingce Xia, Tao Qin, Sheng Zhang, Hoifung Poon, and Tie-Yan Liu.2022. . Briefings in Bioinformatics23, 6(2022).
[27]
Xi Yang, Aokun Chen, Nima PourNejatian, Hoo Chang Shin, Kaleb E Smith, Christopher Parisien, Colin Compas, Cheryl Martin, Anthony B Costa, Mona G Flores, et al2022. . npj Digital Medicine5, 1(2022), 194.
[28]
Dat Quoc Nguyen, Thanh Vu, and Anh Tuan Nguyen.2020. . arXiv preprint arXiv:2005.10200(2020).
[29]
Shaoxiong Ji, Tianlin Zhang, Luna Ansari, Jie Fu, Prayag Tiwari, and Erik Cambria.2021. . arXiv preprint arXiv:2110.15621(2021).
[30]
Xinyang Zhang, Yury Malkov, Omar Florez, Serim Park, Brian McWilliams, Jiawei Han, and Ahmed El-Kishky.2022. . arXiv preprint arXiv:2209.07562(2022).
[31]
Francesco Barbieri, Luis Espinosa Anke, and Jose Camacho-Collados.2022. . In Proceedings of the Thirteenth Language Resources and Evaluation Conference. 258–266.
[32]
Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, and Colin Raffel.2020. . arXiv preprint arXiv:2010.11934(2020).
[33]
Linting Xue, Aditya Barua, Noah Constant, Rami Al-Rfou, Sharan Narang, Mihir Kale, Adam Roberts, and Colin Raffel.2022. . Transactions of the Association for Computational Linguistics10(2022), 291–306.
[34]
Yi Tay, Vinh Q Tran, Sebastian Ruder, Jai Gupta, Hyung Won Chung, Dara Bahri, Zhen Qin, Simon Baumgartner, Cong Yu, and Donald Metzler.2021. . arXiv preprint arXiv:2106.12672(2021).
[35]
Romal Thoppilan, Daniel De Freitas, Jamie Hall, Noam Shazeer, Apoorv Kulshreshtha, Heng-Tze Cheng, Alicia Jin, Taylor Bos, Leslie Baker, Yu Du, et al2022. . arXiv preprint arXiv:2201.08239(2022).
[36]
Sai Saketh Aluru, Binny Mathew, Punyajoy Saha, and Animesh Mukherjee.2021. . In Machine Learning and Knowledge Discovery in Databases. Applied Data Science and Demo Track: European Conference, ECML PKDD 2020, Ghent, Belgium, September 14–18, 2020, Proceedings, Part V. Springer, 423–439.
[37]
Taku Kudo John Richardson.2018. . arXiv preprint arXiv:1808.06226(2018).
[38]
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin.2017. . Advances in neural information processing systems30(2017).
[39]
Bilal Yurdakul Joshua Naranjo.2020. . Journal of Risk Model Validation14, 4(2020).
[40]
Adam Kilgarriff.1997. . In Fifth Workshop on Very Large Corpora.
[41]
Jonathan Dunn.2022. Natural language processing for corpus linguistics. Cambridge University Press.
[42]
Adam Kilgarriff.2001. . International journal of corpus linguistics6, 1(2001), 97–133.
[43]
Chin-Yew Lin.2004. . In Text summarization branches out. 74–81.
[44]
Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei.2020. . arXiv preprint arXiv:2001.08361(2020).
[45]
Adam Roberts, Hyung Won Chung, Anselm Levskaya, Gaurav Mishra, James Bradbury, Daniel Andor, Sharan Narang, Brian Lester, Colin Gaffney, Afroz Mohiuddin, Curtis Hawthorne, Aitor Lewkowycz, Alex Salcianu, Marc van Zee, Jacob Austin, Sebastian Goodman, Livio Baldini Soares, Haitang Hu, Sasha Tsvyashchenko, Aakanksha Chowdhery, Jasmijn Bastings, Jannis Bulian, Xavier Garcia, Jianmo Ni, Andrew Chen, Kathleen Kenealy, Jonathan H. Clark, Stephan Lee, Dan Garrette, James Lee-Thorp, Colin Raffel, Noam Shazeer, Marvin Ritter, Maarten Bosma, Alexandre Passos, Jeremy Maitin-Shepard, Noah Fiedel, Mark Omernick, Brennan Saeta, Ryan Sepassi, Alexander Spiridonov, Joshua Newlan, and Andrea Gesmundo.2022. Scaling Up Models and Data with \(\texttt{t5x}\) and \(\texttt{seqio}\). ://doi.org/10.48550/ARXIV.2203.17189.
[46]
Yi Tay, Mostafa Dehghani, Dara Bahri, and Donald Metzler.2022. . Comput. Surveys55, 6(2022), 1–28.
[47]
Tri Dao, Dan Fu, Stefano Ermon, Atri Rudra, and Christopher Ré.2022. . Advances in Neural Information Processing Systems35(2022), 16344–16359.
[48]
Sinong Geng, Mladen Kolar, and Oluwasanmi Koyejo.2020. . In Uncertainty in Artificial Intelligence. PMLR, 378–388.
[49]
Sinong Geng, Minhao Yan, Mladen Kolar, and Sanmi Koyejo.2019. . In International Conference on Machine Learning. PMLR, 2180–2190.
[50]
Sinong Geng, Zhaobin Kuang, Jie Liu, Stephen Wright, and David Page.2018. . In Uncertainty in artificial intelligence: proceedings of the... conference. Conference on Uncertainty in Artificial Intelligence, Vol. 2018. NIH Public Access, 156.
[51]
Sinong Geng, Zhaobin Kuang, Peggy Peissig, and David Page.2018. . In International Conference on Machine Learning. PMLR, 1714–1723.
[52]
Sinong Geng, Zhaobin Kuang, and David Page.2017. . arXiv preprint arXiv:1702.08320(2017).
[53]
Zhaobin Kuang, Sinong Geng, and David Page.2017. . Advances in neural information processing systems30(2017).
[54]
Biswajit Paria, Chih-Kuan Yeh, Ian EH Yen, Ning Xu, Pradeep Ravikumar, and Barnabás Póczos.2020. . arXiv preprint arXiv:2004.05665(2020).
[55]
Andrew Jaegle, Sebastian Borgeaud, Jean-Baptiste Alayrac, Carl Doersch, Catalin Ionescu, David Ding, Skanda Koppula, Daniel Zoran, Andrew Brock, Evan Shelhamer, et al2021. . arXiv preprint arXiv:2107.14795(2021).
[56]
Krzysztof Choromanski, Valerii Likhosherstov, David Dohan, Xingyou Song, Andreea Gane, Tamas Sarlos, Peter Hawkins, Jared Davis, Afroz Mohiuddin, Lukasz Kaiser, et al2020. . arXiv preprint arXiv:2009.14794(2020).
[57]
Michael Poli, Stefano Massaroli, Eric Nguyen, Daniel Y Fu, Tri Dao, Stephen Baccus, Yoshua Bengio, Stefano Ermon, and Christopher Ré.2023. . arXiv preprint arXiv:2302.10866(2023).

  1. https://www.drupal.org/project/civilcomments↩︎

  2. https://www.tensorflow.org/datasets↩︎

  3. https://en.wikipedia.org/wiki/SemEval↩︎

  4. https://www.reddit.com/r/tifu/↩︎

  5. https://github.com/google-research/text-to-text-transfer-transformer/blob/main/released_checkpoints.md↩︎

  6. https://github.com/cardiffnlp/tweeteval↩︎