MambaLoc: Lightweight Indoor Localization Using Cross-Modal Knowledge Distillation

Mohab Bahnassy, Omar Saqr, Hamada Rizk, Moustafa Youssef
11/7/2026
cs.AIcs.NI
transformer-attentionstate-space-mambadistillation

No confident code implementation found for this paper.

Abstract

Accurate indoor localization on resource-constrained edge devices remains challenging due to the tension between modeling fidelity and computational efficiency. Wi-Fi Channel State Information (CSI) enables low-cost deployment using existing Wi-Fi infrastructure but is heavily distorted by multipath propagation.

Show full abstract

Transformer-based solutions mitigate these effects but their quadratic complexity limits real-time edge deployment. Ultra-Wideband (UWB) provides geometrically precise ranging yet requires dedicated infrastructure. We present MambaLoc, a cross-modal distillation framework that improves the accuracy-efficiency balance in CSI-based localization. MambaLoc uses a linear-time Selective State Space Model (Mamba) as a lightweight CSI student, guided during training by a UWB-Transformer teacher. A Feature Alignment Module bridges the representational gap between heterogeneous RF modalities, allowing the CSI model to inherit UWB-derived geometric structure without UWB hardware at inference. A probabilistic Gaussian Mixture regression head models multi-modal spatial ambiguity from multipath effects, avoiding the physically implausible averaging of deterministic regression. Evaluations on a real-world dataset show MambaLoc achieves a median localization error of 0.230 m, reducing error by 22.2% over a standalone Mamba baseline, while requiring 65.1% fewer FLOPs and 58% lower inference latency than Transformer-based approaches.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bahnassy2026mambaloc,
  title  = {MambaLoc: Lightweight Indoor Localization Using Cross-Modal Knowledge Distillation},
  author = {Mohab Bahnassy and Omar Saqr and Hamada Rizk and Moustafa Youssef},
  year   = {2026},
  eprint = {2611.10360},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.10360v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.10360.svg)](https://codeofpaper.com/paper/2611.10360)

Discussion