paper-with-me

홈 › Papers

LaplacianFormer:Rethinking Linear Attention with Laplacian Kernel

2026-04-22 · Zhe Feng, Sen Lian, Changwei Wang, Muyang Zhang, Tianlong Tan, Rongtao Xu, Weiliang Meng, Xiaopeng Zhang arxiv

The quadratic complexity of softmax attention presents a major obstacle for scaling Transformers to high-resolution vision tasks. Existing linear attention variants often replace the softmax with Gaussian kernels to reduce complexity, but such approximations lack theoretical grounding and tend to oversuppress mid-range token interactions. We propose LaplacianFormer, a Transformer variant that employs a Laplacian kernel as a principled alternative to softmax, motivated by empirical observations and theoretical analysis. To address expressiveness degradation under low-rank approximations, we introduce a provably injective feature map that retains fine-grained token information. For efficient computation, we adopt a Nyström approximation of the kernel matrix and solve the resulting system using Newton--Schulz iteration, avoiding costly matrix inversion and SVD. We further develop custom CUDA implementations for both the kernel and solver, enabling high-throughput forward and backward passes suitable for edge deployment. Experiments on ImageNet show that LaplacianFormer achieves strong performance-efficiency trade-offs while improving attention expressiveness.

📄 PDF Abstract BibTeX arXiv:2604.20368

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Laplacian Kernelized Bandit

2026-01-01 · Shuang Wu, Arash A. Amini arxiv

We study multi-user contextual bandits where users are related by a graph and their reward functions exhibit both non-linear behavior and graph homophily. We introduce a principled joint penalty for the collection of use…

Rethinking Attention with Performers

2020-09-30 · ICLR 2021 1 · Krzysztof Choromanski, Valerii Likhosherstov, David Dohan, Xingyou Song 외

We introduce Performers, Transformer architectures which can estimate regular (softmax) full-rank-attention Transformers with provable accuracy, but using only linear (as opposed to quadratic) space and time complexity, …

D4RLImage GenerationLanguage ModellingOffline RL

Laplacian-Based Dimensionality Reduction Including Spectral Clustering, Laplacian Eigenmap, Locality Preserving Projection, Graph Embedding, and Diffusion Map: Tutorial and Survey

2021-06-03 · Benyamin Ghojogh, Ali Ghodsi, Fakhri Karray, Mark Crowley

This is a tutorial and survey paper for nonlinear dimensionality and feature extraction methods which are based on the Laplacian of graph of data. We first introduce adjacency matrix, definition of Laplacian matrix, and …

ClusteringDimensionality ReductionGraph Embedding

Geodesic Exponential Kernels: When Curvature and Linearity Conflict

2014-11-02 · CVPR 2015 6 · Aasa Feragen, Francois Lauze, Søren Hauberg

We consider kernel methods on general geodesic metric spaces and provide both negative and positive results. First we show that the common Gaussian kernel can only be generalized to a positive definite kernel on a geodes…

Scaling Context Requires Rethinking Attention

2025-07-06 · Carles Gelada, Jacob Buckman, Sean Zhang, Txus Bach arxiv

We argue that neither transformers nor sub-quadratic architectures are well suited to training at long sequence lengths: the cost of processing the context is too expensive in the former, too inexpensive in the latter. A…