mlsanityData to 14 Oct 2026

Mahalanobis-Based Multi-Head Attention for Complex State Propagation

arXiv 2608.24462 ↗First posted 25 Aug 2026cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

In this paper, we propose Mahalanobis-Based Multi-Head Attention (MHA-CSP), a novel attention mechanism that replaces the standard dot-product with a Mahalanobis distance-based RBF kernel, which effectively computes attention in an infinite-dimensional feature space without increasing the parameter count. Crucially, the positive definiteness of the Mahalanobis distance enables a direct construction of Tree Attention: attention scores are built directly from accumulated distances, with a LogSumExp correction that rectifies the raw distance by subtracting the log-sum of edge exponentials. Moreover, the multi-head Mahalanobis distance matrices are themselves repurposed to construct an attention meshing mechanism, enabling cross-head kernel collaboration that simultaneously boosts accuracy and training efficiency. Extensive experiments demonstrate that MHA-CSP, with only 119K parameters and teacher forcing applied exclusively at the final hidden state, consistently outperforms Transformer and GCN baselines trained from scratch under identical conditions on long-sequence state tracking tasks. While these baselines rely on dense attention or graph propagation, MHA-CSP achieves robust structured reasoning via synthetic distance rectification---powered by Mahalanobis-based attention---and efficient information bypass inherited from the CSP backbone. This result highlights the effectiveness of complex-valued state propagation with collaborative multi-head rectification in capturing symbolic structures, establishing a new efficiency-performance trade-off for structured reasoning.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 26 of its 48 references that are in the map. First posted on arXiv 25 Aug 2026.

Builds on

26 of 48 references.

References · 26

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  3. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
  4. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  5. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  6. 2020Rethinking Attention with Performerscited by 1,601
  7. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  8. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
  9. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
  10. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
  11. 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
  12. 2019Are Sixteen Heads Really Better than One?cited by 816
14 more
  1. 2022Simplified State Space Layers for Sequence Modelingcited by 788
  2. 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
  3. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
  4. 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
  5. 2019Revealing the Dark Secrets of BERTcited by 301
  6. 2019Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernelcited by 213
  7. 2019Tree Transformer: Integrating Tree Structures into Self-Attentioncited by 68
  8. 2020Multi-Head Attention: Collaborate Instead of Concatenatecited by 60
  9. 2025Insights into DeepSeek-V3: Scaling Challenges and Reflections on Hardware for AI Architecturescited by 39
  10. 2020Tree-structured Attention with Hierarchical Accumulationcited by 30
  11. 2024Weight decay induces low-rank attention layerscited by 27
  12. 2024DeFT: Decoding with Flash Tree-attention for Efficient Tree-structured LLM Inferencecited by 19
  13. 2024Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusterscited by 13
  14. 2026State Propagation Also Satisfies: A Complex-Valued State-Space Model for Deterministic State Trackingcited by 1

Built on by

Not cited yet.