mlsanityData to 7 Oct 2026

LEIA: Linguistic Embeddings for the Identification of Affect

arXiv 2304.10973 ↗First posted 21 Apr 2023cs.CL cs.AI cs.CYcited by 3

Not on the map. Why?

Abstract (arXiv)

The wealth of text data generated by social media has enabled new kinds of analysis of emotions with language models. These models are often trained on small and costly datasets of text annotations produced by readers who guess the emotions expressed by others in social media posts. This affects the quality of emotion identification methods due to training data size limitations and noise in the production of labels used in model development. We present LEIA, a model for emotion identification in text that has been trained on a dataset of more than 6 million posts with self-annotated emotion labels for happiness, affection, sadness, anger, and fear. LEIA is based on a word masking method that enhances the learning of emotion words during model pre-training. LEIA achieves macro-F1 values of approximately 73 on three in-domain test datasets, outperforming other supervised and unsupervised methods in a strong benchmark that shows that LEIA generalizes across posts, users, and time periods. We further perform an out-of-domain evaluation on five different datasets of social media and other sources, showing LEIA's robust performance across media, data collection methods, and annotation schemes. Our results show that LEIA generalizes its classification of anger, happiness, and sadness beyond the domain it was trained on. LEIA can be applied in future research to provide better identification of emotions in text from the perspective of the writer. The models produced for this article are publicly available at https://huggingface.co/LEIA

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 22 of its 65 references that are in the map. First posted on arXiv 21 Apr 2023.

Builds on

22 of 65 references.

References · 22

  1. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  2. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  3. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
  4. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
  5. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
  6. 2020GoEmotions: A Dataset of Fine-Grained Emotionscited by 479
  7. 2020TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classificationcited by 414
  8. 2020BERTweet: A pre-trained language model for English Tweetscited by 346
  9. 2020Supervised Contrastive Learning for Pre-trained Language Model Fine-tuningcited by 275
  10. 2022Neural Theory-of-Mind? On the Limits of Social Intelligence in Large LMscited by 220
  11. 2013Crowdsourcing a Word-Emotion Association Lexiconcited by 193
  12. 2017Using millions of emoji occurrences to learn any-domain representations for detecting sentiment, emotion and sarcasmcited by 117
10 more
  1. 2020PMI-Masking: Principled masking of correlated spanscited by 54
  2. 2019Crowdsourcing and Validating Event-focused Emotion Corpora for German and Englishcited by 25
  3. 2020ktrain: A Low-Code Library for Augmented Machine Learningcited by 23
  4. 2021Ethics Sheet for Automatic Emotion Recognition and Sentiment Analysiscited by 22
  5. 2020Joint Modelling of Emotion and Abusive Language Detectioncited by 13
  6. 2015Measuring Emotional Contagion in Social Mediacited by 10
  7. 2021Uncovering the Limits of Text-based Emotion Detectioncited by 8
  8. 2019Sharing emotions at scale: The Vent datasetcited by 7
  9. 2021Social media emotion macroscopes reflect emotional experiences in society at largecited by 2
  10. 2021Validating daily social media macroscopes of emotionscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.