Solving Regularized Exp, Cosh and Sinh Regression Problems
Zhihang Li, Zhao Song, Tianyi Zhou

TL;DR
This paper introduces a convex regularized exponential regression framework inspired by attention mechanisms in large language models, and proposes an efficient approximate Newton method leveraging input sparsity for large-scale problems.
Contribution
It develops a novel convex regularized exponential regression model and an input sparsity time algorithm using approximate Newton methods, improving scalability for large datasets.
Findings
The proposed method achieves input sparsity time complexity per iteration.
It effectively solves regularized exponential regression problems with functions like exp, cosh, sinh.
The algorithm converges in a logarithmic number of iterations relative to the desired accuracy.
Abstract
In modern machine learning, attention computation is a fundamental task for training large language models such as Transformer, GPT-4 and ChatGPT. In this work, we study exponential regression problem which is inspired by the softmax/exp unit in the attention mechanism in large language models. The standard exponential regression is non-convex. We study the regularization version of exponential regression problem which is a convex problem. We use approximate newton method to solve in input sparsity time. Formally, in this problem, one is given matrix , , and any of functions and denoted as . The goal is to find the optimal that minimize . The straightforward method is to use the naive Newton's method. Let …
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsStochastic Gradient Optimization Techniques · Machine Learning and Algorithms · Machine Learning and ELM
MethodsMulti-Head Attention · Attention Is All You Need · Linear Layer · Softmax · Residual Connection · Label Smoothing · Position-Wise Feed-Forward Layer · Byte Pair Encoding · Dropout · Dense Connections
