arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1602.02068cs.CLcs.LGstat.ML

From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classification

Unbabel Lda(Unbabel有限公司);Instituto de Telecomunicações (IT)(电信研究所(IT));Instituto Superior Técnico(高等技术学院);Instituto de Engenharia de Sistemas e Computadores (INESC-ID)(系统与计算机工程研究所(INESC-ID))

André F. T. Martins, Ramón Fernandez Astudillo

英文摘要:

We propose sparsemax, a new activation function similar to the traditional softmax, but able to output sparse probabilities. After deriving its properties, we show how its Jacobian can be efficiently computed, enabling its use in a network trained with backpropagation. Then, we propose a new smooth and convex loss function which is the sparsemax analogue of the logistic loss. We reveal an unexpected connection between this new loss and the Huber classification loss. We obtain promising empirical results in multi-label classification problems and in attention-based neural networks for natural language inference. For the latter, we achieve a similar performance as the traditional softmax, but with a selective, more compact, attention focus.

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

↑