In Recurrent Neural Networks (RNNs), encoding information in a suboptimal or erroneous way can impact the quality of representations based on later elements in the sequence and subsequently lead to wrong predictions and a worse model performance. In humans, challenging cases like garden path sentences (an instance of this being the infamous "The horse raced past the barn fell") can lead their language understanding astray. However, they are still able to correct their representation accordingly and recover when new information is encountered. Inspired by this, I propose an augmentation to standard RNNs in form of a gradient-based correction mechanism: This way I hope to enable such models to dynamically adapt their inner representation of a sentence, adding a way to correct deviations as soon as they occur. This could therefore lead to more robust models using more flexible representations, even during inference time.
I conduct different experiments in the context of language modeling, where the impact of using such a mechanism is examined in detail. To this end, I look at modifications based on different kinds of time-dependent error signals and how they influence the model performance. Furthermore, this work contains a study of the model's confidence in its predictions during training and for challenging test samples and the effect of the manipulation thereof. Lastly, I also study the difference in behavior of these novel models compared to a standard LSTM baseline and investigate error cases in detail to identify points of future research. I show that while the proposed approach comes with promising theoretical guarantees and an appealing intuition, it is only able to produce minor improvements over the baseline due to challenges in its practical application and the efficacy of the tested model variants.
Exploring the Syntactic Abilities of RNNs with Multi-task Learning
PSL Research University(巴黎文理研究大学);Bar Ilan University(巴伊兰大学);CNRS(法国国家科学研究中心);EHESS(法国社会科学高等研究院);Johns Hopkins University(约翰斯·霍普金斯大学)
最近的工作已经探索了RNN的句法能力,使用主语-动词一致性任务,诊断对句子结构的敏感性。RNN在常见情况下很好地执行了这项任务,但在复杂句子中却表现不佳(Linzen et al.,2016年)。我们测试这些错误是否是由于固有的限制架构或相对间接的监督提供的大多数协议依赖于语料库。我们训练了一个RNN来执行协议任务和一个额外的任务,无论是CCG超级标记还是语言建模。多任务训练导致出错率显著降低,特别是在复杂句子上,这表明RNN有能力进化出比以前更复杂的句法表示。我们还表明,容易获得的协议训练数据可以提高其他语法任务的性能,特别是当只有有限的训练数据可用于这些任务。多任务范例还可以被利用来将语法知识注入到语言模型中。
A Convolutional Neural Network for Aspect Sentiment Classification
Beijing University of Technology(北京工业大学)
随着互联网的发展,自然语言处理(NLP)在信息处理中变得至关重要,情感分析是其中的重要任务。情感分析包括方面情感分类。方面情绪可以提供完整和深入的结果,增加方面级别的关注。句子中的不同语境词影响句子的情感极性,而极性因句子中的不同方面而异。比如说,“我买了一台新相机。图像质量很好,但电池寿命太短。'作为例子。如果方面是图片质量,那么预期的情感极性是“积极的”,如果考虑电池寿命方面,那么情感极性应该是“消极的”;因此,当我们探索句子中的方面情感时,方面是很重要的。递归神经网络(RNN)被认为是处理自然语言处理的良好模型,并且RNN在方面情感分类方面具有良好的性能,包括目标依赖LSTM(TD-LSTM),目标连接LSTM(TC-LSTM)(Tang,2015 a,b),AE-LSTM,AT-LSTM,AEAT-LSTM(Wang et al.,2016).关于利用卷积神经网络进行情感分类也有大量的文献,但是关于利用卷积神经网络进行方面情感分类的文献很少。在我们的论文中,我们开发了基于注意力的输入层,其中方面的信息被认为是由输入层。然后,我们将基于注意力的输入层纳入卷积神经网络(CNN),以引入上下文单词信息。在我们的实验中,将方面的信息到CNN提高后者的方面的情感分类性能,而不使用语法分析器或外部情感词典在一个基准数据集从Twitter的,但得到更好的性能相比,其他模型。
Department of Computer Science, Aalborg University(奥尔堡大学计算机科学系);Department of Electronic information Engineering,Rizhao Polytechnic(日照职业技术学院电子信息工程系);School of Information Science and Technology, Northeast Normal University(东北师范大学信息科学与技术学院);Customer Service Research and Development Division, China Unicom Software Research Institute(中国联合软件研究院客户服务研发部)