CMHL: Contrastive Multi-Head Learning for Emotionally Consistent Text Classification
Menna Elgabry, Ali Hamdi, and Khaled Shaban

TL;DR
This paper introduces CMHL, a compact single-model architecture that enhances emotion classification accuracy and consistency by integrating psychological models and contrastive loss, outperforming larger models and ensembles.
Contribution
The paper presents a novel single-model approach with multi-task learning, psychological supervision, and a contrastive contradiction loss for emotionally consistent text classification.
Findings
Outperforms larger LLMs and ensembles with 125M parameters.
Achieves state-of-the-art F1 score of 93.75% on the dair-ai dataset.
Demonstrates strong cross-domain generalization and improved mental health detection.
Abstract
Textual Emotion Classification (TEC) is one of the most difficult NLP tasks. State of the art approaches rely on Large language models (LLMs) and multi-model ensembles. In this study, we challenge the assumption that larger scale or more complex models are necessary for improved performance. In order to improve logical consistency, We introduce CMHL, a novel single-model architecture that explicitly models the logical structure of emotions through three key innovations: (1) multi-task learning that jointly predicts primary emotions, valence, and intensity, (2) psychologically-grounded auxiliary supervision derived from Russell's circumplex model, and (3) a novel contrastive contradiction loss that enforces emotional consistency by penalizing mutually incompatible predictions (e.g., simultaneous high confidence in joy and anger). With just 125M parameters, our model outperforms 56x…
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 · Sentiment Analysis and Opinion Mining · Emotion and Mood Recognition
