中文
相关论文

相关论文: Sigsoftmax: Reanalysis of the Softmax Bottleneck

200 篇论文

Despite recent advances in neural text generation, encoding the rich diversity in human language remains elusive. We argue that the sub-optimal text generation is mainly attributable to the imbalanced token distribution, which particularly…

计算与语言 · 计算机科学 2020-10-06 Byung-Ju Choi , Jimin Hong , David Keetae Park , Sang Wan Lee

Statistical language models are central to many applications that use semantics. Recurrent Neural Networks (RNN) are known to produce state of the art results for language modelling, outperforming their traditional n-gram counterparts in…

计算与语言 · 计算机科学 2016-02-05 Anantharaman Palacode Narayana Iyer

We propose an approximate strategy to efficiently train neural network based language models over very large vocabularies. Our approach, called adaptive softmax, circumvents the linear dependency on the vocabulary size by exploiting the…

计算与语言 · 计算机科学 2017-06-20 Edouard Grave , Armand Joulin , Moustapha Cissé , David Grangier , Hervé Jégou

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…

计算与语言 · 计算机科学 2016-02-09 André F. T. Martins , Ramón Fernandez Astudillo

Learning activation functions has emerged as a promising direction in deep learning, allowing networks to adapt activation mechanisms to task-specific demands. In this work, we introduce a novel framework that employs the Gumbel-Softmax…

机器学习 · 计算机科学 2026-01-13 Ramnath Kumar , Kyle Ritscher , Junmin Judy , Lawrence Liu , Cho-Jui Hsieh

Deep Neural Networks (DNNs) have performed admirably in classification tasks. However, the characterization of their classification uncertainties, required for certain applications, has been lacking. In this work, we investigate the issue…

机器学习 · 计算机科学 2023-11-28 Yu Pan , Kwo-Sen Kuo , Michael L. Rilee , Hongfeng Yu

Scene understanding and semantic segmentation are at the core of many computer vision tasks, many of which, involve interacting with humans in potentially dangerous ways. It is therefore paramount that techniques for principled design of…

计算机视觉与模式识别 · 计算机科学 2019-06-03 Charles Lehman , Dogancan Temel , Ghassan AlRegib

Softmax is widely used in neural networks for multiclass classification, gate structure and attention mechanisms. The statistical assumption that the input is normal distributed supports the gradient stability of Softmax. However, when used…

计算机视觉与模式识别 · 计算机科学 2021-08-17 Shulun Wang , Bin Liu , Feng Liu

Recent neural network and language models rely on softmax distributions with an extremely large number of categories. Since calculating the softmax normalizing constant in this context is prohibitively expensive, there is a growing…

机器学习 · 统计学 2018-03-26 Francois Fagan , Garud Iyengar

Neural language models have been widely used in various NLP tasks, including machine translation, next word prediction and conversational agents. However, it is challenging to deploy these models on mobile devices due to their slow…

机器学习 · 计算机科学 2018-10-31 Patrick H. Chen , Si Si , Sanjiv Kumar , Yang Li , Cho-Jui Hsieh

The last layer of neural language models (LMs) projects output features of dimension $D$ to logits in dimension $V$, the size of the vocabulary, where usually $D \ll V$. This mismatch is known to raise risks of limited expressivity in…

计算与语言 · 计算机科学 2026-03-12 Nathan Godey , Yoav Artzi

Out-of-vocabulary words account for a large proportion of errors in machine translation systems, especially when the system is used on a different domain than the one where it was trained. In order to alleviate the problem, we propose to…

计算与语言 · 计算机科学 2016-08-08 Pranava Swaroop Madhyastha , Cristina España-Bonet

The Softmax function is ubiquitous in machine learning, multiple previous works suggested faster alternatives for it. In this paper we propose a way to compute classical Softmax with fewer memory accesses and hypothesize that this reduction…

性能 · 计算机科学 2018-07-31 Maxim Milakov , Natalia Gimelshein

Evaluating the log-sum-exp function or the softmax function is a key step in many modern data science algorithms, notably in inference and classification. Because of the exponentials that these functions contain, the evaluation is prone to…

数值分析 · 数学 2019-09-10 Pierre Blanchard , Desmond J. Higham , Nicholas J. Higham

Mixture-of-experts (MoE) model incorporates the power of multiple submodels via gating functions to achieve greater performance in numerous regression and classification applications. From a theoretical perspective, while there have been…

机器学习 · 统计学 2024-06-25 Huy Nguyen , Pedram Akbarian , TrungTin Nguyen , Nhat Ho

The maximum element of the vector output by the Softmax function approaches zero as the input vector size increases. Transformer-based language models rely on Softmax to compute attention scores, causing the attention distribution to…

计算与语言 · 计算机科学 2025-02-03 Ken M. Nakanishi

It is often remarked that neural networks fail to increase their uncertainty when predicting on data far from the training distribution. Yet naively using softmax confidence as a proxy for uncertainty achieves modest success in tasks…

机器学习 · 计算机科学 2021-06-10 Tim Pearce , Alexandra Brintrup , Jun Zhu

The softmax function is crucial in Transformer attention, which normalizes each row of the attention scores with summation to one, achieving superior performances over other alternative functions. However, the softmax function can face a…

计算与语言 · 计算机科学 2025-02-26 Chuanyang Zheng , Yihang Gao , Guoxuan Chen , Han Shi , Jing Xiong , Xiaozhe Ren , Chao Huang , Xin Jiang , Zhenguo Li , Yu Li

Softmax is a standard final layer used in Neural Nets (NNs) to summarize information encoded in the trained NN and return a prediction. However, Softmax leverages only a subset of the class-specific structure encoded in the trained model…

机器学习 · 计算机科学 2019-12-09 Charles B. Delahunt , Courosh Mehanian , J. Nathan Kutz

Sequence-to-sequence models are a powerful workhorse of NLP. Most variants employ a softmax transformation in both their attention mechanism and output layer, leading to dense alignments and strictly positive output probabilities. This…

计算与语言 · 计算机科学 2019-06-14 Ben Peters , Vlad Niculae , André F. T. Martins