تقرير
Discovering Non-monotonic Autoregressive Orderings with Variational Inference
العنوان: | Discovering Non-monotonic Autoregressive Orderings with Variational Inference |
---|---|
المؤلفون: | Li, Xuanlin, Trabucco, Brandon, Park, Dong Huk, Luo, Michael, Shen, Sheng, Darrell, Trevor, Gao, Yang |
سنة النشر: | 2021 |
المجموعة: | Computer Science |
مصطلحات موضوعية: | Computer Science - Computation and Language, Computer Science - Artificial Intelligence, Computer Science - Machine Learning |
الوصف: | The predominant approach for language modeling is to process sequences from left to right, but this eliminates a source of information: the order by which the sequence was generated. One strategy to recover this information is to decode both the content and ordering of tokens. Existing approaches supervise content and ordering by designing problem-specific loss functions and pre-training with an ordering pre-selected. Other recent works use iterative search to discover problem-specific orderings for training, but suffer from high time complexity and cannot be efficiently parallelized. We address these limitations with an unsupervised parallelizable learner that discovers high-quality generation orders purely from training data -- no domain knowledge required. The learner contains an encoder network and decoder language model that perform variational inference with autoregressive orders (represented as permutation matrices) as latent variables. The corresponding ELBO is not differentiable, so we develop a practical algorithm for end-to-end optimization using policy gradients. We implement the encoder as a Transformer with non-causal attention that outputs permutations in one forward pass. Permutations then serve as target generation orders for training an insertion-based Transformer language model. Empirical results in language modeling tasks demonstrate that our method is context-aware and discovers orderings that are competitive with or even better than fixed orders. Comment: updated from ICLR 2021, first two authors contributed equally |
نوع الوثيقة: | Working Paper |
URL الوصول: | http://arxiv.org/abs/2110.15797 |
رقم الأكسشن: | edsarx.2110.15797 |
قاعدة البيانات: | arXiv |
الوصف غير متاح. |