Skip to main content
QUICK REVIEW

[Paper Review] Predict Emoji Combination with Retrieval Strategy

Weitsung Lin, Ting-Hsuan Chao|arXiv (Cornell University)|Aug 21, 2019
Natural Language Processing TechniquesComputer Science8 references5 citations
TL;DR

This paper proposes a retrieval-based strategy to predict multi-emoji combinations from textual context, treating emoji sequences as phrases in a language. By leveraging a fine-tuned BERT model for emoji probability prediction and ranking pre-mined emoji combinations using frequency and ordering, the method improves F1 score from 0.141 to 0.204, significantly outperforming naive and greedy baselines.

ABSTRACT

As emojis are widely used in social media, people not only use an emoji to express their emotions or mention things but also extend its usage to represent complicate emotions, concepts or activities by combining multiple emojis. In this work, we study how emoji combination, a consecutive emoji sequence, is used like a new language. We propose a novel algorithm called Retrieval Strategy to predict what emoji combination follows given a short text as context. Our algorithm treats emoji combinations as phrase in language, ranking sets of emoji combinations like retrieving words from dictionary. We show that our algorithm largely improves the F1 score from 0.141 to 0.204 on emoji combination prediction task.

Motivation & Objective

  • To address the challenge of predicting meaningful emoji combinations rather than single emojis in social media texts.
  • To model emoji combinations as linguistic phrases, capturing semantic and structural meaning beyond individual emoji usage.
  • To improve prediction performance on multi-emoji sequences by reducing reliance on greedy or top-k selection strategies.
  • To develop a retrieval-based method that ranks existing emoji combinations using frequency and ordering to enhance relevance and diversity.
  • To achieve better balance between precision and recall in emoji combination prediction through a learnable penalty mechanism.

Proposed method

  • Fine-tune a BERT-based model on 10 million U.S.-based English tweets with emoji, using masked language modeling and character-level embeddings to handle out-of-vocabulary words and misspellings.
  • Approximate the conditional probability of emoji combinations using unigram modeling: P(Y|W) ≈ ∏P(y_i|W), enabling efficient computation for sequences of one to three emojis.
  • Apply a retrieval strategy that ranks pre-mined emoji combinations from training data based on their frequency and ordering, treating each combination as a phrase in a language.
  • Score each candidate emoji combination using a weighted score: S = log(frequency) - λ × (number of emojis), where λ is a penalty hyperparameter to balance recall and precision.
  • Use a penalty term in the retrieval score to discourage overly short or long combinations, improving F1 by favoring balanced predictions.
  • Train the emoji prediction model with cross-entropy loss on 500 emoji classes, using a smaller architecture (L=10, H=256, A=4) for computational efficiency.

Experimental results

Research questions

  • RQ1How can emoji combinations be modeled as linguistic phrases to improve prediction beyond single emoji outputs?
  • RQ2What is the impact of retrieval-based ranking on the quality of predicted emoji combinations compared to direct probability-based selection?
  • RQ3Can a penalty mechanism that balances recall and precision improve F1 score in multi-emoji prediction tasks?
  • RQ4How does using a Twitter-specific pre-trained BERT model affect performance on emoji combination prediction?
  • RQ5To what extent do frequency and ordering of emoji sequences contribute to meaningful combination prediction?

Key findings

  • The retrieval strategy improved the F1 score from 0.141 (Naive Top-3) to 0.204, representing a significant performance gain over baseline methods.
  • The highest F1 score of 23.6 was achieved with the retrieval strategy using a penalty hyperparameter of 0.3, indicating optimal balance between precision and recall.
  • The retrieval method produced more meaningful emoji combinations, including rare emojis, by leveraging real-world usage patterns from the training corpus.
  • Greedy Top-3 strategies with varying thresholds achieved lower F1 scores (18.1–18.5) compared to the retrieval method, showing limitations in modeling semantic ordering.
  • The model's use of Twitter-specific pre-training and character-level embeddings improved robustness to out-of-vocabulary and informal language in tweets.
  • The retrieval strategy outperformed all baselines across all evaluation metrics, demonstrating its effectiveness in capturing complex emoji semantics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.