Nugget:文本的神经凝聚嵌入
Nugget: Neural Agglomerative Embeddings of Text
AI总结:
针对固定尺寸文本嵌入无法匹配输入信息量变化的问题,提出Nugget神经凝聚嵌入方法,通过动态选 token 生成表示,在语义比较任务中表现更优,还可扩展语言模型上下文窗口。
摘要:
文本序列嵌入是现代语言理解中的一项普遍需求。现有方法很大程度上聚焦于固定尺寸的表示。这一方式存在问题,因为文本包含的信息量通常随输入长度变化。我们提出名为Nugget的解决方案,它基于动态选择的输入词元子集将语言编码为表示。这些nugget(核心单元)通过自编码、机器翻译等任务学习得到,可直观地将语言切分为有意义的单元。我们证明Nugget在涉及语义比较的任务中优于相关方法。最后,我们说明这些紧凑单元可用于扩展语言模型(LM)的上下文窗口,为未来可基于大幅增加的内容量进行条件推理的新型LM提供了方向。
英文摘要:
Embedding text sequences is a widespread requirement in modern language understanding. Existing approaches focus largely on constant-size representations. This is problematic, as the amount of information contained in text often varies with the length of the input. We propose a solution called Nugget, which encodes language into a representation based on a dynamically selected subset of input tokens. These nuggets are learned through tasks like autoencoding and machine translation, and intuitively segment language into meaningful units. We demonstrate Nugget outperforms related approaches in tasks involving semantic comparison. Finally, we illustrate these compact units allow for expanding the contextual window of a language model (LM), suggesting new future LMs that can condition on significantly larger amounts of content.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。