用于语言建模的迭代分段仿射(IPA)近似
Iterated Piecewise Affine (IPA) Approximation for Language Modeling
AI总结:
提出迭代分段仿射(IPA)近似,通过一阶 Taylor 展开结合迭代与分段建模用于语言建模,其结构类似 Transformers 解码器,并在短序列下一 token 预测中以交叉熵损失取得 1.5% 的性能优势。
摘要:
在本研究中,我们展示了一阶 Taylor 展开在近似通用函数 $F: R^{n \ imes m} \ o R^{n \ imes m}$ 中的应用,并将其用于语言建模。为增强基础 Taylor 展开,我们引入迭代与分段建模,因此将该算法命名为 Iterative Piecewise Affine(IPA,迭代分段仿射)近似。最终算法表现出与 Transformers 解码器架构有趣的相似之处。通过比较 IPA 与 Transformers 的参数排列,我们观察到二者性能惊人地接近;在较短序列长度、采用交叉熵损失的下一 token 预测任务中,IPA 比 Transformers 性能高出 1.5%。
英文摘要:
In this work, we demonstrate the application of a first-order Taylor expansion to approximate a generic function $F: R^{n \times m} \to R^{n \times m}$ and utilize it in language modeling. To enhance the basic Taylor expansion, we introduce iteration and piecewise modeling, leading us to name the algorithm the Iterative Piecewise Affine (IPA) approximation. The final algorithm exhibits interesting resemblances to the Transformers decoder architecture. By comparing parameter arrangements in IPA and Transformers, we observe a strikingly similar performance, with IPA outperforming Transformers by 1.5\% in the next token prediction task with cross-entropy loss for smaller sequence lengths.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。