paper-with-me

홈 › Papers

Von Mises-Fisher Loss for Training Sequence to Sequence Models with Continuous Outputs

2018-12-10 · ICLR 2019 5 · Sachin Kumar, Yulia Tsvetkov

The Softmax function is used in the final layer of nearly all existing sequence-to-sequence models for language generation. However, it is usually the slowest layer to compute which limits the vocabulary size to a subset of most frequent types; and it has a large memory footprint. We propose a general technique for replacing the softmax layer with a continuous embedding layer. Our primary innovations are a novel probabilistic loss, and a training and inference procedure in which we generate a probability distribution over pre-trained word embeddings, instead of a multinomial distribution over the vocabulary obtained via softmax. We evaluate this new class of sequence-to-sequence models with continuous outputs on the task of neural machine translation. We show that our models obtain upto 2.5x speed-up in training time while performing on par with the state-of-the-art models in terms of translation quality. These models are capable of handling very large vocabularies without compromising on translation quality. They also produce more meaningful errors than in the softmax-based models, as these errors typically lie in a subspace of the vector space of the reference translations.

📄 PDF Abstract BibTeX arXiv:1812.04616

Code (1)

Sachin19/seq2seq-con 공식 구현 pytorch

Tasks

Machine TranslationText GenerationTranslationWord Embeddings

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

von Mises-Fisher distributions and their statistical divergence

2022-02-10 · Toru Kitagawa, Jeff Rowley

The von Mises-Fisher family is a parametric family of distributions on the surface of the unit ball, summarised by a concentration parameter and a mean direction. As a quasi-Bayesian prior, the von Mises-Fisher distribut…

von Mises-Fisher Loss: An Exploration of Embedding Geometries for Supervised Learning

2021-03-29 · ICCV 2021 10 · Tyler R. Scott, Andrew C. Gallagher, Michael C. Mozer

Recent work has argued that classification losses utilizing softmax cross-entropy are superior not only for fixed-set classification tasks, but also by outperforming losses developed specifically for open-set tasks inclu…

ClassificationFew-Shot LearningGeneral ClassificationImage Retrieval+1

Sequence-to-Sequence Models Can Directly Translate Foreign Speech

2017-03-24 · Ron J. Weiss, Jan Chorowski, Navdeep Jaitly, Yonghui Wu 외

We present a recurrent encoder-decoder deep neural network architecture that directly translates speech in one language into text in another. The model does not explicitly transcribe the speech into text in the source la…

DecoderMachine TranslationSequence-To-Sequence Speech Recognitionspeech-recognition+2

A Note on the Kullback-Leibler Divergence for the von Mises-Fisher distribution

2015-02-25 · Tom Diethe

We present a derivation of the Kullback Leibler (KL)-Divergence (also known as Relative Entropy) for the von Mises Fisher (VMF) Distribution in $d$-dimensions.

Spherical Flows for Sampling Categorical Data

2026-05-07 · Jannis Chemseddine, Gregor Kornhardt, Gabriele Steidl arxiv

We study the problem of learning generative models for discrete sequences in a continuous embedding space. Whereas prior approaches typically operate in Euclidean space or on the probability simplex, we instead work on t…