Bit Cipher——一种可与语言模型高效集成的简单而强大的词表示系统
Bit Cipher -- A Simple yet Powerful Word Representation System that Integrates Efficiently with Language Models
AI总结:
本文提出一种名为Bit-cipher的新型词表示系统,无需反向传播,利用unigram频率和超高效降维技术生成上下文丰富的词向量,并在POS和NER任务及与Roberta、T5、OPT等语言模型集成中展现出加速训练和保持竞争性能的优势。
摘要:
尽管大型语言模型(LLMs)日益占据主导地位,但经典的预训练词嵌入凭借其计算效率和细致的语言学解释依然保持着相关性。借鉴近期研究表明GloVe和word2vec优化的收敛趋势均趋向于对数共现矩阵变体,我们构建了一种名为Bit-cipher的新型词表示系统。该系统消除了反向传播的需求,同时利用上下文信息以及基于unigram频率的超高效降维技术,在提供强可解释性的同时兼顾了效率。我们使用bit-cipher算法通过两步过程训练词向量,该过程关键依赖于一个超参数——bits——来控制向量维度。第一步训练bit-cipher,第二步则使用两种不同的聚合模式——求和或拼接——从词共现中生成上下文丰富的表示。我们进一步探究了bit-cipher的有效性,在词性(POS)标注和命名实体识别(NER)上进行了探测实验,以评估其与word2vec和GloVe等经典嵌入的竞争力。此外,我们还探索了其在LM训练和微调中的适用性。通过用cipher嵌入替换嵌入层,我们的实验表明,与传统训练范式相比,cipher在加速训练过程和达到更优的最优解方面具有显著的效率。在微调之前或作为微调的替代方案,将bit-cipher嵌入层与Roberta、T5和OPT集成的实验展示了对迁移学习的良好增强,能够在保持竞争性性能的同时实现快速模型收敛。
英文摘要:
While Large Language Models (LLMs) become ever more dominant, classic pre-trained word embeddings sustain their relevance through computational efficiency and nuanced linguistic interpretation. Drawing from recent studies demonstrating that the convergence of GloVe and word2vec optimizations all tend towards log-co-occurrence matrix variants, we construct a novel word representation system called Bit-cipher that eliminates the need of backpropagation while leveraging contextual information and hyper-efficient dimensionality reduction techniques based on unigram frequency, providing strong interpretability, alongside efficiency. We use the bit-cipher algorithm to train word vectors via a two-step process that critically relies on a hyperparameter -- bits -- that controls the vector dimension. While the first step trains the bit-cipher, the second utilizes it under two different aggregation modes -- summation or concatenation -- to produce contextually rich representations from word co-occurrences. We extend our investigation into bit-cipher's efficacy, performing probing experiments on part-of-speech (POS) tagging and named entity recognition (NER) to assess its competitiveness with classic embeddings like word2vec and GloVe. Additionally, we explore its applicability in LM training and fine-tuning. By replacing embedding layers with cipher embeddings, our experiments illustrate the notable efficiency of cipher in accelerating the training process and attaining better optima compared to conventional training paradigms. Experiments on the integration of bit-cipher embedding layers with Roberta, T5, and OPT, prior to or as a substitute for fine-tuning, showcase a promising enhancement to transfer learning, allowing rapid model convergence while preserving competitive performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。