Kernel methods are a cornerstone of machine learning, allowing models to compute similarities in high-dimensional spaces. However, as datasets grow, computing the full "Gram matrix" (the similarity between every pair of points) becomes prohibitively expensive.
To solve this, researchers use Random Features (RFs). Instead of computing the exact kernel, they project data into a lower-dimensional space using random vectors. The goal is to find a projection that minimizes the Mean Squared Error (MSE) of the kernel estimate.
Standard methods sample these vectors independently (IIDRFs). A major breakthrough came with Orthogonal Random Features (ORFs), which showed that forcing these random vectors to be orthogonal (at 90-degree angles) significantly reduces error. This paper asks a fundamental question: Is 90 degrees really the best we can do?
Moving from Orthogonal to Simplex Geometry
The authors propose Simplex Random Features (SimRFs), which replace the orthogonal blocks used in ORFs with "simplex blocks."
In a simplex geometry, vectors point toward the vertices of a $d-1$ dimensional simplex. Instead of being at 90-degree angles, the vectors subtend obtuse angles (specifically, $\theta = \arccos(-1/(d-1))$). For example, in a 2D space, while ORFs use vectors at 90°, SimRFs use vectors spread at 120°.
The core insight is that obtuse angles allow random vectors to "explore" the space more effectively than orthogonal ones. By spreading out more than 90 degrees, they reduce the probability of vectors clustering together, which is the primary source of estimation noise. The authors provide a rigorous proof that SimRFs are the best possible weight-independent geometrically-coupled mechanism. You cannot achieve a lower MSE without making the vector directions depend on their lengths.
To push the boundaries further, the authors also introduce SimRFs+, a "weight-dependent" variant. While standard SimRFs treat the direction and the length (norm) of the random vectors independently, SimRFs+ uses an iterative optimization to correlate them, pushing vectors with larger norms even further apart to suppress error.
A "Free Lunch" for Model Performance
The theoretical superiority of SimRFs translates directly into practical, downstream gains. Implementing SimRFs is essentially a drop-in replacement for ORFs. It requires one extra matrix multiplication (the "simplex projection"), but this step scales linearly ($O(d)$) and is computationally negligible compared to the rest of the pipeline.
In standard Transformer settings, the error prefactor for SimRFs is massively reduced compared to ORFs and IID methods. On the competitive ImageNet2012 benchmark, switching from ORFs to SimRFs in a Performer-Transformer increased accuracy by 0.5% with zero architectural changes or extra training cost.
Limitations and Future Work
While standard SimRFs are computationally "free," the optimal SimRFs+ variant requires an iterative optimization step ($O(d^3)$) during initialization to correlate directions with norms, making it slightly more complex to implement.
Additionally, the authors note that the benefit of SimRFs depends on the specific data distribution. If a model's bottleneck is not the kernel approximation quality, the downstream gains might be smaller. The paper leaves open the rigorous mathematical link between kernel estimator variance and specific downstream task performance, paving the way for future research into why lower variance aids classification more in some datasets than others.
Summary updated