arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.06007stat.MLcs.LG
收藏

Transformer与EM算法在多分类聚类中的对比

Transformers versus the EM Algorithm in Multi-class Clustering

Princeton University(普林斯顿大学);Northwestern University(西北大学);The University of Hong Kong(香港大学)

Yihan He, Hong-Yu Chen, Yuan Cao, Jianqing Fan, Han Liu

AI总结:

针对Transformer在无监督学习问题理解有限的现状,本研究构建Transformer与EM算法在高斯混合聚类中的理论联系,提供逼近界并证明其在充足预训练样本下可达到极小极大最优率,揭示LLMs的强推理能力。

摘要:

大语言模型(LLMs)以Transformer模型为核心,在复杂机器学习任务中展现出显著推理能力。由于对这类模型在无监督学习问题上的理解有限,我们研究了Transformer在高斯混合模型(GMM)多分类聚类中的学习保证。我们构建了理论,将Softmax注意力层与EM算法在高斯混合聚类中的工作流程紧密联系起来。该理论通过证明Softmax函数对多元映射的通用逼近能力,为期望步和最大化步提供了逼近界。除逼近保证外,我们还表明,在预训练样本数量充足且经过初始化的情况下,Transformer可达到所考虑问题的极小极大最优率。我们的大量模拟实验验证了理论,揭示Transformer的强学习能力甚至超出理论假设,为LLMs的强大推理能力提供了启示。

英文摘要:

LLMs demonstrate significant inference capacities in complicated machine learning tasks, using the Transformer model as its backbone. Motivated by the limited understanding of such models on the unsupervised learning problems, we study the learning guarantees of Transformers in performing multi-class clustering of the Gaussian Mixture Models. We develop a theory drawing strong connections between the Softmax Attention layers and the workflow of the EM algorithm on clustering the mixture of Gaussians. Our theory provides approximation bounds for the Expectation and Maximization steps by proving the universal approximation abilities of multivariate mappings by Softmax functions. In addition to the approximation guarantees, we also show that with a sufficient number of pre-training samples and an initialization, Transformers can achieve the minimax optimal rate for the problem considered. Our extensive simulations empirically verified our theory by revealing the strong learning capacities of Transformers even beyond the assumptions in the theory, shedding light on the powerful inference capacities of LLMs.

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

↑