Lune

ICML2026Top-tier venue

Quaternion Self-Attention with Shared Scores

Shogo Yamauchi, Tohru Nitta, Hideaki Tamori

Abstract

Quaternion neural networks are parameter-efficient and model multidimensional dependencies by representing four related features as a single entity. However, existing quaternion self-attention computes component-wise scores and applies independent softmax operations to each component, which increases the computational cost and allows attention distributions to diverge across components. We propose a shared-score quaternion self-attention mechanism that computes a single real-valued score using the quaternion inner product and applies a shared attention distribution across all components. This reduces score-computation multiplications by 75% and the number of softmax operations from four to one. We prove that, when queries and keys are produced by quaternion linear projections that induce component pre-mixing, the component-wise and shared scores lie in the same interaction subspace, indicating that independent component-wise attention primarily re-parameterizes the same interactions rather than expanding the feature interaction space. In speech enhancement, our method reduces inference time by up to 44.3% on a GPU and 58.1% on a CPU while maintaining quality, with consistent trends across vision and natural language processing.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on2

  1. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra et al.NeurIPS 2022 · 5,493 citations
  2. Learning to Rotate: Quaternion Transformer for Complicated Periodical Time Series ForecastingWeiqi Chen, Wenwei Wang, Bingqing Peng, Qingsong Wen et al.KDD 2022 · 61 citations

Related papers

  1. Enhanced Pansharpening Via Quaternion Spatial-Spectral InteractionsDong Liu, Chunhui Luo, Yuanfei Bao, Gang Yang et al.ICCV 2025 · 1 citation
  2. Self-Supervised Speech Quality Estimation and Enhancement Using Only Clean SpeechSzu-Wei Fu, Kuo-Hsuan Hung, Yu Tsao, Yu-Chiang Frank WangICLR 2024 · 27 citations
  3. Multi-head Temporal Latent AttentionKeqi Deng, Philip C. WoodlandNeurIPS 2025 · 2 citations
  4. DHA: Learning Decoupled-Head Attention from Transformer Checkpoints via Adaptive Heads FusionYilong Chen, Linhao Zhang, Junyuan Shang, Zhenyu Zhang et al.NeurIPS 2024 · 12 citations
  5. QPoint: End-to-End Lightweight Point Cloud Processing via Robust Quaternion Feature LearningZhouzhiming Zhou, Yong He, Chaoxu Mu, Qiaoyun Wu et al.ICML 2026
Dusk over the sea between two cliffs drawn in fine vertical lines