arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.15779cs.CL
收藏

回声计算作为语言模型

Reservoir Computing as a Language Model

Department of Information and Computer Sciences, Saitama University(信息与计算机科学系,上野大学)

Felix Köster, Atsushi Uchida

AI总结:

本文比较了回声计算与Transformer在字符级语言建模中的表现,发现Transformer在预测质量上更优,而回声计算在能效方面更具优势。

摘要:

大型语言模型(LLM)由于其在处理大量数据和生成人类水平文本方面的出色表现,主导了科学和媒体领域。然而,其巨大的能耗和缓慢的处理速度仍然是进一步提高质量和普及的瓶颈。为了解决这一瓶颈,我们将研究回声计算在自然文本处理中的表现,这可能使快速且节能的硬件实现成为可能。关于将回声计算用作语言模型的研究仍然稀少。在本文中,我们比较了三种不同的字符级语言建模方法,两种不同的回声计算方法,其中只有输出层是可训练的,以及著名的基于Transformer的架构,后者完全学习了基于注意力的序列表示。我们通过等量变化所有模型的可训练参数数量,探索这两种范式的表现、计算成本和预测准确性。使用一致的管道对所有三种方法进行演示,我们证明了Transformer在预测质量上的优势,而回声计算机则保持了高度的效率,降低了训练和推理速度。此外,我们研究了两种类型的回声计算:一种是传统的回声器,具有静态的线性读出层,另一种是增强注意力的回声器,它通过注意力机制动态调整其输出权重。我们的发现强调了这些范式的扩展能力,并提供了在资源约束与性能之间取得平衡的指导方针。

英文摘要:

Large Language Models (LLM) have dominated the science and media landscape duo to their impressive performance on processing large chunks of data and produce human-like levels of text. Nevertheless, their huge energy demand and slow processing are still a bottleneck to further increasing quality while also making the models accessible to everyone. To solve this bottleneck, we will investigate how reservoir computing performs on natural text processing, which could enable fast and energy efficient hardware implementations. Studies investigating the use of reservoir computing as a language model remain sparse. In this paper, we compare three distinct approaches for character-level language modeling, two different \emph{reservoir computing} approaches, where only an output layer is trainable, and the well-known \emph{transformer}-based architectures, which fully learn an attention-based sequence representation. We explore the performance, computational cost and prediction accuracy for both paradigms by equally varying the number of trainable parameters for all models. Using a consistent pipeline for all three approaches, we demonstrate that transformers excel in prediction quality, whereas reservoir computers remain highly efficient reducing the training and inference speed. Furthermore, we investigate two types of reservoir computing: a \emph{traditional reservoir} with a static linear readout, and an \emph{attention-enhanced reservoir} that dynamically adapts its output weights via an attention mechanism. Our findings underline how these paradigms scale and offer guidelines to balance resource constraints with performance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑