Skip to content
#edge computing Preprint

Mahalanobis-Based Multi-Head Attention for Complex State Propagation

Aug 2026 · 1 citation · ⚡ 1 influential · 48 references
Computer Science

TL;DR

MHA-CSP achieves robust structured reasoning via synthetic distance rectification---powered by Mahalanobis-based attention---and efficient information bypass inherited from the CSP backbone, highlighting the effectiveness of complex-valued state propagation with collaborative multi-head rectification in capturing symbolic structures.

Abstract

In this paper, we propose \textbf{Mahalanobis-Based Multi-Head Attention} (MHA-CSP), a novel attention mechanism that replaces the standard dot-product with a \textbf{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 \textbf{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 \textbf{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 \textbf{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.

View source

Similar papers

2026

Cascaded Multi-Head Attention Transformer Framework for Direction of Arrival Estimation

Deep neural networks have demonstrated significant potential in direction of arrival (DOA) estimation. However, some existing architectures, especially convolution-based ones, mainly emphasize local feature extraction and may not sufficiently capture long-range dependencies in array observations. To better model such n...

Yunye Su, Xianpeng Wang, Lin-Qiang Wen et al. · 0 citations
Open access 2026

Threshold-Tuning Coordinate Attention for Binarized Neural Networks

—Binary Neural Networks (BNNs) are highly attractive for mobile and embedded vision due to their extremely low memory footprint and efficient bit-level convolutions. However, binarization often causes severe information loss and weakens the effectiveness of conventional attention modules designed for full-precision net...

Shao-Qing Wu, Hiroyuki Yamauchi · 0 citations
Jul 2026

Full-Stack FP4: Stable LLM Pretraining with Quantized Projections, Optimizers, and Attention

Full-Stack FP4 is presented, a modular NVFP4 framework with separate recipes for projections, AdamW states, Root/Muon computation, and attention, and mixed-precision attention that protects a compact projection subspace in BF16 while retaining full-shape NVFP4 computation.

Siyu Ding, Ming Ma, Jiabo Tong et al. · 3 citations
Open access Aug 2026

Diagnosing Multi-Head Self-Attention: An Information-Theoretic Framework with Application to Time-Series Forecasting

The framework provides a principled diagnostic tool for analyzing selection behavior, inter-head dependence, and head-removal sensitivity in multi-head self-attention and is a diagnostic framework rather than a new forecasting architecture or a standalone pruning algorithm.

Yan-Bin Zhang, Asif Ahmed Essak, Jiao Ding et al. · 0 citations
Jul 2026

AVQ-Attention: Adaptive Vector-Quantized Attention

This work proposes Adaptive Vector-Quantized (AVQ) Attention, which adaptively allocates codebook capacity based on attention importance and develops an implementation using custom Triton kernels that enables the full adaptive refinement process, including importance scoring, child codeword insertion, and parent contri...

W.V.S.O. van den Dool, Patrick Forré, A. Habibian et al. · 0 citations

Related blog posts

MIT News · Artificial Intelligence Oct 15, 2026

AI model decodes the language cells use to communicate

A new computational approach reveals how cells communicate to assemble into tissues. This could accelerate stem cell engineering, improve disease models, and inform therapies.

Microsoft Research Blog Oct 15, 2026

Proof-based general-purpose computing with Magnetar

Zero-knowledge proofs can verify computing results without rerunning workloads or exposing sensitive data. Magnetar helps bring them into the mainstream with support for standard programming languages, major speed gains, and quantum-resistant security. The post Proof-based general-purpose computing with Magnetar appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.