Computer Science > Machine Learning
[Submitted on 23 May 2018 (v1), revised 3 Jun 2018 (this version, v3), latest version 4 Jan 2019 (v9)]
Title:Amortized Context Vector Inference for Sequence-to-Sequence Networks
View PDFAbstract:Neural attention (NA) is an effective mechanism for inferring complex structural data dependencies that span long temporal horizons. As a consequence, it has become a key component of sequence-to-sequence models that yield state-of-the-art performance in as hard tasks as abstractive document summarization (ADS), machine translation (MT), and video captioning (VC). NA mechanisms perform inference of context vectors; these constitute weighted sums of deterministic input sequence encodings, adaptively sourced over long temporal horizons. However, recent work in the field of amortized variational inference (AVI) has shown that it is often useful to treat the representations generated by deep networks as latent random variables. This allows for the models to better explore the space of possible representations. Based on this motivation, in this work we introduce a novel regard towards a popular NA mechanism, namely soft-attention (SA). Our approach treats the context vectors generated by SA models as latent variables, the posteriors of which are inferred by employing AVI. Both the means and the covariance matrices of the inferred posteriors are parameterized via deep network mechanisms similar to those employed in the context of standard SA. To illustrate our method, we implement it in the context of popular sequence-to-sequence model variants with SA. We conduct an extensive experimental evaluation using challenging ADS, VC, and MT benchmarks, and show how our approach compares to the baselines.
Submission history
From: Sotirios Chatzis [view email][v1] Wed, 23 May 2018 10:16:59 UTC (2,101 KB)
[v2] Thu, 31 May 2018 17:46:02 UTC (2,101 KB)
[v3] Sun, 3 Jun 2018 10:54:02 UTC (2,101 KB)
[v4] Sat, 9 Jun 2018 13:51:28 UTC (2,101 KB)
[v5] Fri, 15 Jun 2018 13:35:18 UTC (2,101 KB)
[v6] Wed, 26 Sep 2018 19:24:17 UTC (2,163 KB)
[v7] Sun, 23 Dec 2018 21:11:30 UTC (2,095 KB)
[v8] Tue, 1 Jan 2019 12:01:37 UTC (2,332 KB)
[v9] Fri, 4 Jan 2019 15:55:31 UTC (2,332 KB)
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
IArxiv Recommender
(What is IArxiv?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.