arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.09244cs.CLcs.AI
收藏

高效的流序列标记编码器

Efficient Encoders for Streaming Sequence Tagging

Google(谷歌);Google Assistant(谷歌助手);The University of Texas at Austin(德克萨斯大学奥斯汀分校)

Ayush Kaushal, Aditya Gupta, Shyam Upadhyay, Manaal Faruqui

摘要:

用于流序列标记的现有技术的双向编码器的朴素应用将需要针对增量流输入(如转录的语音)中的每个新令牌从头开始编码每个令牌。先前计算的可重用性的缺乏导致更高数量的浮点运算(或FLOP)和更高数量的不必要的标签翻转。增加的FLOP因此导致更高的挂钟时间,并且增加的标签翻转导致更差的流传输性能。在这项工作中,我们提出了一种具有自适应重启(HEAR)的混合编码器,它可以解决这些问题,同时保持双向编码器在离线(或完整)输入上的性能,同时提高流(或不完整)输入的性能。HEAR具有混合单向-双向编码器架构以执行序列标记,以及自适应重启模块(ARM)以选择性地引导编码器的双向部分的重启。在四个序列标记任务中,HEAR在流媒体设置中的FLOP节省高达71.1%,并且在流媒体预测方面优于双向编码器,流媒体精确匹配高达+10%。

英文摘要:

A naive application of state-of-the-art bidirectional encoders for streaming sequence tagging would require encoding each token from scratch for each new token in an incremental streaming input (like transcribed speech). The lack of re-usability of previous computation leads to a higher number of Floating Point Operations (or FLOPs) and higher number of unnecessary label flips. Increased FLOPs consequently lead to higher wall-clock time and increased label flipping leads to poorer streaming performance. In this work, we present a Hybrid Encoder with Adaptive Restart (HEAR) that addresses these issues while maintaining the performance of bidirectional encoders over the offline (or complete) inputs while improving performance on streaming (or incomplete) inputs. HEAR has a Hybrid unidirectional-bidirectional encoder architecture to perform sequence tagging, along with an Adaptive Restart Module (ARM) to selectively guide the restart of bidirectional portion of the encoder. Across four sequence tagging tasks, HEAR offers FLOP savings in streaming settings upto 71.1% and also outperforms bidirectional encoders for streaming predictions by upto +10% streaming exact match.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑