paper-with-me

Papers

Structured Reordering for Modeling Latent Alignments in Sequence Transduction

2021-06-06 · NeurIPS 2021 12 · Bailin Wang, Mirella Lapata, Ivan Titov

Despite success in many domains, neural models struggle in settings where train and test examples are drawn from different distributions. In particular, in contrast to humans, conventional sequence-to-sequence (seq2seq) models fail to generalize systematically, i.e., interpret sentences representing novel combinations of concepts (e.g., text segments) seen in training. Traditional grammar formalisms excel in such settings by implicitly encoding alignments between input and output segments, but are hard to scale and maintain. Instead of engineering a grammar, we directly model segment-to-segment alignments as discrete structured latent variables within a neural seq2seq model. To efficiently explore the large space of alignments, we introduce a reorder-first align-later framework whose central component is a neural reordering module producing {\it separable} permutations. We present an efficient dynamic programming algorithm performing exact marginal inference of separable permutations, and, thus, enabling end-to-end differentiable training of our model. The resulting seq2seq model exhibits better systematic generalization than standard models on synthetic problems and NLP tasks (i.e., semantic parsing and machine translation).

📄 PDF Abstract BibTeX arXiv:2106.03257

Code (1)

berlino/tensor2struct-public 공식 구현 pytorch

Tasks

Machine TranslationSemantic ParsingSystematic GeneralizationTranslation

Methods 이 논문이 사용한 방법론

Tanh Activation 설명 없음
Sigmoid Activation 설명 없음
LSTM An LSTM is a type of recurrent neural network that addresses the vanishing gradient problem in vanilla…
Seq2Seq Seq2Seq, or Sequence To Sequence, is a model used in sequence prediction tasks, such as language modelling and machine translation. The idea is to use one…

Similar Papers 제목 키워드 기반

Non-Monotonic Latent Alignments for CTC-Based Non-Autoregressive Machine Translation

2022-10-08 · Chenze Shao, Yang Feng

Non-autoregressive translation (NAT) models are typically trained with the cross-entropy loss, which forces the model outputs to be aligned verbatim with the target sentence and will highly penalize small shifts in word …

Machine TranslationSentenceTranslation

Word Alignment-Based Reordering of Source Chunks in PB-SMT

2014-05-01 · LREC 2014 5 · Santanu Pal, Sudip Kumar Naskar, B, Sivaji yopadhyay

Reordering poses a big challenge in statistical machine translation between distant language pairs. The paper presents how reordering between distant language pairs can be handled efficiently in phrase-based statistical …

Machine TranslationTranslationWord Alignment

Self-Attention with Cross-Lingual Position Representation

2020-04-28 · ACL 2020 6 · Liang Ding, Long-Yue Wang, DaCheng Tao

Position encoding (PE), an essential part of self-attention networks (SANs), is used to preserve the word order information for natural language processing tasks, generating fixed position indices for input sequences. Ho…

Machine TranslationPositionSentenceTranslation

Learning Semantic Parsers from Denotations with Latent Structured Alignments and Abstract Programs

2019-09-09 · IJCNLP 2019 11 · Bailin Wang, Ivan Titov, Mirella Lapata

Semantic parsing aims to map natural language utterances onto machine interpretable meaning representations, aka programs whose execution against a real-world environment produces a denotation. Weakly-supervised semantic…

Inductive BiasSemantic Parsing

Report of the Shared Task on Learning Reordering from Word Alignments at RSMT 2012

2012-12-01 · WS 2012 12 · Mitesh M. Khapra, Ananthakrishnan Ramanathan, Karthik Visweswariah
Machine Translation