Hope Speech Detection in code-mixed Roman Urdu tweets: A Positive Turn in Natural Language Processing
Muhammad Ahmad, Muhammad Waqas, Ameer Hamza, Ildar Batyrshin, Grigori Sidorov

TL;DR
This paper introduces the first annotated dataset and a specialized transformer model for detecting hope speech in code-mixed Roman Urdu tweets, addressing a gap in NLP for low-resource, informal language varieties.
Contribution
It creates a multi-class hope speech dataset for Roman Urdu, analyzes linguistic patterns, and develops an attention-based transformer model tailored for this language mix.
Findings
XLM-R model achieves 0.78 accuracy, outperforming baselines.
The dataset includes four hope categories, enriching NLP resources.
Statistical tests confirm significance of performance improvements.
Abstract
Hope is a positive emotional state involving the expectation of favorable future outcomes, while hope speech refers to communication that promotes optimism, resilience, and support, particularly in adverse contexts. Although hope speech detection has gained attention in Natural Language Processing (NLP), existing research mainly focuses on high-resource languages and standardized scripts, often overlooking informal and underrepresented forms such as Roman Urdu. To the best of our knowledge, this is the first study to address hope speech detection in code-mixed Roman Urdu by introducing a carefully annotated dataset, thereby filling a critical gap in inclusive NLP research for low-resource, informal language varieties. This study makes four key contributions: (1) it introduces the first multi-class annotated dataset for Roman Urdu hope speech, comprising Generalized Hope, Realistic Hope,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMental Health via Writing · Optimism, Hope, and Well-being · Sentiment Analysis and Opinion Mining
