arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2005.10089eess.AScs.CLcs.SD
收藏

大间隔Softmax在神经语言建模中的应用研究

Investigation of Large-Margin Softmax in Neural Language Modeling

RWTH Aachen University(亚琛工业大学);AppTek GmbH(AppTek有限公司)

Jingjing Huo, Yingbo Gao, Weiyue Wang, Ralf Schlüter, Hermann Ney

摘要:

为了鼓励可训练特征向量之间的类内紧致性和类间可分性,大间隔softmax方法被开发并广泛应用于人脸识别领域。据报道,将大余量概念引入softmax具有良好的特性,例如增强的鉴别能力,较少的过拟合和定义良好的几何直观。目前,语言建模通常使用softmax和交叉熵的神经网络。在这项工作中,我们很想知道,如果引入大的利润神经语言模型将改善的困惑,从而在自动语音识别的单词错误率。具体来说,我们首先实现和测试各种类型的常规利润率以下的人脸识别以前的作品。为了解决自然语言数据的分布问题,我们比较了不同的词向量范数缩放策略。在此基础上,我们采用最佳的范数尺度设置结合不同的边缘,并进行神经语言模型在自动语音识别的重评分实验。我们发现,尽管困惑度略有恶化,但具有大边距softmax的神经语言模型可以产生与标准softmax基线相似的单词错误率。最后,通过可视化的词向量,预期的利润率进行了分析,表明句法和语义关系也得到了保留。

英文摘要:

To encourage intra-class compactness and inter-class separability among trainable feature vectors, large-margin softmax methods are developed and widely applied in the face recognition community. The introduction of the large-margin concept into the softmax is reported to have good properties such as enhanced discriminative power, less overfitting and well-defined geometric intuitions. Nowadays, language modeling is commonly approached with neural networks using softmax and cross entropy. In this work, we are curious to see if introducing large-margins to neural language models would improve the perplexity and consequently word error rate in automatic speech recognition. Specifically, we first implement and test various types of conventional margins following the previous works in face recognition. To address the distribution of natural language data, we then compare different strategies for word vector norm-scaling. After that, we apply the best norm-scaling setup in combination with various margins and conduct neural language models rescoring experiments in automatic speech recognition. We find that although perplexity is slightly deteriorated, neural language models with large-margin softmax can yield word error rate similar to that of the standard softmax baseline. Finally, expected margins are analyzed through visualization of word vectors, showing that the syntactic and semantic relationships are also preserved.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑