TIDE:每层都知晓上下文中的token
TIDE: Every Layer Knows the Token Beneath the Context
AI总结:
TIDE通过引入EmbeddingMemory解决LLM中token身份单次注入导致的稀有词问题和上下文坍缩问题,提升多语言模型和下游任务性能。
摘要:
我们重新审视现代LLM中普遍但未充分研究的设计选择:在输入嵌入层一次查找token索引后永久丢弃。这一单次注入假设导致两个结构性失败:(i) 稀有词问题,词汇分布导致稀有词嵌入因接收到的梯度信号比例较少而长期欠训练;(ii) 上下文坍缩问题,参数有限的模型将分布相似的token映射到不可区分的隐藏状态。为解决这两个问题,我们提出TIDE,通过在标准transformer中添加EmbeddingMemory:一个包含K个独立MemoryBlock的集合,将token索引映射到无上下文语义向量,计算一次并通过深度条件化的softmax路由器和可学习的null bank注入到每层中。我们理论和实证地确立了TIDE在解决单token身份注入相关问题以及提升多个语言模型和下游任务性能方面的优势。
英文摘要:
We revisit a universally accepted but under-examined design choice in every modern LLM: a token index is looked up once at the input embedding layer and then permanently discarded. This single-injection assumption induces two structural failures: (i) the Rare Token Problem, where a Zipf-type distribution of vocabulary causes rare-token embeddings are chronically under-trained due to receiving a fraction of the cumulative gradient signal compared to common tokens; and (ii) the Contextual Collapse Problem, where limited parameters models map distributionally similar tokens to indistinguishable hidden states. As an attempt to address both, we propose TIDE, which augments the standard transformer with EmbeddingMemory: an ensemble of K independent MemoryBlocks that map token indices to context-free semantic vectors, computed once and injected into every layer through a depth-conditioned softmax router with a learnable null bank. We theoretically and empirically establish the benefits of TIDE in addressing the issues associated with single-token identity injection as well as improve performance across multiple language modeling and downstream tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。