Who Needs Decoders? Efficient Estimation of Sequence-level Attributes

Yassir Fathullah, Puria Radmard, Adian Liusie, Mark J. F. Gales
5/9/2023
cs.LGcs.AIcs.CL

No confident code implementation found for this paper.

Abstract

State-of-the-art sequence-to-sequence models often require autoregressive decoding, which can be highly expensive. However, for some downstream tasks such as out-of-distribution (OOD) detection and resource allocation, the actual decoding output is not needed just a scalar attribute of this sequence. In these scenarios, where for example knowing the quality of a system's output to predict poor performance prevails over knowing the output itself, is it possible to bypass the autoregressive decoding? We propose Non-Autoregressive Proxy (NAP) models that can efficiently predict general scalar-valued sequence-level attributes. Importantly, NAPs predict these metrics directly from the encodings, avoiding the expensive autoregressive decoding stage. We consider two sequence-to-sequence task: Machine Translation (MT); and Automatic Speech Recognition (ASR). In OOD for MT, NAPs outperform a deep ensemble while being significantly faster. NAPs are also shown to be able to predict performance metrics such as BERTScore (MT) or word error rate (ASR). For downstream tasks, such as data filtering and resource optimization, NAPs generate performance predictions that outperform predictive uncertainty while being highly inference efficient.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{fathullah2023needs,
  title  = {Who Needs Decoders? Efficient Estimation of Sequence-level Attributes},
  author = {Yassir Fathullah and Puria Radmard and Adian Liusie and Mark J. F. Gales},
  year   = {2023},
  eprint = {2305.05098},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.05098v1}
}

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.05098.svg)](https://codeofpaper.com/paper/2305.05098)

Discussion