cs.LGSep 24, 2026

QSV: Quat-Sphere-Vision for Coupled Quaternion Attention on Spherical Lattices

Authors: Nicholas Foley, Devin Marinelli, Donny Moore, Diego Enriquez, Amanda Fernandez

Organizations: Department of Computer Science, University of Texas at San Antonio

Abstract

In standard attention, three separately learned projections decide how strongly a token attends to each neighbor (WQW_Q, WKW_K) and how the attended features are transformed before aggregation (WVW_V). We study Quat-Sphere-Vision (QSV), a sparse spherical vision model that replaces this projection triple with a single learned unit quaternion per token: the relative quaternion rij=qi∗⊗qjr_{ij} = q_i^{*} \otimes q_j supplies both the attention logit Re⁡(rij)\operatorname{Re}(r_{ij}) and a sandwich-product feature transport x↦rij⊗x⊗rij∗x \mapsto r_{ij} \otimes x \otimes r_{ij}^{*}, with messages passed over sparse kNN graphs on concentric Fibonacci spheres. Ablations that change only the targeted component show the two roles to be asymmetric. Removing the transport reduces test accuracy by about four percentage points on CIFAR-10 and CIFAR-100 (single runs per CIFAR-100 variant), while replacing the learned attention weights with uniform averaging leaves it essentially unchanged. Parameter-matched controls then remove the geometry itself: standard attention on the same graph exceeds QSV (mean 87.3%87.3\% vs. 85.9%85.9\%), and the same model on a flat 2D lattice reaches 91.1%91.1\%, within 2.12.1 points of a ResNet-20 trained under the same pipeline (single run). In the coupled kernel, nearly all of the learned pairwise computation resides in the transport channel.

Figures & tables

Explore similar work

CardsList
  1. QUEST: A robust attention formulation using query-modulated spherical attention

    Mar 31, 2026Hariprasath Govindarajan, Per Sidén, Jacob Roll +1Transformer AttentionAttention Mechanisms

  2. Quaternion Self-Attention with Shared Scores

    May 24, 2026Shogo Yamauchi, Tohru Nitta, Hideaki TamoriSelf-AttentionAttention Mechanisms

  3. AVQ-Attention: Adaptive Vector-Quantized Attention

    Jul 14, 2026Winfried van den dool, Patrick Forré, Amir Habibian +2Transformer AttentionVector Quantization