How Many Labels Is an Emoji Worth? Context Glosses for Few-Shot Health Posts

Health posts on social media are short, and much of their emotional content sits in emojis. Many pretrained language models cannot read emojis well, because their vocabularies were built from ordinary prose. The usual fix is a lookup table that swaps each emoji for its official name, so 😭 becomes "loudly crying face." That fix has two problems. It ignores context, since 😭 often means "laughing hard," not grief. And nobody has measured how its value changes with the amount of labeled data. This matters most in the setting where health text classification usually happens: a few hundred labeled posts or fewer, because expert annotation is expensive and privacy rules limit data sharing.

We propose to treat emoji-to-text conversion as a prior that can stand in for labels, and to measure it that way. For each emoji, an open language model running offline writes a short gloss of what that emoji does in that particular post (for example "(laughing hard)" or "(very upset)"). It does this without seeing any labels. We then fine-tune small encoders on 16 to 256 labeled examples and compare learning curves against stripping emojis, keeping raw emojis, and static dictionary names. The headline quantity is label-equivalence: how many extra labeled posts a baseline needs to match a model trained on glossed text. The idea is borrowed from the finding in GraphCare that knowledge grounding let 36 patients do the work of 720.

Core Claim

We make two linked, falsifiable claims. First, the benefit of converting emojis to text is largest when labeled data is scarce and shrinks as data grows. If true, earlier full-data studies understate the value of emoji conversion in the regime that matters for health surveillance. Second, context-dependent glosses beat static dictionary names. That advantage should be concentrated in posts containing emojis whose meaning depends on context, and on the ambiguous classes where annotators themselves disagree.

The contribution is a measurement: emoji conversion expressed in units of labels, stratified by how ambiguous each emoji is. The contribution is not "use emoji mapping on health tweets," which existing work already does.

What Prior Work Establishes and Leaves Open

Three health-surveillance systems motivate the proposal. Each uses static emoji conversion as a fixed preprocessing step on small corpora.

Adversities are all you need classifies self-reported breast cancer tweets (3,815 training tweets, 26% positive). It uses the ekphrasis dictionary, a biomedical BERT (BlueBERT), and adversarial fine-tuning, which adds small worst-case noise to word embeddings during training as a regularizer.

BERT based Adverse Drug Effect Tweet Classification detects drug side-effect mentions where about 7% of tweets are positive. It reports that converting emojis to text beat stripping them. It also shows a sharp collapse from validation F1 of 0.836 to blind-test F1 of 0.460, a clear sign of overfitting to few positives.

Identifying Medical Self-Disclosure in Online Communities applies emoji-to-text conversion to 6,639 posts. It finds that agreement collapses on the "Possible" disclosure class, where humor and emojis blur intent.

None of the three varies training-set size, compares mapping strategies, or separates emoji-bearing posts from the rest. We do all three.

Two other lines of work supply method or constrain the design. Domain Adaptation via Prompt Learning for Alzheimer's Detection shows that recasting classification as a fill-in-the-blank prompt for the model's word-prediction head ("cloze" tuning) works far better than plain tuning in small clinical data. We reuse that recipe as a second learner, because textual glosses may interact differently with a word-prediction head than with a classification head. Emojinize uses GPT-4 to translate text into context-appropriate emoji, the reverse of our direction. Its evidence that language models can resolve emoji meaning from context is what makes our gloss generator plausible.

Two papers act as constraints. Hybrid Emoji-Based Masked Language Models shows that raw emojis become useful once a model is pretrained on 20 million tweets with emoji-targeted masking. That puts a ceiling on what we claim: our method is a cheap substitute for that pretraining, not a better version of it. The Dravidian stress-identification system mapped emojis to English emotion words inside transliterated Tamil and Telugu and obtained macro F1 of 0.273 and 0.251. That is a warning that English glosses injected into other languages can hurt, so we test gloss language explicitly.

Research Program

We build one gloss generator and one evaluation harness.

The generator is an open instruction-tuned model run locally, so patient text never leaves the machine. It receives the post with one emoji marked and returns a gloss of two to four words describing that emoji's emotional or pragmatic function. It is told not to describe medical content and not to restate the post. The gloss replaces the emoji in place. Static dictionary names are kept as the comparison. Generation uses no labels, so it adds no annotation cost, but it does add inference cost, which we report.

To make the label-equivalence claim precise, let $F_m(n)$ be test F1 for mapping strategy $m$ trained on $n$ labeled posts, and let $F_0$ be the static-dictionary curve. The label-equivalence ratio at $n$ is

$$\rho_m(n) = \frac{\min\{\,n' : F_0(n') \ge F_m(n)\,\}}{n},$$

so $\rho = 2$ means glossing is worth doubling the labeled set. We estimate $F_0(n')$ by interpolating a curve fitted on a dense grid of $n'$. We report $\rho$ both against stripping and against static names.

We also tag every emoji type by context-dependence: the fraction of its occurrences whose glosses disagree with its static name, judged on a held-out annotated sample. This tag lets us test whether gains concentrate where the second claim predicts.

Baselines

The naive reference point is stripping all emojis before tokenization. This is common practice, and Kayastha et al. found it inferior at full data. Its curve anchors every $\rho$. Beside it we run raw Unicode emojis passed straight to the tokenizer, which tells us how much the encoder already understands without conversion.

The strongest existing method is static dictionary conversion (ekphrasis-style names) combined with the best published learner for each task. For the breast cancer task this is BlueBERT Large with adversarial fine-tuning, which Kumar et al. report at test F1 0.8501 and precision 0.8901 on full data. For adverse drug effects it is BERTweet with a BiLSTM layer, at test F1 0.491 after dropout tuning per Kayastha et al.. For self-disclosure it is fine-tuned DistilBERT at 81.02% accuracy per Valizadeh et al.. There is no reported result found on Lacuna for any of these tasks at few-shot training sizes, so our static-dictionary curves at small $n$ are themselves new reference points.

Fairness rules apply to every condition. Each condition uses the same backbone, the same sampled training subsets (identical post IDs per seed), ten seeds per size, and the same hyperparameter search budget of a fixed number of trials on a held-out development split capped at the training size. Development data is never drawn from the full corpus at small $n$. Beating this baseline means a gloss curve above the static curve by more than the seed-to-seed spread at $n \le 128$, with $\rho > 1.5$ against static names. Gains at full data are not required.

Two ablations isolate the key ingredient, which is context. In the first, each post receives a gloss generated for the same emoji type in a different, randomly chosen post. This keeps the vocabulary and length of glosses but breaks the link to context. In the second, glosses are inserted at random non-emoji positions. If context matters, the shuffled-gloss condition should fall to roughly the static-dictionary level.

Why not just…?

Why not just use the static dictionary, since it already beats stripping? This is the main competitor, and it may be enough. If most emojis in these corpora are used literally, static names carry the same information at zero cost. The shuffled-gloss ablation and the context-dependence stratification settle it. If context glosses beat static names only by noise, or if the gain does not grow with an emoji's context-dependence score, we will conclude that static names suffice. The paper then becomes a learning-curve study of static conversion, which still fills the gap that no prior health study varied $n$.

Why not skip the small encoder and have the language model classify the posts directly? This is a real threat. A model good enough to gloss emojis in context may simply classify few-shot. We run it as a baseline: the same open model as the gloss generator, prompted with the same $n$ labeled examples where they fit in context. The file has no reported result for this on these tasks. Kadiyala and Rao used GPT-4 and Llama-3 ensembles on other SMM4H 2024 tasks, but the ensemble that won was fine-tuned BART-Large in a staged pipeline, which suggests direct prompting is not automatically superior. If direct classification wins, we report it plainly. The remaining case for glossing is then deployment: a small encoder can be audited, retrained cheaply, and run on hospital hardware once the glosses are cached.

Why not just have the language model rewrite the whole post into plain prose? A full rewrite could help for reasons unrelated to emojis: normalizing slang, fixing spelling, or even leaking a judgment about the label. We include this as a control, rewriting with emojis removed and with emojis glossed. If whole-post rewriting matches emoji-only glossing on the emoji-free subset, the gains are not about emojis. Our claim survives only if gloss gains appear on emoji-bearing posts and are absent on emoji-free ones, where glossing changes nothing by construction.

Why not rely on stronger regularization such as adversarial fine-tuning? Adversarial fine-tuning addresses overfitting, not missing information, so the two should stack rather than compete. We run every mapping condition with and without it on the breast cancer task to check this directly.

Proposed Experiments

We use three primary benchmarks: SMM4H 2021 Task 8 (breast cancer self-reports), SMM4H 2021 Task 1a (adverse drug effects), and the medical self-disclosure corpus. Training subsets are 16, 32, 64, 128, and 256 posts plus full data, sampled with class balance capped at the natural positive rate. Backbones are BERTweet, BlueBERT, and DistilBERT, each tuned once with a classification head and once with the cloze recipe of Farzana and Parde.

Metrics are positive-class F1 for the two SMM4H tasks, and accuracy and macro F1 for self-disclosure, with a separate F1 on the "Possible" class. All results are reported overall, on the emoji-bearing subset, and on the emoji-free subset. Emoji frequency in these corpora is an open quantity we will report first: Corazza et al. observed 7–18% in abusive tweets, and a low rate would dilute overall effects even if subset effects are large.

A secondary test uses the Tamil and Telugu stress data from LT-EDI 2024, with the published macro F1 of 0.273 and 0.251 as the reference. Here we compare English glosses, target-language glosses, and no glosses on a multilingual encoder without transliteration. This asks whether the earlier failure came from emoji mapping itself or from forcing English into native-script text.

Four outcomes are decisive. The first claim fails if the gloss-minus-strip gap at $n=16$–$64$ is not larger than at full data. The second claim fails if context glosses do not beat static names on emoji-bearing posts at small $n$, or if the shuffled-gloss ablation recovers the same gain. The method is practically superseded if direct few-shot classification by the gloss model matches the best glossed encoder. A positive result would be $\rho$ well above one at small $n$, concentrated on context-dependent emojis and the "Possible" disclosure class, and fading as $n$ grows. That would turn emoji handling from a preprocessing detail into a measurable substitute for annotation.