arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.10254cs.CLcs.AIcs.LGcs.SDeess.AS
收藏

面向大语言模型中的信号处理研究

Towards Signal Processing In Large Language Models

Stanford University(斯坦福大学)

Prateek Verma, Mert Pilanci

AI总结:

本研究提出在大语言模型内部引入可学习的类傅里叶时频信号处理方法,通过对激活信号分解、滤波与重构来预测下一词,仅增少量参数即可让类GPT架构收敛更快、性能显著提升,为跨领域研究铺路。

摘要:

本文提出了在大语言模型(Large Language Model, LLM)内部应用信号处理的思路。随着生成式AI的近期爆发,本工作可助力搭建信号处理领域与大语言模型领域之间的桥梁。我们将经典傅里叶变换与针对LLM每一层中间激活信号的类傅里叶变换可学习时频表征进行类比。在将每个token对应的激活信号分解为时频表征后,我们学习如何对其进行滤波与重构,所有组件均从零开始学习,以基于前文上下文预测下一个token。实验表明,对于类GPT架构,在相同训练轮次下,本方法仅需增加极少的额外参数,即可实现更快的收敛速度并显著提升性能。我们希望本工作为探索在LLM等神经架构内部信号中开展信号处理的算法奠定基础。

英文摘要:

This paper introduces the idea of applying signal processing inside a Large Language Model (LLM). With the recent explosion of generative AI, our work can help bridge two fields together, namely the field of signal processing and large language models. We draw parallels between classical Fourier-Transforms and Fourier Transform-like learnable time-frequency representations for every intermediate activation signal of an LLM. Once we decompose every activation signal across tokens into a time-frequency representation, we learn how to filter and reconstruct them, with all components learned from scratch, to predict the next token given the previous context. We show that for GPT-like architectures, our work achieves faster convergence and significantly increases performance by adding a minuscule number of extra parameters when trained for the same epochs. We hope this work paves the way for algorithms exploring signal processing inside the signals found in neural architectures like LLMs and beyond.

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

↑