arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.07009cs.CLcs.ITcs.LGmath.IT
收藏

抽象学习者学习语义语言的数学理论

A Mathematical Theory for Learning Semantic Languages by Abstract Learners

Kuo-Yu Liao, Cheng-Shang Chang, Y. -W. Peter Hong

AI总结:

受技能-文本二部图模型启发,本文将技能学习过程建模为LDPC和IRSA中的迭代解码过程,利用密度演化分析和位点渗流分析,从数学上解释了LLM学习技能的涌现现象,推导出测试误差缩放定律及技能关联图存在巨连通分量的条件,并提出了语义压缩方法。

摘要:

大型语言模型(LLMs)的最新进展表明,当系统参数数量和训练数据规模超过特定阈值时,会涌现出各种能力(即学习到的技能)。这些现象背后的确切机制尚未被完全理解,目前仍是活跃的研究课题。受 Arora 和 Goyal 提出的用于对语义语言进行建模的技能-文本二部图模型启发,我们开发了一种数学理论来解释学习技能的涌现,并将学习(或训练)过程纳入考量。我们的方法将技能-文本二部图中的技能学习过程建模为低密度奇偶校验码(LDPC)和不规则重复时隙 ALOHA(IRSA)中的迭代解码过程。利用密度演化分析,我们证明了当训练文本数量与技能数量的比值超过特定阈值时,学习技能的涌现现象。我们的分析还得出了测试误差相对于该比值的缩放定律。训练完成后,已学技能之间的关联也可以被获取,从而形成技能关联图。我们使用位点渗流分析推导了技能关联图中存在巨连通分量的条件。我们的分析还可以扩展到具有技能层级结构的设置中,其中微调模型构建在基础模型之上。它同样适用于包含多类技能和文本的设置。作为一项重要应用,我们提出了一种语义压缩方法,并讨论了它与语义通信的联系。

英文摘要:

Recent advances in Large Language Models (LLMs) have demonstrated the emergence of capabilities (learned skills) when the number of system parameters and the size of training data surpass certain thresholds. The exact mechanisms behind such phenomena are not fully understood and remain a topic of active research. Inspired by the skill-text bipartite graph model proposed by Arora and Goyal for modeling semantic languages, we develop a mathematical theory to explain the emergence of learned skills, taking the learning (or training) process into account. Our approach models the learning process for skills in the skill-text bipartite graph as an iterative decoding process in Low-Density Parity Check (LDPC) codes and Irregular Repetition Slotted ALOHA (IRSA). Using density evolution analysis, we demonstrate the emergence of learned skills when the ratio of the number of training texts to the number of skills exceeds a certain threshold. Our analysis also yields a scaling law for testing errors relative to this ratio. Upon completion of the training, the association of learned skills can also be acquired to form a skill association graph. We use site percolation analysis to derive the conditions for the existence of a giant component in the skill association graph. Our analysis can also be extended to the setting with a hierarchy of skills, where a fine-tuned model is built upon a foundation model. It is also applicable to the setting with multiple classes of skills and texts. As an important application, we propose a method for semantic compression and discuss its connections to semantic communication.

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

↑