谁需要解码器?序列级属性的高效估计
Who Needs Decoders? Efficient Estimation of Sequence-level Attributes
AI总结:
针对序列级属性预测,提出非自回归代理(NAP)模型,直接从编码预测标量指标,绕过昂贵自回归解码,在MT的OOD检测和性能预测中优于深度集成且推理高效。
摘要:
最先进的序列到序列模型通常需要自回归解码,这可能非常昂贵。然而,对于某些下游任务,如分布外(OOD)检测和资源分配,实际解码输出并不需要,只需要该序列的一个标量属性。在这些场景中,例如,了解系统输出的质量以预测性能不佳比了解输出本身更为重要,那么是否有可能绕过自回归解码?我们提出了非自回归代理(NAP)模型,可以高效地预测通用的标量值序列级属性。重要的是,NAP直接从编码中预测这些指标,避免了昂贵的自回归解码阶段。我们考虑了两种序列到序列任务:机器翻译(MT)和自动语音识别(ASR)。在MT的OOD检测中,NAP在显著更快的同时优于深度集成。NAP还被证明能够预测诸如BERTScore(MT)或词错误率(ASR)等性能指标。对于下游任务,如数据过滤和资源优化,NAP生成的性能预测优于预测不确定性,同时具有极高的推理效率。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。