potentialpaper

Gaussian Process Attention with Kernel Modeling

Carey Bunks, Simon Dixon, Bruno Di Giorgi

ICLR 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Transformers dominate NLP, yet their core component, self-attention, remains a heuristic, lacking a robust theoretical foundation. This paper reinterprets self-attention combined with rotary positional embeddings (RoPE) as an instance of Nadaraya-Watson (NW) kernel regression, unlocking a novel framework for enhancing attention through kernel modeling. We introduce Gaussian Process Attention (GPA), a novel technique, which leverages kernel theory to augment RoPE with a bank of decaying periodic functions. We demonstrate the result better captures the fine-grain characteristics of mutual information between tokens as a function of the distance between them. Tested on a GPT model using character-based tokenization and trained on a corpus of 14-million-characters, GPA outperforms baseline RoPE, reducing mean cross-entropy loss. More importantly, with only a nominal increase in the number of model parameters, GPA reduces computation time by 75% for an equivalent level of mean cross entropy loss. Moreover, we show that our GPA model opens a new avenue for studying mechanistic interpretability, revealing structures, such as paragraph lengths, and identifying redundant attention heads for model pruning. Our work bridges the application of kernel methods and the study of Transformers, providing a theoretical lens for analyzing self-attention while also delivering practical, scalable gains in performance and interpretability.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

FromAToBDateVersionSubmitted toPDFEvidence
16 May 2025ARR 2025 MaysubmittedARR 2025 May—[1]
11 Sep 2025ICLR 2026submittedICLR 2026Rejected—[1]
Their titles, abstracts and, where both have a PDF, the text.Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…