Summary
In this paper, the authors proposes a novel convex analytic approach to improve the understanding and optimization of transformers. More specifically, they introduce a convex alternative to substitute the nonconvex softmax operation typically used in transformer networks and remove all nonconvex heuristics such as skip connection, layer norm. This alternative approach simplifies the problem into a convex optimization problem. They conducted a series of experiments, comparing the traditional nonconvex transformer with their proposed convex version. The results demonstrate that the convex version achieves faster convergence and lower test loss, highlighting the advantages of their approach.
Strengths
1. Simplifying the transformer into a convex problem streamlines theoretical analysis.
2. The convex alternative shows good convergence speed on the demonstrated tasks, and the reformulation can mitigate the grokking phenomenon
3. The sparsity-inducing regularization which aims to use as few tokens as possible to fit the training labels seems to be a interesting finding.
Weaknesses
1. The oversimplification of the problem is a concern. Removing the softmax component, although it may simplify analyses, fails to provide genuine insights into the actual functioning of the transformer. It does little to enhance our understanding of the transformer architecture, which heavily relies on the softmax operation.
2. The absence of a theoretical proof regarding the convergence rate of the proposed alternative version is another limitation of this work.
3. The chosen tasks for demonstration may be too easy, potentially limiting the generalizability and applicability of the findings.
Questions
1. It would be better to have a theoretically convergence rate analysis on the reformulation.
2. Can the proposed convex alternative be scaled up to a larger size (e.g., billions of parameters).
3. How does this approach compare to other transformer alternatives that have also eliminated the softmax operation, such as Skyformer [a][b]?
[a] Skyformer: Remodel Self-Attention with Gaussian Kernel and Nyström Method, Chen et al., NeurIPS 2021
[b] Soft: Softmax-free transformer with linear complexity, Lu et al. NeurIPS
Rating
5: marginally below the acceptance threshold
Confidence
4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.