Sarcasm detection and humor classification are inherently subtle problems, primarily due to their dependence on the contextual and non-verbal information. Furthermore, existing studies in these two topics are usually constrained in non-English languages such as Hindi, due to the unavailability of qualitative annotated datasets. In this work, we make two major contributions considering the above limitations: (1) we develop a Hindi-English code-mixed dataset, MaSaC, for the multi-modal sarcasm detection and humor classification in conversational dialog, which to our knowledge is the first dataset of its kind; (2) we propose MSH-COMICS, a novel attention-rich neural architecture for the utterance classification. We learn efficient utterance representation utilizing a hierarchical attention mechanism that attends to a small portion of the input sentence at a time. Further, we incorporate dialog-level contextual attention mechanism to leverage the dialog history for the multi-modal classification. We perform extensive experiments for both the tasks by varying multi-modal inputs and various submodules of MSH-COMICS. We also conduct comparative analysis against existing approaches. We observe that MSH-COMICS attains superior performance over the existing models by > 1 F1-score point for the sarcasm detection and 10 F1-score points in humor classification. We diagnose our model and perform thorough analysis of the results to understand the superiority and pitfalls.
翻译:此外,由于缺少定性附加说明数据集,这两个专题的现有研究通常在印地语等非英语语言中受到限制。在这项工作中,我们考虑到上述局限性,作出了两大贡献:(1) 我们开发了一个印地语-英语编码混合数据集,用于在对话中进行多式讽刺探测和幽默分类,据我们所知,这是这类对话的第一个数据集;(2) 我们提议采用MSH-COMICS,这是一个新颖的注意力丰富的神经结构来进行发音分类。 我们利用一个分级关注机制,在一段时间内处理一小部分投入句,学习高效的发音。 此外,我们采用对话层面的注意机制,以利用对话历史来进行多式分类。 我们通过多种模式投入和MSH-COMICS的各种子模块,对任务进行了广泛的实验。 我们还对现有方法进行了比较分析。 我们观察到,MSH-COMICS在目前进行的高级神经等级分析中,通过现有10个模型,实现了对1级级级级级的高级分析。