--- annotations_creators: - machine-generated - expert-generated language: - en - bn language_creators: - found - machine-generated license: cc-by-4.0 multilinguality: - multilingual pretty_name: "AffectFusion: Multilingual Multimodal Text-and-Emoji Emotion Recognition Dataset" size_categories: - 10K **Zero-Leakage & Provenance Guarantee:** All splits are deduplicated by normalized text MD5 hash prior to partitioning. Strictly **0 augmented** and **0 external** rows appear in `validation` or `test`. In `train`, `1,600` original English Fear tweets from [dair-ai/emotion](https://huggingface.co/datasets/dair-ai/emotion) (CARER; Saravia et al., EMNLP 2018) plus `1,147` Fear paraphrases seeded from them carry `is_external_train_only = 1` (`2,747` rows total), enabling transparent filtering. ### Config 2: `gold_audit` (`gold_audit/gold_5000_human_verified.csv`) Contains all **5,000 blinded human-verification records** (`3,000` Test + `2,000` Validation) verified independently by two researchers (`2,500` each) with AI labels hidden during annotation: - **Overall Raw Agreement:** `83.00%` (`4,150 / 5,000`) - **Overall Cohen's κ:** `0.8087` (`ENG`: `0.8129`, `BN`: `0.8128`, `BNG`: `0.7958`) - **Split Upgrades:** `test` upgraded to **100% Human-Verified Gold** (`κ = 0.7847`, `574` AI labels corrected); `validation` upgraded to **66.7% Gold** (`κ = 0.8447`, `276` labels corrected). --- ## 3. Data Fields (25-Column Unified Schema) | Column | Type | Description | | :--- | :---: | :--- | | `row_id` | `string` | Unique sample identifier (`AFG_`, `AFT_`, `AFD_`, `AFA_` prefixes). | | `raw_text` | `string` | PII-anonymized raw post (``, ``, ``, `` masked). | | `text_stream` | `string` | Emoji-stripped clean text stream for unimodal or text-branch encoding. | | `emoji_stream` | `string` | Space-separated base emojis (skin-tone modifiers normalized). | | `demoji_text` | `string` | Unicode CLDR natural-language descriptions of extracted emojis. | | `baseline_input` | `string` | Concatenated dual-stream baseline input (`text_stream [SEP] demoji_text`). | | `label` | `string` | Canonical emotion label name (`Joy` .. `Anticipation`). | | `label_id` | `int64` | Integer label ID (`0`–`8`; see Label Map below). | | `language_tag` | `string` | Script/language tag: `ENG`, `BN`, or `BNG`. | | `language_id` | `int64` | Integer language ID (`ENG=0`, `BN=1`, `BNG=2`). | | `has_emoji` | `int64` | Binary indicator (`1` if post contains ≥ 1 emoji, else `0`). | | `emoji_count` | `int64` | Total number of emoji tokens in the post. | | `unique_emoji_count` | `int64` | Number of distinct base emojis in the post. | | `emoji_density` | `float64` | Ratio of emoji tokens to word tokens (`emoji_count / word_count`). | | `text_length` | `int64` | Character length of `text_stream`. | | `word_count` | `int64` | Whitespace-delimited word count of `text_stream`. | | `exclamation_count` | `int64` | Number of `!` characters. | | `question_count` | `int64` | Number of `?` characters. | | `uppercase_ratio` | `float64` | Fraction of uppercase alphabetic characters. | | `has_sarcasm_emoji_cue` | `int64` | Binary flag for known ironic/sarcastic emoji cues (`🙄🤡🙃😒💀🤦😏☠`). | | `ai_confidence` | `int64` | Pseudo-label confidence tier (`3`, `4`, or `5`). | | `platform` | `string` | Source platform (`youtube_api`, `youtube`, `reddit`, `mastodon`, `lemmy`, `news_rss`, `twitter_dair_emotion`). | | `is_augmented` | `int64` | `1` for Train-only Gemini Flash paraphrases, else `0`. | | `is_external_train_only` | `int64` | `1` for Train-only DAIR-AI Fear seeds & derived paraphrases, else `0`. | | `is_human_verified` | `int64` | `1` if verified/corrected via blinded human annotation, else `0`. | ### Label & Language Mappings (`docs/label_map.json`) - **`label2id`:** `Joy: 0`, `Neutral: 1`, `Anger: 2`, `Sadness: 3`, `Surprise: 4`, `Sarcasm: 5`, `Fear: 6`, `Disgust: 7`, `Anticipation: 8` - **`lang2id`:** `ENG: 0`, `BN: 1`, `BNG: 2` --- ## 4. Reference Phase-I Baseline Benchmarks (100% Gold `test`, `N = 3,000`) | Model | Val Macro-F1 | Test Acc | Test Macro-F1 | ENG F1 | BN F1 | BNG F1 | Emoji F1 (`n=1,974`) | Non-Emoji F1 (`n=1,026`) | Sarcasm F1 (`n=393`) | | :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | | **CNN-BiLSTM (Kusal et al., 2025)** | 0.5892 | 54.20% | 0.5375 | 0.4534 | 0.5827 | 0.5082 | 0.5537 | 0.4313 | 0.4495 | | **XLM-R Text-Only** | 0.5462 | 54.50% | 0.5341 | 0.5501 | 0.5306 | 0.4335 | 0.5096 | 0.5777 | 0.3024 | | **XLM-R Early Fusion** | **0.6698** | **64.07%** | **0.6366** | **0.6430** | **0.6512** | **0.5367** | **0.6413** | 0.5702 | **0.4654** | - **Statistical Significance (XLM-R Early Fusion vs. Text-Only):** `ΔAcc = +9.57%` (`t = 10.57`, McNemar `χ² = 106.92`, `p < 0.0001`), rising to **`ΔAcc = +13.93%` / `ΔMacro-F1 = +0.1317`** on emoji-bearing posts (`n = 1,974`, `t = 11.24`, McNemar `χ² = 117.86`, `p < 0.0001`). --- ## 5. Additional Files in Repository - `docs/DATASHEET.md` — Comprehensive Gebru et al. Datasheet for Datasets - `docs/AffectFusion_Human_Annotation_Guidelines.md` — Blinded human annotation protocol & sarcasm priority rules - `docs/label_map.json` — Machine-readable class and language ID lookup - `docs/baseline_comparison_summary.csv` & `docs/stage1..stage5_*.json` — Complete Phase-I EDA, augmentation, split-audit, and statistical significance logs - `SHA256SUMS.txt` — Cryptographic integrity checksums for all data and documentation files --- ## 6. Ethical Considerations & Limitations - **Privacy:** All raw social media comments passed automated PII redaction (``, ``, ``, ``) prior to storage. - **Intended Use:** Strictly for academic research in multimodal NLP, multilingual affective computing, sarcasm detection, and explainable AI. Not intended for clinical diagnosis, hiring decisions, or surveillance. - **Known Limitations:** `train` utilizes confidence-filtered (`conf ≥ 3`) LLM pseudo-labels plus train-only class balancing; `validation` and `test` are 100% real scraped comments, with `test` 100% human-verified gold. Cross-attention modeling and XAI interpretability analyses are scheduled for the Next Phase. --- ## 7. Citation ```bibtex @dataset{hasan2026affectfusion, author = {Hasan, MD. Ragib and Galib, MD. Asadulla Hel and Akter, Sharmin and Raza, Dewan Mamun}, title = {{AffectFusion: A Multilingual Multimodal Text-and-Emoji Emotion Recognition Dataset (English, Bangla, and Banglish)}}, year = {2026}, month = nov, publisher = {Hugging Face}, version = {1.0.0}, url = {https://huggingface.co/datasets/ragibhasan/AffectFusion} } ```