Time to Take Emoji Seriously: They Vastly Improve Casual Conversational Models

Pieter Delobelle, Bettina Berendt

TL;DR

Standard NLP models often treat emoji as "noise" or unknown tokens, yet in casual conversation, a single 🙄 or 👍 can completely flip a sentence's meaning. This paper demonstrates that by explicitly adding emoji support to BERT, researchers achieved a nearly 40% relative improvement in response selection accuracy for casual, real-world dialogue.

What Problem Does This Paper Address?

Most state-of-the-art Natural Language Processing (NLP) models are trained on formal or technical corpora (like Wikipedia, books, or the Ubuntu Dialog Corpus) that are largely devoid of emoji. Consequently, popular architectures like BERT and GPT-2 often lack emoji in their vocabularies or handle them inconsistently through tokenizers.

The authors argue that this is a major oversight for "casual conversational models." Emoji aren't just decorations; they serve complex semantic roles, convey sarcasm, and sometimes act as standalone utterances. Without understanding emoji, a model cannot truly "understand" modern digital human interaction.

Methods

The authors developed an emoji-aware version of BERT using the following approach:

  1. Vocabulary Expansion: They added 2,740 emoji from the Unicode Standard (v12.0) plus various aliases (e.g., :happy:) to the BERT tokenizer. In total, 3,627 new tokens were added to the model's vocabulary.
  2. Textual Aliasing: Instead of feeding raw UTF-8 emoji characters directly into the model, they converted them into a descriptive textual alias format (e.g., :face_with_rolling_eyes:). This ensures consistency across different platforms and allows the model to handle "custom" emoji (like those found on Slack or Twitch) using the same framework.
  3. Continued Pre-training: They started with the bert-base-multilingual-cased model and continued training it on the language modeling task to learn the embeddings for these new emoji tokens.
  4. Fine-tuning: The model was then fine-tuned for a response selection task, where the model must pick the correct response to a question from a pool of 100 candidates.

Datasets

The paper highlights a significant "lacuna" (gap) in available datasets: most popular conversational datasets have near-zero emoji usage.

  • Standard Corpora (for comparison): Ubuntu Dialog Corpus, Amazon QA, and OpenSubtitles were found to have 0% graphical emoji support and very low (<1.3%) emoticon usage.
  • Twitter Customer Support Dataset: The authors used a dataset of 2,000 tuples collected by Hori and Hori. Unlike the others, 8.75% of these utterances contained emoji, making it a rare "emoji-rich" benchmark for conversational AI.

Key Insights and Ideas

  • Emoji as Semantic Anchors: The authors posit that emoji carry the "overall meaning" of an utterance. In a customer support context, an emoji can signal the difference between a frustrated user and a satisfied one, even if the text is identical.
  • The "Peach" Problem: They note that emoji meanings are defined by user interpretation, not just Unicode descriptions. For example, the "peach" emoji's common use as a double entendre is absent from official documentation, meaning models must learn representations from real-world usage rather than dictionary definitions.
  • Technical Debt in NLP: Many existing tokenizers simply drop emoji or replace them with a generic <happy> token. The authors argue this is too reductive and loses the "subtle nuances" that specific emoji provide.

Key Results

The researchers evaluated the models using 1-of-100 accuracy (the probability that the model picks the one correct response out of 100 options):

Model 1-of-100 Accuracy Mean Rank
Baseline BERT (Multilingual) 12.7% 33
BERT with Emoji Tokens 17.8% 31

The 5.1 percentage point jump represents a significant boost in performance, proving that even a relatively small amount of emoji-rich data can drastically improve a model's ability to navigate casual conversation. Interestingly, the "Mean Rank" only improved slightly, suggesting that while emoji help pick the perfect answer, they don't necessarily help the model distinguish between several "okay" alternative answers.

Limitations and Future Work

  • Data Scarcity: The primary limitation is the lack of large-scale, high-quality conversational datasets that include emoji. The authors' experiment was limited to a small set of 2,000 tuples.
  • Emoji-Only Utterances: The authors observed cases where users respond with only emoji. Even with their improved model, extracting the "subject" of a conversation from a string of symbols remains a difficult challenge.
  • Generalization: While they proved the concept for response selection, they suggest future work should investigate if emoji support benefits other tasks like sentiment analysis or generative dialogue (creating emoji-rich responses).

Summary updated

BibTeX
@inproceedings{delobelle2019time,
  author = {Pieter Delobelle and Bettina Berendt},
  title = {{Time to Take Emoji Seriously: They Vastly Improve Casual Conversational Models}},
  booktitle = {BNAIC/BENELEARN},
  year = {2019},
  url = {https://openreview.net/forum?id=y4qstC5ngS},
}
Figure