Skip to main content
QUICK REVIEW

[Paper Review] SNU_IDS at SemEval-2019 Task 3: Addressing Training-Test Class Distribution Mismatch in Conversational Classification

Sanghwan Bae, Jihun Choi|arXiv (Cornell University)|Mar 6, 2019
Sentiment Analysis and Opinion MiningComputer Science24 references3 citations
TL;DR

This paper proposes methods to address class distribution mismatch between training and test data in conversational emotion classification, extending class imbalance techniques for skewed test distributions. It introduces a semi-hierarchical neural architecture with multi-source embeddings and achieves a micro F1 score of 0.766 on the SemEval-2019 EmoContext task, outperforming the baseline by significant margins through distribution alignment and context-aware modeling.

ABSTRACT

We present several techniques to tackle the mismatch in class distributions between training and test data in the Contextual Emotion Detection task of SemEval 2019, by extending the existing methods for class imbalance problem. Reducing the distance between the distribution of prediction and ground truth, they consistently show positive effects on the performance. Also we propose a novel neural architecture which utilizes representation of overall context as well as of each utterance. The combination of the methods and the models achieved micro F1 score of about 0.766 on the final evaluation.

Motivation & Objective

  • To address the significant discrepancy in class distribution between training and test data in the EmoContext task, where test data has only 15% emotional labels versus 50% in training.
  • To improve model generalization by aligning the predicted output distribution with the true test distribution, despite the training data being balanced.
  • To develop a neural architecture that effectively captures both utterance-level and dialogue-level context for emotion classification.
  • To handle non-standard text elements like emojis and emoticons using specialized pre-trained embeddings.

Proposed method

  • Adapted sampling techniques—oversampling and undersampling—by applying them to match the test data’s class distribution, rather than balancing training data.
  • Applied thresholding by dividing prediction probabilities by class prior estimates to recalibrate model outputs toward the test distribution.
  • Implemented cost-sensitive learning using inverse class frequency weighting in the cross-entropy loss function to penalize misclassification of rare classes.
  • Designed a semi-hierarchical encoder that processes each utterance with a BiLSTM and aggregates context using self-attention and max pooling.
  • Combined multiple pre-trained embeddings: word2vec, emoji2vec, datastories vectors, and character-level CNNs to handle non-standard language.
  • Trained the model using Adam optimizer with gradient clipping, dropout (p=0.1), and selected the best model based on micro F1 on the validation set.

Experimental results

Research questions

  • RQ1Can standard class imbalance techniques be adapted to address distribution mismatch when the imbalance appears only in test data, not in training data?
  • RQ2How does aligning the model’s output distribution with the test distribution affect performance in low-resource emotion classification?
  • RQ3To what extent does a semi-hierarchical neural architecture improve emotion classification by modeling both utterance and dialogue context?
  • RQ4Does using specialized embeddings for emojis and non-standard language improve performance in conversational emotion detection?
  • RQ5Can ensemble methods combining multiple distribution-alignment strategies further enhance model generalization on unseen test data?

Key findings

  • The baseline model without distribution alignment produced a predicted class distribution that significantly diverged from the actual test distribution, contributing to poor performance.
  • Thresholding and cost-sensitive learning were the most effective single-method approaches, improving micro F1 to 0.739 and accuracy to 0.924.
  • Oversampling and cost-sensitive learning in ensemble settings achieved the highest performance, with a final micro F1 of 0.766 on the test set.
  • Undersampling reduced training data size and hurt performance, consistent with prior findings that it harms deep learning models when used alone.
  • The ensemble model combining multiple methods outperformed all baselines and single models, demonstrating the effectiveness of distribution alignment.
  • The proposed semi-hierarchical architecture with multi-source embeddings effectively captured contextual and emotional transitions in dialogues, contributing to improved generalization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.