arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.00999cs.CLcs.AI
收藏

探索大型语言模型中的信息处理:来自信息瓶颈理论的洞见

Exploring Information Processing in Large Language Models: Insights from Information Bottleneck Theory

College of Computer and Data Science, Fuzhou University(福州大学计算机与数据科学学院);Leiden University(莱顿大学);SCITIX (SGP) TECH PTE. LTD(SCITIX (SGP)科技私人有限公司);SmartMore(思谋科技);College of Computer Science and Technology, Chongqing University of Technology(重庆理工大学计算机科学与技术学院)

Zhou Yang, Zhengyu Qi, Zhaochun Ren, Zhikai Jia, Haizhou Sun, Xiaofei Zhu, Xiangwen Liao

AI总结:

本文基于信息瓶颈理论揭示LLM通过任务空间压缩并选择性利用输入信息的机制,提出IC-ICL与TS-FT,实验证明二者可提升性能,且IC-ICL推理提速超40%。

摘要:

大型语言模型(LLM)通过理解输入信息并预测相应输出,已在广泛任务中展现出卓越性能。然而,LLM理解输入并作出有效预测的内部机制仍知之甚少。本文从信息瓶颈理论的视角探讨LLM在信息处理中的工作机制。我们提出一种无需训练的构建策略来定义任务空间,并发现以下关键结论:(1)LLM将输入信息压缩到特定任务空间(例如情感空间、主题空间)中,以促进任务理解;(2)随后它们在关键时刻从任务空间中提取并利用相关信息,以生成准确预测。基于这些洞见,我们提出两种新方法:基于信息压缩的上下文学习(IC-ICL)和任务空间引导微调(TS-FT)。IC-ICL通过将检索到的示例信息压缩到任务空间中,提升推理性能和推断效率。TS-FT采用空间引导损失来微调LLM,鼓励其学习更有效的压缩与选择机制。跨多个数据集的实验验证了任务空间构建的有效性。此外,IC-ICL不仅提升了性能,还将推理速度加快40%以上,而TS-FT仅通过极小的策略调整便取得了更优结果。

英文摘要:

Large Language Models (LLMs) have demonstrated remarkable performance across a wide range of tasks by understanding input information and predicting corresponding outputs. However, the internal mechanisms by which LLMs comprehend input and make effective predictions remain poorly understood. In this paper, we explore the working mechanism of LLMs in information processing from the perspective of Information Bottleneck Theory. We propose a non-training construction strategy to define a task space and identify the following key findings: (1) LLMs compress input information into specific task spaces (e.g., sentiment space, topic space) to facilitate task understanding; (2) they then extract and utilize relevant information from the task space at critical moments to generate accurate predictions. Based on these insights, we introduce two novel approaches: an Information Compression-based Context Learning (IC-ICL) and a Task-Space-guided Fine-Tuning (TS-FT). IC-ICL enhances reasoning performance and inference efficiency by compressing retrieved example information into the task space. TS-FT employs a space-guided loss to fine-tune LLMs, encouraging the learning of more effective compression and selection mechanisms. Experiments across multiple datasets validate the effectiveness of task space construction. Additionally, IC-ICL not only improves performance but also accelerates inference speed by over 40\%, while TS-FT achieves superior results with a minimal strategy adjustment.

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

↑