A Framework for Bidirectional Decoding: Case Study in Morphological Inflection

Marc E. Canby, Julia Hockenmaier
5/21/2023
cs.CL

No official code found. Best implementation: marccanby/bidi_decoding (3 stars, MIT, last commit 2024-03-23).

Abstract

Transformer-based encoder-decoder models that generate outputs in a left-to-right fashion have become standard for sequence-to-sequence tasks. In this paper, we propose a framework for decoding that produces sequences from the "outside-in": at each step, the model chooses to generate a token on the left, on the right, or join the left and right sequences. We argue that this is more principled than prior bidirectional decoders. Our proposal supports a variety of model architectures and includes several training methods, such as a dynamic programming algorithm that marginalizes out the latent ordering variable. Our model sets state-of-the-art (SOTA) on the 2022 and 2023 shared tasks, beating the next best systems by over 4.7 and 2.7 points in average accuracy respectively. The model performs particularly well on long sequences, can implicitly learn the split point of words composed of stem and affix, and performs better relative to the baseline on datasets that have fewer unique lemmas (but more examples per lemma).

View on arXivView PDF

Code Implementations(1)

MIT

Code repository for "A Framework for Bidirectional Decoding: Case Study in Morphological Inflection"

31C++, LuaOct 20, 20232 years agoMIT

Similar Papers

Cite this paper

@article{canby2023framework,
  title  = {A Framework for Bidirectional Decoding: Case Study in Morphological Inflection},
  author = {Marc E. Canby and Julia Hockenmaier},
  year   = {2023},
  eprint = {2305.12580},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.12580v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.12580.svg)](https://codeofpaper.com/paper/2305.12580)

Discussion