arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.02806cs.LGmath.OCstat.ML
收藏

用于凸神经网络的随机几何代数方法

Randomized Geometric Algebra Methods for Convex Neural Networks

Stanford University(斯坦福大学)

Yifei Wang, Sungyoon Kim, Paul Chu, Indu Subramaniam, Mert Pilanci

AI总结:

本文提出将随机算法引入Clifford几何代数,通过凸优化训练神经网络至全局最优,并验证该方法在GPT-4和BERT嵌入的文本分类迁移学习任务中比传统方法更稳定可靠。

摘要:

我们将随机算法引入Clifford几何代数,将随机线性代数推广到超复向量空间。这一新颖方法在机器学习中有许多应用,包括通过凸优化将神经网络训练到全局最优。此外,我们将大语言模型(LLM)嵌入的微调视为一个关键应用领域,探索几何代数与现代AI技术的交叉。特别地,我们对基于嵌入的迁移学习的鲁棒性进行了比较分析,比较了传统方法与基于凸优化的新方法,涉及OpenAI GPT模型和BERT等嵌入。我们在多个案例研究中测试了基于凸优化的迁移学习方法,采用不同的嵌入(GPT-4和BERT嵌入)和不同的文本分类数据集(IMDb、Amazon Polarity Dataset和GLUE),并设置了一系列超参数。结果表明,凸优化和几何代数不仅提升了LLM的性能,还提供了一种更稳定、更可靠的基于嵌入的迁移学习方法。

英文摘要:

We introduce randomized algorithms to Clifford's Geometric Algebra, generalizing randomized linear algebra to hypercomplex vector spaces. This novel approach has many implications in machine learning, including training neural networks to global optimality via convex optimization. Additionally, we consider fine-tuning large language model (LLM) embeddings as a key application area, exploring the intersection of geometric algebra and modern AI techniques. In particular, we conduct a comparative analysis of the robustness of transfer learning via embeddings, such as OpenAI GPT models and BERT, using traditional methods versus our novel approach based on convex optimization. We test our convex optimization transfer learning method across a variety of case studies, employing different embeddings (GPT-4 and BERT embeddings) and different text classification datasets (IMDb, Amazon Polarity Dataset, and GLUE) with a range of hyperparameter settings. Our results demonstrate that convex optimization and geometric algebra not only enhances the performance of LLMs but also offers a more stable and reliable method of transfer learning via embeddings.

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

↑