超越词嵌入的涌现语义:具有冻结视觉Unicode表示的Transformer语言模型
Emergent Semantics Beyond Token Embeddings: Transformer LMs with Frozen Visual Unicode Representations
AI总结:
本研究证明冻结的视觉Unicode嵌入可替代可训练词嵌入,Transformer模型在MMLU上表现更优,表明语义是架构与数据涌现的结果。
摘要:
理解大型语言模型(LLM)中语义表示的位置对于可解释性和架构创新至关重要。主流范式认为,可训练输入嵌入作为基础的“意义向量”。本文挑战了这一观点。我们构建了嵌入层完全冻结的Transformer模型,其向量并非来自数据,而是来自Unicode字形的视觉结构。这些非语义的、预计算的视觉嵌入在整个训练过程中保持不变。我们的方法与任何分词器兼容,包括我们引入的一种新颖的以Unicode为中心的分词器,以确保通用的文本覆盖。尽管缺乏可训练的、语义初始化的嵌入,我们的模型能够收敛、生成连贯的文本,并且关键的是,在MMLU推理基准上优于具有可训练嵌入的架构相同模型。我们将此归因于传统模型中的“表示干扰”,其中嵌入层承担了学习结构和语义特征的双重负担。我们的结果表明,高层语义并非输入嵌入所固有,而是Transformer组合架构和数据规模的涌现属性。这重新定义了嵌入的角色,从意义容器转变为结构原语。我们发布所有代码和模型以促进进一步研究。
英文摘要:
Understanding the locus of semantic representation in large language models (LLMs) is crucial for interpretability and architectural innovation. The dominant paradigm posits that trainable input embeddings serve as foundational "meaning vectors." This paper challenges that view. We construct Transformer models where the embedding layer is entirely frozen, with vectors derived not from data, but from the visual structure of Unicode glyphs. These non-semantic, precomputed visual embeddings are fixed throughout training. Our method is compatible with any tokenizer, including a novel Unicode-centric tokenizer we introduce to ensure universal text coverage. Despite the absence of trainable, semantically initialized embeddings, our models converge, generate coherent text, and, critically, outperform architecturally identical models with trainable embeddings on the MMLU reasoning benchmark. We attribute this to "representational interference" in conventional models, where the embedding layer is burdened with learning both structural and semantic features. Our results indicate that high-level semantics are not inherent to input embeddings but are an emergent property of the Transformer's compositional architecture and data scale. This reframes the role of embeddings from meaning containers to structural primitives. We release all code and models to foster further research.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。