Identifying metaphors in text is very challenging and requires comprehending the underlying comparison. The automation of this cognitive process has gained wide attention lately. However, the majority of existing approaches concentrate on word-level identification by treating the task as either single-word classification or sequential labelling without explicitly modelling the interaction between the metaphor components. On the other hand, while existing relation-level approaches implicitly model this interaction, they ignore the context where the metaphor occurs. In this work, we address these limitations by introducing a novel architecture for identifying relation-level metaphoric expressions of certain grammatical relations based on contextual modulation. In a methodology inspired by works in visual reasoning, our approach is based on conditioning the neural network computation on the deep contextualised features of the candidate expressions using feature-wise linear modulation. We demonstrate that the proposed architecture achieves state-of-the-art results on benchmark datasets. The proposed methodology is generic and could be applied to other textual classification problems that benefit from contextual interaction.
翻译:在文本中识别隐喻非常具有挑战性,需要理解基本比较。这一认知过程的自动化最近引起了广泛的注意。然而,大多数现有方法侧重于字级识别,将任务视为单词分类或顺序标签,而没有明确地模拟隐喻组成部分之间的相互作用。另一方面,虽然现有的关系层面方法暗含了这种互动的模型,但它们忽视了隐含的隐含比喻发生的背景。在这项工作中,我们通过引入一个新结构来解决这些局限性,以根据背景调节确定某些语法关系在关系层面的隐喻表达方式。在视觉推理工作启发下,我们的方法是以使用地学线性线性调制模来调整神经网络计算候选表达的深层背景特征为基础。我们证明,拟议的结构在基准数据集上达到了最新的结果。拟议方法是通用的,可以用于从背景互动中受益的其他文字分类问题。