Pith. sign in

REVIEW 4 cited by

Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernel

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 1908.11775 v4 pith:ZHAK3FRW submitted 2019-08-30 cs.LG stat.ML

classification cs.LGstat.ML
keywords attentiontransformerkernelformulationinputssequenceachievesbetter
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Transformer is a powerful architecture that achieves superior performance on various sequence learning tasks, including neural machine translation, language understanding, and sequence prediction. At the core of the Transformer is the attention mechanism, which concurrently processes all inputs in the streams. In this paper, we present a new formulation of attention via the lens of the kernel. To be more precise, we realize that the attention can be seen as applying kernel smoother over the inputs with the kernel scores being the similarities between inputs. This new formulation gives us a better way to understand individual components of the Transformer's attention, such as the better way to integrate the positional embedding. Another important advantage of our kernel-based formulation is that it paves the way to a larger space of composing Transformer's attention. As an example, we propose a new variant of Transformer's attention which models the input as a product of symmetric kernels. This approach achieves competitive performance to the current state of the art model with less computation. In our experiments, we empirically study different kernel construction strategies on two widely used tasks: neural machine translation and sequence prediction.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 4 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. LLM as Effective Streaming Processor: Bridging Streaming-Batch Mismatches with Group Position Encoding

    cs.CL 2025-05 conditional novelty 6.0 of 10

    Streaming LLMs need only fix the input-attention mismatch; group position encoding (source and target positions numbered separately) removes the need for re-encoding and outperforms specialized streaming baselines.

  2. Integrating Fourier Neural Operator with Diffusion Model for Autoregressive Predictions of Three-dimensional Turbulence

    physics.flu-dyn 2025-12 conditional novelty 5.0 of 10

    DiAFNO, an implicit adaptive Fourier neural operator used as the denoiser inside an EDM diffusion model, gives more accurate autoregressive predictions of 3D turbulence than EDM or dynamic Smagorinsky LES.

  3. Only Large Weights (And Not Skip Connections) Can Prevent the Perils of Rank Collapse

    cs.LG 2025-05 reject novelty 4.0 of 10

    A residual self-attention network with all weight entries bounded by a small η can be approximated by one layer to error O(η)‖X‖∞, so skip connections do not prevent layer collapse.

  4. HyLiFormer: Hyperbolic Linear Attention for Skeleton-based Human Action Recognition

    cs.CV 2025-02 reject novelty 4.0 of 10

    HyLiFormer applies hyperbolic embedding and a reordered linear attention to skeleton action recognition, achieving linear complexity with accuracy slightly below the best transformer baselines.

Pith tools